diff --git a/src/arcdata/.dockerignore b/src/arcdata/.dockerignore new file mode 100644 index 00000000000..215ca9a6f14 --- /dev/null +++ b/src/arcdata/.dockerignore @@ -0,0 +1,32 @@ +# Exclude everything by default +* + +# Make an exception +!arcdata/* + +# Make an exception +!scripts/* + +# Make an exception +!tools/* + +# Make an exception +!dev-requirements.txt + +# Make an exception +!LICENSE + +# Make an exception +!THIRDPARTYNOTICES.txt + +# Make an exception +!.flake8 + +# Make an exception +!pyproject.toml + +# Exclude build artifacts +src/**/build +**/*.pyc +**/__pycache__ +env/ \ No newline at end of file diff --git a/src/arcdata/.flake8 b/src/arcdata/.flake8 new file mode 100644 index 00000000000..4454c9df0af --- /dev/null +++ b/src/arcdata/.flake8 @@ -0,0 +1,17 @@ +[flake8] +max-line-length = 81 +max-complexity = 10 +ignore = + E722, # bare except, bad practice, to be removed in the future + F401, # imported but unused, too many violations, to be removed in the future + F811, # redefinition of unused, to be removed in the future + C901, # code flow is too complex, too many violations, to be removed in the future + W504, # line break after binary operator effect on readability is subjective + W503 # line break before binary operator +exclude = + build + tools + scripts + doc + build_scripts + */test/* \ No newline at end of file diff --git a/src/arcdata/.gitattributes b/src/arcdata/.gitattributes new file mode 100644 index 00000000000..a8e99aae4cf --- /dev/null +++ b/src/arcdata/.gitattributes @@ -0,0 +1,17 @@ +# Set the default behavior (used when a rule below doesn't match) +* text=auto + +*.sln -text +*.ico -text +*.bmp -text +*.png -text +*.snk -text +*.mht -text +*.pickle -text + +# Some Windows-specific files should always be CRLF +*.bat eol=crlf + +# Shell scripts +*.sh eol=lf +*.completion eol=lf diff --git a/src/arcdata/.gitignore b/src/arcdata/.gitignore new file mode 100644 index 00000000000..4459690477a --- /dev/null +++ b/src/arcdata/.gitignore @@ -0,0 +1,55 @@ +# Python cache +__pycache__/ +*.pyc + +# Virtual environment +.env/ +env/ +env27/ +venv/ +python_env/ +.python-version + +# PTVS analysis +.ptvs/ + +# Misc +.idea/ +dist/ +logs/ + +# Result of running python setup.py install/pip install -e +RECORD.txt +*.egg-info/ + +# Mac desktop service store files +.DS_Store + +# Code coverage and reports +*.coverage +htmlcov +*coverage.* +TEST-UT-results.xml + +# Pytest +.cache/ +.pytest_cache/ +junit/ + +# Logs +pip.log + +# Setuptools +.eggs/ + +# Tox +.tox/ + +# Misc + +arcdata/build/ +arcdata/azext_arcdata/THIRDPARTYNOTICES.txt +arcdata/azext_arcdata/LICENSE +arcdata/azext_arcdata/kubernetes_sdk/dc/templates/bootstrap/role-bootstrapper.yaml.tmpl +output/ +scripts/ci/ev2/public-index.json diff --git a/src/arcdata/.isort.cfg b/src/arcdata/.isort.cfg new file mode 100644 index 00000000000..5bc48d82d4b --- /dev/null +++ b/src/arcdata/.isort.cfg @@ -0,0 +1,5 @@ +[settings] +line_length = 80 +multi_line_output = 3 +include_trailing_comma = True +#known_third_party = celery,django,environ,pyquery,pytz,redis,requests,rest_framework diff --git a/src/arcdata/.mdlrc b/src/arcdata/.mdlrc new file mode 100644 index 00000000000..48a943af9bd --- /dev/null +++ b/src/arcdata/.mdlrc @@ -0,0 +1 @@ +rules "~MD013", "~MD033", "~MD046" diff --git a/src/arcdata/.pre-commit-config.yaml b/src/arcdata/.pre-commit-config.yaml new file mode 100644 index 00000000000..bd6059c2e2b --- /dev/null +++ b/src/arcdata/.pre-commit-config.yaml @@ -0,0 +1,7 @@ +exclude: ^projects/test/ +repos: +- repo: https://github.com/ambv/black + rev: 22.3.0 + hooks: + - id: black + language_version: python3 diff --git a/src/arcdata/Arcdata.Onebranch.CLI.NonOfficial.NonProduction.PullRequest.yml b/src/arcdata/Arcdata.Onebranch.CLI.NonOfficial.NonProduction.PullRequest.yml new file mode 100644 index 00000000000..cdc74a76a4d --- /dev/null +++ b/src/arcdata/Arcdata.Onebranch.CLI.NonOfficial.NonProduction.PullRequest.yml @@ -0,0 +1,51 @@ +# CLI - PR pipeline +trigger: + batch: true + branches: + include: + - master + paths: + include: + - projects/azure-cli-extension/* +variables: +- name: Build.SourcesCliDirectory + value: '$(Build.SourcesDirectory)/projects/azure-cli-extension' +- name: PIPELINE_BUILD_NUMBER + value: $(Build.BuildNumber) +- name: SOURCE_BRANCH + value: $(Build.SourceBranch) +- name: LinuxContainerImage + value: onebranch.azurecr.io/linux/ubuntu-2204:latest +- name: WindowsContainerImage + value: onebranch.azurecr.io/windows/ltsc2019/vse2022:latest +resources: + repositories: + - repository: templates + type: git + name: OneBranch.Pipelines/GovernedTemplates + ref: refs/heads/main +extends: + template: v2/OneBranch.NonOfficial.CrossPlat.yml@templates # https://aka.ms/obpipelines/templates + parameters: + customTags: 'ES365AIMigrationTooling-BulkMigrated' + globalSdl: # https://aka.ms/obpipelines/sdl + asyncSdl: # https://aka.ms/obpipelines/asyncsdl + enabled: false # + tsa: + enabled: false # onebranch publish all sdl results to TSA. If TSA is disabled all SDL tools will forced into 'break' build mode. + credscan: + suppressionsFile: $(Build.SourcesDirectory)\.config\CredScanSuppressions.json + binskim: + break: true # always break the build on binskim issues in addition to TSA upload + policheck: + break: true # always break the build on policheck issues. You can disable it by setting to 'false' + codeql: + compiled: + enabled: false + # suppression: + # suppressionFile: $(Build.SourcesDirectory)\.gdn\global.gdnsuppress + stages: + - template: /projects/azure-cli-extension/scripts/ci/pipeline-templates/build.yaml@self + - template: /projects/azure-cli-extension/scripts/ci/pipeline-templates/coverage.yaml@self + - template: /projects/azure-cli-extension/scripts/ci/pipeline-templates/lint-and-style.yaml@self + - template: /projects/azure-cli-extension/scripts/ci/pipeline-templates/test.yaml@self \ No newline at end of file diff --git a/src/arcdata/CONTRIBUTING.md b/src/arcdata/CONTRIBUTING.md new file mode 100644 index 00000000000..1e5bc09ea97 --- /dev/null +++ b/src/arcdata/CONTRIBUTING.md @@ -0,0 +1,81 @@ +# Contribute to the ArcData Extension + +Thank you for your interest in contributing to the ArcData Extension! + +There are many ways in which you can contribute, beyond writing code. The goal of this document is to provide a high-level overview of how you can get involved. + +## Have a question + +Search existing github [issues](https://github.com/Microsoft/arcdata-cli-extension/issues?q=is%3Aopen+is%3Aissue+label%3Aquestion) for similar questions first, and feel free to file an issue with a "question" tag to get our attention. + +## Found a bug + +### Where to find known issues + +Check open [issues](https://github.com/Microsoft/arcdata-cli-extension/issues?q=is%3Aopen+is%3Aissue+label%3Abug) before you file a new bug report. + +If you find your issue already exists, make relevant comments and add your reaction. Use a reaction in place of a "+1" comment: +👍 - upvote +👎 - downvote + +### Report new issue + +The best way to get your bug fixed is to provide good repro steps. Use our [Bug template](https://github.com/Microsoft/arcdata-cli-extension/issues/new/choose) to report any issues. + +## Feature requests + +### Where to find existing requests + +Check open [feature requests](https://github.com/Microsoft/arcdata-cli-extension/issues?q=is%3Aissue+is%3Aopen+label%3AFeature) before you file a new request. + +If you find your request already exists, make relevant comments and add your reaction. Use a reaction in place of a "+1" comment: +👍 - upvote +👎 - downvote + +### Submit New Feature request + +Use our Feature Request [template](https://github.com/Microsoft/arcdata-cli-extension/issues/new/choose) to create a new feature request. + +## Get started + +Unsure where to begin contributing? You can start by looking through these beginner and help-wanted issues: + +- [Beginner issues](https://github.com/Microsoft/arcdata-cli-extension/issues?q=is%3Aissue+is%3Aopen+label%3ABeginner) - issues which should only require a few lines of code, and a test or two. + +- [Help wanted issues](https://github.com/Microsoft/arcdata-cli-extension/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) - issues which should be a bit more involved than beginner issues. + +Refer our [Developer setup](./doc/dev_setup.md) instructions to get started with code and running tests. + +### Code of Conduct + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com)with any additional questions or comments. + +### Pull Request etiquette + +#### Guidelines + +- Every contribution (PR) needs to have an issue referenced +- Approach(s) should be discussed and closed in the issue itself before raising a PR +- We use pylint and flake8 to have consistent coding styles followed. This is taken care in the Pull request checks. + +#### If PR contains new commands + +- Recorded tests are mandatory +- UTs are mandatory +- Command signature should be discussed and approved in referenced issue. [Sample](https://github.com/Microsoft/arcdata-cli-extension/issues/319) +- Table transforms are present (reviewed in PR) +- Help text is present for commands and parameters + +#### If PR contains point fixes + +- UTs are mandatory + +### CLA requirements + +You will need to complete a Contributor License Agreement (CLA). Briefly, this agreement testifies that you are granting us permission to use the submitted change according to the terms of the project's license, and that the work being submitted is under appropriate copyright. + +Submit a Contributor License Agreement (CLA) before submitting a pull request. You may visit [https://cla.microsoft.com](https://cla.microsoft.com) to sign digitally. + +## Thank you + +Your contributions to open source, large or small, make great projects like this possible. Thank you for taking the time to contribute. \ No newline at end of file diff --git a/src/arcdata/Dockerfile b/src/arcdata/Dockerfile new file mode 100644 index 00000000000..e41f7a179e1 --- /dev/null +++ b/src/arcdata/Dockerfile @@ -0,0 +1,31 @@ +#------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +#------------------------------------------------------------------------------ + +ARG AZEXT_IMAGE +ARG CLI_VERSION +ARG BUILD_DATE + +FROM ${AZEXT_IMAGE} AS build-env + +LABEL maintainer="Microsoft" \ + org.label-schema.schema-version="1.0" \ + org.label-schema.vendor="Microsoft" \ + org.label-schema.name="Azure CLI ArcData extension" \ + org.label-schema.version=${CLI_VERSION} \ + org.label-schema.license="MIT" \ + org.label-schema.description="The Azure CLI ArcData extension." \ + org.label-schema.url="https://docs.microsoft.com/cli/azure/overview" \ + org.label-schema.build-date="${BUILD_DATE}" \ + org.label-schema.docker.cmd="docker run -v \${HOME}/.kube:/root/.kube -v \${HOME}/.azure:/root/.azure -it mcr.microsoft.com/azure-cli:${CLI_VERSION}" + +WORKDIR ../../azure-cli-extension +COPY . /azure-cli-extension + +# package and install arcdata az ext +RUN ./scripts/install.sh + +WORKDIR / +CMD bash diff --git a/src/arcdata/LICENSE b/src/arcdata/LICENSE new file mode 100644 index 00000000000..4b3ba9df30d --- /dev/null +++ b/src/arcdata/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) Microsoft Corporation. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE \ No newline at end of file diff --git a/src/arcdata/Makefile b/src/arcdata/Makefile new file mode 100644 index 00000000000..606e6bef9ac --- /dev/null +++ b/src/arcdata/Makefile @@ -0,0 +1,123 @@ +############################################################################### +# +# Copyright (c) Microsoft Corporation. +# +# +# Stop! +# +# This makefile is not intended to aid azure-cli command authoring or +# development. Its intention and existence is only to fit into the arcdata build +# ecosystem for non command authors to use easily via make. If you are building +# azure-cli commands please start by reading the `README.md`. +# +# Quick Start to run Azure CLI with ArcData extension: +# $ make az +# [docker-container]> az --help +# +############################################################################### + +include ../../build/common.mk + +IMAGE = azure-arcdata-cli +LABEL = "org.label-schema.name=Azure CLI with ArcData extension" +TARGET = build-env +NAMESPACE = microsoft +BUILD_DATE = $(shell date) +CLI_ROOT = $(shell git rev-parse --show-toplevel)/projects/azure-cli-extension +OUTPUT_DIRECTORY = $(CLI_ROOT)/output +DOCKERFILE = $(CLI_ROOT)/Dockerfile +AZEXT_IMAGE = $(BUILD_DOCKER_BASE_TEST_IMAGE):$(BUILD_DOCKER_BASE_IMAGE_TAG) +.DEFAULT_GOAL = help + +.PHONY: az +az: install + @echo "+ $@" + @docker run -it -v ${HOME}/.kube:/root/.kube \ + -v ${HOME}/.azure:/root/.azure $(NAMESPACE)/$(IMAGE):latest + +.PHONY: dev-setup +dev-setup: + @echo "+ $@" + @cd $(CLI_ROOT) + @python3 --version + @python3 ./scripts/dev_setup.py + @echo "!!!Remember to activate your venv for development!!! 'source ./env/bin/activate'" + +.PHONY: clean +clean: down + @echo "+ $@" + @rm -rf $(OUTPUT_DIRECTORY) + @rm -rf $(CLI_ROOT)/env + +.PHONY: dockerclean +dockerclean: down + +.PHONY: down +down: + @echo "+ $@" + @docker image ls --filter reference="$(NAMESPACE)/$(IMAGE)" --quiet | xargs docker image rm -f || true + @docker system prune -a -f --filter label=$(LABEL) + +.PHONY: version +version: + @echo "+ $@" + $(eval CLI_VERSION=$(shell sh -c "$(CLI_ROOT)/scripts/version.sh")) + +.PHONY: template +template: + @echo "+ $@" + @$(CLI_ROOT)/scripts/generate-role-template.sh + +.PHONY: unit-tests +unit-tests: install + @echo "+ $@" + @docker run --rm --name unit-tests $(NAMESPACE)/$(IMAGE):latest \ + /bin/bash -c "./azure-cli-extension/scripts/gci/verify-all.sh" + +.PHONY: install +install: version template + @echo "+ $@" + @echo "azext_arcdata version = $(CLI_VERSION)" + @echo "BUILD_DATE = $(BUILD_DATE)" + @echo "AZEXT_IMAGE = $(AZEXT_IMAGE)" + + @sed -e 's%$${CLI_VERSION}%$(CLI_VERSION)%' \ + -e 's%$${BUILD_DATE}%$(BUILD_DATE)%' \ + -e 's%$${AZEXT_IMAGE}%$(AZEXT_IMAGE)%' < $(DOCKERFILE) \ + | docker build --label $(LABEL) --target $(TARGET) \ + -f - -t $(NAMESPACE)/$(IMAGE):$(CLI_VERSION) . + @docker tag $(NAMESPACE)/$(IMAGE):$(CLI_VERSION) $(NAMESPACE)/$(IMAGE):latest + @docker images --format '{{.Repository}}:{{.Tag}}\t\t Built: {{.CreatedSince}}\t\tSize: {{.Size}}' \ + | grep $(IMAGE):$(CLI_VERSION) + +.PHONY: all +all: package-all unit-tests + +.PHONY: package-all +package-all: install + @echo "+ $@" + @rm -rf $(OUTPUT_DIRECTORY) + @mkdir -p $(OUTPUT_DIRECTORY) + $(eval CONTAINER_ID = $(shell docker create $(NAMESPACE)/$(IMAGE):latest)) + @docker cp $(CONTAINER_ID):/azure-cli-extension/output/packages $(OUTPUT_DIRECTORY) + @docker stop $(CONTAINER_ID) + @docker rm $(CONTAINER_ID) + @chmod -R 755 $(OUTPUT_DIRECTORY)/packages + +.PHONY: help +help: + @echo "" + @echo "Make targets: " + @echo " make [help] - This help text." + @echo " make az - Install the azure-cli ArcData extension and invoke 'docker run -it'." + @echo " make dev-setup - Convenience to prepare a local development environment for ArcData extension." + @echo " make unit-tests - Run all unit-tests, coverage, verify checks, lint, style, formatter." + @echo " make install - Install the azure-cli ArcData extension by building an image with it available." + @echo " make package-all - Build python wheel." + @echo " make all - Build python wheel and run all unit-tests, coverage, verify checks, lint, style, formatter." + @echo " make clean - Remove all build files, docker images, and cached artifacts." + @echo " make dockerclean - Remove all docker images including any cached artifacts." + @echo " make down - Shorthand for 'dockerclean'." + @echo " make version - Display the current azure-cli ArcData extension version from source." + @echo " make template - Generate template files." + @echo "" diff --git a/src/arcdata/Onebranch.Official.Release.yml b/src/arcdata/Onebranch.Official.Release.yml new file mode 100644 index 00000000000..e847c154046 --- /dev/null +++ b/src/arcdata/Onebranch.Official.Release.yml @@ -0,0 +1,19 @@ +trigger: none +variables: +- group: arcdataservices-extension-release_candidate - all (base) +resources: + repositories: + - repository: onebranchTemplates + type: git + name: OneBranch.Pipelines/GovernedTemplates + ref: refs/heads/main + pipelines: + - pipeline: release-artifacts + trigger: none + source: 'Arcdata.CLIBuild.Production.Official.Release' + project: Tina +extends: + template: v2/OneBranch.Official.CrossPlat.yml@onebranchTemplates + parameters: + stages: + - template: /projects/azure-cli-extension/scripts/ci/pipeline-templates/push-to-production-blob.yaml@self \ No newline at end of file diff --git a/src/arcdata/README.md b/src/arcdata/README.md new file mode 100644 index 00000000000..2eab9836677 --- /dev/null +++ b/src/arcdata/README.md @@ -0,0 +1,58 @@ +# ArcData Extension for Azure CLI + +[![Build Status](https://msdata.visualstudio.com/Tina/_apis/build/status/azure-cli-extension/azure-cli-extension?branchName=master)](https://msdata.visualstudio.com/Tina/_build/latest?definitionId=20974&branchName=master) +[![Stage Status](https://msdata.vsrm.visualstudio.com/_apis/public/Release/badge/febab204-74cf-49d9-8bd9-65ce89e60d0b/140/578)](https://msdata.visualstudio.com/Tina/_release?_a=releases&view=all&definitionId=140) +[![Production Status](https://msdata.vsrm.visualstudio.com/_apis/public/Release/badge/febab204-74cf-49d9-8bd9-65ce89e60d0b/140/579)](https://msdata.visualstudio.com/Tina/_release?_a=releases&view=all&definitionId=140) + + + +The ArcData Extension for Azure CLI adds the `sql mi-arc` command to the Azure CLI 2.0. + +## Development setup + +[Development setup](./doc/dev-setup) + +##### LINUX and macOS +```bash +cd ./arcdata/projects/azure-cli-extension +export AZURE_EXTENSION_DIR=$(pwd) +python3 ./scripts/dev_setup.py +source ./env/bin/activate +az extension list +``` + +##### Windows +```bash +cd .\arcdata\projects\azure-cli-extension +set AZURE_EXTENSION_DIR=%cd% +python .\scripts\dev_setup.py +.\env\Scripts\activate.bat +az extension list +``` + +## Quick start usage + +1. [Install the Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli). You must have at least `v2.0.69`, which you can verify with `az --version` command. + +1. Add the ArcData Extension `az extension add --name arcdata` + +## Usage + +```bash +$az [group] [subgroup] [command] {parameters} +``` + +Adding the ArcData Extension adds the `sql mi-arc` group. For usage and help content for any command, +pass in the `--help` parameter, for example: + +```bash +$ az sql mi-arc --help +``` + +## Contribute + +See our [contribution guidelines](CONTRIBUTING.md) to learn how you can contribute to this project. + +## License + +[MIT License](LICENSE) diff --git a/src/arcdata/THIRDPARTYNOTICES.txt b/src/arcdata/THIRDPARTYNOTICES.txt new file mode 100644 index 00000000000..1167aee48ad --- /dev/null +++ b/src/arcdata/THIRDPARTYNOTICES.txt @@ -0,0 +1,55080 @@ +NOTICES AND INFORMATION FOR MICROSOFT SQL SERVER +Do Not Translate or Localize + +This software incorporates material from third parties. Microsoft makes certain +open source code available at http://3rdpartysource.microsoft.com, or you may +send a check or money order for US $5.00, including the product name, the open +source component name, and version number, to: + +Source Code Compliance Team +Microsoft Corporation +One Microsoft Way +Redmond, WA 98052 +USA + +Notwithstanding any other terms, you may reverse engineer this software to the +extent required to debug changes to any libraries licensed under the GNU Lesser +General Public License. + +----------------------------------------------- START OF THIRD-PARTY NOTICES ------------------------------------------ + +• This product may contain software derived from the Xerox Secure Hash +Function. +• This software may be based in part on the work of the Independent JPEG +Group. +• Portions of this software may be based in part on the work of RSA Data +Security, Inc. Because Microsoft may have included the RSA Data Security, Inc., +software in this product, Microsoft is required to include the text below that +accompanied such software: + +Copyright © 1990, RSA Data Security, Inc. All rights reserved. + +License to copy and use this software is granted provided that it is identified +as the "RSA Data Security, Inc., MD5 Message-Digest Algorithm" in all material +mentioning or referencing this software or this function. License is also +granted to make and use derivative works provided that such works are +identified as "derived from the RSA Data Security, Inc., MD5 Message-Digest +Algorithm" in all material mentioning or referencing the derived work. +RSA Data Security, Inc., makes no representations concerning either the +merchantability of this software or the suitability of this software for any +particular purpose. It is provided "as is" without express or implied warranty +of any kind. + +These notices must be retained in any copies of any part of this documentation +and/or software. + +• The Reporting Services mapping feature, if included, uses data from +TIGER/Line Shapefiles provided courtesy of the U.S. Census Bureau +(http://www.census.gov/). TIGER/Line Shapefiles are an extract of selected +geographic and cartographic information from the Census MAF/TIGER database. +TIGER/Line Shapefiles are available without charge from the U.S. Census Bureau. +To obtain more information about the TIGER/Line shapefiles, go to +http://www.census.gov/geo/www/tiger. The boundary information in the TIGER/Line +Shapefiles is for statistical data collection and tabulation purposes only; its +depiction and designation for statistical purposes does not constitute a +determination of jurisdictional authority, rights of ownership, or entitlement, +and does not reflect legal land descriptions. Census TIGER and TIGER/Line are +registered trademarks of the U.S. Bureau of the Census. +****************************************** + +------------License Starts Here---------------------------------------------- + +Bootstrap ver. 3.0.2 + +Microsoft grants you the right to use these JavaScript files for the sole +purpose of either: (i) interacting through your browser with the Microsoft +website, subject to the website's terms of use; or (ii) using the files as +included with a Microsoft product subject to that product's license terms. +Microsoft reserves all other rights to the files not expressly granted by +Microsoft, whether by implication, estoppel or otherwise. The notices and +licenses below are for informational purposes only. + +Bootstrap ver. 3.0.2 +Copyright (c) 2011-2014 Twitter, Inc. + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the ""Software""), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License ---------------------------------------------- + +------------License Starts Here------------------------------------------- + +jamesnk-newtonsoft.json + +Copyright (c) 2007 James Newton-King +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the Software), to deal in the +Software without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the +Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +RequireJS 2.1.14 +BSD License +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ""AS IS"" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jQuery 1.7.1 + +Copyright (c) 2011 John Resig, http://jquery.com/ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Sizzle.js +Copyright 2011, The Dojo Foundation + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jQuery +http://jquery.com/ + +Copyright JS Foundation and other contributors, https://js.foundation/ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jQuery UI +Copyright jQuery Foundation and other contributors, https://jquery.org/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/jquery-ui + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code contained within the demos directory. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +All files located in the node_modules and external directories are +externally maintained libraries used by this software which have their +own licenses; we recommend you read them, as their terms may differ from +the terms above. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jQuery - autocomplete + +Copyright (c) 2007 Dylan Verheul, Dan G. Switzer, Anjesh Tuladhar, Jörn Zaefferer + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jQuery - resize + +Copyright (c) 2010 "Cowboy" Ben Alman + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Knockoutjs + +* Knockout JavaScript library v3.2.0 +* (c) Steven Sanderson - http://knockoutjs.com/ +* License: MIT (http://www.opensource.org/licenses/mit-license.php) + + MIT License + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the Software), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +RapidJSON +Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------------------------ +Incudes code from Boost + +Boost Software License - Version 1.0 - August 17th, 2003 + +Permission is hereby granted, free of charge, to any person or organization +obtaining a copy of the software and accompanying documentation covered by +this license (the "Software") to use, reproduce, display, distribute, +execute, and transmit the Software, and to prepare derivative works of the +Software, and to permit third-parties to whom the Software is furnished to +do so, all subject to the following: + +The copyright notices in the Software and this entire statement, including +the above license grant, this restriction and the following disclaimer, +must be included in all copies of the Software, in whole or in part, and +all derivative works of the Software, unless such copies or derivative +works are solely in the form of machine-executable object code generated by +a source language processor. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT +SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +Zlib + Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler + Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + +--------------------------------- +Includes code from amd64-match.S + +Copyright (c) 1998 Gilles Vollant and Brian Raiter +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------License End ---------------------------------------------- + +------------License Starts Here---------------------------------------- + +Bond +https://github.com/Microsoft/bond + Copyright (c) 2014 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the “Software”), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------License End ---------------------------------------------- + +------------License Starts Here---------------------------------------------- + +ANTLR 3.4.1 + +Microsoft grants you the right to use these files for the sole purpose of +either: (i) interacting through your browser with the Microsoft website, +subject to the website's terms of use; or (ii) using the files as included with +a Microsoft product subject to that product's license terms. Microsoft reserves +all other rights to the files not expressly granted by Microsoft, whether by +implication, estoppel or otherwise. The notices and licenses below are for +informational purposes only. + +Copyright (c) 2010 Terence Parr +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +Neither the name of the nor the names of its contributors may be +used to endorse or promote products derived from this software without specific +prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------License End ---------------------------------------------- + +------------License Starts Here---------------------------------------------- + +cyan4973-lz4 + +LZ4 Library +Copyright (c) 2011-2014, Yann Collet +All rights reserved. + +BSD License +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ""AS IS"" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------License End ---------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Boost + +// Copyright Joe Coder 2004 - 2006. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) +Boost Software License - Version 1.0 - August 17th, 2003 + +Permission is hereby granted, free of charge, to any person or organization +obtaining a copy of the software and accompanying documentation covered by +this license (the "Software") to use, reproduce, display, distribute, +execute, and transmit the Software, and to prepare derivative works of the +Software, and to permit third-parties to whom the Software is furnished to +do so, all subject to the following: + +The copyright notices in the Software and this entire statement, including +the above license grant, this restriction and the following disclaimer, +must be included in all copies of the Software, in whole or in part, and +all derivative works of the Software, unless such copies or derivative +works are solely in the form of machine-executable object code generated by +a source language processor. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT +SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +------------License End---------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Cereal + +Copyright (c) 2013, Randolph Voorhies, Shane Grant +BSD License +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ""AS IS"" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------License End---------------------------------------------- + +------------License Starts Here---------------------------------------------- + +SSMS +jamesnk-newtonsoft.json +Copyright (c) 2007 James Newton-King + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the Software), to deal in the +Software without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the +Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------License End---------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Hammer.JS v 1.0.5 - 2013-04-07 +Microsoft grants you the right to use these JavaScript files for the sole +purpose of either: (i) interacting through your browser with the Microsoft +website, subject to the website's terms of use; or (ii) using the files as +included with a Microsoft product subject to that product's license terms. +Microsoft reserves all other rights to the files not expressly granted by +Microsoft, whether by implication, estoppel or otherwise. The notices and +licenses below are for informational purposes only. + +Hammer.JS - v1.0.5 - 2013-04-07 + http://eightmedia.github.com/hammer.js + Copyright (c) 2013 Jorik Tangelder + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------License End---------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jquery-globalize v 0.1.1 + +Microsoft grants you the right to use these JavaScript files for the sole +purpose of either: (i) interacting through your browser with the Microsoft +website, subject to the website's terms of use; or (ii) using the files as +included with a Microsoft product subject to that product's license terms. +Microsoft reserves all other rights to the files not expressly granted by +Microsoft, whether by implication, estoppel or otherwise. The notices and +licenses below are for informational purposes only. + +Copyright Software Freedom Conservancy, Inc. + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------License End---------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libunwind 1.1 +Copyright (c) 2002 Hewlett-Packard Co. +MIT License + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Go + +Copyright (c) 2009 The Go Authors. All rights reserved. +BSD license + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +github.com/denisenkom/go-mssqldb +Copyright (c) 2012 The Go Authors. All rights reserved. +BSD license + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +golang.org/x/crypto +Copyright (c) 2009 The Go Authors. All rights reserved. +BSD license + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +https://github.com/moby/moby/tree/v0.6.2/utils/utils.go + +" Copyright (c) 2012-2013 dotCloud, inc. + + Licensed under the Apache License, Version 2.0 (the ""License""); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an ""AS IS"" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License." + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +coreos/go-systemd + + Copyright 2018 CoreOS, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +gogo/protobuf + +Protocol Buffers for Go with Gadgets + +Copyright (c) 2013, The GoGo Authors. All rights reserved. +http://github.com/gogo/protobuf + +Go support for Protocol Buffers - Google's data interchange format + +Copyright 2010 The Go Authors. All rights reserved. +https://github.com/golang/protobuf + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +https://blog.golang.org/errors-are-values + +Copyright (c) 2009 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. +* Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Content from https://golang.org/src/syscall/ +Content from https://github.com/golang/text + +Copyright (c) 2009 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +Additional IP Rights Grant (Patents) + +"This implementation" means the copyrightable works distributed by +Google as part of the Go project. + +Google hereby grants to You a perpetual, worldwide, non-exclusive, +no-charge, royalty-free, irrevocable (except as stated in this section) +patent license to make, have made, use, offer to sell, sell, import, +transfer and otherwise run, modify and propagate the contents of this +implementation of Go, where such license applies only to those patent +claims, both currently owned or controlled by Google and acquired in +the future, licensable by Google that are necessarily infringed by this +implementation of Go. This grant does not include claims that would be +infringed only as a consequence of further modification of this +implementation. If you or your agent or exclusive licensee institute or +order or agree to the institution of patent litigation against any +entity (including a cross-claim or counterclaim in a lawsuit) alleging +that this implementation of Go or any code incorporated within this +implementation of Go constitutes direct or contributory patent +infringement, or inducement of patent infringement, then any patent +rights granted to you under this License for this implementation of Go +shall terminate as of the date such litigation is filed. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Includes go-genproto +Includes Google APIs + +// Copyright 2016 Google Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mmap-go + +Copyright (c) 2011, Evan Shaw +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the copyright holder nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +content from https://github.com/go-ini/ini + +" Copyright 2014 Unknwon + + Licensed under the Apache License, Version 2.0 (the ""License""): you may + not use this file except in compliance with the License. You may obtain + a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an ""AS IS"" BASIS, WITHOUT + WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + License for the specific language governing permissions and limitations + under the License." + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Breakpad +"Copyright (c) 2006, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------- + +Copyright 2001-2004 Unicode, Inc. + +Disclaimer + +This source code is provided as is by Unicode, Inc. No claims are +made as to fitness for any particular purpose. No warranties of any +kind are expressed or implied. The recipient agrees to determine +applicability of information provided. If this file has been +purchased on magnetic or optical media from Unicode, Inc., the +sole remedy for any claim will be exchange of defective media +within 90 days of receipt. + +Limitations on Rights to Redistribute This Code + +Unicode, Inc. hereby grants the right to freely use the information +supplied in this file in the creation of products supporting the +Unicode Standard, and to make copies of this file in any form +for internal or external distribution as long as this notice +remains attached." + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Breakpad + +"/* + * Copyright (C) 2005 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the ""License""); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an ""AS IS"" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */" +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Breakpad + +"// Copyright 2015 The Chromium Authors. All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// ""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +containerd + +/* + Copyright The containerd Authors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + + Copyright 2018 CoreOS, Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Docker + + Copyright 2015 Docker, Inc. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +OCI Runtime Specification + + Copyright 2015 The Linux Foundation. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +godbus/dbus + +Copyright (c) 2013, Georg Reinke (), Google +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pkg/errors + +Copyright (c) 2015, Dave Cheney +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +lxc/lxd + + Copyright (c) 2018 lxd contributors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Apache Hadoop + +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Apache HTrace Core + + Copyright 2016 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Apache Hive + +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + + Apache Parquet + Copyright 2016 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Incubator-livy + + Copyright (c) 2017 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +lucene-solr + +Copyright (c) 2006 - 2018 The Apache Software Foundation + +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +javax-inject v1 + +/* + * Copyright (C) 2009 The JSR-330 Expert Group + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Guice + +/** + * Copyright (C) 2006 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +DataTables + +BSD license +Copyright (c) 2008-2013, Allan Jardine All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. +Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. +Neither the name of Allan Jardine nor SpryMedia may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jsTree + +Copyright (c) 2010 Ivan Bozhanov (vakata.com) + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Guava + +/* + * Copyright (C) 2009, 2013, 2015 The Guava Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +not-yet-commons-ssl project + +Copyright 2002-2006 The Apache Software Foundation + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +----- + +Please note this should be read in the same way as the MIT license. + +LICENSE +Copyright (c) 2000 - 2015 The Legion of the Bouncy Castle Inc. (http://www.bouncycastle.org) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software +and associated documentation files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or +substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING +BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Material copyright Intel Corporation + +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Some portions of this file Copyright (c) 2004-2006 Intel Corportation + * and licensed under the BSD license. + */ + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Elasticsearch + + Copyright (c) 2018 Elasticsearch B.V. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Kibana + +Copyright 2012-2018 Elasticsearch B.V. + +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +csharp + + Copyright (c) 2017, 2018 The Kubernetes Project Authors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Fluent Bit + +/* Fluent Bit + * ========== + * Copyright (C) 2015-2018 Treasure Data Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Grafana + + Copyright 2014-2017 Grafana Labs + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +gRPC + +Copyright 2014 gRPC authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------------------------ + +Includes code from tensorflow + + Copyright 2017, The TensorFlow Authors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + ------------------------------ + +Includes code from "Intrusive MPSC node-based queue" + +Copyright (c) 2010-2011 Dmitry Vyukov. All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +Copyright (c) 2010-2011 Dmitry Vyukov. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY DMITRY VYUKOV "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DMITRY VYUKOV OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of Dmitry Vyukov. + +------------------------------ +Includes test vectors derived from NIST + +Software Disclaimer + +NIST-developed software is provided by NIST as a public service. You may use, copy and distribute copies of the software in any medium, provided that you keep intact this entire notice. You may improve, modify and create derivative works of the software or any portion of the software, and you may copy and distribute such modifications or works. Modified works should carry a notice stating that you changed the software and should note the date and nature of any such change. Please explicitly acknowledge the National Institute of Standards and Technology as the source of the software. + +NIST-developed software is expressly provided "AS IS." NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED, IN FACT OR ARISING BY OPERATION OF LAW, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT AND DATA ACCURACY. NIST NEITHER REPRESENTS NOR WARRANTS THAT THE OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED OR ERROR-FREE, OR THAT ANY DEFECTS WILL BE CORRECTED. NIST DOES NOT WARRANT OR MAKE ANY REPRESENTATIONS REGARDING THE USE OF THE SOFTWARE OR THE RESULTS THEREOF, INCLUDING BUT NOT LIMITED TO THE CORRECTNESS, ACCURACY, RELIABILITY, OR USEFULNESS OF THE SOFTWARE. + +You are solely responsible for determining the appropriateness of using and distributing the software and you assume all risks associated with its use, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and the unavailability or interruption of operation. This software is not intended to be used in any situation where a failure could cause risk of injury or damage to property. The software developed by NIST employees is not subject to copyright protection within the United States. + +------------------------------ +Includes file containing code from an ActiveState.com posting by Paddy McCarthy + +Copyright (c) 2010 Paddy McCarthy + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------------------------ +Includes code from Microsoft msbuild + +The MIT License (MIT) + +Copyright (c) 2015 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------------------------ +Includes rubocop configuration file + +Copyright (c) 2012-17 Bozhidar Batsov + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +gRPC-go + + * Copyright 2017 gRPC authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Fractions release/3.0.1 + +Copyright (c) 2013-2017, Daniel Mueller +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +NLog + +Copyright (c) 2004-2018 Jaroslaw Kowalski , Kim Christensen, Julian Verdurmen + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of Jaroslaw Kowalski nor the names of its + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Protobuf + +This license applies to all parts of Protocol Buffers except the following: + + - Atomicops support for generic gcc, located in + src/google/protobuf/stubs/atomicops_internals_generic_gcc.h. + This file is copyrighted by Red Hat Inc. + + - Atomicops support for AIX/POWER, located in + src/google/protobuf/stubs/atomicops_internals_power.h. + This file is copyrighted by Bloomberg Finance LP. + +Copyright 2014, Google Inc. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Code generated by the Protocol Buffer compiler is owned by the owner +of the input file used when generating it. This code is not +standalone and requires a support library to be linked with it. This +support library is itself covered by the above license. + + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Influxdb + +The MIT License (MIT) + +Copyright (c) 2013-2016 Errplane Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Telegraf + +The MIT License (MIT) + +Copyright (c) 2015 InfluxDB + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +xmlrpc + +Copyright (C) 2012 Dmitry Maksimov + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +YamDotNet + +Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014 Antoine Aubry and contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Code Copyright IBM Corp. + +Artistic License 2.0 + +Copyright (c) 2000-2006, The Perl Foundation. + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. +Preamble + +This license establishes the terms under which a given free software Package may be copied, modified, distributed, and/or redistributed. The intent is that the Copyright Holder maintains some artistic control over the development of that Package while still keeping the Package available as open source and free software. + +You are always permitted to make arrangements wholly outside of this license directly with the Copyright Holder of a given Package. If the terms of this license do not permit the full use that you propose to make of the Package, you should contact the Copyright Holder and seek a different licensing arrangement. +Definitions + +"Copyright Holder" means the individual(s) or organization(s) named in the copyright notice for the entire Package. + +"Contributor" means any party that has contributed code or other material to the Package, in accordance with the Copyright Holder's procedures. + +"You" and "your" means any person who would like to copy, distribute, or modify the Package. + +"Package" means the collection of files distributed by the Copyright Holder, and derivatives of that collection and/or of those files. A given Package may consist of either the Standard Version, or a Modified Version. + +"Distribute" means providing a copy of the Package or making it accessible to anyone else, or in the case of a company or organization, to others outside of your company or organization. + +"Distributor Fee" means any fee that you charge for Distributing this Package or providing support for this Package to another party. It does not mean licensing fees. + +"Standard Version" refers to the Package if it has not been modified, or has been modified only in ways explicitly requested by the Copyright Holder. + +"Modified Version" means the Package, if it has been changed, and such changes were not explicitly requested by the Copyright Holder. + +"Original License" means this Artistic License as Distributed with the Standard Version of the Package, in its current version or as it may be modified by The Perl Foundation in the future. + +"Source" form means the source code, documentation source, and configuration files for the Package. + +"Compiled" form means the compiled bytecode, object code, binary, or any other form resulting from mechanical transformation or translation of the Source form. +Permission for Use and Modification Without Distribution + +(1) You are permitted to use the Standard Version and create and use Modified Versions for any purpose without restriction, provided that you do not Distribute the Modified Version. +Permissions for Redistribution of the Standard Version + +(2) You may Distribute verbatim copies of the Source form of the Standard Version of this Package in any medium without restriction, either gratis or for a Distributor Fee, provided that you duplicate all of the original copyright notices and associated disclaimers. At your discretion, such verbatim copies may or may not include a Compiled form of the Package. + +(3) You may apply any bug fixes, portability changes, and other modifications made available from the Copyright Holder. The resulting Package will still be considered the Standard Version, and as such will be subject to the Original License. +Distribution of Modified Versions of the Package as Source + +(4) You may Distribute your Modified Version as Source (either gratis or for a Distributor Fee, and with or without a Compiled form of the Modified Version) provided that you clearly document how it differs from the Standard Version, including, but not limited to, documenting any non-standard features, executables, or modules, and provided that you do at least ONE of the following: + +(a) make the Modified Version available to the Copyright Holder of the Standard Version, under the Original License, so that the Copyright Holder may include your modifications in the Standard Version. +(b) ensure that installation of your Modified Version does not prevent the user installing or running the Standard Version. In addition, the Modified Version must bear a name that is different from the name of the Standard Version. +(c) allow anyone who receives a copy of the Modified Version to make the Source form of the Modified Version available to others under +(i) the Original License or +(ii) a license that permits the licensee to freely copy, modify and redistribute the Modified Version using the same licensing terms that apply to the copy that the licensee received, and requires that the Source form of the Modified Version, and of any works derived from it, be made freely available in that license fees are prohibited but Distributor Fees are allowed. +Distribution of Compiled Forms of the Standard Version or Modified Versions without the Source + +(5) You may Distribute Compiled forms of the Standard Version without the Source, provided that you include complete instructions on how to get the Source of the Standard Version. Such instructions must be valid at the time of your distribution. If these instructions, at any time while you are carrying out such distribution, become invalid, you must provide new instructions on demand or cease further distribution. If you provide valid instructions or cease distribution within thirty days after you become aware that the instructions are invalid, then you do not forfeit any of your rights under this license. + +(6) You may Distribute a Modified Version in Compiled form without the Source, provided that you comply with Section 4 with respect to the Source of the Modified Version. +Aggregating or Linking the Package + +(7) You may aggregate the Package (either the Standard Version or Modified Version) with other packages and Distribute the resulting aggregation provided that you do not charge a licensing fee for the Package. Distributor Fees are permitted, and licensing fees for other components in the aggregation are permitted. The terms of this license apply to the use and Distribution of the Standard or Modified Versions as included in the aggregation. + +(8) You are permitted to link Modified and Standard Versions with other works, to embed the Package in a larger work of your own, or to build stand-alone binary or bytecode versions of applications that include the Package, and Distribute the result without restriction, provided the result does not expose a direct interface to the Package. +Items That are Not Considered Part of a Modified Version + +(9) Works (including, but not limited to, modules and scripts) that merely extend or make use of the Package, do not, by themselves, cause the Package to be a Modified Version. In addition, such works are not considered parts of the Package itself, and are not subject to the terms of this license. +General Provisions + +(10) Any use, modification, and distribution of the Standard or Modified Versions is governed by this Artistic License. By using, modifying or distributing the Package, you accept this license. Do not use, modify, or distribute the Package, if you do not accept this license. + +(11) If your Modified Version has been derived from a Modified Version made by someone other than you, you are nevertheless required to ensure that your Modified Version complies with the requirements of this license. + +(12) This license does not grant you the right to use any trademark, service mark, tradename, or logo of the Copyright Holder. + +(13) This license includes the non-exclusive, worldwide, free-of-charge patent license to make, have made, use, offer to sell, sell, import and otherwise transfer the Package with respect to any patent claims licensable by the Copyright Holder that are necessarily infringed by the Package. If you institute patent litigation (including a cross-claim or counterclaim) against any party alleging that the Package constitutes direct or contributory patent infringement, then this Artistic License to you shall terminate on the date that such litigation is filed. + +(14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Ruby + +Copyright (C) 1993-2013 Yukihiro Matsumoto. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Noto + +This Font Software is licensed under the SIL Open Font License, +Version 1.1. + +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font +creation efforts of academic and linguistic communities, and to +provide a free and open framework in which fonts may be shared and +improved in partnership with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply to +any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software +components as distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, +deleting, or substituting -- in part or in whole -- any of the +components of the Original Version, by changing formats or by porting +the Font Software to a new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, +modify, redistribute, and sell modified and unmodified copies of the +Font Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, in +Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the +corresponding Copyright Holder. This restriction only applies to the +primary font name as presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created using +the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Font Awesome + +For font files: + [SIL OFL v1.1] + +For CSS and LESS files: + Copyright (c) 2016 David Gandy + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the ""Software""), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +For all other materials not under the above licenses (e.g. documentation files): + + THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. + 1. Definitions + "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License. + "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License. + "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership. + "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License. + "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast. + "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work. + "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. + "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images. + "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium. + 2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws. + 3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: + to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; + to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified."; + to Distribute and Publicly Perform the Work including as incorporated in Collections; and, + to Distribute and Publicly Perform Adaptations. + For the avoidance of doubt: + Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; + Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and, + Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License. + The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved. + 4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: + You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(b), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(b), as requested. + If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4 (b) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties. + Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise. + 5. Representations, Warranties and Disclaimer + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + 7. Termination + This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. + Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. + 8. Miscellaneous + Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. + Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. + If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. + This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. + The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law. +Creative Commons Notice Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor. + Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, Creative Commons does not authorize the use by either party of the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time. For the avoidance of doubt, this trademark restriction does not form part of this License. + Creative Commons may be contacted at https://creativecommons.org/. + + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Gradle + +Copyright (c) 2007-2011 the original author or authors + + Licensed under the Apache License, Version 2.0 (the “License”); +you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an “AS IS” BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +duplicate classes + + Copyright (c) 2016 Jason Tedor + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Facebook Presto Parser + +(c) Copyright 2013-2016, Facebook + + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +OpenSans Font + +Copyright (c) 2016 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Roboto Font + +Copyright (c) 2015 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +cue.language + +(c) 2009 IBM Corp + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Closure + +// Copyright 2006 The Closure Library Authors. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS-IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Apache Nutch + +Copyright (c) 2015 The Apache Software Foundation + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +NuGet + +Copyright (c) .NET Foundation. All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +these files except in compliance with the License. You may obtain a copy of the +License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed +under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, either express or implied. See the License for the +specific language governing permissions and limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Android Open Source Project + +/* + * Copyright (C) 2011 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +ColorBrewer + +Apache-Style Software License for ColorBrewer software and ColorBrewer Color +Schemes + +Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The Pennsylvania State +University. + +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations under +the License. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions as source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. The end-user documentation included with the redistribution, if any, must +include the following acknowledgment: "This product includes color +specifications and designs developed by Cynthia Brewer +(http://colorbrewer.org/)." Alternately, this acknowledgment may appear in the +software itself, if and wherever such third-party acknowledgments normally +appear. + +4. The name "ColorBrewer" must not be used to endorse or promote products +derived from this software without prior written permission. For written +permission, please contact Cynthia Brewer at cbrewer@psu.edu. + +5. Products derived from this software may not be called "ColorBrewer", nor +may "ColorBrewer" appear in their name, without prior written permission of +Cynthia Brewer. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Intrusive MPSC node-based queue + +Copyright (c) 2010-2011 Dmitry Vyukov. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of + conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list + of conditions and the following disclaimer in the documentation and/or other materials + provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY DMITRY VYUKOV "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DMITRY VYUKOV OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of Dmitry Vyukov. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +tldextract + +Copyright (c) 2013-2017, John Kurkowski +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * The names of its contributors may not be used to endorse or promote + products derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL JOHN KURKOWSKI BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jsr292-cookbook + +Copyright (c) 2011 JSR 292 cookbook contributors + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +ANTLRInputStream + +[The "BSD 3-clause license"] +Copyright (c) 2012-2017 The ANTLR Project. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Base64 encoding/decoding + +Copyright (c) 2005-2011, Jouni Malinen + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +File copyright David Edmundson + +Copyright (c) 2015 David Edmundson + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Redis + + * Copyright (c) 2006-2012, Salvatore Sanfilippo + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of Redis nor the names of its contributors may be used + * to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +D3.js +D3-array +D3-scale-chromatic + +Copyright 2010-2017 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here----------------------------------------------- + +Ace code editor + +Copyright (c) 2010, Ajax.org B.V. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Ajax.org B.V. nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +File(s) copyright The Chromium Authors + +Copyright (c) 2012 The Chromium Authors. All rights reserved. +Copyright (c) 2015 The Chromium Authors. All rights reserved. +Copyright (c) 2016 The Chromium Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +json-stringify-safe + +Copyright (c) Isaac Z. Schlueter +Copyright (c) Andri Möll +All rights reserved. + +The BSD License + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Files copyright Jacques Savoy + +Copyright (c) 2005, Jacques Savoy + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Snowball + +Copyright (c) 2001, Dr Martin Porter, +Copyright (c) 2002, Richard Boulton. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +LINQBridge + +LINQBridge Copyright (c) 2007-2009, Atif Aziz, Joseph Albahari +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +- Neither the name of the original authors nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +floating-point-gui.de + +Material adapted from https://github.com/brazzy/floating-point-gui.de/blob/f7cbaee62e74908167037fc198ce5a87184d0a5e/content/errors/NearlyEqualsTest.java. +Licensed under the Creative Commons Attribution 3.0 Unported License, available at https://creativecommons.org/licenses/by/3.0/legalcode. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Material adapted from various Creative Commons licenses (see e.g. http://creativecommons.org/licenses/by-sa/1.0/deed.ru, http://creativecommons.org/licenses/by-sa/3.0/gr/, and http://creativecommons.org/licenses/by-sa/2.0/kr/). +Licensed under the Creative Commons Attribution 4.0 International License, available at https://creativecommons.org/licenses/by/4.0/legalcode. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +benlimmer.com + +Material adapted from http://benlimmer.com/2013/12/26/automatically-publish-javadoc-to-gh-pages-with-travis-ci/. +Licensed under the Creative Commons Attribution 4.0 International License, available at https://github.com/blimmer/benlimmer.com/blob/master/LICENSE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libexpat + +Copyright (c) 1998-2000 Thai Open Source Software Center Ltd and Clark Cooper +Copyright (c) 2001-2017 Expat maintainers + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Bootswatch + +The MIT License (MIT) + +Copyright (c) 2013 Thomas Park + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jqBootstrapValidation + +Copyright (c) 2013 David Godfrey + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +UTF-8 Decoding routines + +Copyright (c) 2008-2009 Bjoern Hoehrmann + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Paket + +The MIT License (MIT) + +Copyright (c) 2015 Alexander Groß, Steffen Forkmann + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +AngularStrap + +The MIT License + +Copyright (c) 2012-2014 Olivier Louvignes http://olouv.com + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Prism + +MIT LICENSE + +Copyright (c) 2012 Lea Verou + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Slate + +The MIT License + +Copyright (c) 2016–2017, Ian Storm Taylor + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Material copyright loldesign + +The MIT License (MIT) + +Copyright (c) 2013 loldesign + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Gogs + +Copyright (c) 2014 All Gogs Contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Jason + +The MIT License (MIT) + +Copyright (c) 2014 Anton Holmquist, anton.holmquist@gmail.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Flot + +Copyright (c) 2007-2014 IOLA and Ole Laursen + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +flot-events + +Copyright (c) 2015 Alexander Wunschik , Joel Oughton , Nicolas Joseph + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Ink + +Copyright 2013 ZURB Inc + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +normalize.css + +The MIT License (MIT) + +Copyright (c) Nicolas Gallagher and Jonathan Neal + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Spectrum + +Copyright (c) Brian Grinstead + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +UI Bootstrap + +The MIT License + +Copyright (c) 2012-2015 the AngularUI Team, https://github.com/organizations/angular-ui/teams/291112 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Material copyright Paddy McCarthy + +Copyright (c) 2010 Paddy McCarthy + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Calculate distance, bearing and more between Latitude/Longitude points + +Copyright (c) 2002-2017 Chris Veness + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +hyperloglog + +The MIT License (MIT) + +Copyright (c) 2017 Clark DuVall + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Angular Debounce + +The MIT License (MIT) + +Copyright (c) 2013 Steve + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Material copyright Tom Alexander + +Copyright (c) 2013 Tom Alexander + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Geohash + +Copyright (c) 2008 David Troy + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +hash-sum + +The MIT License (MIT) + +Copyright (c) 2014 Nicolas Bevacqua + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jQuery Mouse Wheel Plugin + +Copyright 2011, Brandon Aaron (http://brandonaaron.net/) + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Moment.js + +Copyright (c) JS Foundation and other contributors + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +metrics + +The MIT License (MIT) + +Copyright (c) 2014 Coda Hale + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Cake Resources + +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +class helper functions from bonzo + +Copyright 2012, Dustin Diaz (the "Original Author") +All rights reserved. + +MIT License + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +Distributions of all or part of the Software intended to be used +by the recipients as they would use the unmodified Software, +containing modifications that substantially alter, remove, or +disable functionality of the Software, outside of the documented +configuration mechanisms provided by the Software, shall be +modified such that the Original Author's bug reporting email +addresses and urls are either replaced with the contact information +of the parties responsible for the changes, or removed entirely. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + + +Except where noted, this license applies to any and all software +programs and associated documentation files created by the +Original Author, when distributed with the Software. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +NUnit + +NUnit License + +Copyright (c) 2002-2015 Charlie Poole +Copyright (c) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov +Copyright (c) 2000-2002 Philip A. Craig + +This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: + +The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment (see the following) in the product documentation is required. + +Portions Copyright (c) 2002-2012 Charlie Poole or Copyright (c) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov or Copyright (c) 2000-2002 Philip A. Craig + +Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. + +This notice may not be removed or altered from any source distribution. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Material copyright The Nutch Organization + +/* ==================================================================== + * The Nutch Software License, Version 1.0 + * + * Copyright (c) 2003 The Nutch Organization. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * 3. The end-user documentation included with the redistribution, + * if any, must include the following acknowledgment: + * "This product includes software developed by the + * Nutch Organization (http://www.nutch.org/)." + * Alternately, this acknowledgment may appear in the software itself, + * if and wherever such third-party acknowledgments normally appear. + * + * 4. The names "Nutch" and "Nutch Organization" must + * not be used to endorse or promote products derived from this + * software without prior written permission. For written + * permission, please contact nutch-developers@nutch.org. + * + * 5. Products derived from this software may not be called "Nutch", + * nor may " Nutch " appear in their name, without prior written + * permission of the Nutch Organization. + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * NUTCH ORGANIZATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, + * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * ==================================================================== + * + * This software consists of voluntary contributions made by many individuals + * on behalf of the Nutch Organization. For more information on the Nutch + * Organization, please see . + * + * This product includes software developed by the Apache Software Foundation + * (http://www.apache.org). + */ + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Json-cpp + +// Upcaste Performance Libraries +// Copyright (C) 2012-2013 Jesse W. Towner +// +// Permission is hereby granted, free of charge, to any person obtaining +// a copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Zend code + + The Zend Engine License, version 2.00 +Copyright (c) 1999-2002 Zend Technologies Ltd. All rights reserved. +-------------------------------------------------------------------- + +Redistribution and use in source and binary forms, with or without +modification, is permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + 3. The names "Zend" and "Zend Engine" must not be used to endorse + or promote products derived from this software without prior + permission from Zend Technologies Ltd. For written permission, + please contact license@zend.com. + + 4. Zend Technologies Ltd. may publish revised and/or new versions + of the license from time to time. Each version will be given a + distinguishing version number. + Once covered code has been published under a particular version + of the license, you may always continue to use it under the + terms of that version. You may also choose to use such covered + code under the terms of any subsequent version of the license + published by Zend Technologies Ltd. No one other than Zend + Technologies Ltd. has the right to modify the terms applicable + to covered code created under this License. + + 5. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes the Zend Engine, freely available at + http://www.zend.com" + + 6. All advertising materials mentioning features or use of this + software must display the following acknowledgment: + "The Zend Engine is freely available at http://www.zend.com" + +THIS SOFTWARE IS PROVIDED BY ZEND TECHNOLOGIES LTD. ``AS IS'' AND +ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ZEND +TECHNOLOGIES LTD. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Material copyright Gavin Pugh + +Copyright (c) Gavin Pugh 2010 + +This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. + +2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. + +3. This notice may not be removed or altered from any source distribution. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +@angular/animations +@angular/common +@angular/compiler +@angular/core +@angular/http +@angular/cdk +@angular/forms +@angular/platform-browser +@angular/platform-browser-dynamic +@angular/router + +The MIT License + +Copyright (c) 2014-2018 Google, Inc. http://angular.io + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +@angular/material + +The MIT License + +Copyright (c) 2018 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jsnlog +jsnlog.js + +Copyright (c) 2012-2016 Mattijs Perdeck + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +stacktrace.js + +Copyright (c) 2017 Eric Wendelin and other contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +stacktrace.js + +Copyright (c) 2017 Exceptionless , Chun-Yan Ho + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +url-polyfill + +The MIT License + +Copyright (c) 2017 Valentin Richard + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +rxjs + + Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +serilog-aspnetcore +serilog-sinks-console +serilog-sinks-file + +// Copyright 2013-2017 Serilog Contributors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +zone.js + +The MIT License + +Copyright (c) 2016-2018 Google, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +traceur-compiler + +// Copyright (c) 2008 The Closure Library Authors. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +closure-compiler + +/* + * Copyright (c) 2008 The Closure Compiler Authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +danvk.org posting hex2dec + +// Copyright (c) 2012 Dan Vanderkam + // + // Licensed under the Apache License, Version 2.0 (the "License"); + // you may not use this file except in compliance with the License. + // You may obtain a copy of the License at + // + // http://www.apache.org/licenses/LICENSE-2.0 + // + // Unless required by applicable law or agreed to in writing, software + // distributed under the License is distributed on an "AS IS" BASIS, + // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + // See the License for the specific language governing permissions and + // limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Closure sanitization library + + * Copyright 2010 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +URI Helper + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed +under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, either express or implied. See the License for the +specific language governing permissions and limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +DOM-URL-Polyfill + +// Copyright (c) 2013 Erik Arvidsson +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +CLDR formats at unicode.org + +Unicode Terms of Use +For the general privacy policy governing access to this site, see the Unicode Privacy Policy. For trademark usage, see the Unicode® Consortium Name and Trademark Usage Policy. + +Notice to End User: Terms of Use +Carefully read the following legal agreement ("Agreement"). Use or copying of the software and/or codes provided with this agreement (The "Software") constitutes your acceptance of these terms. If you have any questions about these terms of use, please contact the Unicode Consortium. +Unicode Copyright. +Copyright © 1991-2018 Unicode, Inc. All rights reserved. +Certain documents and files on this website contain a legend indicating that "Modification is permitted." Any person is hereby authorized, without fee, to modify such documents and files to create derivative works conforming to the Unicode® Standard, subject to Terms and Conditions herein. +Any person is hereby authorized, without fee, to view, use, reproduce, and distribute all documents and files, subject to the Terms and Conditions herein. +Further specifications of rights and restrictions pertaining to the use of the particular set of data files known as the "Unicode Character Database" can be found in the License. +Each version of the Unicode Standard has further specifications of rights and restrictions of use. For the book editions (Unicode 5.0 and earlier), these are found on the back of the title page. The online code charts carry specific restrictions. All other files, including online documentation of the core specification for Unicode 6.0 and later, are covered under these general Terms of Use. +No license is granted to "mirror" the Unicode website where a fee is charged for access to the "mirror" site. +Modification is not permitted with respect to this document. All copies of this document must be verbatim. +Restricted Rights Legend. Any technical data or software which is licensed to the United States of America, its agencies and/or instrumentalities under this Agreement is commercial technical data or commercial computer software developed exclusively at private expense as defined in FAR 2.101, or DFARS 252.227-7014 (June 1995), as applicable. For technical data, use, duplication, or disclosure by the Government is subject to restrictions as set forth in DFARS 202.227-7015 Technical Data, Commercial and Items (Nov 1995) and this Agreement. For Software, in accordance with FAR 12-212 or DFARS 227-7202, as applicable, use, duplication or disclosure by the Government is subject to the restrictions set forth in this Agreement. +Warranties and Disclaimers. +This publication and/or website may include technical or typographical errors or other inaccuracies . Changes are periodically added to the information herein; these changes will be incorporated in new editions of the publication and/or website. Unicode may make improvements and/or changes in the product(s) and/or program(s) described in this publication and/or website at any time. +If this file has been purchased on magnetic or optical media from Unicode, Inc. the sole and exclusive remedy for any claim will be exchange of the defective media within ninety (90) days of original purchase. +EXCEPT AS PROVIDED IN SECTION C.2, THIS PUBLICATION AND/OR SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. UNICODE AND ITS LICENSORS ASSUME NO RESPONSIBILITY FOR ERRORS OR OMISSIONS IN THIS PUBLICATION AND/OR SOFTWARE OR OTHER DOCUMENTS WHICH ARE REFERENCED BY OR LINKED TO THIS PUBLICATION OR THE UNICODE WEBSITE. +Waiver of Damages. In no event shall Unicode or its licensors be liable for any special, incidental, indirect or consequential damages of any kind, or any damages whatsoever, whether or not Unicode was advised of the possibility of the damage, including, without limitation, those resulting from the following: loss of use, data or profits, in connection with the use, modification or distribution of this information or its derivatives. +Trademarks & Logos. +The Unicode Word Mark and the Unicode Logo are trademarks of Unicode, Inc. “The Unicode Consortium” and “Unicode, Inc.” are trade names of Unicode, Inc. Use of the information and materials found on this website indicates your acknowledgement of Unicode, Inc.’s exclusive worldwide rights in the Unicode Word Mark, the Unicode Logo, and the Unicode trade names. +The Unicode Consortium Name and Trademark Usage Policy (“Trademark Policy”) are incorporated herein by reference and you agree to abide by the provisions of the Trademark Policy, which may be changed from time to time in the sole discretion of Unicode, Inc. +All third party trademarks referenced herein are the property of their respective owners. +Miscellaneous. +Jurisdiction and Venue. This server is operated from a location in the State of California, United States of America. Unicode makes no representation that the materials are appropriate for use in other locations. If you access this server from other locations, you are responsible for compliance with local laws. This Agreement, all use of this site and any claims and damages resulting from use of this site are governed solely by the laws of the State of California without regard to any principles which would apply the laws of a different jurisdiction. The user agrees that any disputes regarding this site shall be resolved solely in the courts located in Santa Clara County, California. The user agrees said courts have personal jurisdiction and agree to waive any right to transfer the dispute to any other forum. +Modification by Unicode Unicode shall have the right to modify this Agreement at any time by posting it to this site. The user may not assign any part of this Agreement without Unicode’s prior written consent. +Taxes. The user agrees to pay any taxes arising from access to this website or use of the information herein, except for those based on Unicode’s net income. +Severability. If any provision of this Agreement is declared invalid or unenforceable, the remaining provisions of this Agreement shall remain in effect. +Entire Agreement. This Agreement constitutes the entire agreement between the parties. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +webcomponentsjs + +// Copyright (c) 2014 The Polymer Authors. All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Additional IP Rights Grant (Patents) + +"This implementation" means the copyrightable works distributed by +Google as part of the Polymer project. + +Google hereby grants to You a perpetual, worldwide, non-exclusive, +no-charge, royalty-free, irrevocable (except as stated in this section) +patent license to make, have made, use, offer to sell, sell, import, +transfer and otherwise run, modify and propagate the contents of this +implementation of Polymer, where such license applies only to those +patent claims, both currently owned or controlled by Google and acquired +in the future, licensable by Google that are necessarily infringed by +this implementation of Polymer. This grant does not include claims +that would be infringed only as a consequence of further modification of +this implementation. If you or your agent or exclusive licensee +institute or order or agree to the institution of patent litigation +against any entity (including a cross-claim or counterclaim in a +lawsuit) alleging that this implementation of Polymer or any code +incorporated within this implementation of Polymer constitutes +direct or contributory patent infringement, or inducement of patent +infringement, then any patent rights granted to you under this License +for this implementation of Polymer shall terminate as of the date +such litigation is filed. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +whatwg.org + +Creative Commons Attribution 4.0 International Public License +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + +Section 1 – Definitions. + +Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. +Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. +Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. +Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. +Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. +Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. +Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. +Licensor means the individual(s) or entity(ies) granting rights under this Public License. +Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. +Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. +You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. +Section 2 – Scope. + +License grant. +Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: +reproduce and Share the Licensed Material, in whole or in part; and +produce, reproduce, and Share Adapted Material. +Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. +Term. The term of this Public License is specified in Section 6(a). +Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. +Downstream recipients. +Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. +No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. +No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). +Other rights. + +Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. +Patent and trademark rights are not licensed under this Public License. +To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties. +Section 3 – License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + +Attribution. + +If You Share the Licensed Material (including in modified form), You must: + +retain the following if it is supplied by the Licensor with the Licensed Material: +identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); +a copyright notice; +a notice that refers to this Public License; +a notice that refers to the disclaimer of warranties; +a URI or hyperlink to the Licensed Material to the extent reasonably practicable; +indicate if You modified the Licensed Material and retain an indication of any previous modifications; and +indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. +You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. +If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. +If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of the Adapted Material from complying with this Public License. +Section 4 – Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + +for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database; +if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and +You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. +For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. +Section 5 – Disclaimer of Warranties and Limitation of Liability. + +Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You. +To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You. +The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. +Section 6 – Term and Termination. + +This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. +Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: + +automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or +upon express reinstatement by the Licensor. +For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. +For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. +Sections 1, 5, 6, 7, and 8 survive termination of this Public License. +Section 7 – Other Terms and Conditions. + +The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. +Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. +Section 8 – Interpretation. + +For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. +To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. +No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. +Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. +Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. + +Creative Commons may be contacted at creativecommons.org. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Kubernetes documentation page "Configure Access to Multiple Clusters" + +Attribution 4.0 International + +======================================================================= + +Creative Commons Corporation ("Creative Commons") is not a law firm and +does not provide legal services or legal advice. Distribution of +Creative Commons public licenses does not create a lawyer-client or +other relationship. Creative Commons makes its licenses and related +information available on an "as-is" basis. Creative Commons gives no +warranties regarding its licenses, any material licensed under their +terms and conditions, or any related information. Creative Commons +disclaims all liability for damages resulting from their use to the +fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and +conditions that creators and other rights holders may use to share +original works of authorship and other material subject to copyright +and certain other rights specified in the public license below. The +following considerations are for informational purposes only, are not +exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + +======================================================================= + +Creative Commons Attribution 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree +to be bound by the terms and conditions of this Creative Commons +Attribution 4.0 International Public License ("Public License"). To the +extent this Public License may be interpreted as a contract, You are +granted the Licensed Rights in consideration of Your acceptance of +these terms and conditions, and the Licensor grants You such rights in +consideration of benefits the Licensor receives from making the +Licensed Material available under these terms and conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + + c. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + + d. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + + e. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + + f. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + g. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + + h. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + i. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + + j. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + + k. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + +Section 2 -- Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or + in part; and + + b. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + + b. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the +following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + 4. If You Share Adapted Material You produce, the Adapter's + License You apply must not prevent recipients of the Adapted + Material from complying with this Public License. + + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that +apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material; and + + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not +replace Your obligations under this Public License where the Licensed +Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + + +======================================================================= + +Creative Commons is not a party to its public +licenses. Notwithstanding, Creative Commons may elect to apply one of +its public licenses to material it publishes and in those instances +will be considered the "Licensor." The text of the Creative Commons +public licenses is dedicated to the public domain under the CC0 Public +Domain Dedication. Except for the limited purpose of indicating that +material is shared under a Creative Commons public license or as +otherwise permitted by the Creative Commons policies published at +creativecommons.org/policies, Creative Commons does not authorize the +use of the trademark "Creative Commons" or any other trademark or logo +of Creative Commons without its prior written consent including, +without limitation, in connection with any unauthorized modifications +to any of its public licenses or any other arrangements, +understandings, or agreements concerning use of licensed material. For +the avoidance of doubt, this paragraph does not form part of the +public licenses. + +Creative Commons may be contacted at creativecommons.org. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +stylelint + +The MIT License (MIT) + +Copyright (c) 2015 - present Maxime Thirouin, David Clark & Richard Hallows + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +wtf-8 + +Copyright (c) Mathias Bynens + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +angular.io webpage + +The MIT License + +Copyright (c) 2017 Google, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +MDN posting "RegExp", Array.prototype.map(), Array.prototype.filter() + +Copyright (c) 2005 Dria + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +HttpUtility.cs + +// +// System.Web.HttpUtility +// +// Authors: +// Patrik Torstensson (Patrik.Torstensson@labs2.com) +// Wictor Wilén (decode/encode functions) (wictor@ibizkit.se) +// Tim Coleman (tim@timcoleman.com) +// Gonzalo Paniagua Javier (gonzalo@ximian.com) +// +// Copyright (C) 2005-2010 Novell, Inc (http://www.novell.com) +// +// Permission is hereby granted, free of charge, to any person obtaining +// a copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Node.js + +Copyright (c) Joyent, Inc. and other Node contributors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +content from https://github.com/vishvananda/netlink + +" Copyright 2014 Vishvananda Ishaya. + Copyright 2014 Docker, Inc. + + Licensed under the Apache License, Version 2.0 (the ""License""); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an ""AS IS"" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License." + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +content from https://github.com/vishvananda/netns + +" Copyright 2014 Vishvananda Ishaya. + Copyright 2014 Docker, Inc. + + Licensed under the Apache License, Version 2.0 (the ""License""); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an ""AS IS"" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License." + +------------End of License---------------------------------------------------- +------------License Starts Here---------------------------------------------- +Checkstyle + +// Copyright (C) 2001-2012 Oliver Burn +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +JUnit + +Common Public License - v 1.0 + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC +LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM +CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + +1. DEFINITIONS + +"Contribution" means: + + a) in the case of the initial Contributor, the initial code and + documentation distributed under this Agreement, and + b) in the case of each subsequent Contributor: + + i) changes to the Program, and + + ii) additions to the Program; + + where such changes and/or additions to the Program originate from and are +distributed by that particular Contributor. A Contribution 'originates' from a +Contributor if it was added to the Program by such Contributor itself or anyone +acting on such Contributor's behalf. Contributions do not include additions to +the Program which: (i) are separate modules of software distributed in +conjunction with the Program under their own license agreement, and (ii) are +not derivative works of the Program. + +"Contributor" means any person or entity that distributes the Program. + +"Licensed Patents " mean patent claims licensable by a Contributor which are +necessarily infringed by the use or sale of its Contribution alone or when +combined with the Program. + +"Program" means the Contributions distributed in accordance with this Agreement. + +"Recipient" means anyone who receives the Program under this Agreement, +including all Contributors. + +2. GRANT OF RIGHTS + + a) Subject to the terms of this Agreement, each Contributor hereby grants +Recipient a non-exclusive, worldwide, royalty-free copyright license to +reproduce, prepare derivative works of, publicly display, publicly perform, +distribute and sublicense the Contribution of such Contributor, if any, and +such derivative works, in source code and object code form. + + b) Subject to the terms of this Agreement, each Contributor hereby grants +Recipient a non-exclusive, worldwide, royalty-free patent license under +Licensed Patents to make, use, sell, offer to sell, import and otherwise +transfer the Contribution of such Contributor, if any, in source code and +object code form. This patent license shall apply to the combination of the +Contribution and the Program if, at the time the Contribution is added by the +Contributor, such addition of the Contribution causes such combination to be +covered by the Licensed Patents. The patent license shall not apply to any +other combinations which include the Contribution. No hardware per se is +licensed hereunder. + + c) Recipient understands that although each Contributor grants the +licenses to its Contributions set forth herein, no assurances are provided by +any Contributor that the Program does not infringe the patent or other +intellectual property rights of any other entity. Each Contributor disclaims +any liability to Recipient for claims brought by any other entity based on +infringement of intellectual property rights or otherwise. As a condition to +exercising the rights and licenses granted hereunder, each Recipient hereby +assumes sole responsibility to secure any other intellectual property rights +needed, if any. For example, if a third party patent license is required to +allow Recipient to distribute the Program, it is Recipient's responsibility to +acquire that license before distributing the Program. + + d) Each Contributor represents that to its knowledge it has sufficient +copyright rights in its Contribution, if any, to grant the copyright license +set forth in this Agreement. + +3. REQUIREMENTS + +A Contributor may choose to distribute the Program in object code form under +its own license agreement, provided that: + + a) it complies with the terms and conditions of this Agreement; and + + b) its license agreement: + + i) effectively disclaims on behalf of all Contributors all warranties and +conditions, express and implied, including warranties or conditions of title +and non-infringement, and implied warranties or conditions of merchantability +and fitness for a particular purpose; + + ii) effectively excludes on behalf of all Contributors all liability for +damages, including direct, indirect, special, incidental and consequential +damages, such as lost profits; + + iii) states that any provisions which differ from this Agreement are +offered by that Contributor alone and not by any other party; and + + iv) states that source code for the Program is available from such +Contributor, and informs licensees how to obtain it in a reasonable manner on +or through a medium customarily used for software exchange. + +When the Program is made available in source code form: + + a) it must be made available under this Agreement; and + + b) a copy of this Agreement must be included with each copy of the +Program. + +Contributors may not remove or alter any copyright notices contained within the +Program. + +Each Contributor must identify itself as the originator of its Contribution, if +any, in a manner that reasonably allows subsequent Recipients to identify the +originator of the Contribution. + +4. COMMERCIAL DISTRIBUTION + +Commercial distributors of software may accept certain responsibilities with +respect to end users, business partners and the like. While this license is +intended to facilitate the commercial use of the Program, the Contributor who +includes the Program in a commercial product offering should do so in a manner +which does not create potential liability for other Contributors. Therefore, if +a Contributor includes the Program in a commercial product offering, such +Contributor ("Commercial Contributor") hereby agrees to defend and indemnify +every other Contributor ("Indemnified Contributor") against any losses, damages +and costs (collectively "Losses") arising from claims, lawsuits and other legal +actions brought by a third party against the Indemnified Contributor to the +extent caused by the acts or omissions of such Commercial Contributor in +connection with its distribution of the Program in a commercial product +offering. The obligations in this section do not apply to any claims or Losses +relating to any actual or alleged intellectual property infringement. In order +to qualify, an Indemnified Contributor must: a) promptly notify the Commercial +Contributor in writing of such claim, and b) allow the Commercial Contributor +to control, and cooperate with the Commercial Contributor in, the defense and +any related settlement negotiations. The Indemnified Contributor may +participate in any such claim at its own expense. + +For example, a Contributor might include the Program in a commercial product +offering, Product X. That Contributor is then a Commercial Contributor. If that +Commercial Contributor then makes performance claims, or offers warranties +related to Product X, those performance claims and warranties are such +Commercial Contributor's responsibility alone. Under this section, the +Commercial Contributor would have to defend claims against the other +Contributors related to those performance claims and warranties, and if a court +requires any other Contributor to pay any damages as a result, the Commercial +Contributor must pay those damages. + +5. NO WARRANTY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR +IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, +NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each +Recipient is solely responsible for determining the appropriateness of using +and distributing the Program and assumes all risks associated with its exercise +of rights under this Agreement, including but not limited to the risks and +costs of program errors, compliance with applicable laws, damage to or loss of +data, programs or equipment, and unavailability or interruption of operations. + +6. DISCLAIMER OF LIABILITY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY +CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST +PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS +GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. GENERAL + +If any provision of this Agreement is invalid or unenforceable under applicable +law, it shall not affect the validity or enforceability of the remainder of the +terms of this Agreement, and without further action by the parties hereto, such +provision shall be reformed to the minimum extent necessary to make such +provision valid and enforceable. + +If Recipient institutes patent litigation against a Contributor with respect to +a patent applicable to software (including a cross-claim or counterclaim in a +lawsuit), then any patent licenses granted by that Contributor to such +Recipient under this Agreement shall terminate as of the date such litigation +is filed. In addition, if Recipient institutes patent litigation against any +entity (including a cross-claim or counterclaim in a lawsuit) alleging that the +Program itself (excluding combinations of the Program with other software or +hardware) infringes such Recipient's patent(s), then such Recipient's rights +granted under Section 2(b) shall terminate as of the date such litigation is +filed. + +All Recipient's rights under this Agreement shall terminate if it fails to +comply with any of the material terms or conditions of this Agreement and does +not cure such failure in a reasonable period of time after becoming aware of +such noncompliance. If all Recipient's rights under this Agreement terminate, +Recipient agrees to cease use and distribution of the Program as soon as +reasonably practicable. However, Recipient's obligations under this Agreement +and any licenses granted by Recipient relating to the Program shall continue +and survive. + +Everyone is permitted to copy and distribute copies of this Agreement, but in +order to avoid inconsistency the Agreement is copyrighted and may only be +modified in the following manner. The Agreement Steward reserves the right to +publish new versions (including revisions) of this Agreement from time to time. +No one other than the Agreement Steward has the right to modify this Agreement. +IBM is the initial Agreement Steward. IBM may assign the responsibility to +serve as the Agreement Steward to a suitable separate entity. Each new version +of the Agreement will be given a distinguishing version number. The Program +(including Contributions) may always be distributed subject to the version of +the Agreement under which it was received. In addition, after a new version of +the Agreement is published, Contributor may elect to distribute the Program +(including its Contributions) under the new version. Except as expressly stated +in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to +the intellectual property of any Contributor under this Agreement, whether +expressly, by implication, estoppel or otherwise. All rights in the Program not +expressly granted under this Agreement are reserved. + +This Agreement is governed by the laws of the State of New York and the +intellectual property laws of the United States of America. No party to this +Agreement will bring a legal action under this Agreement more than one year +after the cause of action arose. Each party waives its rights to a jury trial +in any resulting litigation. + +------------ +ANT Contrib v1.0b3 +/* + * The Apache Software License, Version 1.1 + * + * Copyright (c) 2001-2003 Ant-Contrib project. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * 3. The end-user documentation included with the redistribution, if + * any, must include the following acknowlegement: + * "This product includes software developed by the + * Ant-Contrib project (http://sourceforge.net/projects/ant-contrib)." + * Alternately, this acknowlegement may appear in the software itself, + * if and wherever such third-party acknowlegements normally appear. + * + * 4. The name Ant-Contrib must not be used to endorse or promote products + * derived from this software without prior written permission. For + * written permission, please contact + * ant-contrib-developers@lists.sourceforge.net. + * + * 5. Products derived from this software may not be called "Ant-Contrib" + * nor may "Ant-Contrib" appear in their names without prior written + * permission of the Ant-Contrib project. + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE ANT-CONTRIB PROJECT OR ITS + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * ==================================================================== + */ +------------ +MTRegex +Copyright (c) 2002 Brad Choate, bradchoate.com + +Permission is hereby granted, free of charge, to +any person obtaining a copy of this software and +associated documentation files (the "Software"), to +deal in the Software without restriction, including +without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to +whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission +notice shall be included in all copies or +substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY +OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES +OR OTHER LIABILITY, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF +OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Servlet-api + + * The contents of this file are subject to the terms + * of the Common Development and Distribution License + * (the "License"). You may not use this file except + * in compliance with the License. + * + * You can obtain a copy of the license at + * glassfish/bootstrap/legal/CDDLv1.0.txt or + * https://glassfish.dev.java.net/public/CDDLv1.0.html. + * See the License for the specific language governing + * permissions and limitations under the License. + * + * When distributing Covered Code, include this CDDL + * HEADER in each file and include the License file at + * glassfish/bootstrap/legal/CDDLv1.0.txt. If applicable, + * add the following below this CDDL HEADER, with the + * fields enclosed by brackets "[]" replaced with your + * own identifying information: Portions Copyright [yyyy] + * [name of copyright owner] + * + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * + * Portions Copyright Apache Software Foundation. + +COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.1 +1. Definitions. + + 1.1. "Contributor" means each individual or entity that creates or + contributes to the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original + Software, prior Modifications used by a Contributor (if any), and + the Modifications made by that particular Contributor. + + 1.3. "Covered Software" means (a) the Original Software, or (b) + Modifications, or (c) the combination of files containing Original + Software with files containing Modifications, in each case including + portions thereof. + + 1.4. "Executable" means the Covered Software in any form other than + Source Code. + + 1.5. "Initial Developer" means the individual or entity that first + makes Original Software available under this License. + + 1.6. "Larger Work" means a work which combines Covered Software or + portions thereof with code not governed by the terms of this License. + + 1.7. "License" means this document. + + 1.8. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed herein. + + 1.9. "Modifications" means the Source Code and Executable form of + any of the following: + + A. Any file that results from an addition to, deletion from or + modification of the contents of a file containing Original Software + or previous Modifications; + + B. Any new file that contains any part of the Original Software or + previous Modification; or + + C. Any new file that is contributed or otherwise made available + under the terms of this License. + + 1.10. "Original Software" means the Source Code and Executable form + of computer software code that is originally released under this + License. + + 1.11. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, process, + and apparatus claims, in any patent Licensable by grantor. + + 1.12. "Source Code" means (a) the common form of computer software + code in which modifications are made and (b) associated + documentation included in or with such code. + + 1.13. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms of, + this License. For legal entities, "You" includes any entity which + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants. + + 2.1. The Initial Developer Grant. + + Conditioned upon Your compliance with Section 3.1 below and subject + to third party intellectual property claims, the Initial Developer + hereby grants You a world-wide, royalty-free, non-exclusive license: + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer, to use, reproduce, + modify, display, perform, sublicense and distribute the Original + Software (or portions thereof), with or without Modifications, + and/or as part of a Larger Work; and + + (b) under Patent Claims infringed by the making, using or selling of + Original Software, to make, have made, use, practice, sell, and + offer for sale, and/or otherwise dispose of the Original Software + (or portions thereof). + + (c) The licenses granted in Sections 2.1(a) and (b) are effective on + the date Initial Developer first distributes or otherwise makes the + Original Software available to a third party under the terms of this + License. + + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: (1) for code that You delete from the Original Software, or + (2) for infringements caused by: (i) the modification of the + Original Software, or (ii) the combination of the Original Software + with other software or devices. + + 2.2. Contributor Grant. + + Conditioned upon Your compliance with Section 3.1 below and subject + to third party intellectual property claims, each Contributor hereby + grants You a world-wide, royalty-free, non-exclusive license: + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor to use, reproduce, modify, + display, perform, sublicense and distribute the Modifications + created by such Contributor (or portions thereof), either on an + unmodified basis, with other Modifications, as Covered Software + and/or as part of a Larger Work; and + + (b) under Patent Claims infringed by the making, using, or selling + of Modifications made by that Contributor either alone and/or in + combination with its Contributor Version (or portions of such + combination), to make, use, sell, offer for sale, have made, and/or + otherwise dispose of: (1) Modifications made by that Contributor (or + portions thereof); and (2) the combination of Modifications made by + that Contributor with its Contributor Version (or portions of such + combination). + + (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective + on the date Contributor first distributes or otherwise makes the + Modifications available to a third party. + + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: (1) for any code that Contributor has deleted from the + Contributor Version; (2) for infringements caused by: (i) third + party modifications of Contributor Version, or (ii) the combination + of Modifications made by that Contributor with other software + (except as part of the Contributor Version) or other devices; or (3) + under Patent Claims infringed by Covered Software in the absence of + Modifications made by that Contributor. + +3. Distribution Obligations. + + 3.1. Availability of Source Code. + + Any Covered Software that You distribute or otherwise make available + in Executable form must also be made available in Source Code form + and that Source Code form must be distributed only under the terms + of this License. You must include a copy of this License with every + copy of the Source Code form of the Covered Software You distribute + or otherwise make available. You must inform recipients of any such + Covered Software in Executable form as to how they can obtain such + Covered Software in Source Code form in a reasonable manner on or + through a medium customarily used for software exchange. + + 3.2. Modifications. + + The Modifications that You create or to which You contribute are + governed by the terms of this License. You represent that You + believe Your Modifications are Your original creation(s) and/or You + have sufficient rights to grant the rights conveyed by this License. + + 3.3. Required Notices. + + You must include a notice in each of Your Modifications that + identifies You as the Contributor of the Modification. You may not + remove or alter any copyright, patent or trademark notices contained + within the Covered Software, or any notices of licensing or any + descriptive text giving attribution to any Contributor or the + Initial Developer. + + 3.4. Application of Additional Terms. + + You may not offer or impose any terms on any Covered Software in + Source Code form that alters or restricts the applicable version of + this License or the recipients' rights hereunder. You may choose to + offer, and to charge a fee for, warranty, support, indemnity or + liability obligations to one or more recipients of Covered Software. + However, you may do so only on Your own behalf, and not on behalf of + the Initial Developer or any Contributor. You must make it + absolutely clear that any such warranty, support, indemnity or + liability obligation is offered by You alone, and You hereby agree + to indemnify the Initial Developer and every Contributor for any + liability incurred by the Initial Developer or such Contributor as a + result of warranty, support, indemnity or liability terms You offer. + + 3.5. Distribution of Executable Versions. + + You may distribute the Executable form of the Covered Software under + the terms of this License or under the terms of a license of Your + choice, which may contain terms different from this License, + provided that You are in compliance with the terms of this License + and that the license for the Executable form does not attempt to + limit or alter the recipient's rights in the Source Code form from + the rights set forth in this License. If You distribute the Covered + Software in Executable form under a different license, You must make + it absolutely clear that any terms which differ from this License + are offered by You alone, not by the Initial Developer or + Contributor. You hereby agree to indemnify the Initial Developer and + every Contributor for any liability incurred by the Initial + Developer or such Contributor as a result of any such terms You offer. + + 3.6. Larger Works. + + You may create a Larger Work by combining Covered Software with + other code not governed by the terms of this License and distribute + the Larger Work as a single product. In such a case, You must make + sure the requirements of this License are fulfilled for the Covered + Software. + +4. Versions of the License. + + 4.1. New Versions. + + Oracle is the initial license steward and may publish revised and/or + new versions of this License from time to time. Each version will be + given a distinguishing version number. Except as provided in Section + 4.3, no one other than the license steward has the right to modify + this License. + + 4.2. Effect of New Versions. + + You may always continue to use, distribute or otherwise make the + Covered Software available under the terms of the version of the + License under which You originally received the Covered Software. If + the Initial Developer includes a notice in the Original Software + prohibiting it from being distributed or otherwise made available + under any subsequent version of the License, You must distribute and + make the Covered Software available under the terms of the version + of the License under which You originally received the Covered + Software. Otherwise, You may also choose to use, distribute or + otherwise make the Covered Software available under the terms of any + subsequent version of the License published by the license steward. + + 4.3. Modified Versions. + + When You are an Initial Developer and You want to create a new + license for Your Original Software, You may create and use a + modified version of this License if You: (a) rename the license and + remove any references to the name of the license steward (except to + note that the license differs from this License); and (b) otherwise + make it clear that the license contains terms which differ from this + License. + +5. DISCLAIMER OF WARRANTY. + + COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, + INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE + IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR + NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF + THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE + DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY + OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, + REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN + ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS + AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +6. TERMINATION. + + 6.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to + cure such breach within 30 days of becoming aware of the breach. + Provisions which, by their nature, must remain in effect beyond the + termination of this License shall survive. + + 6.2. If You assert a patent infringement claim (excluding + declaratory judgment actions) against Initial Developer or a + Contributor (the Initial Developer or Contributor against whom You + assert such claim is referred to as "Participant") alleging that the + Participant Software (meaning the Contributor Version where the + Participant is a Contributor or the Original Software where the + Participant is the Initial Developer) directly or indirectly + infringes any patent, then any and all rights granted directly or + indirectly to You by such Participant, the Initial Developer (if the + Initial Developer is not the Participant) and all Contributors under + Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice + from Participant terminate prospectively and automatically at the + expiration of such 60 day notice period, unless if within such 60 + day period You withdraw Your claim with respect to the Participant + Software against such Participant either unilaterally or pursuant to + a written agreement with Participant. + + 6.3. If You assert a patent infringement claim against Participant + alleging that the Participant Software directly or indirectly + infringes any patent where such claim is resolved (such as by + license or settlement) prior to the initiation of patent + infringement litigation, then the reasonable value of the licenses + granted by such Participant under Sections 2.1 or 2.2 shall be taken + into account in determining the amount or value of any payment or + license. + + 6.4. In the event of termination under Sections 6.1 or 6.2 above, + all end user licenses that have been validly granted by You or any + distributor hereunder prior to termination (excluding licenses + granted to You by any distributor) shall survive termination. + +7. LIMITATION OF LIABILITY. + + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE + INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF + COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE + TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR + CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT + LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER + FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR + LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE + POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT + APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH + PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH + LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR + LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION + AND LIMITATION MAY NOT APPLY TO YOU. + +8. U.S. GOVERNMENT END USERS. + + The Covered Software is a "commercial item," as that term is defined + in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer + software" (as that term is defined at 48 C.F.R. § + 252.227-7014(a)(1)) and "commercial computer software documentation" + as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent + with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 + (June 1995), all U.S. Government End Users acquire Covered Software + with only those rights set forth herein. This U.S. Government Rights + clause is in lieu of, and supersedes, any other FAR, DFAR, or other + clause or provision that addresses Government rights in computer + software under this License. + +9. MISCELLANEOUS. + + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed by + the law of the jurisdiction specified in a notice contained within + the Original Software (except to the extent applicable law, if any, + provides otherwise), excluding such jurisdiction's conflict-of-law + provisions. Any litigation relating to this License shall be subject + to the jurisdiction of the courts located in the jurisdiction and + venue specified in a notice contained within the Original Software, + with the losing party responsible for costs, including, without + limitation, court costs and reasonable attorneys' fees and expenses. + The application of the United Nations Convention on Contracts for + the International Sale of Goods is expressly excluded. Any law or + regulation which provides that the language of a contract shall be + construed against the drafter shall not apply to this License. You + agree that You alone are responsible for compliance with the United + States export administration regulations (and the export control + laws and regulation of any other countries) when You use, distribute + or otherwise make available any Covered Software. + +10. RESPONSIBILITY FOR CLAIMS. + + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or indirectly, + out of its utilization of rights under this License and You agree to + work with Initial Developer and Contributors to distribute such + responsibility on an equitable basis. Nothing herein is intended or + shall be deemed to constitute any admission of liability. + +NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) +The code released under the CDDL shall be governed by the laws of the +State of California (excluding conflict-of-law provisions). Any +litigation relating to this License shall be subject to the jurisdiction +of the Federal Courts of the Northern District of California and the +state courts of the State of California, with venue lying in Santa Clara +County, California. +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +dropwizard-metrics-influxdb + +Copyright 2010-2012 Coda Hale and Yammer, Inc. +Copyright 2015 iZettle AB + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +influxdb-csharp + +Copyright (c) 2018 InfluxData + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +falcon + +Copyright 2012-2017 by Rackspace Hosting, Inc. and other contributors, +as noted in the individual source code files. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +By contributing to this project, you agree to also license your source +code under the terms of the Apache License, Version 2.0, as described +above. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jsonpath-ng + +Copyright and License +--------------------- + +Copyright 2013 - Kenneth Knowles + +Copyright 2017 - Tomas Aparicio + +Licensed under the Apache License, Version 2.0 (the "License"); you may +not use this file except in compliance with the License. You may obtain +a copy of the License at + +:: + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +serilog-sinks-literate + +// Copyright 2015 Serilog Contributors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +serilog-sinks-rollingfile + +// Copyright 2013-2016 Serilog Contributors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +shiro #shiro-root + + Copyright 2008-2012 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------------------------------- +Includes code from CSVReader + + Copyright 2005 Bytecode Pty Ltd. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------------------------------- +Includes code from javaspecialists.eu + + Copyright (c) 2001 Dr. Heinz Kabutz and Sydney Redelinghuys + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------------------------------- +Includes code from Spring Framework Project + + Copyright (c) 2002 Pivotal, Inc. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------------------------------- +Includes code from Apache Commons Codec + + Apache Commons Codec + Copyright (c) 2002-2017 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +spark-influx-sink + + * Copyright 2016 Palantir Technologies, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + +------------------------------- +Inludes code from Spark + + Copyright (c) 2014 and onwards The Apache Software Foundation. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +openresty + +Copyright (C) 2009-2015, by Yichun "agentzh" Zhang, OpenResty Inc. + +Copyright (C) 2009-2014, by Xiaozhe Wang (chaoslawful) . + +Copyright (C) 2010-2014, by FRiCKLE Piotr Sikora . + +Copyright (C) 2015, by Shuxin Yang. + +Copyright (c) 2010, 2011, Jiale "calio" Zhi . + +Copyright (C) Guanlan Dai + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jsonschema + +Copyright (c) 2013 Julian Berman + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +CPython + +PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 +-------------------------------------------- + +1. This LICENSE AGREEMENT is between the Python Software Foundation +("PSF"), and the Individual or Organization ("Licensee") accessing and +otherwise using this software ("Python") in source or binary form and +its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, PSF hereby +grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, +analyze, test, perform and/or display publicly, prepare derivative works, +distribute, and otherwise use Python alone or in any derivative version, +provided, however, that PSF's License Agreement and PSF's notice of copyright, +i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Python Software Foundation; +All Rights Reserved" are retained in Python alone or in any derivative version +prepared by Licensee. + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python. + +4. PSF is making Python available to Licensee on an "AS IS" +basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between PSF and +Licensee. This License Agreement does not grant permission to use PSF +trademarks or trade name in a trademark sense to endorse or promote +products or services of Licensee, or any third party. + +8. By copying, installing or otherwise using Python, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 +------------------------------------------- + +BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 + +1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an +office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the +Individual or Organization ("Licensee") accessing and otherwise using +this software in source or binary form and its associated +documentation ("the Software"). + +2. Subject to the terms and conditions of this BeOpen Python License +Agreement, BeOpen hereby grants Licensee a non-exclusive, +royalty-free, world-wide license to reproduce, analyze, test, perform +and/or display publicly, prepare derivative works, distribute, and +otherwise use the Software alone or in any derivative version, +provided, however, that the BeOpen Python License is retained in the +Software, alone or in any derivative version prepared by Licensee. + +3. BeOpen is making the Software available to Licensee on an "AS IS" +basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE +SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS +AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY +DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +5. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +6. This License Agreement shall be governed by and interpreted in all +respects by the law of the State of California, excluding conflict of +law provisions. Nothing in this License Agreement shall be deemed to +create any relationship of agency, partnership, or joint venture +between BeOpen and Licensee. This License Agreement does not grant +permission to use BeOpen trademarks or trade names in a trademark +sense to endorse or promote products or services of Licensee, or any +third party. As an exception, the "BeOpen Python" logos available at +http://www.pythonlabs.com/logos.html may be used according to the +permissions granted on that web page. + +7. By copying, installing or otherwise using the software, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1 +--------------------------------------- + +1. This LICENSE AGREEMENT is between the Corporation for National +Research Initiatives, having an office at 1895 Preston White Drive, +Reston, VA 20191 ("CNRI"), and the Individual or Organization +("Licensee") accessing and otherwise using Python 1.6.1 software in +source or binary form and its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, CNRI +hereby grants Licensee a nonexclusive, royalty-free, world-wide +license to reproduce, analyze, test, perform and/or display publicly, +prepare derivative works, distribute, and otherwise use Python 1.6.1 +alone or in any derivative version, provided, however, that CNRI's +License Agreement and CNRI's notice of copyright, i.e., "Copyright (c) +1995-2001 Corporation for National Research Initiatives; All Rights +Reserved" are retained in Python 1.6.1 alone or in any derivative +version prepared by Licensee. Alternately, in lieu of CNRI's License +Agreement, Licensee may substitute the following text (omitting the +quotes): "Python 1.6.1 is made available subject to the terms and +conditions in CNRI's License Agreement. This Agreement together with +Python 1.6.1 may be located on the Internet using the following +unique, persistent identifier (known as a handle): 1895.22/1013. This +Agreement may also be obtained from a proxy server on the Internet +using the following URL: http://hdl.handle.net/1895.22/1013". + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python 1.6.1 or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python 1.6.1. + +4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" +basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. This License Agreement shall be governed by the federal +intellectual property law of the United States, including without +limitation the federal copyright law, and, to the extent such +U.S. federal law does not apply, by the law of the Commonwealth of +Virginia, excluding Virginia's conflict of law provisions. +Notwithstanding the foregoing, with regard to derivative works based +on Python 1.6.1 that incorporate non-separable material that was +previously distributed under the GNU General Public License (GPL), the +law of the Commonwealth of Virginia shall govern this License +Agreement only as to issues arising under or with respect to +Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this +License Agreement shall be deemed to create any relationship of +agency, partnership, or joint venture between CNRI and Licensee. This +License Agreement does not grant permission to use CNRI trademarks or +trade name in a trademark sense to endorse or promote products or +services of Licensee, or any third party. + +8. By clicking on the "ACCEPT" button where indicated, or by copying, +installing or otherwise using Python 1.6.1, Licensee agrees to be +bound by the terms and conditions of this License Agreement. + + ACCEPT + + +CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 +-------------------------------------------------- + +Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, +The Netherlands. All rights reserved. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of Stichting Mathematisch +Centrum or CWI not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior +permission. + +STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO +THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE +FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jszip + +Copyright (c) 2009-2016 Stuart Knightley, David Duponchel, Franz Buchinger, António Afonso + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------------------------ +Includes code from FileSaver.js + +The MIT License + +Copyright (c) 2016 Eli Grey. + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +collectd + +MIT License + +Copyright 2009 collectd contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------------------------ +Includes code from asprintf.c + +Copyright (c) 2014 joseph werle + +Copyright (c) 2014 Little Star Media, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------------------------ +Includes code copyright Alexander Wirt + +Copyright 2006 Alexander Wirt + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +threadly + +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + + means each individual or legal entity that creates, contributes to the + creation of, or owns Covered Software. + +1.2. "Contributor Version" + + means the combination of the Contributions of others (if any) used by a + Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + + means Source Code Form to which the initial Contributor has attached the + notice in Exhibit A, the Executable Form of such Source Code Form, and + Modifications of such Source Code Form, in each case including portions + thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + a. that the initial Contributor has attached the notice described in + Exhibit B to the Covered Software; or + + b. that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the terms of + a Secondary License. + +1.6. "Executable Form" + + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + + means a work that combines Covered Software with other material, in a + separate file or files, that is not Covered Software. + +1.8. "License" + + means this document. + +1.9. "Licensable" + + means having the right to grant, to the maximum extent possible, whether + at the time of the initial grant or subsequently, any and all of the + rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + a. any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered Software; or + + b. any new file in Source Code Form that contains any Covered Software. + +1.11. "Patent Claims" of a Contributor + + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the License, + by the making, using, selling, offering for sale, having made, import, + or transfer of either its Contributions or its Contributor Version. + +1.12. "Secondary License" + + means either the GNU General Public License, Version 2.0, the GNU Lesser + General Public License, Version 2.1, the GNU Affero General Public + License, Version 3.0, or any later versions of those licenses. + +1.13. "Source Code Form" + + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that controls, is + controlled by, or is under common control with You. For purposes of this + definition, "control" means (a) the power, direct or indirect, to cause + the direction or management of such entity, whether by contract or + otherwise, or (b) ownership of more than fifty percent (50%) of the + outstanding shares or beneficial ownership of such entity. + + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + + Each Contributor hereby grants You a world-wide, royalty-free, + non-exclusive license: + + a. under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + + b. under Patent Claims of such Contributor to make, use, sell, offer for + sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + + The licenses granted in Section 2.1 with respect to any Contribution + become effective for each Contribution on the date the Contributor first + distributes such Contribution. + +2.3. Limitations on Grant Scope + + The licenses granted in this Section 2 are the only rights granted under + this License. No additional rights or licenses will be implied from the + distribution or licensing of Covered Software under this License. + Notwithstanding Section 2.1(b) above, no patent license is granted by a + Contributor: + + a. for any code that a Contributor has removed from Covered Software; or + + b. for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + + c. under Patent Claims infringed by Covered Software in the absence of + its Contributions. + + This License does not grant any rights in the trademarks, service marks, + or logos of any Contributor (except as may be necessary to comply with + the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + + No Contributor makes additional grants as a result of Your choice to + distribute the Covered Software under a subsequent version of this + License (see Section 10.2) or under the terms of a Secondary License (if + permitted under the terms of Section 3.3). + +2.5. Representation + + Each Contributor represents that the Contributor believes its + Contributions are its original creation(s) or it has sufficient rights to + grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + + This License is not intended to limit any rights You have under + applicable copyright doctrines of fair use, fair dealing, or other + equivalents. + +2.7. Conditions + + Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in + Section 2.1. + + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + + All distribution of Covered Software in Source Code Form, including any + Modifications that You create or to which You contribute, must be under + the terms of this License. You must inform recipients that the Source + Code Form of the Covered Software is governed by the terms of this + License, and how they can obtain a copy of this License. You may not + attempt to alter or restrict the recipients' rights in the Source Code + Form. + +3.2. Distribution of Executable Form + + If You distribute Covered Software in Executable Form then: + + a. such Covered Software must also be made available in Source Code Form, + as described in Section 3.1, and You must inform recipients of the + Executable Form how they can obtain a copy of such Source Code Form by + reasonable means in a timely manner, at a charge no more than the cost + of distribution to the recipient; and + + b. You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter the + recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + + You may create and distribute a Larger Work under terms of Your choice, + provided that You also comply with the requirements of this License for + the Covered Software. If the Larger Work is a combination of Covered + Software with a work governed by one or more Secondary Licenses, and the + Covered Software is not Incompatible With Secondary Licenses, this + License permits You to additionally distribute such Covered Software + under the terms of such Secondary License(s), so that the recipient of + the Larger Work may, at their option, further distribute the Covered + Software under the terms of either this License or such Secondary + License(s). + +3.4. Notices + + You may not remove or alter the substance of any license notices + (including copyright notices, patent notices, disclaimers of warranty, or + limitations of liability) contained within the Source Code Form of the + Covered Software, except that You may alter any license notices to the + extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + + You may choose to offer, and to charge a fee for, warranty, support, + indemnity or liability obligations to one or more recipients of Covered + Software. However, You may do so only on Your own behalf, and not on + behalf of any Contributor. You must make it absolutely clear that any + such warranty, support, indemnity, or liability obligation is offered by + You alone, and You hereby agree to indemnify every Contributor for any + liability incurred by such Contributor as a result of warranty, support, + indemnity or liability terms You offer. You may include additional + disclaimers of warranty and limitations of liability specific to any + jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + + If it is impossible for You to comply with any of the terms of this License + with respect to some or all of the Covered Software due to statute, + judicial order, or regulation then You must: (a) comply with the terms of + this License to the maximum extent possible; and (b) describe the + limitations and the code they affect. Such description must be placed in a + text file included with all distributions of the Covered Software under + this License. Except to the extent prohibited by statute or regulation, + such description must be sufficiently detailed for a recipient of ordinary + skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically if You + fail to comply with any of its terms. However, if You become compliant, + then the rights granted under this License from a particular Contributor + are reinstated (a) provisionally, unless and until such Contributor + explicitly and finally terminates Your grants, and (b) on an ongoing + basis, if such Contributor fails to notify You of the non-compliance by + some reasonable means prior to 60 days after You have come back into + compliance. Moreover, Your grants from a particular Contributor are + reinstated on an ongoing basis if such Contributor notifies You of the + non-compliance by some reasonable means, this is the first time You have + received notice of non-compliance with this License from such + Contributor, and You become compliant prior to 30 days after Your receipt + of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent + infringement claim (excluding declaratory judgment actions, + counter-claims, and cross-claims) alleging that a Contributor Version + directly or indirectly infringes any patent, then the rights granted to + You by any and all Contributors for the Covered Software under Section + 2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user + license agreements (excluding distributors and resellers) which have been + validly granted by You or Your distributors under this License prior to + termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + + Any litigation relating to this License may be brought only in the courts + of a jurisdiction where the defendant maintains its principal place of + business and such litigation shall be governed by laws of that + jurisdiction, without reference to its conflict-of-law provisions. Nothing + in this Section shall prevent a party's ability to bring cross-claims or + counter-claims. + +9. Miscellaneous +---------------- + + This License represents the complete agreement concerning the subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. Any law or regulation which provides that + the language of a contract shall be construed against the drafter shall not + be used to construe this License against a Contributor. + + +10. Versions of the License +--------------------------- + +10.1. New Versions + + Mozilla Foundation is the license steward. Except as provided in Section + 10.3, no one other than the license steward has the right to modify or + publish new versions of this License. Each version will be given a + distinguishing version number. + +10.2. Effect of New Versions + + You may distribute the Covered Software under the terms of the version + of the License under which You originally received the Covered Software, + or under the terms of any subsequent version published by the license + steward. + +10.3. Modified Versions + + If you create software not governed by this License, and you want to + create a new license for such software, you may create and use a + modified version of this License if you rename the license and remove + any references to the name of the license steward (except to note that + such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary + Licenses + + If You choose to distribute Source Code Form that is + Incompatible With Secondary Licenses under the terms of this version of + the License, the notice described in Exhibit B of this License must be + attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + + If it is not possible or desirable to put the notice in a particular file, + then You may include the notice in a location (such as a LICENSE file in a + relevant directory) where a recipient would be likely to look for such a + notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +htrace-core + + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +request + +// Copyright 2010-2012 Mikeal Rogers +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +wildfly-openssl + +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +------------------------------- +Includes code adapted from OpenSSL + +* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) +* All rights reserved. +* +* This package is an SSL implementation written +* by Eric Young (eay@cryptsoft.com). +* The implementation was written so as to conform with Netscapes SSL. +* +* This library is free for commercial and non-commercial use as long as +* the following conditions are aheared to. The following conditions +* apply to all code found in this distribution, be it the RC4, RSA, +* lhash, DES, etc., code; not just the SSL code. The SSL documentation +* included with this distribution is covered by the same copyright terms +* except that the holder is Tim Hudson (tjh@cryptsoft.com). +* +* Copyright remains Eric Young's, and as such any Copyright notices in +* the code are not to be removed. +* If this package is used in a product, Eric Young should be given attribution +* as the author of the parts of the library used. +* This can be in the form of a textual message at program startup or +* in documentation (online or textual) provided with the package. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* 1. Redistributions of source code must retain the copyright +* notice, this list of conditions and the following disclaimer. +* 2. Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in the +* documentation and/or other materials provided with the distribution. +* 3. All advertising materials mentioning features or use of this software +* must display the following acknowledgement: +* "This product includes cryptographic software written by +* Eric Young (eay@cryptsoft.com)" +* The word 'cryptographic' can be left out if the rouines from the library +* being used are not cryptographic related :-). +* 4. If you include any Windows specific code (or a derivative thereof) from +* the apps directory (application code) you must include an acknowledgement: +* "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" +* +* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND +* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +* SUCH DAMAGE. +* +* The licence and distribution terms for any publically available version or +* derivative of this code cannot be changed. i.e. this code cannot simply be +* copied and put under another distribution licence +* [including the GNU Public Licence.] +*/ +* ==================================================================== +* Copyright (c) 1998-2007 The OpenSSL Project. All rights reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* 1. Redistributions of source code must retain the above copyright +* notice, this list of conditions and the following disclaimer. +* +* 2. Redistributions in binary form must reproduce the above copyright +* notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the +* distribution. +* +* 3. All advertising materials mentioning features or use of this +* software must display the following acknowledgment: +* "This product includes software developed by the OpenSSL Project +* for use in the OpenSSL Toolkit. (http://www.openssl.org/)" +* +* 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to +* endorse or promote products derived from this software without +* prior written permission. For written permission, please contact +* openssl-core@openssl.org. +* +* 5. Products derived from this software may not be called "OpenSSL" +* nor may "OpenSSL" appear in their names without prior written +* permission of the OpenSSL Project. +* +* 6. Redistributions of any form whatsoever must retain the following +* acknowledgment: +* "This product includes software developed by the OpenSSL Project +* for use in the OpenSSL Toolkit (http://www.openssl.org/)" +* +* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY +* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR +* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +* OF THE POSSIBILITY OF SUCH DAMAGE. +* ==================================================================== +* +* This product includes cryptographic software written by Eric Young +* (eay@cryptsoft.com). This product includes software written by Tim +* Hudson (tjh@cryptsoft.com). +* +*/ +* ==================================================================== +* Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. +* ECC cipher suite support in OpenSSL originally developed by +* SUN MICROSYSTEMS, INC., and contributed to the OpenSSL project. +*/ +* ==================================================================== +* Copyright 2005 Nokia. All rights reserved. +* +* The portions of the attached software ("Contribution") is developed by +* Nokia Corporation and is licensed pursuant to the OpenSSL open source +* license. +* +* The Contribution, originally written by Mika Kousa and Pasi Eronen of +* Nokia Corporation, consists of the "PSK" (Pre-Shared Key) ciphersuites +* support (see RFC 4279) to OpenSSL. +* +* No patent licenses or other rights except those expressly stated in +* the OpenSSL open source license shall be deemed granted or received +* expressly, by implication, estoppel, or otherwise. +* +* No assurances are provided by Nokia that the Contribution does not +* infringe the patent or other intellectual property rights of any third +* party or that the license provides you with all the necessary rights +* to make use of the Contribution. +* +* THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. IN +* ADDITION TO THE DISCLAIMERS INCLUDED IN THE LICENSE, NOKIA +* SPECIFICALLY DISCLAIMS ANY LIABILITY FOR CLAIMS BROUGHT BY YOU OR ANY +* OTHER ENTITY BASED ON INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS OR +* OTHERWISE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Apache ZooKeeper + +Copyright 2009-2017 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +async-file + +The MIT License (MIT) + +Copyright (c) 2016 Dave Templin + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +js-yaml + +(The MIT License) + +Copyright (C) 2011-2015 by Vitaly Puzrin + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +node-csv-parse + +The MIT License (MIT) + +Copyright (c) 2010 Adaltas + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +---------------------------- +Includes DefinitelyTyped definitions for csv-parse + +This project is licensed under the MIT license. +Copyrights are respective of each contributor listed at the beginning of each definition file. + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +node-localstorage + +## MIT License ## + +Copyright (c) 2011, 2012, Lawrence S. Maccherone, Jr. + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and +to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- +pako + +(The MIT License) + +Copyright (C) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +python-certifi + +***** BEGIN LICENSE BLOCK ***** +This Source Code Form is subject to the terms of the Mozilla Public License, +v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain +one at http://mozilla.org/MPL/2.0/. + +***** END LICENSE BLOCK ***** + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +dateutil + +dateutil - Extensions to the standard Python datetime module. + +Copyright (c) 2003-2011 - Gustavo Niemeyer +Copyright (c) 2012-2014 - Tomi Pieviläinen +Copyright (c) 2014 - Yaron de Leeuw + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +--------------------------- +Includes code from GM Arts with an algorithm by Claus Tøndering + +(1) GM Arts Copyright - Web Page Information +1.1 What You CAN Do + +Under the following conditions, you can freely link (electronically or in any published work) to any page on my site. Also, you CAN copy segments of pages (a small number of paragraphs or tables) from my currently active website, provided: + +You clearly identify which parts were copied. +You clearly indicate where you got the information, with a link to my site. +Your complete work, including my information, is distributed freely, and not sold. +If you copy information from my site in this manner, it would be courteous to let me know. + +1.2 What ELSE You CAN Do + +If you wish to do more, such as any of the following: + +Copy large portions of pages, or entire pages +Copy entire topics +Sell work, partially or fully containing information from my site (in any form, including electronic and hard-copy) +Reproduce information from my site without credit to me or reference to my website +Reproduce past information no longer actively shown on my website +You MUST contact me to seek my approval and make appropriate business arrangements. + +1.3 What You CAN'T Do + +Simply, you can't copy information in any manner that does not meet the guidelines above. Specifically, information must not be copied and reproduced as your own work and/or sold without my permission. + +Copyright and disclaimer +This document is Copyright ©2017 by Claus Tøndering. + +The document may be freely distributed, provided this copyright notice is included and no money is charged for the document. + +This document is provided “as is”. No warranties are made as to its correctness. + +-------------------------------- +Includes code "based on" mx.DateTime specification + +EGENIX.COM PUBLIC LICENSE AGREEMENT +Version 1.1.0 + +This license agreement is based on the Python CNRI License Agreement, a widely accepted opensource +license. + +1. Introduction +This "License Agreement" is between eGenix.com Software, Skills and Services GmbH +("eGenix.com"), having an office at Pastor-Loeh-Str. 48, D-40764 Langenfeld, Germany, and the +Individual or Organization ("Licensee") accessing and otherwise using this software in source or +binary form and its associated documentation ("the Software"). + +2. License +Subject to the terms and conditions of this eGenix.com Public License Agreement, eGenix.com +hereby grants Licensee a non-exclusive, royalty-free, world-wide license to reproduce, analyze, +test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use +the Software alone or in any derivative version, provided, however, that the eGenix.com Public +License Agreement is retained in the Software, or in any derivative version of the Software +prepared by Licensee. + +3. NO WARRANTY +eGenix.com is making the Software available to Licensee on an "AS IS" basis. SUBJECT TO ANY +STATUTORY WARRANTIES WHICH CAN NOT BE EXCLUDED, EGENIX.COM MAKES NO +REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT +NOT LIMITATION, EGENIX.COM MAKES NO AND DISCLAIMS ANY REPRESENTATION OR +WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT +THE USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + +4. LIMITATION OF LIABILITY +EGENIX.COM SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE +SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS +(INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, +BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY +LOSS) AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY +DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. +SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL +OR CONSEQUENTIAL DAMAGES, SO THE ABOVE EXCLUSION OR LIMITATION MAY NOT +APPLY TO LICENSEE. + +5. Termination +This License Agreement will automatically terminate upon a material breach of its terms and +conditions. + +6. Third Party Rights +Any software or documentation in source or binary form provided along with the Software that +is associated with a separate license agreement is licensed to Licensee under the terms of that +license agreement. This License Agreement does not apply to those portions of the Software. +Copies of the third party licenses are included in the Software Distribution. + +7. General +Nothing in this License Agreement affects any statutory rights of consumers that cannot be +waived or limited by contract. +Nothing in this License Agreement shall be deemed to create any relationship of agency, +partnership, or joint venture between eGenix.com and Licensee. +If any provision of this License Agreement shall be unlawful, void, or for any reason +unenforceable, such provision shall be modified to the extent necessary to render it enforceable +without losing its intent, or, if no such modification is possible, be severed from this License +Agreement and shall not affect the validity and enforceability of the remaining provisions of this +License Agreement. +This License Agreement shall be governed by and interpreted in all respects by the law of +Germany, excluding conflict of law provisions. It shall not be governed by the United Nations +Convention on Contracts for International Sale of Goods. +This License Agreement does not grant permission to use eGenix.com trademarks or trade +names in a trademark sense to endorse or promote products or services of Licensee, or any +third party. +The controlling language of this License Agreement is English. If Licensee has received a +translation into another language, it has been provided for Licensee's convenience only. + +8. Agreement +By downloading, copying, installing or otherwise using the Software, Licensee agrees to be +bound by the terms and conditions of this License Agreement. +For question regarding this License Agreement, please write to: + +eGenix.com Software, Skills and Services GmbH +Pastor-Loeh-Str. 48 +D-40764 Langenfeld +Germany +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- +fmt + +Copyright (c) 2012 - 2016, Victor Zverovich + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +supervisor + +A copyright notice accompanies this license document that identifies +the copyright holders. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +1. Redistributions in source code must retain the accompanying + copyright notice, this list of conditions, and the following + disclaimer. + +2. Redistributions in binary form must reproduce the accompanying + copyright notice, this list of conditions, and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + +3. Names of the copyright holders must not be used to endorse or + promote products derived from this software without prior + written permission from the copyright holders. + +4. If any files are modified, you must cause the modified files to + carry prominent notices stating that you changed the files and + the date of any change. + +Disclaimer + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND +ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR +TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF +THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +------------------------------ +Includes code from 'xmlrpcserver.py' by Fredrik Lundh + +Python 2.2 license +This is the official license for the Python 2.2 release: + +A. HISTORY OF THE SOFTWARE +========================== + +Python was created in the early 1990s by Guido van Rossum at Stichting +Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands +as a successor of a language called ABC. Guido remains Python's +principal author, although it includes many contributions from others. + +In 1995, Guido continued his work on Python at the Corporation for +National Research Initiatives (CNRI, see http://www.cnri.reston.va.us) +in Reston, Virginia where he released several versions of the +software. + +In May 2000, Guido and the Python core development team moved to +BeOpen.com to form the BeOpen PythonLabs team. In October of the same +year, the PythonLabs team moved to Digital Creations (see +http://www.digicool.com). In 2001, the Python Software Foundation +(PSF, see http://www.python.org/psf/) was formed, a non-profit +organization created specifically to own Python-related Intellectual +Property. Digital Creations is a sponsoring member of the PSF. + +All Python releases are Open Source (see http://www.opensource.org for +the Open Source Definition). Historically, most, but not all, Python +releases have also been GPL-compatible; the table below summarizes +the various releases. + + Release Derived Year Owner GPL- + from compatible? (1) + + 0.9.0 thru 1.2 1991-1995 CWI yes + 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes + 1.6 1.5.2 2000 CNRI no + 2.0 1.6 2000 BeOpen.com no + 1.6.1 1.6 2001 CNRI no + 2.1 2.0+1.6.1 2001 PSF no + 2.0.1 2.0+1.6.1 2001 PSF yes + 2.1.1 2.1+2.0.1 2001 PSF yes + 2.2 2.1.1 2001 PSF yes + +Footnotes: + +(1) GPL-compatible doesn't mean that we're distributing Python under + the GPL. All Python licenses, unlike the GPL, let you distribute + a modified version without making your changes open source. The + GPL-compatible licenses make it possible to combine Python with + other software that is released under the GPL; the others don't. + +Thanks to the many outside volunteers who have worked under Guido's +direction to make these releases possible. + + +B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON +=============================================================== + +PSF LICENSE AGREEMENT FOR PYTHON 2.2 +------------------------------------ + +1. This LICENSE AGREEMENT is between the Python Software Foundation +("PSF"), and the Individual or Organization ("Licensee") accessing and +otherwise using Python 2.2 software in source or binary form and its +associated documentation. + +2. Subject to the terms and conditions of this License Agreement, PSF +hereby grants Licensee a nonexclusive, royalty-free, world-wide +license to reproduce, analyze, test, perform and/or display publicly, +prepare derivative works, distribute, and otherwise use Python 2.2 +alone or in any derivative version, provided, however, that PSF's +License Agreement and PSF's notice of copyright, i.e., "Copyright (c) +2001 Python Software Foundation; All Rights Reserved" are retained in +Python 2.2 alone or in any derivative version prepared by Licensee. + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python 2.2 or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python 2.2. + +4. PSF is making Python 2.2 available to Licensee on an "AS IS" +basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 2.2 WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +2.2 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 2.2, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between PSF and +Licensee. This License Agreement does not grant permission to use PSF +trademarks or trade name in a trademark sense to endorse or promote +products or services of Licensee, or any third party. + +8. By copying, installing or otherwise using Python 2.2, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 +------------------------------------------- + +BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 + +1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an +office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the +Individual or Organization ("Licensee") accessing and otherwise using +this software in source or binary form and its associated +documentation ("the Software"). + +2. Subject to the terms and conditions of this BeOpen Python License +Agreement, BeOpen hereby grants Licensee a non-exclusive, +royalty-free, world-wide license to reproduce, analyze, test, perform +and/or display publicly, prepare derivative works, distribute, and +otherwise use the Software alone or in any derivative version, +provided, however, that the BeOpen Python License is retained in the +Software, alone or in any derivative version prepared by Licensee. + +3. BeOpen is making the Software available to Licensee on an "AS IS" +basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE +SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS +AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY +DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +5. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +6. This License Agreement shall be governed by and interpreted in all +respects by the law of the State of California, excluding conflict of +law provisions. Nothing in this License Agreement shall be deemed to +create any relationship of agency, partnership, or joint venture +between BeOpen and Licensee. This License Agreement does not grant +permission to use BeOpen trademarks or trade names in a trademark +sense to endorse or promote products or services of Licensee, or any +third party. As an exception, the "BeOpen Python" logos available at +http://www.pythonlabs.com/logos.html may be used according to the +permissions granted on that web page. + +7. By copying, installing or otherwise using the software, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1 +--------------------------------------- + +1. This LICENSE AGREEMENT is between the Corporation for National +Research Initiatives, having an office at 1895 Preston White Drive, +Reston, VA 20191 ("CNRI"), and the Individual or Organization +("Licensee") accessing and otherwise using Python 1.6.1 software in +source or binary form and its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, CNRI +hereby grants Licensee a nonexclusive, royalty-free, world-wide +license to reproduce, analyze, test, perform and/or display publicly, +prepare derivative works, distribute, and otherwise use Python 1.6.1 +alone or in any derivative version, provided, however, that CNRI's +License Agreement and CNRI's notice of copyright, i.e., "Copyright (c) +1995-2001 Corporation for National Research Initiatives; All Rights +Reserved" are retained in Python 1.6.1 alone or in any derivative +version prepared by Licensee. Alternately, in lieu of CNRI's License +Agreement, Licensee may substitute the following text (omitting the +quotes): "Python 1.6.1 is made available subject to the terms and +conditions in CNRI's License Agreement. This Agreement together with +Python 1.6.1 may be located on the Internet using the following +unique, persistent identifier (known as a handle): 1895.22/1013. This +Agreement may also be obtained from a proxy server on the Internet +using the following URL: http://hdl.handle.net/1895.22/1013". + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python 1.6.1 or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python 1.6.1. + +4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" +basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. This License Agreement shall be governed by the federal +intellectual property law of the United States, including without +limitation the federal copyright law, and, to the extent such +U.S. federal law does not apply, by the law of the Commonwealth of +Virginia, excluding Virginia's conflict of law provisions. +Notwithstanding the foregoing, with regard to derivative works based +on Python 1.6.1 that incorporate non-separable material that was +previously distributed under the GNU General Public License (GPL), the +law of the Commonwealth of Virginia shall govern this License +Agreement only as to issues arising under or with respect to +Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this +License Agreement shall be deemed to create any relationship of +agency, partnership, or joint venture between CNRI and Licensee. This +License Agreement does not grant permission to use CNRI trademarks or +trade name in a trademark sense to endorse or promote products or +services of Licensee, or any third party. + +8. By clicking on the "ACCEPT" button where indicated, or by copying, +installing or otherwise using Python 1.6.1, Licensee agrees to be +bound by the terms and conditions of this License Agreement. + + ACCEPT + + +CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 +-------------------------------------------------- + +Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, +The Netherlands. All rights reserved. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of Stichting Mathematisch +Centrum or CWI not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior +permission. + +STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO +THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE +FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +knack + +MIT License + +Copyright (c) Microsoft Corporation. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- +pyyaml + +Copyright (c) 2017-2018 Ingy döt Net +Copyright (c) 2006-2016 Kirill Simonov + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +six + +Copyright (c) 2010-2017 Benjamin Peterson + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Swashbuckle.AspNetCore + +The MIT License (MIT) + +Copyright (c) 2016 Richard Morris + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +urllib3 + +This is the MIT license: http://www.opensource.org/licenses/mit-license.php + +Copyright 2008-2016 Andrey Petrov and contributors (see CONTRIBUTORS.txt) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this +software and associated documentation files (the "Software"), to deal in the Software +without restriction, including without limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons +to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or +substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +--------------------------------- +Includes code from httplib.HTTPSConnection and the Python Standard Library, under the PSF License below. + +PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 +-------------------------------------------- + +1. This LICENSE AGREEMENT is between the Python Software Foundation +("PSF"), and the Individual or Organization ("Licensee") accessing and +otherwise using this software ("Python") in source or binary form and +its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, PSF hereby +grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, +analyze, test, perform and/or display publicly, prepare derivative works, +distribute, and otherwise use Python alone or in any derivative version, +provided, however, that PSF's License Agreement and PSF's notice of copyright, +i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +2011, 2012, 2013, 2014, 2015, 2016, 2017 Python Software Foundation; All Rights +Reserved" are retained in Python alone or in any derivative version prepared by +Licensee. + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python. + +4. PSF is making Python available to Licensee on an "AS IS" +basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between PSF and +Licensee. This License Agreement does not grant permission to use PSF +trademarks or trade name in a trademark sense to endorse or promote +products or services of Licensee, or any third party. + +8. By copying, installing or otherwise using Python, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libarchive + +The libarchive distribution as a whole is Copyright by Tim Kientzle +and is subject to the copyright notice reproduced at the bottom of +this file. + +Each individual file in this distribution should have a clear +copyright/licensing statement at the beginning of the file. If any do +not, please let me know and I will rectify it. The following is +intended to summarize the copyright status of the individual files; +the actual statements in the files are controlling. + +* Except as listed below, all C sources (including .c and .h files) + and documentation files are subject to the copyright notice reproduced + at the bottom of this file. + +* The following source files are also subject in whole or in part to + a 3-clause UC Regents copyright; please read the individual source + files for details: + libarchive/archive_entry.c + libarchive/archive_read_support_compression_compress.c + libarchive/archive_write_set_compression_compress.c + libarchive/mtree.5 + tar/matching.c + +* The following source files are in the public domain: + tar/getdate.c + +* The build files---including Makefiles, configure scripts, + and auxiliary scripts used as part of the compile process---have + widely varying licensing terms. Please check individual files before + distributing them to see if those restrictions apply to you. + +I intend for all new source code to use the license below and hope over +time to replace code with other licenses with new implementations that +do use the license below. The varying licensing of the build scripts +seems to be an unavoidable mess. + + +Copyright (c) 2003-2009 +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer + in this position and unchanged. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +apache-arrow + +Copyright 2016 The Apache Software Foundation +Copyright 2019 Apache Software Foundation + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------------------------------ +Includes code from Apache ORC + +Apache Software License v2.0 + +Copyright (c) 2013-2015 The Apache Software Foundation + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------------------------------ +Includes code from LevelDB + +Copyright (c) 2011 The LevelDB Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------------------------------ +Includes code from SFrame + +* Copyright (C) 2015 Dato, Inc. +* Copyright (c) 2009 Carnegie Mellon University. + +Copyright (c) 2015, +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of SFrame nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +double-conversion + +Copyright 2006-2011, the V8 project authors. All rights reserved. +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- +uriparser + +uriparser - RFC 3986 URI parsing library + +Copyright (C) 2007, Weijia Song +Copyright (C) 2007, Sebastian Pipping +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + * Redistributions of source code must retain the above + copyright notice, this list of conditions and the following + disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials + provided with the distribution. + + * Neither the name of the nor the names of its + contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +OF THE POSSIBILITY OF SUCH DAMAGE. + +------------License Starts Here---------------------------------------------- + +coredns + + Copyright (c) 2019 coredns contributors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +----------------------------- +Includes Go programming language + +Copyright (c) 2009 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +zstd + +For Zstandard software + +Copyright (c) 2016-present, Facebook, Inc. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name Facebook nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +----------------------------------- +Includes zstdmt + +BSD License + +Copyright (c) 2016 - 2017, Tino Reichardt, All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +brotli + +Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +---------------------------------- +Includes code from Google snappy + +Copyright (c) 2011, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- +lz4 + +License +All source material within lib directory are BSD 2-Clause licensed. See LICENSE for details. The license is also reminded at the top of each source file. + +LZ4 Library +Copyright (c) 2011-2016, Yann Collet +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +thrift-cpp + + Copyright 2006-2010 The Apache Software Foundation. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--------------------------------- +Includes code from Golint + +Copyright (c) 2013 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- +flatbuffers + + Copyright 2014 Google Inc. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- +gflags + +Copyright (c) 2006, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +snappy + +Copyright 2011, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +golang-lru + +Mozilla Public License, version 2.0 + +1. Definitions + +1.1. "Contributor" + + means each individual or legal entity that creates, contributes to the + creation of, or owns Covered Software. + +1.2. "Contributor Version" + + means the combination of the Contributions of others (if any) used by a + Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + + means Source Code Form to which the initial Contributor has attached the + notice in Exhibit A, the Executable Form of such Source Code Form, and + Modifications of such Source Code Form, in each case including portions + thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + a. that the initial Contributor has attached the notice described in + Exhibit B to the Covered Software; or + + b. that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the terms of + a Secondary License. + +1.6. "Executable Form" + + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + + means a work that combines Covered Software with other material, in a + separate file or files, that is not Covered Software. + +1.8. "License" + + means this document. + +1.9. "Licensable" + + means having the right to grant, to the maximum extent possible, whether + at the time of the initial grant or subsequently, any and all of the + rights conveyed by this License. + +1.10. "Modifications" + + means any of the following: + + a. any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered Software; or + + b. any new file in Source Code Form that contains any Covered Software. + +1.11. "Patent Claims" of a Contributor + + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the License, + by the making, using, selling, offering for sale, having made, import, + or transfer of either its Contributions or its Contributor Version. + +1.12. "Secondary License" + + means either the GNU General Public License, Version 2.0, the GNU Lesser + General Public License, Version 2.1, the GNU Affero General Public + License, Version 3.0, or any later versions of those licenses. + +1.13. "Source Code Form" + + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that controls, is + controlled by, or is under common control with You. For purposes of this + definition, "control" means (a) the power, direct or indirect, to cause + the direction or management of such entity, whether by contract or + otherwise, or (b) ownership of more than fifty percent (50%) of the + outstanding shares or beneficial ownership of such entity. + + +2. License Grants and Conditions + +2.1. Grants + + Each Contributor hereby grants You a world-wide, royalty-free, + non-exclusive license: + + a. under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + + b. under Patent Claims of such Contributor to make, use, sell, offer for + sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + + The licenses granted in Section 2.1 with respect to any Contribution + become effective for each Contribution on the date the Contributor first + distributes such Contribution. + +2.3. Limitations on Grant Scope + + The licenses granted in this Section 2 are the only rights granted under + this License. No additional rights or licenses will be implied from the + distribution or licensing of Covered Software under this License. + Notwithstanding Section 2.1(b) above, no patent license is granted by a + Contributor: + + a. for any code that a Contributor has removed from Covered Software; or + + b. for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + + c. under Patent Claims infringed by Covered Software in the absence of + its Contributions. + + This License does not grant any rights in the trademarks, service marks, + or logos of any Contributor (except as may be necessary to comply with + the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + + No Contributor makes additional grants as a result of Your choice to + distribute the Covered Software under a subsequent version of this + License (see Section 10.2) or under the terms of a Secondary License (if + permitted under the terms of Section 3.3). + +2.5. Representation + + Each Contributor represents that the Contributor believes its + Contributions are its original creation(s) or it has sufficient rights to + grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + + This License is not intended to limit any rights You have under + applicable copyright doctrines of fair use, fair dealing, or other + equivalents. + +2.7. Conditions + + Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in + Section 2.1. + + +3. Responsibilities + +3.1. Distribution of Source Form + + All distribution of Covered Software in Source Code Form, including any + Modifications that You create or to which You contribute, must be under + the terms of this License. You must inform recipients that the Source + Code Form of the Covered Software is governed by the terms of this + License, and how they can obtain a copy of this License. You may not + attempt to alter or restrict the recipients' rights in the Source Code + Form. + +3.2. Distribution of Executable Form + + If You distribute Covered Software in Executable Form then: + + a. such Covered Software must also be made available in Source Code Form, + as described in Section 3.1, and You must inform recipients of the + Executable Form how they can obtain a copy of such Source Code Form by + reasonable means in a timely manner, at a charge no more than the cost + of distribution to the recipient; and + + b. You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter the + recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + + You may create and distribute a Larger Work under terms of Your choice, + provided that You also comply with the requirements of this License for + the Covered Software. If the Larger Work is a combination of Covered + Software with a work governed by one or more Secondary Licenses, and the + Covered Software is not Incompatible With Secondary Licenses, this + License permits You to additionally distribute such Covered Software + under the terms of such Secondary License(s), so that the recipient of + the Larger Work may, at their option, further distribute the Covered + Software under the terms of either this License or such Secondary + License(s). + +3.4. Notices + + You may not remove or alter the substance of any license notices + (including copyright notices, patent notices, disclaimers of warranty, or + limitations of liability) contained within the Source Code Form of the + Covered Software, except that You may alter any license notices to the + extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + + You may choose to offer, and to charge a fee for, warranty, support, + indemnity or liability obligations to one or more recipients of Covered + Software. However, You may do so only on Your own behalf, and not on + behalf of any Contributor. You must make it absolutely clear that any + such warranty, support, indemnity, or liability obligation is offered by + You alone, and You hereby agree to indemnify every Contributor for any + liability incurred by such Contributor as a result of warranty, support, + indemnity or liability terms You offer. You may include additional + disclaimers of warranty and limitations of liability specific to any + jurisdiction. + +4. Inability to Comply Due to Statute or Regulation + + If it is impossible for You to comply with any of the terms of this License + with respect to some or all of the Covered Software due to statute, + judicial order, or regulation then You must: (a) comply with the terms of + this License to the maximum extent possible; and (b) describe the + limitations and the code they affect. Such description must be placed in a + text file included with all distributions of the Covered Software under + this License. Except to the extent prohibited by statute or regulation, + such description must be sufficiently detailed for a recipient of ordinary + skill to be able to understand it. + +5. Termination + +5.1. The rights granted under this License will terminate automatically if You + fail to comply with any of its terms. However, if You become compliant, + then the rights granted under this License from a particular Contributor + are reinstated (a) provisionally, unless and until such Contributor + explicitly and finally terminates Your grants, and (b) on an ongoing + basis, if such Contributor fails to notify You of the non-compliance by + some reasonable means prior to 60 days after You have come back into + compliance. Moreover, Your grants from a particular Contributor are + reinstated on an ongoing basis if such Contributor notifies You of the + non-compliance by some reasonable means, this is the first time You have + received notice of non-compliance with this License from such + Contributor, and You become compliant prior to 30 days after Your receipt + of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent + infringement claim (excluding declaratory judgment actions, + counter-claims, and cross-claims) alleging that a Contributor Version + directly or indirectly infringes any patent, then the rights granted to + You by any and all Contributors for the Covered Software under Section + 2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user + license agreements (excluding distributors and resellers) which have been + validly granted by You or Your distributors under this License prior to + termination shall survive termination. + +6. Disclaimer of Warranty + + Covered Software is provided under this License on an "as is" basis, + without warranty of any kind, either expressed, implied, or statutory, + including, without limitation, warranties that the Covered Software is free + of defects, merchantable, fit for a particular purpose or non-infringing. + The entire risk as to the quality and performance of the Covered Software + is with You. Should any Covered Software prove defective in any respect, + You (not any Contributor) assume the cost of any necessary servicing, + repair, or correction. This disclaimer of warranty constitutes an essential + part of this License. No use of any Covered Software is authorized under + this License except under this disclaimer. + +7. Limitation of Liability + + Under no circumstances and under no legal theory, whether tort (including + negligence), contract, or otherwise, shall any Contributor, or anyone who + distributes Covered Software as permitted above, be liable to You for any + direct, indirect, special, incidental, or consequential damages of any + character including, without limitation, damages for lost profits, loss of + goodwill, work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses, even if such party shall have been + informed of the possibility of such damages. This limitation of liability + shall not apply to liability for death or personal injury resulting from + such party's negligence to the extent applicable law prohibits such + limitation. Some jurisdictions do not allow the exclusion or limitation of + incidental or consequential damages, so this exclusion and limitation may + not apply to You. + +8. Litigation + + Any litigation relating to this License may be brought only in the courts + of a jurisdiction where the defendant maintains its principal place of + business and such litigation shall be governed by laws of that + jurisdiction, without reference to its conflict-of-law provisions. Nothing + in this Section shall prevent a party's ability to bring cross-claims or + counter-claims. + +9. Miscellaneous + + This License represents the complete agreement concerning the subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. Any law or regulation which provides that + the language of a contract shall be construed against the drafter shall not + be used to construe this License against a Contributor. + + +10. Versions of the License + +10.1. New Versions + + Mozilla Foundation is the license steward. Except as provided in Section + 10.3, no one other than the license steward has the right to modify or + publish new versions of this License. Each version will be given a + distinguishing version number. + +10.2. Effect of New Versions + + You may distribute the Covered Software under the terms of the version + of the License under which You originally received the Covered Software, + or under the terms of any subsequent version published by the license + steward. + +10.3. Modified Versions + + If you create software not governed by this License, and you want to + create a new license for such software, you may create and use a + modified version of this License if you rename the license and remove + any references to the name of the license steward (except to note that + such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary + Licenses If You choose to distribute Source Code Form that is + Incompatible With Secondary Licenses under the terms of this version of + the License, the notice described in Exhibit B of this License must be + attached. + +Exhibit A - Source Code Form License Notice + + This Source Code Form is subject to the + terms of the Mozilla Public License, v. + 2.0. If a copy of the MPL was not + distributed with this file, You can + obtain one at + http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular file, +then You may include the notice in a location (such as a LICENSE file in a +relevant directory) where a recipient would be likely to look for such a +notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice + + This Source Code Form is "Incompatible + With Secondary Licenses", as defined by + the Mozilla Public License, v. 2.0. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +go vgo + +Copyright (c) 2009 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Additional IP Rights Grant (Patents) + +"This implementation" means the copyrightable works distributed by +Google as part of the Go project. + +Google hereby grants to You a perpetual, worldwide, non-exclusive, +no-charge, royalty-free, irrevocable (except as stated in this section) +patent license to make, have made, use, offer to sell, sell, import, +transfer and otherwise run, modify and propagate the contents of this +implementation of Go, where such license applies only to those patent +claims, both currently owned or controlled by Google and acquired in +the future, licensable by Google that are necessarily infringed by this +implementation of Go. This grant does not include claims that would be +infringed only as a consequence of further modification of this +implementation. If you or your agent or exclusive licensee institute or +order or agree to the institution of patent litigation against any +entity (including a cross-claim or counterclaim in a lawsuit) alleging +that this implementation of Go or any code incorporated within this +implementation of Go constitutes direct or contributory patent +infringement, or inducement of patent infringement, then any patent +rights granted to you under this License for this implementation of Go +shall terminate as of the date such litigation is filed. + + +Attribution 3.0 Unported + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE. + +License + +THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. + +BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. + +1. Definitions + + "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License. + "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License. + "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership. + "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License. + "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast. + "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work. + "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. + "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images. + "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium. + +2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws. + +3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: + + to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; + to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified."; + to Distribute and Publicly Perform the Work including as incorporated in Collections; and, + to Distribute and Publicly Perform Adaptations. + + For the avoidance of doubt: + Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; + Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and, + Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License. + +The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved. + +4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: + + You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(b), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(b), as requested. + If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4 (b) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties. + Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise. + +5. Representations, Warranties and Disclaimer + +UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + +6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. Termination + + This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. + Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. + +8. Miscellaneous + + Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. + Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. + If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. + This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. + The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law. + + Creative Commons Notice + + Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor. + + Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, Creative Commons does not authorize the use by either party of the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time. For the avoidance of doubt, this trademark restriction does not form part of this License. + + Creative Commons may be contacted at https://creativecommons.org/. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +google-cloud-go + +// Copyright 2016 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +inf + +Copyright (c) 2012 Péter Surányi. Portions Copyright (c) 2009 The Go +Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +yaml + +Copyright (c) 2014 Sam Ghods + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +Copyright (c) 2012 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +errwrap v1.0.0 + +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +go-multierror v1.0.0 + +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +go-uuid v1.0.1 + +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +elasticsearch v7.0.1 + +Copyright 2019 Elasticsearch + +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations under +the License. + + +ELASTIC LICENSE AGREEMENT + +PLEASE READ CAREFULLY THIS ELASTIC LICENSE AGREEMENT (THIS "AGREEMENT"), WHICH +CONSTITUTES A LEGALLY BINDING AGREEMENT AND GOVERNS ALL OF YOUR USE OF ALL OF +THE ELASTIC SOFTWARE WITH WHICH THIS AGREEMENT IS INCLUDED ("ELASTIC SOFTWARE") +THAT IS PROVIDED IN OBJECT CODE FORMAT, AND, IN ACCORDANCE WITH SECTION 2 BELOW, +CERTAIN OF THE ELASTIC SOFTWARE THAT IS PROVIDED IN SOURCE CODE FORMAT. BY +INSTALLING OR USING ANY OF THE ELASTIC SOFTWARE GOVERNED BY THIS AGREEMENT, YOU +ARE ASSENTING TO THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE +WITH SUCH TERMS AND CONDITIONS, YOU MAY NOT INSTALL OR USE THE ELASTIC SOFTWARE +GOVERNED BY THIS AGREEMENT. IF YOU ARE INSTALLING OR USING THE SOFTWARE ON +BEHALF OF A LEGAL ENTITY, YOU REPRESENT AND WARRANT THAT YOU HAVE THE ACTUAL +AUTHORITY TO AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT ON BEHALF OF +SUCH ENTITY. + +Posted Date: April 20, 2018 + +This Agreement is entered into by and between Elasticsearch BV ("Elastic") and +You, or the legal entity on behalf of whom You are acting (as applicable, +"You"). + +1. OBJECT CODE END USER LICENSES, RESTRICTIONS AND THIRD PARTY OPEN SOURCE +SOFTWARE + + 1.1 Object Code End User License. Subject to the terms and conditions of + Section 1.2 of this Agreement, Elastic hereby grants to You, AT NO CHARGE and + for so long as you are not in breach of any provision of this Agreement, a + License to the Basic Features and Functions of the Elastic Software. + + 1.2 Reservation of Rights; Restrictions. As between Elastic and You, Elastic + and its licensors own all right, title and interest in and to the Elastic + Software, and except as expressly set forth in Sections 1.1, and 2.1 of this + Agreement, no other license to the Elastic Software is granted to You under + this Agreement, by implication, estoppel or otherwise. You agree not to: (i) + reverse engineer or decompile, decrypt, disassemble or otherwise reduce any + Elastic Software provided to You in Object Code, or any portion thereof, to + Source Code, except and only to the extent any such restriction is prohibited + by applicable law, (ii) except as expressly permitted in this Agreement, + prepare derivative works from, modify, copy or use the Elastic Software Object + Code or the Commercial Software Source Code in any manner; (iii) except as + expressly permitted in Section 1.1 above, transfer, sell, rent, lease, + distribute, sublicense, loan or otherwise transfer, Elastic Software Object + Code, in whole or in part, to any third party; (iv) use Elastic Software + Object Code for providing time-sharing services, any software-as-a-service, + service bureau services or as part of an application services provider or + other service offering (collectively, "SaaS Offering") where obtaining access + to the Elastic Software or the features and functions of the Elastic Software + is a primary reason or substantial motivation for users of the SaaS Offering + to access and/or use the SaaS Offering ("Prohibited SaaS Offering"); (v) + circumvent the limitations on use of Elastic Software provided to You in + Object Code format that are imposed or preserved by any License Key, or (vi) + alter or remove any Marks and Notices in the Elastic Software. If You have any + question as to whether a specific SaaS Offering constitutes a Prohibited SaaS + Offering, or are interested in obtaining Elastic's permission to engage in + commercial or non-commercial distribution of the Elastic Software, please + contact elastic_license@elastic.co. + + 1.3 Third Party Open Source Software. The Commercial Software may contain or + be provided with third party open source libraries, components, utilities and + other open source software (collectively, "Open Source Software"), which Open + Source Software may have applicable license terms as identified on a website + designated by Elastic. Notwithstanding anything to the contrary herein, use of + the Open Source Software shall be subject to the license terms and conditions + applicable to such Open Source Software, to the extent required by the + applicable licensor (which terms shall not restrict the license rights granted + to You hereunder, but may contain additional rights). To the extent any + condition of this Agreement conflicts with any license to the Open Source + Software, the Open Source Software license will govern with respect to such + Open Source Software only. Elastic may also separately provide you with + certain open source software that is licensed by Elastic. Your use of such + Elastic open source software will not be governed by this Agreement, but by + the applicable open source license terms. + +2. COMMERCIAL SOFTWARE SOURCE CODE + + 2.1 Limited License. Subject to the terms and conditions of Section 2.2 of + this Agreement, Elastic hereby grants to You, AT NO CHARGE and for so long as + you are not in breach of any provision of this Agreement, a limited, + non-exclusive, non-transferable, fully paid up royalty free right and license + to the Commercial Software in Source Code format, without the right to grant + or authorize sublicenses, to prepare Derivative Works of the Commercial + Software, provided You (i) do not hack the licensing mechanism, or otherwise + circumvent the intended limitations on the use of Elastic Software to enable + features other than Basic Features and Functions or those features You are + entitled to as part of a Subscription, and (ii) use the resulting object code + only for reasonable testing purposes. + + 2.2 Restrictions. Nothing in Section 2.1 grants You the right to (i) use the + Commercial Software Source Code other than in accordance with Section 2.1 + above, (ii) use a Derivative Work of the Commercial Software outside of a + Non-production Environment, in any production capacity, on a temporary or + permanent basis, or (iii) transfer, sell, rent, lease, distribute, sublicense, + loan or otherwise make available the Commercial Software Source Code, in whole + or in part, to any third party. Notwithstanding the foregoing, You may + maintain a copy of the repository in which the Source Code of the Commercial + Software resides and that copy may be publicly accessible, provided that you + include this Agreement with Your copy of the repository. + +3. TERMINATION + + 3.1 Termination. This Agreement will automatically terminate, whether or not + You receive notice of such Termination from Elastic, if You breach any of its + provisions. + + 3.2 Post Termination. Upon any termination of this Agreement, for any reason, + You shall promptly cease the use of the Elastic Software in Object Code format + and cease use of the Commercial Software in Source Code format. For the + avoidance of doubt, termination of this Agreement will not affect Your right + to use Elastic Software, in either Object Code or Source Code formats, made + available under the Apache License Version 2.0. + + 3.3 Survival. Sections 1.2, 2.2. 3.3, 4 and 5 shall survive any termination or + expiration of this Agreement. + +4. DISCLAIMER OF WARRANTIES AND LIMITATION OF LIABILITY + + 4.1 Disclaimer of Warranties. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE + LAW, THE ELASTIC SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + AND ELASTIC AND ITS LICENSORS MAKE NO WARRANTIES WHETHER EXPRESSED, IMPLIED OR + STATUTORY REGARDING OR RELATING TO THE ELASTIC SOFTWARE. TO THE MAXIMUM EXTENT + PERMITTED UNDER APPLICABLE LAW, ELASTIC AND ITS LICENSORS SPECIFICALLY + DISCLAIM ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE AND NON-INFRINGEMENT WITH RESPECT TO THE ELASTIC SOFTWARE, AND WITH + RESPECT TO THE USE OF THE FOREGOING. FURTHER, ELASTIC DOES NOT WARRANT RESULTS + OF USE OR THAT THE ELASTIC SOFTWARE WILL BE ERROR FREE OR THAT THE USE OF THE + ELASTIC SOFTWARE WILL BE UNINTERRUPTED. + + 4.2 Limitation of Liability. IN NO EVENT SHALL ELASTIC OR ITS LICENSORS BE + LIABLE TO YOU OR ANY THIRD PARTY FOR ANY DIRECT OR INDIRECT DAMAGES, + INCLUDING, WITHOUT LIMITATION, FOR ANY LOSS OF PROFITS, LOSS OF USE, BUSINESS + INTERRUPTION, LOSS OF DATA, COST OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY + SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND, IN CONNECTION WITH + OR ARISING OUT OF THE USE OR INABILITY TO USE THE ELASTIC SOFTWARE, OR THE + PERFORMANCE OF OR FAILURE TO PERFORM THIS AGREEMENT, WHETHER ALLEGED AS A + BREACH OF CONTRACT OR TORTIOUS CONDUCT, INCLUDING NEGLIGENCE, EVEN IF ELASTIC + HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +5. MISCELLANEOUS + + This Agreement completely and exclusively states the entire agreement of the + parties regarding the subject matter herein, and it supersedes, and its terms + govern, all prior proposals, agreements, or other communications between the + parties, oral or written, regarding such subject matter. This Agreement may be + modified by Elastic from time to time, and any such modifications will be + effective upon the "Posted Date" set forth at the top of the modified + Agreement. If any provision hereof is held unenforceable, this Agreement will + continue without said provision and be interpreted to reflect the original + intent of the parties. This Agreement and any non-contractual obligation + arising out of or in connection with it, is governed exclusively by Dutch law. + This Agreement shall not be governed by the 1980 UN Convention on Contracts + for the International Sale of Goods. All disputes arising out of or in + connection with this Agreement, including its existence and validity, shall be + resolved by the courts with jurisdiction in Amsterdam, The Netherlands, except + where mandatory law provides for the courts at another location in The + Netherlands to have jurisdiction. The parties hereby irrevocably waive any and + all claims and defenses either might otherwise have in any such action or + proceeding in any of such courts based upon any alleged lack of personal + jurisdiction, improper venue, forum non conveniens or any similar claim or + defense. A breach or threatened breach, by You of Section 2 may cause + irreparable harm for which damages at law may not provide adequate relief, and + therefore Elastic shall be entitled to seek injunctive relief without being + required to post a bond. You may not assign this Agreement (including by + operation of law in connection with a merger or acquisition), in whole or in + part to any third party without the prior written consent of Elastic, which + may be withheld or granted by Elastic in its sole and absolute discretion. + Any assignment in violation of the preceding sentence is void. Notices to + Elastic may also be sent to legal@elastic.co. + +6. DEFINITIONS + + The following terms have the meanings ascribed: + + 6.1 "Affiliate" means, with respect to a party, any entity that controls, is + controlled by, or which is under common control with, such party, where + "control" means ownership of at least fifty percent (50%) of the outstanding + voting shares of the entity, or the contractual right to establish policy for, + and manage the operations of, the entity. + + 6.2 "Basic Features and Functions" means those features and functions of the + Elastic Software that are eligible for use under a Basic license, as set forth + at https://www.elastic.co/subscriptions, as may be modified by Elastic from + time to time. + + 6.3 "Commercial Software" means the Elastic Software Source Code in any file + containing a header stating the contents are subject to the Elastic License or + which is contained in the repository folder labeled "x-pack", unless a LICENSE + file present in the directory subtree declares a different license. + + 6.4 "Derivative Work of the Commercial Software" means, for purposes of this + Agreement, any modification(s) or enhancement(s) to the Commercial Software, + which represent, as a whole, an original work of authorship. + + 6.5 "License" means a limited, non-exclusive, non-transferable, fully paid up, + royalty free, right and license, without the right to grant or authorize + sublicenses, solely for Your internal business operations to (i) install and + use the applicable Features and Functions of the Elastic Software in Object + Code, and (ii) permit Contractors and Your Affiliates to use the Elastic + software as set forth in (i) above, provided that such use by Contractors must + be solely for Your benefit and/or the benefit of Your Affiliates, and You + shall be responsible for all acts and omissions of such Contractors and + Affiliates in connection with their use of the Elastic software that are + contrary to the terms and conditions of this Agreement. + + 6.6 "License Key" means a sequence of bytes, including but not limited to a + JSON blob, that is used to enable certain features and functions of the + Elastic Software. + + 6.7 "Marks and Notices" means all Elastic trademarks, trade names, logos and + notices present on the Documentation as originally provided by Elastic. + + 6.8 "Non-production Environment" means an environment for development, testing + or quality assurance, where software is not used for production purposes. + + 6.9 "Object Code" means any form resulting from mechanical transformation or + translation of Source Code form, including but not limited to compiled object + code, generated documentation, and conversions to other media types. + + 6.10 "Source Code" means the preferred form of computer software for making + modifications, including but not limited to software source code, + documentation source, and configuration files. + + 6.11 "Subscription" means the right to receive Support Services and a License + to the Commercial Software. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +kibana #0ea668bae8e1048fd8149ad985f07f5147e60032 + +# Copyright 2012-2018 Elasticsearch B.V. +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +ELASTIC LICENSE AGREEMENT + +PLEASE READ CAREFULLY THIS ELASTIC LICENSE AGREEMENT (THIS "AGREEMENT"), WHICH +CONSTITUTES A LEGALLY BINDING AGREEMENT AND GOVERNS ALL OF YOUR USE OF ALL OF +THE ELASTIC SOFTWARE WITH WHICH THIS AGREEMENT IS INCLUDED ("ELASTIC SOFTWARE") +THAT IS PROVIDED IN OBJECT CODE FORMAT, AND, IN ACCORDANCE WITH SECTION 2 BELOW, +CERTAIN OF THE ELASTIC SOFTWARE THAT IS PROVIDED IN SOURCE CODE FORMAT. BY +INSTALLING OR USING ANY OF THE ELASTIC SOFTWARE GOVERNED BY THIS AGREEMENT, YOU +ARE ASSENTING TO THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE +WITH SUCH TERMS AND CONDITIONS, YOU MAY NOT INSTALL OR USE THE ELASTIC SOFTWARE +GOVERNED BY THIS AGREEMENT. IF YOU ARE INSTALLING OR USING THE SOFTWARE ON +BEHALF OF A LEGAL ENTITY, YOU REPRESENT AND WARRANT THAT YOU HAVE THE ACTUAL +AUTHORITY TO AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT ON BEHALF OF +SUCH ENTITY. + +Posted Date: April 20, 2018 + +This Agreement is entered into by and between Elasticsearch BV ("Elastic") and +You, or the legal entity on behalf of whom You are acting (as applicable, +"You"). + +1. OBJECT CODE END USER LICENSES, RESTRICTIONS AND THIRD PARTY OPEN SOURCE +SOFTWARE + + 1.1 Object Code End User License. Subject to the terms and conditions of + Section 1.2 of this Agreement, Elastic hereby grants to You, AT NO CHARGE and + for so long as you are not in breach of any provision of this Agreement, a + License to the Basic Features and Functions of the Elastic Software. + + 1.2 Reservation of Rights; Restrictions. As between Elastic and You, Elastic + and its licensors own all right, title and interest in and to the Elastic + Software, and except as expressly set forth in Sections 1.1, and 2.1 of this + Agreement, no other license to the Elastic Software is granted to You under + this Agreement, by implication, estoppel or otherwise. You agree not to: (i) + reverse engineer or decompile, decrypt, disassemble or otherwise reduce any + Elastic Software provided to You in Object Code, or any portion thereof, to + Source Code, except and only to the extent any such restriction is prohibited + by applicable law, (ii) except as expressly permitted in this Agreement, + prepare derivative works from, modify, copy or use the Elastic Software Object + Code or the Commercial Software Source Code in any manner; (iii) except as + expressly permitted in Section 1.1 above, transfer, sell, rent, lease, + distribute, sublicense, loan or otherwise transfer, Elastic Software Object + Code, in whole or in part, to any third party; (iv) use Elastic Software + Object Code for providing time-sharing services, any software-as-a-service, + service bureau services or as part of an application services provider or + other service offering (collectively, "SaaS Offering") where obtaining access + to the Elastic Software or the features and functions of the Elastic Software + is a primary reason or substantial motivation for users of the SaaS Offering + to access and/or use the SaaS Offering ("Prohibited SaaS Offering"); (v) + circumvent the limitations on use of Elastic Software provided to You in + Object Code format that are imposed or preserved by any License Key, or (vi) + alter or remove any Marks and Notices in the Elastic Software. If You have any + question as to whether a specific SaaS Offering constitutes a Prohibited SaaS + Offering, or are interested in obtaining Elastic's permission to engage in + commercial or non-commercial distribution of the Elastic Software, please + contact elastic_license@elastic.co. + + 1.3 Third Party Open Source Software. The Commercial Software may contain or + be provided with third party open source libraries, components, utilities and + other open source software (collectively, "Open Source Software"), which Open + Source Software may have applicable license terms as identified on a website + designated by Elastic. Notwithstanding anything to the contrary herein, use of + the Open Source Software shall be subject to the license terms and conditions + applicable to such Open Source Software, to the extent required by the + applicable licensor (which terms shall not restrict the license rights granted + to You hereunder, but may contain additional rights). To the extent any + condition of this Agreement conflicts with any license to the Open Source + Software, the Open Source Software license will govern with respect to such + Open Source Software only. Elastic may also separately provide you with + certain open source software that is licensed by Elastic. Your use of such + Elastic open source software will not be governed by this Agreement, but by + the applicable open source license terms. + +2. COMMERCIAL SOFTWARE SOURCE CODE + + 2.1 Limited License. Subject to the terms and conditions of Section 2.2 of + this Agreement, Elastic hereby grants to You, AT NO CHARGE and for so long as + you are not in breach of any provision of this Agreement, a limited, + non-exclusive, non-transferable, fully paid up royalty free right and license + to the Commercial Software in Source Code format, without the right to grant + or authorize sublicenses, to prepare Derivative Works of the Commercial + Software, provided You (i) do not hack the licensing mechanism, or otherwise + circumvent the intended limitations on the use of Elastic Software to enable + features other than Basic Features and Functions or those features You are + entitled to as part of a Subscription, and (ii) use the resulting object code + only for reasonable testing purposes. + + 2.2 Restrictions. Nothing in Section 2.1 grants You the right to (i) use the + Commercial Software Source Code other than in accordance with Section 2.1 + above, (ii) use a Derivative Work of the Commercial Software outside of a + Non-production Environment, in any production capacity, on a temporary or + permanent basis, or (iii) transfer, sell, rent, lease, distribute, sublicense, + loan or otherwise make available the Commercial Software Source Code, in whole + or in part, to any third party. Notwithstanding the foregoing, You may + maintain a copy of the repository in which the Source Code of the Commercial + Software resides and that copy may be publicly accessible, provided that you + include this Agreement with Your copy of the repository. + +3. TERMINATION + + 3.1 Termination. This Agreement will automatically terminate, whether or not + You receive notice of such Termination from Elastic, if You breach any of its + provisions. + + 3.2 Post Termination. Upon any termination of this Agreement, for any reason, + You shall promptly cease the use of the Elastic Software in Object Code format + and cease use of the Commercial Software in Source Code format. For the + avoidance of doubt, termination of this Agreement will not affect Your right + to use Elastic Software, in either Object Code or Source Code formats, made + available under the Apache License Version 2.0. + + 3.3 Survival. Sections 1.2, 2.2. 3.3, 4 and 5 shall survive any termination or + expiration of this Agreement. + +4. DISCLAIMER OF WARRANTIES AND LIMITATION OF LIABILITY + + 4.1 Disclaimer of Warranties. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE + LAW, THE ELASTIC SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + AND ELASTIC AND ITS LICENSORS MAKE NO WARRANTIES WHETHER EXPRESSED, IMPLIED OR + STATUTORY REGARDING OR RELATING TO THE ELASTIC SOFTWARE. TO THE MAXIMUM EXTENT + PERMITTED UNDER APPLICABLE LAW, ELASTIC AND ITS LICENSORS SPECIFICALLY + DISCLAIM ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE AND NON-INFRINGEMENT WITH RESPECT TO THE ELASTIC SOFTWARE, AND WITH + RESPECT TO THE USE OF THE FOREGOING. FURTHER, ELASTIC DOES NOT WARRANT RESULTS + OF USE OR THAT THE ELASTIC SOFTWARE WILL BE ERROR FREE OR THAT THE USE OF THE + ELASTIC SOFTWARE WILL BE UNINTERRUPTED. + + 4.2 Limitation of Liability. IN NO EVENT SHALL ELASTIC OR ITS LICENSORS BE + LIABLE TO YOU OR ANY THIRD PARTY FOR ANY DIRECT OR INDIRECT DAMAGES, + INCLUDING, WITHOUT LIMITATION, FOR ANY LOSS OF PROFITS, LOSS OF USE, BUSINESS + INTERRUPTION, LOSS OF DATA, COST OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY + SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND, IN CONNECTION WITH + OR ARISING OUT OF THE USE OR INABILITY TO USE THE ELASTIC SOFTWARE, OR THE + PERFORMANCE OF OR FAILURE TO PERFORM THIS AGREEMENT, WHETHER ALLEGED AS A + BREACH OF CONTRACT OR TORTIOUS CONDUCT, INCLUDING NEGLIGENCE, EVEN IF ELASTIC + HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +5. MISCELLANEOUS + + This Agreement completely and exclusively states the entire agreement of the + parties regarding the subject matter herein, and it supersedes, and its terms + govern, all prior proposals, agreements, or other communications between the + parties, oral or written, regarding such subject matter. This Agreement may be + modified by Elastic from time to time, and any such modifications will be + effective upon the "Posted Date" set forth at the top of the modified + Agreement. If any provision hereof is held unenforceable, this Agreement will + continue without said provision and be interpreted to reflect the original + intent of the parties. This Agreement and any non-contractual obligation + arising out of or in connection with it, is governed exclusively by Dutch law. + This Agreement shall not be governed by the 1980 UN Convention on Contracts + for the International Sale of Goods. All disputes arising out of or in + connection with this Agreement, including its existence and validity, shall be + resolved by the courts with jurisdiction in Amsterdam, The Netherlands, except + where mandatory law provides for the courts at another location in The + Netherlands to have jurisdiction. The parties hereby irrevocably waive any and + all claims and defenses either might otherwise have in any such action or + proceeding in any of such courts based upon any alleged lack of personal + jurisdiction, improper venue, forum non conveniens or any similar claim or + defense. A breach or threatened breach, by You of Section 2 may cause + irreparable harm for which damages at law may not provide adequate relief, and + therefore Elastic shall be entitled to seek injunctive relief without being + required to post a bond. You may not assign this Agreement (including by + operation of law in connection with a merger or acquisition), in whole or in + part to any third party without the prior written consent of Elastic, which + may be withheld or granted by Elastic in its sole and absolute discretion. + Any assignment in violation of the preceding sentence is void. Notices to + Elastic may also be sent to legal@elastic.co. + +6. DEFINITIONS + + The following terms have the meanings ascribed: + + 6.1 "Affiliate" means, with respect to a party, any entity that controls, is + controlled by, or which is under common control with, such party, where + "control" means ownership of at least fifty percent (50%) of the outstanding + voting shares of the entity, or the contractual right to establish policy for, + and manage the operations of, the entity. + + 6.2 "Basic Features and Functions" means those features and functions of the + Elastic Software that are eligible for use under a Basic license, as set forth + at https://www.elastic.co/subscriptions, as may be modified by Elastic from + time to time. + + 6.3 "Commercial Software" means the Elastic Software Source Code in any file + containing a header stating the contents are subject to the Elastic License or + which is contained in the repository folder labeled "x-pack", unless a LICENSE + file present in the directory subtree declares a different license. + + 6.4 "Derivative Work of the Commercial Software" means, for purposes of this + Agreement, any modification(s) or enhancement(s) to the Commercial Software, + which represent, as a whole, an original work of authorship. + + 6.5 "License" means a limited, non-exclusive, non-transferable, fully paid up, + royalty free, right and license, without the right to grant or authorize + sublicenses, solely for Your internal business operations to (i) install and + use the applicable Features and Functions of the Elastic Software in Object + Code, and (ii) permit Contractors and Your Affiliates to use the Elastic + software as set forth in (i) above, provided that such use by Contractors must + be solely for Your benefit and/or the benefit of Your Affiliates, and You + shall be responsible for all acts and omissions of such Contractors and + Affiliates in connection with their use of the Elastic software that are + contrary to the terms and conditions of this Agreement. + + 6.6 "License Key" means a sequence of bytes, including but not limited to a + JSON blob, that is used to enable certain features and functions of the + Elastic Software. + + 6.7 "Marks and Notices" means all Elastic trademarks, trade names, logos and + notices present on the Documentation as originally provided by Elastic. + + 6.8 "Non-production Environment" means an environment for development, testing + or quality assurance, where software is not used for production purposes. + + 6.9 "Object Code" means any form resulting from mechanical transformation or + translation of Source Code form, including but not limited to compiled object + code, generated documentation, and conversions to other media types. + + 6.10 "Source Code" means the preferred form of computer software for making + modifications, including but not limited to software source code, + documentation source, and configuration files. + + 6.11 "Subscription" means the right to receive Support Services and a License + to the Commercial Software. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +sync + +Copyright (c) 2009 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +Additional IP Rights Grant (Patents) + +"This implementation" means the copyrightable works distributed by +Google as part of the Go project. + +Google hereby grants to You a perpetual, worldwide, non-exclusive, +no-charge, royalty-free, irrevocable (except as stated in this section) +patent license to make, have made, use, offer to sell, sell, import, +transfer and otherwise run, modify and propagate the contents of this +implementation of Go, where such license applies only to those patent +claims, both currently owned or controlled by Google and acquired in +the future, licensable by Google that are necessarily infringed by this +implementation of Go. This grant does not include claims that would be +infringed only as a consequence of further modification of this +implementation. If you or your agent or exclusive licensee institute or +order or agree to the institution of patent litigation against any +entity (including a cross-claim or counterclaim in a lawsuit) alleging +that this implementation of Go or any code incorporated within this +implementation of Go constitutes direct or contributory patent +infringement, or inducement of patent infringement, then any patent +rights granted to you under this License for this implementation of Go +shall terminate as of the date such litigation is filed. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +crypto #4def268fd1a49955bfb3dda92fe3db4f924f2285 + +Copyright (c) 2009 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Additional IP Rights Grant (Patents) + +"This implementation" means the copyrightable works distributed by +Google as part of the Go project. + +Google hereby grants to You a perpetual, worldwide, non-exclusive, +no-charge, royalty-free, irrevocable (except as stated in this section) +patent license to make, have made, use, offer to sell, sell, import, +transfer and otherwise run, modify and propagate the contents of this +implementation of Go, where such license applies only to those patent +claims, both currently owned or controlled by Google and acquired in +the future, licensable by Google that are necessarily infringed by this +implementation of Go. This grant does not include claims that would be +infringed only as a consequence of further modification of this +implementation. If you or your agent or exclusive licensee institute or +order or agree to the institution of patent litigation against any +entity (including a cross-claim or counterclaim in a lawsuit) alleging +that this implementation of Go or any code incorporated within this +implementation of Go constitutes direct or contributory patent +infringement, or inducement of patent infringement, then any patent +rights granted to you under this License for this implementation of Go +shall terminate as of the date such litigation is filed. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +aescts v1.0.1 + + Copyright 2019 Jonathan Turner + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +cobra v0.0.5 + +// Copyright (c) 2015 Steve Francia . +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +coredns v1.5.2 + + Copyright 2019 CoreDNS Authors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +dnsutils v1.0.1 + +Copyright 2019 Jonathan Turner + +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations under +the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Elasticsearch.Net v7.0.1 + +Copyright (c) 2014-2019 by Elasticsearch BV + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +fallback #259a47e1a53ac2d827ac01b99fa5b45574d0cfb4 + +Copyright (c) 2018 fallback contributors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +fluent-bit v1.0.3 + +/* Fluent Bit + * ========== + * Copyright (C) 2019 The Fluent Bit Authors + * Copyright (C) 2015-2018 Treasure Data Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +goidentity v3.0.0 + +Copyright 2019 Jonathan Turner + +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations under +the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +gokrb5 v7.3.0 + +Copyright 2019 Jonathan Turner + +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations under +the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +grafana v6.1.6 + + Copyright 2015 Grafana Labs + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +gssapi release-2.6.2 + + Copyright 2013-2015 Apcera Inc. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +knox v1.3.0-release + + Apache Knox + Copyright 2012-2019 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mleap v0.13.0 + + Copyright 2016 Combust, Inc. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +NEST v7.0.1 + +Copyright (c) 2014-2018 by Elasticsearch BV + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +rewriteng #eb3279d53c6dba2814d099c6e0731827162ab78b + + Copyright 2019 rewriteng contributors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +rpc v1.1.0 + + Copyright 2019 Jonathan Turner + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +security v1.0.0.1 + + Copyright 2015-2017 floragunn GmbH + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +security-advanced-modules v1.0.0.1 + + Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +zookeeper release-3.5.5 + + Copyright 2009-2017 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +dns v1.1.15 + +Extensions of the original work are copyright (c) 2011 Miek Gieben + +As this is fork of the official Go code the same license applies: + +Copyright (c) 2009 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +gofork v1.0.0 + +Copyright (c) 2009 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pflag #583c0c0531f06d5278b7d917446061adc344b5cd + +Copyright (c) 2012 Alex Ogier. All rights reserved. +Copyright (c) 2012 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +protobuf v1.3.1 + +Copyright 2010 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +python-json-patch v1.9 + +Copyright (c) 2011 Stefan Kögl +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +spnego-http-auth-nginx-module + +/* + * Copyright (C) 2009 Michal Kowalski + * Copyright (C) 2012-2013 Sean Timothy Noonan + * Copyright (C) 2013 Marcello Barnaba + * Copyright (C) 2013 Alexander Pyhalov + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + */ + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +sspi + +Copyright (c) 2012 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +tsig 269 + +BSD 3-Clause License + +Copyright (c) 2018, Matt Dainty +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +bc-csharp release-1.8.1 + +Copyright (c) 2000 - 2017 The Legion of the Bouncy Castle Inc. (https://www.bouncycastle.org) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +lumberjack + +The MIT License (MIT) + +Copyright (c) 2014 Nate Finch + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mousetrap v1.0.0 + +Copyright 2014 Alan Shreve + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Swashbuckle.AspNetCore 5.0.0-rc2 + +The MIT License (MIT) + +Copyright (c) 2016 Richard Morris + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Swashbuckle.AspNetCore.Annotations 5.0.0-rc2 + +The MIT License (MIT) + +Copyright (c) 2016 Richard Morris + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Swashbuckle.AspNetCore.Swagger 5.0.0-rc2 + +The MIT License (MIT) + +Copyright (c) 2016 Richard Morris + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Swashbuckle.AspNetCore.SwaggerGen 5.0.0-rc2 + +The MIT License (MIT) + +Copyright (c) 2016 Richard Morris + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Swashbuckle.AspNetCore.SwaggerUI 5.0.0-rc2 + +The MIT License (MIT) + +Copyright (c) 2016 Richard Morris + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +telegraf + +The MIT License (MIT) + +Copyright (c) 2015 InfluxDB + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +influxdb v1.7.6 + +The MIT License (MIT) + +Copyright (c) 2013-2016 Errplane Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + + +Creative Commons Attribution + +Creative Commons Attribution 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + +Section 1 – Definitions. + + Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. + Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. + Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. + Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. + Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. + Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. + Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. + Licensor means the individual(s) or entity(ies) granting rights under this Public License. + Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. + Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. + You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. + +Section 2 – Scope. + + License grant. + Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: + reproduce and Share the Licensed Material, in whole or in part; and + produce, reproduce, and Share Adapted Material. + Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. + Term. The term of this Public License is specified in Section 6(a). + Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. + Downstream recipients. + Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. + No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. + No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). + + Other rights. + Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. + Patent and trademark rights are not licensed under this Public License. + To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties. + +Section 3 – License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + + Attribution. + + If You Share the Licensed Material (including in modified form), You must: + retain the following if it is supplied by the Licensor with the Licensed Material: + identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); + a copyright notice; + a notice that refers to this Public License; + a notice that refers to the disclaimer of warranties; + a URI or hyperlink to the Licensed Material to the extent reasonably practicable; + indicate if You modified the Licensed Material and retain an indication of any previous modifications; and + indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. + You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. + If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. + If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of the Adapted Material from complying with this Public License. + +Section 4 – Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + + for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database; + if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and + You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. + +Section 5 – Disclaimer of Warranties and Limitation of Liability. + + Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You. + To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You. + + The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. + +Section 6 – Term and Termination. + + This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. + + Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: + automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or + upon express reinstatement by the Licensor. + For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. + For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. + Sections 1, 5, 6, 7, and 8 survive termination of this Public License. + +Section 7 – Other Terms and Conditions. + + The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. + Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. + +Section 8 – Interpretation. + + For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. + To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. + No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. + Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +TODO.jar (Jave EE Servlet API) + +COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 + +1. Definitions. + +1.1. "Contributor" means each individual or entity that creates or contributes to the creation of Modifications. + +1.2. "Contributor Version" means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor. + +1.3. "Covered Software" means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof. + +1.4. "Executable" means the Covered Software in any form other than Source Code. + +1.5. "Initial Developer" means the individual or entity that first makes Original Software available under this License. + +1.6. "Larger Work" means a work which combines Covered Software or portions thereof with code not governed by the terms of this License. + +1.7. "License" means this document. + +1.8. "Licensable" means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein. + +1.9. "Modifications" means the Source Code and Executable form of any of the following: + +A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications; + +B. Any new file that contains any part of the Original Software or previous Modification; or + +C. Any new file that is contributed or otherwise made available under the terms of this License. + +1.10. "Original Software" means the Source Code and Executable form of computer software code that is originally released under this License. + +1.11. "Patent Claims" means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor. + +1.12. "Source Code" means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code. + +1.13. "You" (or "Your") means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, "You" includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, "control" means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity. + +2. License Grants. + +2.1. The Initial Developer Grant. + +Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and + +(b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof). + +(c) The licenses granted in Sections 2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License. + +(d) Notwithstanding Section 2.1(b) above, no patent license is granted: (1) for code that You delete from the Original Software, or (2) for infringements caused by: (i) the modification of the Original Software, or (ii) the combination of the Original Software with other software or devices. + +2.2. Contributor Grant. + +Conditioned upon Your compliance with Section 3.1 below and +subject to third party intellectual property claims, each +Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and + +(b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1) Modifications made by that Contributor (or portions thereof); and (2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination). + +(c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party. +(d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for any code that Contributor has deleted from the Contributor Version; (2) for infringements caused by: (i) third party modifications of Contributor Version, or (ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3) under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor. + +3. Distribution Obligations. + +3.1. Availability of Source Code. + +Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange. + +3.2. Modifications. + +The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License. + +3.3. Required Notices. + +You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer. + +3.4. Application of Additional Terms. + +You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients' rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. + +3.5. Distribution of Executable Versions. + +You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipient's rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. + +3.6. Larger Works. + +You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software. + +4. Versions of the License. + +4.1. New Versions. + +Sun Microsystems, Inc. is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License. + +4.2. Effect of New Versions. + +You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward. + +4.3. Modified Versions. + +When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a) rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b) otherwise make it clear that the license contains terms which differ from this License. + +5. DISCLAIMER OF WARRANTY. + +COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +6. TERMINATION. + +6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. + +6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as "Participant") alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written agreement with Participant. + +6.3. In the event of termination under Sections 6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination. + +7. LIMITATION OF LIABILITY. + +UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + +8. U.S. GOVERNMENT END USERS. + +The Covered Software is a "commercial item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software" (as that term is defined at 48 C.F.R. ¤ 252.227-7014(a)(1)) and "commercial computer software documentation" as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License. + +9. MISCELLANEOUS. + +This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdiction's conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys' fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software. + +10. RESPONSIBILITY FOR CLAIMS. + +As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Jericho + +Eclipse Public License - v 1.0 + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + +1. DEFINITIONS + +"Contribution" means: + +a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and + +b) in the case of each subsequent Contributor: + +i) changes to the Program, and + +ii) additions to the Program; + +where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. + +"Contributor" means any person or entity that distributes the Program. + +"Licensed Patents" mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. + +"Program" means the Contributions distributed in accordance with this Agreement. + +"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. + +2. GRANT OF RIGHTS + +a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. + +b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. + +c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. + +d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. + +3. REQUIREMENTS + +A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: + +a) it complies with the terms and conditions of this Agreement; and + +b) its license agreement: + +i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; + +ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; + +iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and + +iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. + +When the Program is made available in source code form: + +a) it must be made available under this Agreement; and + +b) a copy of this Agreement must be included with each copy of the Program. + +Contributors may not remove or alter any copyright notices contained within the Program. + +Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. + +4. COMMERCIAL DISTRIBUTION + +Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. + +For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. + +5. NO WARRANTY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement , including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. + +6. DISCLAIMER OF LIABILITY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. GENERAL + +If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + +If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. + +All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. + +Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. + +This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Jetty + +Eclipse Public License - v 1.0 + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + +1. DEFINITIONS + +"Contribution" means: + +a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and + +b) in the case of each subsequent Contributor: + +i) changes to the Program, and + +ii) additions to the Program; + +where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. + +"Contributor" means any person or entity that distributes the Program. + +"Licensed Patents" mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. + +"Program" means the Contributions distributed in accordance with this Agreement. + +"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. + +2. GRANT OF RIGHTS + +a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. + +b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. + +c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. + +d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. + +3. REQUIREMENTS + +A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: + +a) it complies with the terms and conditions of this Agreement; and + +b) its license agreement: + +i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; + +ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; + +iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and + +iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. + +When the Program is made available in source code form: + +a) it must be made available under this Agreement; and + +b) a copy of this Agreement must be included with each copy of the Program. + +Contributors may not remove or alter any copyright notices contained within the Program. + +Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. + +4. COMMERCIAL DISTRIBUTION + +Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. + +For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. + +5. NO WARRANTY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement , including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. + +6. DISCLAIMER OF LIABILITY + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. GENERAL + +If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + +If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. + +All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. + +Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. + +This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +File copyright Mort Bay Consulting Pty. Ltd. + +// Copyright (c) 1995-2017 Mort Bay Consulting Pty. Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jQuery resize event + +Copyright (c) 2010 "Cowboy" Ben Alman + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Go-MySQL-Driver/mysql + +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +go-plugin + +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +go-version + +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +slug + +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Yamux + +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Inter font files + +Copyright (c) 2016-2018 The Inter UI Project Authors (me@rsms.me) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION AND CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Noto font files + +This Font Software is licensed under the SIL Open Font License, +Version 1.1. + +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font +creation efforts of academic and linguistic communities, and to +provide a free and open framework in which fonts may be shared and +improved in partnership with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply to +any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software +components as distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, +deleting, or substituting -- in part or in whole -- any of the +components of the Original Version, by changing formats or by porting +the Font Software to a new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, +modify, redistribute, and sell modified and unmodified copies of the +Font Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, in +Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the +corresponding Copyright Holder. This restriction only applies to the +primary font name as presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created using +the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +fluentd and envoy + + Copyright 2011-2018 Fluentd Authors + Copyright 2016-2018 (c) Envoy Project Authors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Lucene Solr + +Copyright (c) 2006-2018 The Apache Software Foundation + + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + + +Copyright 2013-2014 Hendrik Saly + +Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) +on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or +conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the +appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless +required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to +You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of +this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, +computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the +possibility of such damages. + +Licensed under the "No License" license (github default license): +http://choosealicense.com/licenses/no-license/ + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +duplicate-classes + + Copyright (c) 2016 Jason Tedor + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jmeter material from jmeter_oauth_plugin + + * Copyright (c) 1998-2010 AOL Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Gradle v5.2.1 + +Copyright (c) 2007-2011 the original author or authors + + Licensed under the Apache License, Version 2.0 (the “License”); +you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an “AS IS” BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +File copyright .NET Foundation + + Copyright (c) .NET Foundation. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +SolrNet + +Copyright (c) 2010 Mauricio Scheffer + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +salt-formula-fluentbit + +Copyright (c) 2017 Mirantis inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +ApacheDS + + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Google's Traceur + +// Copyright (c) 2014 Traceur Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +OpenSans Font files + +Copyright (c) 2016 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Roboto font files + +Copyright (c) 2015 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +OpenTracing API for Go + + Copyright (c) 2016 The OpenTracing Authors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +apm-integration-testing + + Copyright (c) 2019 apm-integration-testing contributors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +httpcomponents-client v4.3.6 + + * ==================================================================== + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * ==================================================================== + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Apache Isis + + Apache Isis + Copyright (c) 2010-2014 The Apache Software Foundation + + This product includes software developed at + The Apache Software Foundation (http://www.apache.org/). + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Guava + + * Copyright (C) 2011 The Guava Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Apache Spark + + Apache Spark + Copyright (c) 2014 and onwards The Apache Software Foundation. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +Export Control Notice +--------------------- + +This distribution includes cryptographic software. The country in which you currently reside may have +restrictions on the import, possession, use, and/or re-export to another country, of encryption software. +BEFORE using any encryption software, please check your country's laws, regulations and policies concerning +the import, possession, or use, and re-export of encryption software, to see if this is permitted. See + for more information. + +The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this +software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software +using or performing cryptographic functions with asymmetric algorithms. The form and manner of this Apache +Software Foundation distribution makes it eligible for export under the License Exception ENC Technology +Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for +both object code and source code. + +The following provides more details on the included cryptographic software: + +This software uses Apache Commons Crypto (https://commons.apache.org/proper/commons-crypto/) to +support authentication, and encryption and decryption of data sent across the network between +services. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Apache Tomcat + + Apache Tomcat + Copyright (c) 1999-2019 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Docker CLI + + Copyright (c) 2013-2017 Docker, Inc. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and +limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +prom2json + +// Copyright (c) 2018 The Prometheus Authors +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mongostat + +Copyright 2014 MongoDB, Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Apache HttpClient + + Apache HttpComponents Client + Copyright (c) 1999-2018 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Java Toaster + + Copyright (c) Daniele Piras + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Strategies for Implementing POSIX Condition Variables on Win32 + +Copyright and Licensing Information for ACE(TM), TAO(TM), CIAO(TM), DAnCE(TM), and CoSMIC(TM) +ACE(TM), TAO(TM), CIAO(TM), DAnCE>(TM), and CoSMIC(TM) (henceforth referred to as "DOC software") are copyrighted by Douglas C. Schmidt and his research group at Washington University, University of California, Irvine, and Vanderbilt University, Copyright (c) 1993-2009, all rights reserved. Since DOC software is open-source, freely available software, you are free to use, modify, copy, and distribute--perpetually and irrevocably--the DOC software source code and object code produced from the source, as well as copy and distribute modified versions of this software. You must, however, include this copyright statement along with any code built using DOC software that you release. No copyright statement needs to be provided if you just ship binary executables of your software products. + +You can use DOC software in commercial and/or binary software releases and are under no obligation to redistribute any of your source code that is built using DOC software. Note, however, that you may not misappropriate the DOC software code, such as copyrighting it yourself or claiming authorship of the DOC software code, in a way that will prevent DOC software from being distributed freely using an open-source development model. You needn't inform anyone that you're using DOC software in your software, though we encourage you to let us know so we can promote your project in the DOC software success stories. + +The ACE, TAO, CIAO, DAnCE, and CoSMIC web sites are maintained by the DOC Group at the Institute for Software Integrated Systems (ISIS) and the Center for Distributed Object Computing of Washington University, St. Louis for the development of open-source software as part of the open-source software community. Submissions are provided by the submitter ``as is'' with no warranties whatsoever, including any warranty of merchantability, noninfringement of third party intellectual property, or fitness for any particular purpose. In no event shall the submitter be liable for any direct, indirect, special, exemplary, punitive, or consequential damages, including without limitation, lost profits, even if advised of the possibility of such damages. Likewise, DOC software is provided as is with no warranties of any kind, including the warranties of design, merchantability, and fitness for a particular purpose, noninfringement, or arising from a course of dealing, usage or trade practice. Washington University, UC Irvine, Vanderbilt University, their employees, and students shall have no liability with respect to the infringement of copyrights, trade secrets or any patents by DOC software or any part thereof. Moreover, in no event will Washington University, UC Irvine, or Vanderbilt University, their employees, or students be liable for any lost revenue or profits or other special, indirect and consequential damages. + +DOC software is provided with no support and without any obligation on the part of Washington University, UC Irvine, Vanderbilt University, their employees, or students to assist in its use, correction, modification, or enhancement. A number of companies around the world provide commercial support for DOC software, however. DOC software is Y2K-compliant, as long as the underlying OS platform is Y2K-compliant. Likewise, DOC software is compliant with the new US daylight savings rule passed by Congress as "The Energy Policy Act of 2005," which established new daylight savings times (DST) rules for the United States that expand DST as of March 2007. Since DOC software obtains time/date and calendaring information from operating systems users will not be affected by the new DST rules as long as they upgrade their operating systems accordingly. + +The names ACE(TM), TAO(TM), CIAO(TM), DAnCE(TM), CoSMIC(TM), Washington University, UC Irvine, and Vanderbilt University, may not be used to endorse or promote products or services derived from this source without express written permission from Washington University, UC Irvine, or Vanderbilt University. This license grants no permission to call products or services derived from this source ACE(TM), TAO(TM), CIAO(TM), DAnCE(TM), or CoSMIC(TM), nor does it grant permission for the name Washington University, UC Irvine, or Vanderbilt University to appear in their names. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +JZLib + +Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the distribution. + + 3. The names of the authors may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT, +INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +/* + * This program is based on zlib-1.1.3, so all credit should go authors + * Jean-loup Gailly(jloup@gzip.org) and Mark Adler(madler@alumni.caltech.edu) + * and contributors of zlib. + */ + + + +/* zlib.h -- interface of the 'zlib' general purpose compression library + version 1.1.3, July 9th, 1998 + + Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + + + The data format used by the zlib library is described by RFCs (Request for + Comments) 1950 to 1952 in the files ftp://ds.internic.net/rfc/rfc1950.txt + (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format). +*/ + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Go programming language + +Copyright (c) 2009 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +JSR 292 cookbook + +Copyright (c) 2011 JSR 292 cookbook contributors + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +fossil + +Copyright 2007 D. Richard Hipp. All rights reserved. + +Redistribution and use in source and binary forms, with or +without modification, are permitted provided that the +following conditions are met: + + 1. Redistributions of source code must retain the above + copyright notice, this list of conditions and the + following disclaimer. + + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the + following disclaimer in the documentation and/or other + materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +The views and conclusions contained in the software and documentation +are those of the authors and contributors and should not be interpreted +as representing official policies, either expressed or implied, of anybody +else. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +SDS library + +Copyright (c) 2006-2014, Salvatore Sanfilippo + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +flat + +Copyright (c) 2014, Hugh Kennedy +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +d3-scale-chromatic + +Copyright 2010-2018 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +d3-array (ticks.js) + +Copyright 2010-2016 Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Core + +Copyright (c) 2013 - 2015 Lunny Xiao +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the {organization} nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mgo/bson + +BSON library for Go + +Copyright (c) 2010-2012 - Gustavo Niemeyer + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mmap-go + +Copyright (c) 2011, Evan Shaw +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the copyright holder nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +The MIT License (MIT) + +Copyright (c) 2013 Ben Johnson + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +go-tsz + +Copyright (c) 2015,2016 Damian Gryski +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +intl-relativeformat + +Copyright 2014 Yahoo! Inc. All rights reserved. +Copyright (c) 2012, Andreas Lind Petersen. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of the Yahoo! Inc. nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL YAHOO! INC. BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +hapi + +Copyright (c) 2011-2019, Sideway Inc, and project contributors +Copyright (c) 2011-2014, Walmart +Copyright (c) 2011, Yahoo Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. +Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. +The names of any contributors may not be used to endorse or promote products derived from this software without specific prior written permission. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS OFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +vega-tooltip + +Copyright 2016 Interactive Data Lab and contributors + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +lua-resty-hmac + +Copyright and License +===================== + +This module is licensed under the BSD license. + +Copyright (C) 2012-2017, Thought Foundry Inc. + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +sklearn + +Copyright (c) 2007–2019 The scikit-learn developers. +All rights reserved. + + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + c. Neither the name of the Scikit-learn Developers nor the names of + its contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Memcached + +Copyright (c) 2003, Danga Interactive, Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + + * Neither the name of the Danga Interactive nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +javacc + +Copyright (c) 2006, Sun Microsystems, Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the Sun Microsystems, Inc. nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Webbit + +Copyright (c) 2011, Joe Walnes and contributors +All rights reserved. + +Redistribution and use in source and binary forms, with or +without modification, are permitted provided that the +following conditions are met: + +* Redistributions of source code must retain the above + copyright notice, this list of conditions and the + following disclaimer. + +* Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the + following disclaimer in the documentation and/or other + materials provided with the distribution. + +* Neither the name of the Webbit nor the names of + its contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND +CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +secp256k1 + +Copyright (c) 2013 Pieter Wuille + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +NUnit + +Copyright (c) 2019 Charlie Poole, Rob Prouse + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +go-diff + +Copyright (c) 2012-2016 The go-diff Authors. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +diff-match-patch + + Copyright (c) 2018 The diff-match-patch Authors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +glide + +Glide +The Masterminds +Copyright (C) 2014-2016, Matt Butcher and Matt Farina +Copyright (C) 2016, Hewlett Packard Enterprise Development LP +Copyright (C) 2015, Google + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +text + +Copyright 2012 Keith Rarick + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +go-license + +The MIT License (MIT) + +Copyright (c) 2014 Ryan Uber + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +omnisharp-roslyn + +The MIT License (MIT) + +Copyright (c) 2015 OmniSharp + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +corefx + +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +MSBuildStructuredLog + +The MIT License (MIT) + +Copyright (c) 2016 Kirill Osenkov + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +core-setup + +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Contributor Covenant v1.4 + +The MIT License (MIT) + +Copyright (c) 2014 Coraline Ada Ehmke + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +xstrings + +The MIT License (MIT) + +Copyright (c) 2015 Huan Du + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +AngularStrap v0.7.5 + +The MIT License + +Copyright (c) 2012-2014 Olivier Louvignes http://olouv.com + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +assert + +Copyright (c) 2016 Blake Mizerany and Keith Rarick + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +bootstrap-timepicker + +The MIT license + +Copyright 2013 Joris de Wit + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +govalidator + +The MIT License (MIT) + +Copyright (c) 2014 Alex Saskevich + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +react-custom-scrollbars + +The MIT License (MIT) + +Copyright (c) 2015 react-custom-scrollbars + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Prism and Slate + +Prism +MIT LICENSE + +Copyright (c) 2012 Lea Verou + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +Slate +The MIT License + +Copyright (c) 2016–2017, Ian Storm Taylor + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Azure + +The MIT License (MIT) + +Copyright (c) 2013 loldesign + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +shortid + +Copyright (c) Dylan Greene +All rights reserved. + +MIT +no-false-attribs License + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +Distributions of all or part of the Software intended to be used +by the recipients as they would use the unmodified Software, +containing modifications that substantially alter, remove, or +disable functionality of the Software, outside of the documented +configuration mechanisms provided by the Software, shall be +modified such that the Original Author's bug reporting email +addresses and urls are either replaced with the contact information +of the parties responsible for the changes, or removed entirely. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pgpass + +Copyright (c) 2015 Tomasz Grodzki + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +SUIT CSS base + +Copyright (c) Nicolas Gallagher + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +zap + +Copyright (c) 2016-2017 Uber Technologies, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +JSON Formatter + +Copyright (c) 2015 Mohsen Azimi + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Ink v1.0.5 + +Copyright 2013 ZURB Inc + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mq4-hover-shim + +The MIT License (MIT) + +Copyright (c) 2014-2015 Christopher Rebert + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +nelder-mead + +The MIT License (MIT) + +Copyright (c) 1997 Michael F. Hutt + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Encoding + +Copyright (c) 2015 Jason Wilder + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +go-radix + +The MIT License (MIT) + +Copyright (c) 2014 Armon Dadgar + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +gota + +Copyright (c) 2017 Patrick Hemmer + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +DefinitelyTyped type definition for expect.js 0.3.1 + +Copyright (c) 2017, Teppei Sato + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +File with code copyright Tom Alexander + +Copyright (c) 2013 Tom Alexander + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +typical + +MIT License + +Copyright (c) 2017 Thomas Crockett + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +lerna + +Copyright (c) 2015-present Lerna Contributors + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +hash-sum + +The MIT License (MIT) + +Copyright (c) 2014 Nicolas Bevacqua + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jQuery Mouse Wheel Plugin v3.0.6 + +Copyright 2011, Brandon Aaron (http://brandonaaron.net/) + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +object-assign + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Twitter Bootstrap file licensed under the MIT License (non-compliant) + +The MIT License (MIT) + +Copyright (c) 2011-2019 Twitter, Inc. +Copyright (c) 2011-2019 The Bootstrap Authors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +bc-java + +Copyright (c) 2000-2019 The Legion of the Bouncy Castle Inc. (http://www.bouncycastle.org) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software +and associated documentation files (the "Software"), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +lodash + +The MIT License + +Copyright JS Foundation and other contributors + +Based on Underscore.js, copyright Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/lodash/lodash + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +go-nsq + +Copyright (c) 2019 go-nsq contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Date Format v1.2.3 + +Copyright (c) 2007-2009 Steven Levithan + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +CRYPTOGAMS + +Copyright (c) 2006, CRYPTOGAMS by +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + * Redistributions of source code must retain copyright notices, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials + provided with the distribution. + + * Neither the name of the CRYPTOGAMS nor the names of its + copyright holder and contributors may be used to endorse or + promote products derived from this software without specific + prior written permission. + +ALTERNATIVELY, provided that this notice is retained in full, this +product may be distributed under the terms of the GNU General Public +License (GPL), in which case the provisions of the GPL apply INSTEAD OF +those given above. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +/* ==================================================================== + * Copyright (c) 1998-2019 The OpenSSL Project. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * 3. All advertising materials mentioning features or use of this + * software must display the following acknowledgment: + * "This product includes software developed by the OpenSSL Project + * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" + * + * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to + * endorse or promote products derived from this software without + * prior written permission. For written permission, please contact + * openssl-core@openssl.org. + * + * 5. Products derived from this software may not be called "OpenSSL" + * nor may "OpenSSL" appear in their names without prior written + * permission of the OpenSSL Project. + * + * 6. Redistributions of any form whatsoever must retain the following + * acknowledgment: + * "This product includes software developed by the OpenSSL Project + * for use in the OpenSSL Toolkit (http://www.openssl.org/)" + * + * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY + * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + * ==================================================================== + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +EC MQV algorithm aoifasldfn______977g3roihoand The use of this product or service is subject to the reasonable, non-discriminatory terms in the Intellectual Property Rights (IPR) Disclosures of Certicom Corp. at the IETF for Use of Elliptic Curve Cryptography (ECC) Algorithms in Cryptographic Message Syntax (CMS) implemented in the product or service. igosjfojsdfoij____ajnwoacoaijsf + +------------License Starts Here---------------------------------------------- + +inject (facebookgo) + +BSD License + +For inject software + +Copyright (c) 2015, Facebook, Inc. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name Facebook nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Additional Grant of Patent Rights Version 2 + +"Software" means the inject software distributed by Facebook, Inc. + +Facebook, Inc. ("Facebook") hereby grants to each recipient of the Software +("you") a perpetual, worldwide, royalty-free, non-exclusive, irrevocable +(subject to the termination provision below) license under any Necessary +Claims, to make, have made, use, sell, offer to sell, import, and otherwise +transfer the Software. For avoidance of doubt, no license is granted under +Facebook’s rights in any patent claims that are infringed by (i) modifications +to the Software made by you or any third party or (ii) the Software in +combination with any software or other technology. + +The license granted hereunder will terminate, automatically and without notice, +if you (or any of your subsidiaries, corporate affiliates or agents) initiate +directly or indirectly, or take a direct financial interest in, any Patent +Assertion: (i) against Facebook or any of its subsidiaries or corporate +affiliates, (ii) against any party if such Patent Assertion arises in whole or +in part from any software, technology, product or service of Facebook or any of +its subsidiaries or corporate affiliates, or (iii) against any party relating +to the Software. Notwithstanding the foregoing, if Facebook or any of its +subsidiaries or corporate affiliates files a lawsuit alleging patent +infringement against you in the first instance, and you respond by filing a +patent infringement counterclaim in that lawsuit against that party that is +unrelated to the Software, the license granted hereunder will not terminate +under section (i) of this paragraph due to such counterclaim. + +A "Necessary Claim" is a claim of a patent owned by Facebook that is +necessarily infringed by the Software standing alone. + +A "Patent Assertion" is any lawsuit or other action alleging direct, indirect, +or contributory infringement or inducement to infringe any patent, including a +cross-claim or counterclaim. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Go Sync + +Copyright (c) 2009 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Additional IP Rights Grant (Patents) + +"This implementation" means the copyrightable works distributed by +Google as part of the Go project. + +Google hereby grants to You a perpetual, worldwide, non-exclusive, +no-charge, royalty-free, irrevocable (except as stated in this section) +patent license to make, have made, use, offer to sell, sell, import, +transfer and otherwise run, modify and propagate the contents of this +implementation of Go, where such license applies only to those patent +claims, both currently owned or controlled by Google and acquired in +the future, licensable by Google that are necessarily infringed by this +implementation of Go. This grant does not include claims that would be +infringed only as a consequence of further modification of this +implementation. If you or your agent or exclusive licensee institute or +order or agree to the institution of patent litigation against any +entity (including a cross-claim or counterclaim in a lawsuit) alleging +that this implementation of Go or any code incorporated within this +implementation of Go constitutes direct or contributory patent +infringement, or inducement of patent infringement, then any patent +rights granted to you under this License for this implementation of Go +shall terminate as of the date such litigation is filed. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Go Text + +Copyright (c) 2009 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Additional IP Rights Grant (Patents) + +"This implementation" means the copyrightable works distributed by +Google as part of the Go project. + +Google hereby grants to You a perpetual, worldwide, non-exclusive, +no-charge, royalty-free, irrevocable (except as stated in this section) +patent license to make, have made, use, offer to sell, sell, import, +transfer and otherwise run, modify and propagate the contents of this +implementation of Go, where such license applies only to those patent +claims, both currently owned or controlled by Google and acquired in +the future, licensable by Google that are necessarily infringed by this +implementation of Go. This grant does not include claims that would be +infringed only as a consequence of further modification of this +implementation. If you or your agent or exclusive licensee institute or +order or agree to the institution of patent litigation against any +entity (including a cross-claim or counterclaim in a lawsuit) alleging +that this implementation of Go or any code incorporated within this +implementation of Go constitutes direct or contributory patent +infringement, or inducement of patent infringement, then any patent +rights granted to you under this License for this implementation of Go +shall terminate as of the date such litigation is filed. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +net + +Copyright (c) 2009 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Additional IP Rights Grant (Patents) + +"This implementation" means the copyrightable works distributed by +Google as part of the Go project. + +Google hereby grants to You a perpetual, worldwide, non-exclusive, +no-charge, royalty-free, irrevocable (except as stated in this section) +patent license to make, have made, use, offer to sell, sell, import, +transfer and otherwise run, modify and propagate the contents of this +implementation of Go, where such license applies only to those patent +claims, both currently owned or controlled by Google and acquired in +the future, licensable by Google that are necessarily infringed by this +implementation of Go. This grant does not include claims that would be +infringed only as a consequence of further modification of this +implementation. If you or your agent or exclusive licensee institute or +order or agree to the institution of patent litigation against any +entity (including a cross-claim or counterclaim in a lawsuit) alleging +that this implementation of Go or any code incorporated within this +implementation of Go constitutes direct or contributory patent +infringement, or inducement of patent infringement, then any patent +rights granted to you under this License for this implementation of Go +shall terminate as of the date such litigation is filed. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +sys + +Copyright (c) 2009 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Additional IP Rights Grant (Patents) + +"This implementation" means the copyrightable works distributed by +Google as part of the Go project. + +Google hereby grants to You a perpetual, worldwide, non-exclusive, +no-charge, royalty-free, irrevocable (except as stated in this section) +patent license to make, have made, use, offer to sell, sell, import, +transfer and otherwise run, modify and propagate the contents of this +implementation of Go, where such license applies only to those patent +claims, both currently owned or controlled by Google and acquired in +the future, licensable by Google that are necessarily infringed by this +implementation of Go. This grant does not include claims that would be +infringed only as a consequence of further modification of this +implementation. If you or your agent or exclusive licensee institute or +order or agree to the institution of patent litigation against any +entity (including a cross-claim or counterclaim in a lawsuit) alleging +that this implementation of Go or any code incorporated within this +implementation of Go constitutes direct or contributory patent +infringement, or inducement of patent infringement, then any patent +rights granted to you under this License for this implementation of Go +shall terminate as of the date such litigation is filed. + +------------End of License--------------------------------------------------- + +------------License Starts Here--------------------------------------- + +postgres 11_8 & postgres 12_3 +git://git.postgresql.org/git/postgresql.git + +PostgreSQL Database Management System +(formerly known as Postgres, then as Postgres95) + +Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group + +Portions Copyright (c) 1994, The Regents of the University of California + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose, without fee, and without a written agreement +is hereby granted, provided that the above copyright notice and this +paragraph and the following two paragraphs appear in all copies. + +IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR +DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING +LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS +DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS +ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO +PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +postgresql-common 215 +https://salsa.debian.org/postgresql/postgresql-common.git + +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Contact: Debian PostgreSQL Maintainers + +Files: * +Copyright: 2005-2014 Martin Pitt + 2009 Cyril Bouthors + 2010 Dimitri Fontaine + 2011-2014 Christoph Berg + 2013 Peter Eisentraut +License: GPL-2+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + The full text of the GPL is distributed as in + /usr/share/common-licenses/GPL-2 on Debian systems. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +posgis 3.0 +https://github.com/postgis/postgis.git + +PostGIS Licensing +================== + +This file attempts to include all licenses that apply within the PostGIS +source tree, in particular any that are supposed to be exposed to the end +user for credit requirements for instance. + +PostGIS General +---------------- + +In general PostGIS may be distributed and/or modified under the conditions +of the GNU General Public License, either version 2 or (at your option) any +later version. Please refer to the COPYING file for details. + +PostGIS has dependencies on other libraries which are not under GPL and +that are commonly distributed with PostGIS core libraries. In general +these are dynamically linked libraries. Libraries are as follows: + +Proj4 - http://proj.osgeo.org -- X/MIT License +GEOS - http://geos.osgeo.org -- LGPL License +LibXML - http://xmlsoft.org/ -- X/MIT License +GDAL - http://gdal.osgeo.org/ -- X/MIT Style License + +Source files included with PostGIS not under GPL +------------------------------------------------ + +-- The following loader/dumper files are derivative works or direct ports +of ShapeLib which is under an X/MIT License: loader/dbfopen,safileio.*, +shapefil.h, shpopen.c + +-- These are under AT&T public domain (someone should probably verify) +loader/getopt.* + +-- Doc/xsl files +These are under a BSD Style license + +The documentation for PostGIS is under a creative commons share-alike +3.0 license. http://creativecommons.org/licenses/by-sa/3.0/ + +Data used in documentation falls in one of the following categories +- Many of the examples in the topology and tiger geocoder section utilize + data from US Census Tiger data 2010 + http://www.census.gov/geo/www/tiger/tgrshp2010/tgrshp2010.html +- data or snapshots generated by community +- many images autogenerated by PostGIS documentation generator (which + utilizes ImageMagick) as described + http://trac.osgeo.org/postgis/wiki/DevWikiDocNewFeature +- PostGIS raster output functions such as the ST_AsPNG etc. +- raster/vector data from MassGIS: http://www.mass.gov/mgis/laylist.htm + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +plv8 2.3.14 +https://github.com/plv8/plv8 + +Copyright (c) 2009-2012, the PLV8JS Development Group. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose, without fee, and without a written agreement +is hereby granted, provided that the above copyright notice and this +paragraph and the following two paragraphs appear in all copies. + +IN NO EVENT SHALL the PLV8JS Development Group BE LIABLE TO ANY PARTY FOR +DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING +LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS +DOCUMENTATION, EVEN IF the PLV8JS Development Group HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +The PLV8JS Development Group SPECIFICALLY DISCLAIMS ANY WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS +ON AN "AS IS" BASIS, AND the PLV8JS Development Group HAS NO OBLIGATIONS TO +PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + +------------End of License-------------------------------------------- + +------------License Starts Here----------------------------------------------------- + +tdigest + +Copyright (c) 2019, Tomas Vondra (tomas.vondra@postgresql.org). + +Permission to use, copy, modify, and distribute this software and its documentation +for any purpose, without fee, and without a written agreement is hereby granted, +provided that the above copyright notice and this paragraph and the following two +paragraphs appear in all copies. + +IN NO EVENT SHALL $ORGANISATION BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, +INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE +OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF TOMAS VONDRA HAS BEEN ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +TOMAS VONDRA SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE +SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND $ORGANISATION HAS NO +OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + +------------End of License------------------------------------------------------------ + +------------License Starts Here--------------------------------------- + +simplejson 3.6.5 - AFL-2.1 AND MIT AND NOASSERTION + + +copyright 2014, Bob Ippolito +Copyright (c) 2006 Bob Ippolito. +Copyright (c) 2003-2004 Lawrence E. Rosen. + +simplejson is dual-licensed software. It is available under the terms +of the MIT license, or the Academic Free License version 2.1. The full +text of each license agreement is included below. This code is also +licensed to the Python Software Foundation (PSF) under a Contributor +Agreement. + +MIT License +=========== + +Copyright (c) 2006 Bob Ippolito + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +Academic Free License v. 2.1 +============================ + +Copyright (c) 2006 Bob Ippolito. All rights reserved. + +This Academic Free License (the "License") applies to any original work of authorship (the "Original Work") whose owner (the "Licensor") has placed the following notice immediately following the copyright notice for the Original Work: + +Licensed under the Academic Free License version 2.1 + +1) Grant of Copyright License. Licensor hereby grants You a world-wide, royalty-free, non-exclusive, perpetual, sublicenseable license to do the following: + +a) to reproduce the Original Work in copies; + +b) to prepare derivative works ("Derivative Works") based upon the Original Work; + +c) to distribute copies of the Original Work and Derivative Works to the public; + +d) to perform the Original Work publicly; and + +e) to display the Original Work publicly. + +2) Grant of Patent License. Licensor hereby grants You a world-wide, royalty-free, non-exclusive, perpetual, sublicenseable license, under patent claims owned or controlled by the Licensor that are embodied in the Original Work as furnished by the Licensor, to make, use, sell and offer for sale the Original Work and Derivative Works. + +3) Grant of Source Code License. The term "Source Code" means the preferred form of the Original Work for making modifications to it and all available documentation describing how to modify the Original Work. Licensor hereby agrees to provide a machine-readable copy of the Source Code of the Original Work along with each copy of the Original Work that Licensor distributes. Licensor reserves the right to satisfy this obligation by placing a machine-readable copy of the Source Code in an information repository reasonably calculated to permit inexpensive and convenient access by You for as long as Licensor continues to distribute the Original Work, and by publishing the address of that information repository in a notice immediately following the copyright notice that applies to the Original Work. + +4) Exclusions From License Grant. Neither the names of Licensor, nor the names of any contributors to the Original Work, nor any of their trademarks or service marks, may be used to endorse or promote products derived from this Original Work without express prior written permission of the Licensor. Nothing in this License shall be deemed to grant any rights to trademarks, copyrights, patents, trade secrets or any other intellectual property of Licensor except as expressly stated herein. No patent license is granted to make, use, sell or offer to sell embodiments of any patent claims other than the licensed claims defined in Section 2. No right is granted to the trademarks of Licensor even if such marks are included in the Original Work. Nothing in this License shall be interpreted to prohibit Licensor from licensing under different terms from this License any Original Work that Licensor otherwise would have a right to license. + +5) This section intentionally omitted. + +6) Attribution Rights. You must retain, in the Source Code of any Derivative Works that You create, all copyright, patent or trademark notices from the Source Code of the Original Work, as well as any notices of licensing and any descriptive text identified therein as an "Attribution Notice." You must cause the Source Code for any Derivative Works that You create to carry a prominent Attribution Notice reasonably calculated to inform recipients that You have modified the Original Work. + +7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that the copyright in and to the Original Work and the patent rights granted herein by Licensor are owned by the Licensor or are sublicensed to You under the terms of this License with the permission of the contributor(s) of those copyrights and patent rights. Except as expressly stated in the immediately proceeding sentence, the Original Work is provided under this License on an "AS IS" BASIS and WITHOUT WARRANTY, either express or implied, including, without limitation, the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No license to Original Work is granted hereunder except under this disclaimer. + +8) Limitation of Liability. Under no circumstances and under no legal theory, whether in tort (including negligence), contract, or otherwise, shall the Licensor be liable to any person for any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or the use of the Original Work including, without limitation, damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses. This limitation of liability shall not apply to liability for death or personal injury resulting from Licensor's negligence to the extent applicable law prohibits such limitation. Some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so this exclusion and limitation may not apply to You. + +9) Acceptance and Termination. If You distribute copies of the Original Work or a Derivative Work, You must make a reasonable effort under the circumstances to obtain the express assent of recipients to the terms of this License. Nothing else but this License (or another written agreement between Licensor and You) grants You permission to create Derivative Works based upon the Original Work or to exercise any of the rights granted in Section 1 herein, and any attempt to do so except under the terms of this License (or another written agreement between Licensor and You) is expressly prohibited by U.S. copyright law, the equivalent laws of other countries, and by international treaty. Therefore, by exercising any of the rights granted to You in Section 1 herein, You indicate Your acceptance of this License and all of its terms and conditions. + +10) Termination for Patent Action. This License shall terminate automatically and You may no longer exercise any of the rights granted to You by this License as of the date You commence an action, including a cross-claim or counterclaim, against Licensor or any licensee alleging that the Original Work infringes a patent. This termination provision shall not apply for an action alleging patent infringement by combinations of the Original Work with other software or hardware. + +11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this License may be brought only in the courts of a jurisdiction wherein the Licensor resides or in which Licensor conducts its primary business, and under the laws of that jurisdiction excluding its conflict-of-law provisions. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any use of the Original Work outside the scope of this License or after its termination shall be subject to the requirements and penalties of the U.S. Copyright Act, 17 U.S.C. ยง 101 et seq., the equivalent laws of other countries, and international treaty. This section shall survive the termination of this License. + +12) Attorneys Fees. In any action to enforce the terms of this License or seeking damages relating thereto, the prevailing party shall be entitled to recover its costs and expenses, including, without limitation, reasonable attorneys' fees and costs incurred in connection with such action, including any appeal of such action. This section shall survive the termination of this License. + +13) Miscellaneous. This License represents the complete agreement concerning the subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. + +14) Definition of "You" in This License. "You" throughout this License, whether in upper or lower case, means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, "You" includes any entity that controls, is controlled by, or is under common control with you. For purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +15) Right to Use. You may use the Original Work in all ways not otherwise restricted or conditioned by this License or by law, and Licensor promises not to interfere with or be responsible for such uses by You. + +This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights reserved. Permission is hereby granted to copy and distribute this license without modification. This license may not be modified without the express written permission of its copyright owner. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +argcomplete 1.12.0 - Apache-2.0 + + +Copyright 2012-2019, Andrey Kislyuk and argcomplete contributors. + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +bcrypt 3.2.0 - Apache-2.0 + + +Copyright (c) 2013 Donald Stufft +Copyright (c) 2010 Damien Miller. +Copyright (c) 2000-2001, Aaron D. Gifford +Copyright (c) 2013 Ted Unangst +Copyright (c) 2014 Ted Unangst +Copyright (c) 1997 Niels Provos +Copyright 1997 Niels Provos + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +com.fasterxml.jackson.core/jackson-core 2.4.3 - Apache-2.0 + + + +This copy of Jackson JSON processor streaming parser/generator is licensed under the +Apache (Software) License, version 2.0 ("the License"). +See the License for details about distribution rights, and the +specific rights regarding derivate works. + +You may obtain a copy of the License at: + +http://www.apache.org/licenses/LICENSE-2.0 + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +com.google.caliper/caliper 1.0-beta-2 - Apache-2.0 + + + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); + +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software + +distributed under the License is distributed on an "AS IS" BASIS, + +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and + +limitations under the License. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +com.google.code.gson/gson 2.7 - Apache-2.0 + + + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); + +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software + +distributed under the License is distributed on an "AS IS" BASIS, + +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and + +limitations under the License. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +com.google.errorprone/error_prone_annotations 2.3.2 - Apache-2.0 + + + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); + +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software + +distributed under the License is distributed on an "AS IS" BASIS, + +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and + +limitations under the License. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +com.google.guava/guava 26.0-android - Apache-2.0 + + + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); + +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software + +distributed under the License is distributed on an "AS IS" BASIS, + +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and + +limitations under the License. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +com.google.guava/guava-testlib 26.0-jre - Apache-2.0 + + + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); + +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software + +distributed under the License is distributed on an "AS IS" BASIS, + +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and + +limitations under the License. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +coverage 3.7.1 - Apache-2.0 + + +Copyright (c) 2010 +Copyright 2010, John Resig +Copyright 2001 Gareth Rees. +Copyright (c) 2008 Ariel Flesler +Copyright 2004-2013 Ned Batchelder. +Copyright 2010, The Dojo Foundation +Copyright Software Freedom Conservancy, Inc. +Copyright (c) 2011 John Resig, Jorn Zaefferer + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); + +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software + +distributed under the License is distributed on an "AS IS" BASIS, + +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and + +limitations under the License. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +funcsigs 1.0.2 - Apache-2.0 + + +Copyright 2013 Aaron Iles +copyright 2013, Aaron Iles +Copyright 2001-2013 Python Software Foundation + +Copyright 2013 Aaron Iles + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +gcs-oauth2-boto-plugin 2.6 - Apache-2.0 + + +Copyright 2014 Google Inc. + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +google-apitools 0.5.16 - Apache-2.0 + + +Copyright Google Inc. +Copyright 2010 Google Inc. +Copyright 2013 Google Inc. +Copyright 2015 Google Inc. +Copyright 2016 Google Inc. +Copyright 2017 Google Inc. + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); + +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software + +distributed under the License is distributed on an "AS IS" BASIS, + +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and + +limitations under the License. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +importlib-metadata 1.7.0 - Apache-2.0 + + +Copyright 2017-2019 Jason R. Coombs, Barry Warsaw +copyright 2017-2019, Jason R. Coombs, Barry Warsaw + +Copyright 2017-2019 Jason R. Coombs, Barry Warsaw + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +long 4.0.0 - Apache-2.0 +https://github.com/dcodeIO/long.js#readme + + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +oauth2client 4.1.3 - Apache-2.0 + + +Copyright 2014 Google Inc. +Copyright 2015 Google Inc. +Copyright 2016 Google Inc. +Copyright 2014 the Melange authors. + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +Dependent Modules +================= + +This code has the following dependencies +above and beyond the Python standard library: + +httplib2 - MIT License + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +oauth2client 2.2.0 - Apache-2.0 + + +Copyright 2014 Google Inc. +Copyright 2015 Google Inc. +Copyright 2016 Google Inc. +Copyright 2014 the Melange authors. + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); + +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software + +distributed under the License is distributed on an "AS IS" BASIS, + +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and + +limitations under the License. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +org.jruby/jruby-complete 1.7.13 - Apache-2.0 + + + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); + +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software + +distributed under the License is distributed on an "AS IS" BASIS, + +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and + +limitations under the License. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +pbr 5.4.5 - Apache-2.0 + + +Copyright 2012 Red Hat, Inc. +Copyright 2018 Red Hat, Inc. +Copyright (c) 2013 Testrepository +Copyright 2011 OpenStack Foundation +Copyright 2012 OpenStack Foundation +copyright 2013, OpenStack Foundation +copyright u'2013, OpenStack Foundation +Copyright (c) 2011 OpenStack Foundation +Copyright 2010-2011 OpenStack Foundation +Copyright (c) 2013 New Dream Network, LLC +Copyright 2013 Hewlett-Packard Development Company, L.P. +Copyright 2014 Hewlett-Packard Development Company, L.P. +Copyright (c) 2013 Hewlett-Packard Development Company, L.P. +Copyright (c) 2015 Hewlett-Packard Development Company, L.P. +Copyright 2012-2013 Hewlett-Packard Development Company, L.P. +Copyright (c) 2005 Association of Universities for Research in Astronomy (AURA) +Copyright (c) 2013 Association of Universities for Research in Astronomy (AURA) + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + + +Copyright (C) 2005 Association of Universities for Research in Astronomy (AURA) + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + 3. The name of AURA and its representatives may not be used to + endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY AURA ``AS IS'' AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL AURA BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS +OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR +TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +PyNaCl 1.4.0 - Apache-2.0 + + +Copyright (c) 2013-2019 +Copyright 2009 Colin Percival +Copyright 2013-2018 0 .format +Copyright (c) 1994 X Consortium +Copyright (c) 2015 Thomas Pornin +Copyright 2013 Alexander Peslyak +Copyright (c) 2013-2019 Frank Denis +Copyright 2012,2013 Alexander Peslyak +Copyright 2005,2007,2009 Colin Percival +Copyright (c) 2011 Free Software Foundation, Inc. +Copyright (c) 2012 Free Software Foundation, Inc. +Copyright (c) 2014 Free Software Foundation, Inc. +Copyright 1992-2019 Free Software Foundation, Inc. +Copyright (c) 2008 Alan Woodland +Copyright (c) 2008 Guido U. Draheim +Copyright (c) 1994-2018 Free Software Foundation, Inc. +Copyright (c) 1996-2013 Free Software Foundation, Inc. +Copyright (c) 1996-2015 Free Software Foundation, Inc. +Copyright (c) 1996-2018 Free Software Foundation, Inc. +Copyright (c) 1997-2018 Free Software Foundation, Inc. +Copyright (c) 1999-2013 Free Software Foundation, Inc. +Copyright (c) 1999-2018 Free Software Foundation, Inc. +Copyright (c) 2001-2018 Free Software Foundation, Inc. +Copyright (c) 2002-2018 Free Software Foundation, Inc. +Copyright (c) 2003-2018 Free Software Foundation, Inc. +Copyright (c) 2004-2015 Free Software Foundation, Inc. +Copyright (c) 2004-2018 Free Software Foundation, Inc. +Copyright (c) 2006-2018 Free Software Foundation, Inc. +Copyright (c) 2008-2013 Free Software Foundation, Inc. +Copyright (c) 2009-2018 Free Software Foundation, Inc. +Copyright (c) 2010-2015 Free Software Foundation, Inc. +Copyright (c) 2011-2018 Free Software Foundation, Inc. +Copyright (c) 2011 Daniel Richard G. +Copyright (c) 2011 Maarten Bosmans +Copyright 2013 Donald Stufft and individual contributors +Copyright 2014 Donald Stufft and individual contributors +Copyright 2016 Donald Stufft and individual contributors +Copyright 2017 Donald Stufft and individual contributors +Copyright 2018 Donald Stufft and individual contributors +copyright 2013, Donald Stufft and Individual Contributors +Copyright (c) 2008 Steven G. Johnson +Copyright (c) 2010 Diego Elio Petteno +Copyright (c) 2004, 2011-2015 Free Software Foundation, Inc. +Copyright 2013-2017 Donald Stufft and individual contributors +Copyright 2013-2018 Donald Stufft and individual contributors +Copyright 2013-2019 Donald Stufft and individual contributors +Copyright 2016-2019 Donald Stufft and individual contributors +Copyright (c) 1992-1996, 1998-2012 Free Software Foundation, Inc. +Copyright (c) 1996-2001, 2003-2015 Free Software Foundation, Inc. +Copyright (c) 2004-2005, 2007-2008, 2011-2015 Free Software Foundation, Inc. +Copyright (c) 2004-2005, 2007-2009, 2011-2015 Free Software Foundation, Inc. +Copyright (c) 2004-2005, 2007, 2009, 2011-2015 Free Software Foundation, Inc. +Copyright (c) 2014, 2015, 2016 Philip Withnall +Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + +/* + * ISC License + * + * Copyright (c) 2013-2019 + * Frank Denis + * + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +pyOpenSSL 19.1.0 - Apache-2.0 + + +Copyright (c) AB +Copyright (c) Frederick Dean +Copyright 2001-2017 0 .format +Copyright (c) Jean-Paul Calderone +Copyright (c) Twisted Matrix Laboratories. +Copyright (c) Jean-Paul Calderone 2008-2015 +u'The pyOpenSSL developers copyright u'2001 + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +requests 2.0.1 - Apache-2.0 + + +(c) Kasim 2005 +(c) Aralik 2007 +(c) 2006 thawte, Inc. +(c) 2007 thawte, Inc. +(c) 2008 thawte, Inc. +(c) 2006 Entrust, Inc. +(c) 2007 GeoTrust Inc. +(c) 2008 GeoTrust Inc. +(c) 1998 VeriSign, Inc. +(c) 1999 VeriSign, Inc. +(c) 2006 VeriSign, Inc. +(c) 2007 VeriSign, Inc. +(c) 2008 VeriSign, Inc. +(c) 1999 Entrust.net Limited +Copyright 2013 Kenneth Reitz +copyright 2012 Kenneth Reitz. +Copyright 2009 Raymond Hettinger +Copyright (c) 2005/OISTE Foundation +copyright (c) 2012 by Kenneth Reitz. +copyright (c) 2013 by Kenneth Reitz. +Copyright (c) 1998 the Initial Developer. +Copyright (c) 2001 the Initial Developer. +Copyright (c) 2005 the Initial Developer. +Copyright (c) 2010-2011 Benjamin Peterson +Copyright (c) 2011 Idan Gazit and contributors +Copyright 2008-2011 Andrey Petrov and contributors +Copyright 2008-2013 Andrey Petrov and contributors +(c) 2006 Entrust, Inc. Label Entrust Root Certification +(c) 1999 Entrust.net Limited Label Entrust.net Secure Server CA Serial +(c) 2005 TURKTRUST Bilgi Iletisim ve Bilisim Guvenligi Hizmetleri A.S. +(c) Aralik 2007 Label TURKTRUST Certificate Services Provider Root 2007 +Copyright (c) 2005/OISTE Foundation Endorsed Label OISTE WISeKey Global Root +(c) 1999 Entrust.net Limited Label Entrust.net Premium 2048 Secure Server CA Serial +(c) 2005 TURKTRUST Bilgi Iletisim ve Bilisim Guvenligi Hizmetleri A.S. Label TURKTRUST Certificate Services Provider Root + +Copyright 2013 Kenneth Reitz + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +rsa 3.1.4 - Apache-2.0 + + +Copyright 2011 Sybren A. Stuvel + +Copyright 2011 Sybren A. Stรผvel + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +rsa 4.6 - Apache-2.0 + + +Copyright 2011 Sybren A. Stuvel + +Copyright 2011 Sybren A. Stรผvel + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +rx 4.1.0 - Apache-2.0 +https://github.com/Reactive-Extensions/RxJS + +Copyright (c) Microsoft. +Copyright (c) Microsoft Open Technologies, Inc. + +Copyright (c) Microsoft. All rights reserved. +Microsoft Open Technologies would like to thank its contributors, a list +of whom are at http://rx.codeplex.com/wikipage?title=Contributors. + +Licensed under the Apache License, Version 2.0 (the "License"); you +may not use this file except in compliance with the License. You may +obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +implied. See the License for the specific language governing permissions +and limitations under the License. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +webapp2 2.5.2 - Apache-2.0 + + +Copyright 2009 Facebook +Copyright 2008 Google Inc. +Copyright (c) 2009 Facebook. +Copyright 2010 Rodrigo Moraes. +copyright u'2011, Rodrigo Moraes +Copyright (c) 2008 Google Inc. - Apache +Copyright (c) 2011 Werkzeug Team. - BSD +Copyright (c) 2011 by the Werkzeug Team +copyright (c) 2010 by the Werkzeug Team +Copyright (c) 2007 Ian Bicking and Contributors. +Copyright (c) 2010 Armin Ronacher and Contributors. +Copyright (c) 2010 by Armin Ronacher and contributors. +copyright 2011 tipfy.org. :license Apache Sotware License +copyright 2011 by tipfy.org. :license Apache Sotware License +copyright (c) 2011 Yesudeep Mangalapilly :license Apache Sotware License + +webapp2 +======= +Copyright 2010 Rodrigo Moraes. +All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + + +GOOGLE APP ENGINE SDK +===================== +Copyright 2008 Google Inc. +All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + + +WebOb +===== +Copyright (c) 2007 Ian Bicking and Contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +Werkzeug +======== +Copyright (c) 2011 by the Werkzeug Team, see AUTHORS for more details. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * The names of the contributors may not be used to endorse or + promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +Tornado +======= +Copyright 2009 Facebook + +Licensed under the Apache License, Version 2.0 (the "License"); you may +not use this file except in compliance with the License. You may obtain +a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations +under the License. + + +Flask +===== +Copyright (c) 2010 by Armin Ronacher and contributors. See AUTHORS +for more details. + +Some rights reserved. + +Redistribution and use in source and binary forms of the software as well +as documentation, with or without modification, are permitted provided +that the following conditions are met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + +* The names of the contributors may not be used to endorse or + promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND +CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT +NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER +OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +cryptography 3.0 - Apache-2.0 AND BSD-3-Clause AND Python-2.0 + + +Copyright 2013-2019 .format +copyright 2013-2017, Individual +Copyright (c) Individual contributors. +Copyright 2001-2016 Python Software Foundation +Copyright (c) 2001-2016 Python Software Foundation + +This software is made available under the terms of *either* of the licenses +found in LICENSE.APACHE or LICENSE.BSD. Contributions to cryptography are made +under the terms of *both* these licenses. + +The code used in the OpenSSL locking callback and OS random engine is derived +from CPython, and is licensed under the terms of the PSF License Agreement. + + + + Apache License + Version 2.0, January 2004 + https://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +enum34 1.1.10 - BSD-2-Clause + + +Copyright (c) 2013, Ethan Furman. + +Copyright (c) 2013, Ethan Furman. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + Redistributions of source code must retain the above + copyright notice, this list of conditions and the + following disclaimer. + + Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials + provided with the distribution. + + Neither the name Ethan Furman nor the names of any + contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +mock 1.0.1 - BSD-2-Clause + + +Copyright 2010, John Resig +Copyright 2010, The Dojo Foundation +copyright u'2007-2012, Michael Foord +Copyright (c) 2007-2012 Michael Foord +Copyright (c) 2003-2012, Michael Foord +Copyright 2007-2011 by the Sphinx team +(c) 2009 Jeremy Ashkenas, DocumentCloud Inc. +(c) Copyright 2007-2012, Michael Foord the mock team. + +Copyright (c) 2003-2012, Michael Foord +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +mock 2.0.0 - BSD-2-Clause + + +copyright u'2007-2015, Michael Foord +Copyright (c) 2007-2012 Michael Foord +Copyright (c) 2003-2013, Michael Foord +Copyright (c) 2007-2013, Michael Foord + +Copyright (c) 2003-2013, Michael Foord & the mock team +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +mock 4.0.2 - BSD-2-Clause + + +Copyright (c) 2007-2012 Michael Foord +Copyright (c) 2003-2013, Michael Foord + +Copyright (c) 2003-2013, Michael Foord & the mock team +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +pyasn1 0.4.8 - BSD-2-Clause + + +Copyright (c) 2005-2019, Ilya Etingof +copyright u'2005-2019, Ilya Etingof +Copyright (c) 2005-2019, Ilya Etingof + +Copyright (c) 2005-2019, Ilya Etingof +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +pyasn1-modules 0.2.8 - BSD-2-Clause + + +Copyright (c) 2005-2019, Ilya Etingof +Copyright (c) 2018, Vigil Security, LLC +Copyright (c) 2019, Vigil Security, LLC +Copyright (c) 2018, 2019 Vigil Security, LLC +Copyright (c) 2018-2019, Vigil Security, LLC +Copyright (c) 2005-2019, Ilya Etingof +Copyright (c) 2017, Danielle Madeley + +Copyright (c) 2005-2019, Ilya Etingof +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +python-gflags 3.1.2 - BSD-2-Clause + + +Copyright Google. +Copyright 2002 Google Inc. +Copyright 2007 Google Inc. +Copyright 2009 Google Inc. +Copyright 2014 Google Inc. +Copyright (c) 2006, Google Inc. +copyright 1997 to 1999 by Joey Hess. +(c) 2011, Tim mithro Ansell +Copyright Google Inc. and others + +Copyright (c) 2006, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +scandir 1.10.0 - BSD-2-Clause + + +Copyright (c) 2012, Ben Hoyt + +Copyright (c) 2012, Ben Hoyt +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +* Neither the name of Ben Hoyt nor the names of its contributors may be used +to endorse or promote products derived from this software without specific +prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +Flask 1.1.2 - BSD-2-Clause AND BSD-3-Clause + + +Copyright 2010 Pallets +copyright 2010 Pallets +Copyright (c) 2015 CERN. +Copyright (c) 2010 by the Pallets team. +(c) Copyright 2010 by + +Copyright 2010 Pallets + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +Copyright ยฉ 2010 by the Pallets team. + +Some rights reserved. + +Redistribution and use in source and binary forms of the software as +well as documentation, with or without modification, are permitted +provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND +CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + + +Copyright ยฉ 2010 by the Pallets team. + +Some rights reserved. + +Redistribution and use in source and binary forms of the software as +well as documentation, with or without modification, are permitted +provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND +CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +pycparser 2.20 - BSD-2-Clause AND BSD-3-Clause + + +Copyright (c) 2008-2017, Eli Bendersky +Copyright (c) 2001-2017 David M. Beazley +David Beazley (http://www.dabeaz.com) Copyright (c) 2017 + +pycparser -- A C parser in Python + +Copyright (c) 2008-2017, Eli Bendersky +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +* Neither the name of Eli Bendersky nor the names of its contributors may + be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +SecretStorage 3.1.2 - BSD-2-Clause AND BSD-3-Clause + + +copyright 2018, Dmitry Shachnev +Copyright 2012-2018 Dmitry Shachnev + +Copyright 2012-2018 Dmitry Shachnev +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@protobufjs/aspromise 1.1.2 - BSD-3-Clause +https://github.com/dcodeIO/protobuf.js#readme + +Copyright (c) 2016, Daniel Wirtz + +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@protobufjs/base64 1.1.2 - BSD-3-Clause +https://github.com/dcodeIO/protobuf.js#readme + +Copyright (c) 2016, Daniel Wirtz + +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@protobufjs/codegen 2.0.4 - BSD-3-Clause +https://github.com/dcodeIO/protobuf.js#readme + +Copyright (c) 2016, Daniel Wirtz + +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@protobufjs/eventemitter 1.1.0 - BSD-3-Clause +https://github.com/dcodeIO/protobuf.js#readme + +Copyright (c) 2016, Daniel Wirtz + +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@protobufjs/fetch 1.1.0 - BSD-3-Clause +https://github.com/dcodeIO/protobuf.js#readme + +Copyright (c) 2016, Daniel Wirtz + +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@protobufjs/float 1.0.2 - BSD-3-Clause +https://github.com/dcodeIO/protobuf.js#readme + +Copyright (c) 2016, Daniel Wirtz + +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@protobufjs/inquire 1.1.0 - BSD-3-Clause +https://github.com/dcodeIO/protobuf.js#readme + +Copyright (c) 2016, Daniel Wirtz + +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@protobufjs/path 1.1.2 - BSD-3-Clause +https://github.com/dcodeIO/protobuf.js#readme + +Copyright (c) 2016, Daniel Wirtz + +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@protobufjs/pool 1.1.0 - BSD-3-Clause +https://github.com/dcodeIO/protobuf.js#readme + +Copyright (c) 2016, Daniel Wirtz + +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@protobufjs/utf8 1.1.0 - BSD-3-Clause +https://github.com/dcodeIO/protobuf.js#readme + +Copyright (c) 2016, Daniel Wirtz + +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +com.google.protobuf/protobuf-java 3.0.0 - BSD-3-Clause + + + +Copyright (c) . All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +Django 3.1 - BSD-3-Clause + + +(c) 2013 +(c), Good News +(c), Better News +(c), Hello Jack & Jill +Copyright (c) 2007, Sally +Steven Levithan (c) 2007-2017 +Steven Levithan (c) 2008-2017 +Steven Levithan (c) 2009-2017 +Steven Levithan (c) 2010-2017 +Steven Levithan (c) 2012-2017 +Copyright (c) 2007, Sally Smith +Copyright (c) 2008, Yahoo! Inc. +Copyright (c) 2002 Drew Perttula. +Copyright (c) 2014 Code Charm Ltd +Copyright (c) 2009 Simon Willison. +copyright Python (Monty) Pictures. +Copyright (c) 2007-2009 Justin Bronn +Copyright (c) 2010 Guilherme Gondim. +Copyright (c) 2007-2009, Justin Bronn +Copyright (c) 2009, Stanislaus Madueke +(c) JS Foundation and other contributors +Copyright (c) 2008-2009 Aryeh Leib Taurog +Copyright (c) 2007, Sally Smith Hard-coded +Copyright (c) 2013 Python Software Foundation +Copyright JS Foundation and other contributors +Copyright jQuery Foundation and other contributors. +COPYRIGHT Django Software Foundation and contributors +Copyright (c) 2001-present Python Software Foundation +copyright Django Software Foundation and contributors +Copyright (c) 2009 Oyvind Sean Kinsey, oyvind@kinsey.no +Copyright (c) 2001-2003, Patrick K. O'Brien and Contributors +Copyright (c) 2007-2017 Steven Levithan +Copyright (c) 2007, Robert Coup +Copyright (c) 1995-1998, 2000-2010 Free Software Foundation, Inc. +Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam +Copyright (c) 2008-2009 Aryeh Leib Taurog, http://www.aryehleib.com +Copyright (c) 1995-2001 Corporation for National Research Initiatives +Copyright (c) Django Software Foundation and individual contributors. +Copyright JS Foundation and other contributors, https://js.foundation +Copyright (c) 2010 Gary Wilson Jr. and contributors. +Copyright (c) 2012-2017 Kevin Brown, Igor Vaynberg, and Select2 contributors +Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Python Software Foundation + +Copyright (c) Django Software Foundation and individual contributors. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of Django nor the names of its contributors may be used + to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +The MIT License (MIT) + +Copyright (c) 2012-2017 Kevin Brown, Igor Vaynberg, and Select2 contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +The MIT License (MIT) + +Copyright (c) 2014 Code Charm Ltd + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +Copyright JS Foundation and other contributors, https://js.foundation/ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +The MIT License (MIT) + +Copyright (c) 2012-2017 Kevin Brown, Igor Vaynberg, and Select2 contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +The MIT License + +Copyright (c) 2007-2017 Steven Levithan + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +Copyright (c) 2007-2009, Justin Bronn +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of OGRGeometry nor the names of its contributors may be used + to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + + +Copyright (c) 2007-2009 Justin Bronn +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of GEOSGeometry nor the names of its contributors may be used + to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +Google.Protobuf.Tools 3.7.0 - BSD-3-Clause + + +(c) 2008 VeriSign, Inc. +Copyright 2008 Google Inc. +Copyright (c) by P.J. Plauger +Copyright 2015, Google Inc. Protocol Buffers Binary Serialization Format Google + +Copyright (c) . All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +google-protobuf 3.7.0 - BSD-3-Clause + + +Copyright 2008 Google Inc. + +Copyright (c) . All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +protobufjs 6.8.8 - BSD-3-Clause +http://dcode.io/protobuf.js + +(c) 2016, daniel wirtz +Copyright 2014, Google Inc. +Copyright (c) 2016 Chad Engler +Copyright (c) 2016, Daniel Wirtz +Copyright (c) 2014 KARASZI Istvan +(c) Sindre Sorhus (https://sindresorhus.com) +Copyright (c) 2011-2017 KARASZI Istvan +Copyright (c) Sindre Sorhus (sindresorhus.com) + +This license applies to all parts of protobuf.js except those files +either explicitly including or referencing a different license or +located in a directory containing a different LICENSE file. + +--- + +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +--- + +Code generated by the command line utilities is owned by the owner +of the input file used when generating it. This code is not +standalone and requires a support library to be linked with it. This +support library is itself covered by the above license. + + +Copyright 2014, Google Inc. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +The MIT License (MIT) + +Copyright (c) 2014 KARASZI Istvรกn + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +The MIT License + +Copyright (c) 2016 Chad Engler + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +pywin32-ctypes 0.2.0 - BSD-3-Clause + + +copyright u'2015, Enthought Ltd +Copyright (c) 2014, Enthought, Inc. +Copyright (c) 2015, Enthought, Inc. +(c) Copyright 2014 Enthought, Inc., Austin, TX +(c) Copyright 2015 Enthought, Inc., Austin, TX +(c) Copyright 2017 Enthought, Inc., Austin, TX +(c) Copyright 2018 Enthought, Inc., Austin, TX +(c) Copyright 2014-18 Enthought, Inc., Austin, TX +(c) Copyright 2015-18 Enthought, Inc., Austin, TX +(c) Copyright 2014-2018 Enthought, Inc., Austin, TX + +This software is OSI Certified Open Source Software. +OSI Certified is a certification mark of the Open Source Initiative. + +Copyright (c) 2014, Enthought, Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of Enthought, Inc. nor the names of its contributors may + be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +junit/junit 4.4 - CPL-1.0 + + +Copyright (c) 2000-2006, www.hamcrest.org + +BSD License + +Copyright (c) 2000-2006, www.hamcrest.org +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this list of +conditions and the following disclaimer. Redistributions in binary form must reproduce +the above copyright notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the distribution. + +Neither the name of Hamcrest nor the names of its contributors may be used to endorse +or promote products derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +junit/junit 4.12 - EPL-1.0 + + + +Eclipse Public License - v 1.0 + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + + 1. DEFINITIONS + + "Contribution" means: + + a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and + + b) in the case of each subsequent Contributor: + + i) changes to the Program, and + + ii) additions to the Program; + + where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. + + "Contributor" means any person or entity that distributes the Program. + + "Licensed Patents" mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. + + "Program" means the Contributions distributed in accordance with this Agreement. + + "Recipient" means anyone who receives the Program under this Agreement, including all Contributors. + + 2. GRANT OF RIGHTS + + a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. + + b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. + + c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. + + d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. + + 3. REQUIREMENTS + + A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: + + a) it complies with the terms and conditions of this Agreement; and + + b) its license agreement: + + i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; + + ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; + + iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and + + iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. + + When the Program is made available in source code form: + + a) it must be made available under this Agreement; and + + b) a copy of this Agreement must be included with each copy of the Program. + + Contributors may not remove or alter any copyright notices contained within the Program. + + Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. + + 4. COMMERCIAL DISTRIBUTION + + Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. + + For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. + + 5. NO WARRANTY + + EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. + + 6. DISCLAIMER OF LIABILITY + + EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + 7. GENERAL + + If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + + If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. + + All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. + + Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. + + This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +nose 1.3.3 - GPL-3.0-or-later + + +Copyright (c) 2008-2010 +COPYRIGHT 2009, Jason Pellerin +copyright u'2009, Jason Pellerin +copyright Jason Pellerin 2005-2009 +copyrighted by the Free Software Foundation +Copyright (c) 1991, 1999 Free Software Foundation, Inc. + +GNU GENERAL PUBLIC LICENSE + +Version 3, 29 June 2007 + +Copyright ยฉ 2007 Free Software Foundation, Inc. + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + +Preamble + +The GNU General Public License is a free, copyleft license for software and other kinds of works. + +The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. + +To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. + +For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. + +Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. + +For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. + +Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. + +Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. + +The precise terms and conditions for copying, distribution and modification follow. + +TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based on the Program. + + To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. + + A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. + + The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. + + The Corresponding Source for a work in source code form is that same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. + + When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". + + c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. + + A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: + + a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. + + d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. + + If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). + + The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or authors of the material; or + + e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. + + All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). + + However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. + + Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. + + If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. + + A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. + + Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. + + + +Copyright (C) + +This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + +If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: + + Copyright (C) + +This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + +This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". + +You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . + +The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +cli-width 2.2.0 - ISC +https://github.com/knownasilya/cli-width + +Copyright (c) 2015, Ilya Radchenko + +Copyright (c) 2015, Ilya Radchenko + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +inherits 2.0.3 - ISC +https://github.com/isaacs/inherits#readme + +Copyright (c) Isaac Z. Schlueter + +The ISC License + +Copyright (c) Isaac Z. Schlueter + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +mute-stream 0.0.7 - ISC +https://github.com/isaacs/mute-stream#readme + +Copyright (c) Isaac Z. Schlueter and Contributors + +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +signal-exit 3.0.2 - ISC +https://github.com/tapjs/signal-exit + +Copyright (c) 2015 + +The ISC License + +Copyright (c) 2015, Contributors + +Permission to use, copy, modify, and/or distribute this software +for any purpose with or without fee is hereby granted, provided +that the above copyright notice and this permission notice +appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE +LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES +OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +paramiko 2.7.1 - LGPL-2.1-or-later + + +(c) 2019 Jeff Forcier. +Copyright (c) 2013-2014 +copyright 2019 Jeff Forcier +(c) 2005, 2014 jQuery Foundation, Inc. +Copyright 2007-2016 by the Sphinx team +copyrighted by the Free Software Foundation +Copyright JS Foundation and other contributors +Copyright (c) 2010 Sofian Brabez +Copyright (c) 2012 Olle Lundberg +Copyright (c) 2012 Yipit, Inc +(c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc. +Copyright jQuery Foundation and other contributors +copyright https://docs.python.org/2.7/copyright.html +Copyright (c) 1991, 1999 Free Software Foundation, Inc. +Copyright (c) 2008 Robey Pointer +Copyright (c) 2013 Torsten Landschoff +Copyright (c) 2003-2007 John Rochester +Copyright (c) 2019 Edgar Sousa +Copyright 2013 jQuery Foundation, Inc. and other contributors +Copyright (c) 2003-2006 Robey Pointer +Copyright (c) 2003-2007 Robey Pointer +Copyright (c) 2003-2008 Robey Pointer +Copyright (c) 2003-2009 Robey Pointer +Copyright (c) 2003-2011 Robey Pointer +Copyright (c) 2005 John Arbash-Meinel +Copyright (c) 2006-2007 Robey Pointer +Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors +Copyright (c) 2013-2019 Jeff Forcier :License LGPL + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + + + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@tsundoku/micromodal_types 0.0.1 - MIT + + +Copyright (c) Microsoft Corporation. + + MIT License + + Copyright (c) Microsoft Corporation. All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@types/chrome 0.0.86 - MIT + + +Copyright (c) Microsoft Corporation. + + MIT License + + Copyright (c) Microsoft Corporation. All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@types/color-convert 1.9.0 - MIT + + +Copyright (c) Microsoft Corporation. + + MIT License + + Copyright (c) Microsoft Corporation. All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@types/color-name 1.1.1 - MIT + + +Copyright (c) Microsoft Corporation. + + MIT License + + Copyright (c) Microsoft Corporation. All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@types/filesystem 0.0.29 - MIT + + +Copyright (c) Microsoft Corporation. + + MIT License + + Copyright (c) Microsoft Corporation. All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@types/filewriter 0.0.28 - MIT + + + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@types/long 4.0.0 - MIT + + +Copyright (c) Microsoft Corporation. + + MIT License + + Copyright (c) Microsoft Corporation. All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@types/mithril 1.1.16 - MIT + + +Copyright (c) Microsoft Corporation. + + MIT License + + Copyright (c) Microsoft Corporation. All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@types/node 10.12.26 - MIT + + +Copyright (c) Microsoft Corporation. + + MIT License + + Copyright (c) Microsoft Corporation. All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@types/node 8.10.17 - MIT + + +Copyright (c) Microsoft Corporation. + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@types/pako 1.0.1 - MIT + + +Copyright (c) Microsoft Corporation. + + MIT License + + Copyright (c) Microsoft Corporation. All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +@types/uuid 3.4.4 - MIT + + +Copyright (c) Microsoft Corporation. + + MIT License + + Copyright (c) Microsoft Corporation. All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +@types/w3c-web-usb 1.0.3 - MIT + + +Copyright (c) Microsoft Corporation. + + MIT License + + Copyright (c) Microsoft Corporation. All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +ansi-escapes 1.4.0 - MIT +https://github.com/sindresorhus/ansi-escapes#readme + +(c) Sindre Sorhus (https://sindresorhus.com) +Copyright (c) Sindre Sorhus (sindresorhus.com) + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +ansi-regex 2.1.1 - MIT +https://github.com/chalk/ansi-regex#readme + +(c) Sindre Sorhus (http://sindresorhus.com) +Copyright (c) Sindre Sorhus (sindresorhus.com) + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +ansi-regex 3.0.0 - MIT +https://github.com/chalk/ansi-regex#readme + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +ansi-styles 2.2.1 - MIT +https://github.com/chalk/ansi-styles#readme + +(c) Sindre Sorhus (http://sindresorhus.com) +Copyright (c) Sindre Sorhus (sindresorhus.com) + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +babel-polyfill 6.23.0 - MIT +https://babeljs.io/ + +Copyright (c) 2014, Facebook, Inc. + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +babel-runtime 6.26.0 - MIT + + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +boto 2.48.0 - MIT + + +Copyright (c) 2010 Yelp +Copyright (c) 2010 Google +(c) Microsoft Corporation. +Copyright 2010 Google Inc. +Copyright 2011 Google Inc. +Copyright 2012 Google Inc. +Copyright 2013 Google Inc. +Copyright (c) 2010-2011 Yelp +Copyright (c) 2010 Spotify AB +Copyright (c) 2011 Jann Kleen +Copyright (c) 2008 rPath, Inc. +Copyright (c) 2010 Robert Mela +Copyright (c) 2011 Brian Beach +Copyright (c) 2013 Franc Carter +Copyright (c) 2013 Google, Inc. +Copyright (c) 2015 Shaun Brady. +Copyright 2007,2011 Google Inc. +Copyright 2012, 2014 Kodi Arfer +Copyright 2014 Amazon.com, Inc. +Copyright 2015 Amazon.com, Inc. +Copyright 2016 Amazon.com, Inc. +Copyright (c) 2010, Google, Inc. +Copyright (c) 2012, Google, Inc. +Copyright (c) 2013, Google, Inc. +Copyright (c) 2006,2007 Chris Moyer +Copyright (c) 2011 Amazon.com, Inc. +Copyright (c) 2012 Amazon.com, Inc. +Copyright (c) 2013 Amazon.com, Inc. +Copyright (c) 2014 Amazon.com, Inc. +Copyright (c) 2015 Amazon.com, Inc. +Copyright (c) 2016 Amazon.com, Inc. +Copyright (c) 2017 Amazon.com, Inc. +Copyright (c) Microsoft Corporation +Copyright 2011, Nexenta Systems Inc. +copyright u'2009,2010, Mitch Garnaat +(c) 2006 Amazon Digital Services, Inc. +Copyright (c) 2011, Nexenta Systems Inc. +Copyright (c) 2014 Tellybug, Matt Millar +Copyright (c) 2010-2015 Benjamin Peterson +Copyright (c) 2011, Nexenta Systems, Inc. +Copyright (c) 2011 Eucalyptus Systems, Inc. +Copyright (c) 2014 42Lines, Inc. Jim Browne +Copyright (c) 2014 Skytap http://skytap.com +Copyright (c) 2009 The Echo Nest Corporation +Copyright (c) 2009, Eucalyptus Systems, Inc. +Copyright (c) 2010, Eucalyptus Systems, Inc. +Copyright (c) 2011, Eucalyptus Systems, Inc. +Copyright (c) 2012 42 Lines Inc., Jim Browne +Copyright (c) 1994-2000 the Initial Developer. +Copyright (c) 2011 Harry Marr http://hmarr.com +Copyright (c) 2010-2011, Eucalyptus Systems, Inc. +Copyright (c) 2009 Mitch Garnaat http://garnaat.org +Copyright (c) 2010 Mitch Garnaat http://garnaat.org +Copyright (c) 2011 Mitch Garnaat http://garnaat.org +Copyright (c) 2012 Mitch Garnaat http://garnaat.org +Copyright (c) 2013 Mitch Garnaat http://garnaat.org +Copyright (c) 2016 Mitch Garnaat http://garnaat.org +Copyright (c) 2008 Chris Moyer http://coredumped.org +Copyright (c) 2009 Chris Moyer http://coredumped.org +Copyright (c) 2009 Reza Lotun http://reza.lotun.name +Copyright (c) 2010 Chris Moyer http://coredumped.org +Copyright (c) 2010 Reza Lotun http://reza.lotun.name +Copyright (c) 2011 Chris Moyer http://coredumped.org +Copyright (c) 2011 Jim Browne http://www.42lines.net +Copyright (c) 2011 Reza Lotun http://reza.lotun.name +Copyright (c) 2014 Netflix, Inc. Stefan Praszalowicz +Copyright (c) 2003-2007 Robey Pointer +Copyright (c) 2008, Chris Moyer http://coredumped.org +Copyright (c) 2012 Miguel Olivares http://moliware.com +Copyright (c) 2013 Anthony Tonns http://www.corsis.com +Copyright (c) 2013 Franc Carter franc.carter@gmail.com +Copyright (c) 2012 Robie Basak +Copyright (c) 2014 Steven Richards +Copyright (c) 2006,2007 Mitch Garnaat http://garnaat.org +Copyright (c) 2006-2008 Mitch Garnaat http://garnaat.org +Copyright (c) 2006-2009 Mitch Garnaat http://garnaat.org +Copyright (c) 2006-2010 Mitch Garnaat http://garnaat.org +Copyright (c) 2006-2011 Mitch Garnaat http://garnaat.org +Copyright (c) 2006-2012 Mitch Garnaat http://garnaat.org +Copyright (c) 2009-2010 Mitch Garnaat http://garnaat.org +Copyright (c) 2009-2012 Mitch Garnaat http://garnaat.org +Copyright (c) 2010 Jason R. Coombs http://www.jaraco.com +Copyright (c) 2010-2011 Mitch Garnaat http://garnaat.org +Copyright (c) 2010-2012 Mitch Garnaat http://garnaat.org +Copyright (c) 2014, Steven Richards +Copyright (c) 2006-2010 Chris Moyer http://coredumped.org +Copyright (c) 2009-2010 Reza Lotun http://reza.lotun.name +Copyright (c) 2009-2011 Reza Lotun http://reza.lotun.name +Copyright (c) 2012 Andy Davidoff http://www.disruptek.com +Copyright (c) 2014 Jumping Qu http://newrice.blogspot.com +Copyright (c) 2010 Jeremy Thurgood +Copyright (c) 2009 Chris Moyer http://kopertop.blogspot.com +Copyright (c) 2012 Thomas Parslow http://almostobsolete.net +Copyright (c) 2010 Hunter Blanks http://artifex.org/~hblanks +Copyright (c) 2011 Joel Barciauskas http://joel.barciausk.as +Copyright (c) 2006,2007,2008 Mitch Garnaat http://garnaat.org +Copyright (c) 2012-2014 Andy Davidoff http://www.disruptek.com +portions copyright Fabian Topfstedt https://gist.github.com/924094 +Copyright (c) 2011 Blue Pines Technologies LLC, Brad Carleton www.bluepines.org +Copyright (c) 2014 Rocket Internet AG. Luca Bruno + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +boto 2.49.0 - MIT + + +(c) 2006 thawte, Inc. +(c) 2007 thawte, Inc. +(c) 2008 thawte, Inc. +(c) 2006 Entrust, Inc. +(c) 2007 GeoTrust Inc. +(c) 2008 GeoTrust Inc. +(c) 1999 VeriSign, Inc. +(c) 2006 VeriSign, Inc. +(c) 2007 VeriSign, Inc. +(c) 2008 VeriSign, Inc. +Copyright (c) 2010 Yelp +Copyright (c) 2010 Google +(c) Microsoft Corporation. +Copyright 2010 Google Inc. +Copyright 2011 Google Inc. +Copyright 2012 Google Inc. +Copyright 2013 Google Inc. +Copyright 2018 Google Inc. +(c) 1999 Entrust.net Limited +(c) 2009 Entrust, Inc. - for +(c) 2012 Entrust, Inc. - for +Copyright (c) 2010-2011 Yelp +Copyright (c) 2010 Spotify AB +Copyright (c) 2011 Jann Kleen +Copyright (c) 2008 rPath, Inc. +Copyright (c) 2010 Robert Mela +Copyright (c) 2011 Brian Beach +Copyright (c) 2013 Franc Carter +Copyright (c) 2013 Google, Inc. +Copyright (c) 2015 Shaun Brady. +Copyright 2007,2011 Google Inc. +Copyright 2012, 2014 Kodi Arfer +Copyright 2014 Amazon.com, Inc. +Copyright 2015 Amazon.com, Inc. +Copyright 2016 Amazon.com, Inc. +Copyright (c) 2010, Google, Inc. +Copyright (c) 2012, Google, Inc. +Copyright (c) 2013, Google, Inc. +Copyright (c) 2005/OISTE Foundation +Copyright (c) 2006,2007 Chris Moyer +Copyright (c) 2011 Amazon.com, Inc. +Copyright (c) 2012 Amazon.com, Inc. +Copyright (c) 2013 Amazon.com, Inc. +Copyright (c) 2014 Amazon.com, Inc. +Copyright (c) 2015 Amazon.com, Inc. +Copyright (c) 2016 Amazon.com, Inc. +Copyright (c) 2017 Amazon.com, Inc. +Copyright (c) Microsoft Corporation +Copyright 2011, Nexenta Systems Inc. +copyright u'2009,2010, Mitch Garnaat +(c) 2006 Amazon Digital Services, Inc. +Copyright (c) 2011, Nexenta Systems Inc. +Copyright (c) 2014 Tellybug, Matt Millar +Copyright (c) 2010-2015 Benjamin Peterson +Copyright (c) 2011, Nexenta Systems, Inc. +Copyright (c) 2011 Eucalyptus Systems, Inc. +Copyright (c) 2014 42Lines, Inc. Jim Browne +Copyright (c) 2014 Skytap http://skytap.com +Copyright (c) 2009 The Echo Nest Corporation +Copyright (c) 2009, Eucalyptus Systems, Inc. +Copyright (c) 2010, Eucalyptus Systems, Inc. +Copyright (c) 2011, Eucalyptus Systems, Inc. +Copyright (c) 2012 42 Lines Inc., Jim Browne +Copyright (c) 1994-2000 the Initial Developer. +Copyright (c) 2011 Harry Marr http://hmarr.com +Copyright (c) 2010-2011, Eucalyptus Systems, Inc. +Copyright (c) 2009 Mitch Garnaat http://garnaat.org +Copyright (c) 2010 Mitch Garnaat http://garnaat.org +Copyright (c) 2011 Mitch Garnaat http://garnaat.org +Copyright (c) 2012 Mitch Garnaat http://garnaat.org +Copyright (c) 2013 Mitch Garnaat http://garnaat.org +Copyright (c) 2016 Mitch Garnaat http://garnaat.org +Copyright (c) 2008 Chris Moyer http://coredumped.org +Copyright (c) 2009 Chris Moyer http://coredumped.org +Copyright (c) 2009 Reza Lotun http://reza.lotun.name +Copyright (c) 2010 Chris Moyer http://coredumped.org +Copyright (c) 2010 Reza Lotun http://reza.lotun.name +Copyright (c) 2011 Chris Moyer http://coredumped.org +Copyright (c) 2011 Jim Browne http://www.42lines.net +Copyright (c) 2011 Reza Lotun http://reza.lotun.name +Copyright (c) 2014 Netflix, Inc. Stefan Praszalowicz +Copyright (c) 2003-2007 Robey Pointer +Copyright (c) 2008, Chris Moyer http://coredumped.org +Copyright (c) 2012 Miguel Olivares http://moliware.com +Copyright (c) 2013 Anthony Tonns http://www.corsis.com +Copyright (c) 2013 Franc Carter franc.carter@gmail.com +(c) 2006 Entrust, Inc. Label Entrust Root Certification +Copyright (c) 2012 Robie Basak +Copyright (c) 2014 Steven Richards +Copyright (c) 2006,2007 Mitch Garnaat http://garnaat.org +Copyright (c) 2006-2008 Mitch Garnaat http://garnaat.org +Copyright (c) 2006-2009 Mitch Garnaat http://garnaat.org +Copyright (c) 2006-2010 Mitch Garnaat http://garnaat.org +Copyright (c) 2006-2011 Mitch Garnaat http://garnaat.org +Copyright (c) 2006-2012 Mitch Garnaat http://garnaat.org +Copyright (c) 2009-2010 Mitch Garnaat http://garnaat.org +Copyright (c) 2009-2012 Mitch Garnaat http://garnaat.org +Copyright (c) 2010 Jason R. Coombs http://www.jaraco.com +Copyright (c) 2010-2011 Mitch Garnaat http://garnaat.org +Copyright (c) 2010-2012 Mitch Garnaat http://garnaat.org +Copyright (c) 2014, Steven Richards +Copyright (c) 2006-2010 Chris Moyer http://coredumped.org +Copyright (c) 2009-2010 Reza Lotun http://reza.lotun.name +Copyright (c) 2009-2011 Reza Lotun http://reza.lotun.name +Copyright (c) 2012 Andy Davidoff http://www.disruptek.com +Copyright (c) 2014 Jumping Qu http://newrice.blogspot.com +Copyright (c) 2010 Jeremy Thurgood +Copyright (c) 2009 Chris Moyer http://kopertop.blogspot.com +Copyright (c) 2012 Thomas Parslow http://almostobsolete.net +Copyright (c) 2010 Hunter Blanks http://artifex.org/~hblanks +Copyright (c) 2011 Joel Barciauskas http://joel.barciausk.as +Copyright (c) 2006,2007,2008 Mitch Garnaat http://garnaat.org +Copyright (c) 2012-2014 Andy Davidoff http://www.disruptek.com +portions copyright Fabian Topfstedt https://gist.github.com/924094 +Copyright (c) 2005/OISTE Foundation Endorsed Label OISTE WISeKey Global Root +Copyright (c) 2011 Blue Pines Technologies LLC, Brad Carleton www.bluepines.org +Copyright (c) 2014 Rocket Internet AG. Luca Bruno +(c) 1999 Entrust.net Limited Label Entrust.net Premium 2048 Secure Server CA Serial + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +cffi 1.14.2 - MIT + + +Copyright (c) 2002 Bo Thorsen +Copyright (c) 2002 Roger Sayle +Copyright (c) 2001 John Beniton +Copyright (c) 1996 Red Hat, Inc. +Copyright (c) 2002 Ranjit Mathew +Copyright (c) 1996-2003 Red Hat, Inc. +Copyright (c) 1996, 1998 Red Hat, Inc. +Copyright (c) 1996, 1998, 1999, 2001 Red Hat, Inc. +Copyright (c) 1996, 1998, 2001, 2002 Red Hat, Inc. +copyright u'2012-2018, Armin Rigo, Maciej Fijalkowski + + +Except when otherwise stated (look for LICENSE files in directories or +information at the beginning of each file) all software and +documentation is licensed as follows: + + The MIT License + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +chalk 1.1.3 - MIT +https://github.com/chalk/chalk#readme + +(c) Sindre Sorhus (http://sindresorhus.com) +Copyright (c) Sindre Sorhus (sindresorhus.com) + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +chardet 0.4.2 - MIT +https://github.com/runk/node-chardet + +Copyright (c) 2017 Dmitry Shirokov + +Copyright (C) 2017 Dmitry Shirokov + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +cli-cursor 2.1.0 - MIT +https://github.com/sindresorhus/cli-cursor#readme + +(c) Sindre Sorhus (https://sindresorhus.com) +Copyright (c) Sindre Sorhus (sindresorhus.com) + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +clipboard 2.0.1 - MIT +https://github.com/zenorocha/clipboard.js#readme + +(c) Zeno Rocha + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +color-convert 2.0.0 - MIT +https://github.com/Qix-/color-convert#readme + +Copyright (c) 2011-2016, Heather Arthur and Josh Junon. +Copyright (c) 2011-2016 Heather Arthur + +Copyright (c) 2011-2016 Heather Arthur + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +color-name 1.1.4 - MIT +https://github.com/colorjs/color-name + +Copyright (c) 2015 Dmitry Ivanov + +The MIT License (MIT) +Copyright (c) 2015 Dmitry Ivanov + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +configparser 5.0.0 - MIT + + +Copyright Jason R. Coombs + +Copyright Jason R. Coombs + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +core-js 2.5.7 - MIT +https://github.com/zloirock/core-js#readme + +(c) 2018 Denis Pushkarev +copyright (c) 2018 Denis Pushkarev +Copyright (c) 2014-2018 Denis Pushkarev + +Copyright (c) 2014-2018 Denis Pushkarev + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +crcmod 1.7 - MIT + + +Copyright (c) 2010 Craig McQueen +copyright u'2010, Raymond L Buvel +Copyright (c) 2004 Raymond L. Buvel +Copyright (c) 2009 Raymond L. Buvel +Copyright (c) 2010 Raymond L. Buvel +(c) Copyright 2010, Raymond L Buvel. +Copyright (c) 2008 John Resig (jquery.com) + +---------------------------------------------------------------------------- +Copyright (c) 2010 Raymond L. Buvel +Copyright (c) 2010 Craig McQueen + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +---------------------------------------------------------------------------- + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +define-properties 1.1.3 - MIT +https://github.com/ljharb/define-properties#readme + +Copyright (c) 2015 Jordan Harband + +The MIT License (MIT) + +Copyright (C) 2015 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +delegate 3.2.0 - MIT +https://github.com/zenorocha/delegate#readme + +(c) Zeno Rocha + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +docsify 4.7.1 - MIT +https://docsify.js.org/ + +Copyright (c) 2016 +Copyright (c) 2011 Diogo Costa (costa.h4evr@gmail.com) +Copyright 2018 Francois Chalifour https://github.com/francoischalifour/medium-zoom +Copyright (c) 2011-2014, Christopher Jeffrey. (MIT Licensed) https://github.com/chjj/marked + +MIT License + +Copyright (c) 2016 - present cinwell.li + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +docsify-copy-code 2.0.2 - MIT +https://github.com/jperasmus/docsify-copy-code + +Copyright (c) 2017 JP Erasmus +(c) 2018 JP Erasmus + +MIT License + +Copyright (c) 2017 JP Erasmus + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + + +docsify-themeable 0.4.0 - MIT +https://jhildenbiddle.github.io/docsify-themeable/ + +(c) 2018 John Hildenbiddle +Copyright (c) 2018 John Hildenbiddle +(c) 2018 John Hildenbiddle +Copyright (c) 2018 John Hildenbiddle ( jhildenbiddle (https://twitter.com/jhildenbiddle)) + +MIT License + +Copyright (c) 2018 John Hildenbiddle + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +encoding 0.1.12 - MIT +https://github.com/andris9/encoding#readme + +Copyright (c) 2012-2014 Andris Reinman + +Copyright (c) 2012-2014 Andris Reinman + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +es-abstract 1.13.0 - MIT +https://github.com/ljharb/es-abstract#readme + +Copyright (c) 2015 Jordan Harband + +The MIT License (MIT) + +Copyright (C) 2015 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +escape-string-regexp 1.0.5 - MIT +https://github.com/sindresorhus/escape-string-regexp + +(c) Sindre Sorhus (http://sindresorhus.com) +Copyright (c) Sindre Sorhus (sindresorhus.com) + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +es-to-primitive 1.2.0 - MIT +https://github.com/ljharb/es-to-primitive#readme + +Copyright (c) 2015 Jordan Harband + +The MIT License (MIT) + +Copyright (c) 2015 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +events 3.0.0 - MIT +https://github.com/Gozala/events#readme + +Copyright Joyent, Inc. and other Node contributors. + +MIT + +Copyright Joyent, Inc. and other Node contributors. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to permit +persons to whom the Software is furnished to do so, subject to the +following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +USE OR OTHER DEALINGS IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +external-editor 2.2.0 - MIT +https://github.com/mrkmg/node-external-editor#readme + +Copyright (c) 2016 Kevin Gravier + +The MIT License (MIT) + +Copyright (c) 2016 Kevin Gravier + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +figures 2.0.0 - MIT +https://github.com/sindresorhus/figures#readme + +(c) Sindre Sorhus (https://sindresorhus.com) +Copyright (c) Sindre Sorhus (sindresorhus.com) + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +function-bind 1.1.1 - MIT +https://github.com/Raynos/function-bind + +Copyright (c) 2013 Raynos. + +Copyright (c) 2013 Raynos. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +good-listener 1.2.2 - MIT +https://github.com/zenorocha/good-listener#readme + +(c) Zeno Rocha + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +has 1.0.3 - MIT +https://github.com/tarruda/has + +Copyright (c) 2013 Thiago de Arruda + +Copyright (c) 2013 Thiago de Arruda + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +has-ansi 2.0.0 - MIT +https://github.com/sindresorhus/has-ansi + +(c) Sindre Sorhus (http://sindresorhus.com) +Copyright (c) Sindre Sorhus (sindresorhus.com) + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +has-symbols 1.0.0 - MIT +https://github.com/ljharb/has-symbols#readme + +Copyright (c) 2016 Jordan Harband + +MIT License + +Copyright (c) 2016 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +httplib2 0.18.1 - MIT + + +(c) 2006 thawte, Inc. +(c) 2007 thawte, Inc. +(c) 2008 thawte, Inc. +(c) 2006 Entrust, Inc. +(c) 2007 GeoTrust Inc. +(c) 2008 GeoTrust Inc. +(c) 1998 VeriSign, Inc. +(c) 1999 VeriSign, Inc. +(c) 2006 VeriSign, Inc. +(c) 2007 VeriSign, Inc. +(c) 2008 VeriSign, Inc. +Copyright 2006 Dan-Haim. +Copyright 2007 Google Inc. +(c) 1999 Entrust.net Limited +Copyright (c) 2006 by Joe Gregorio +Copyright 2006, Joe Gregorio contributors +Copyright (c) 1994-2000 the Initial Developer. +Copyright 2006, Joe Gregorio contributors Mark Pilgrim +(c) 2006 Entrust, Inc. Label Entrust Root Certification +Copyright 2006, Joe Gregorio contributors Thomas Broyer +(c) 1999 Entrust.net Limited Label Entrust.net Secure Server CA Serial +(c) 1999 Entrust.net Limited Label Entrust.net Premium 2048 Secure Server CA Serial + +Httplib2 Software License + +Copyright (c) 2006 by Joe Gregorio + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of the Software, +and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +httpretty 0.8.6 - MIT + + +Copyright (c) <2011> Gabriel Falcao +Copyright (c) <2011-2013> Gabriel Falcao + +Copyright (C) <2011-2013> Gabriel Falcรฃo + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +iconv-lite 0.4.24 - MIT +https://github.com/ashtuchkin/iconv-lite + +Copyright (c) Microsoft Corporation. +Copyright (c) 2011 Alexander Shtuchkin + +Copyright (c) 2011 Alexander Shtuchkin + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +immer 1.12.1 - MIT +https://github.com/mweststrate/immer#readme + +Copyright (c) 2017 Michel Weststrate + +MIT License + +Copyright (c) 2017 Michel Weststrate + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +inquirer 3.0.6 - MIT +https://github.com/sboudrias/Inquirer.js#readme + +Copyright (c) 2016 Simon Boudrias (twitter vaxilart (https://twitter.com/Vaxilart)) + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +is-arguments 1.0.4 - MIT +https://github.com/ljharb/is-arguments + +Copyright (c) 2014 Jordan Harband + +The MIT License (MIT) + +Copyright (c) 2014 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +is-callable 1.1.4 - MIT +https://github.com/ljharb/is-callable#readme + +Copyright (c) 2015 Jordan Harband + +The MIT License (MIT) + +Copyright (c) 2015 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +is-date-object 1.0.1 - MIT +https://github.com/ljharb/is-date-object#readme + +Copyright (c) 2015 Jordan Harband + +The MIT License (MIT) + +Copyright (c) 2015 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +is-fullwidth-code-point 2.0.0 - MIT +https://github.com/sindresorhus/is-fullwidth-code-point#readme + +(c) Sindre Sorhus (https://sindresorhus.com) +Copyright (c) Sindre Sorhus (sindresorhus.com) + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +is-generator-function 1.0.7 - MIT +https://github.com/ljharb/is-generator-function#readme + +Copyright (c) 2014 Jordan Harband + +The MIT License (MIT) + +Copyright (c) 2014 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +is-promise 2.1.0 - MIT +https://github.com/then/is-promise + +Copyright (c) 2014 Forbes Lindesay + +Copyright (c) 2014 Forbes Lindesay + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +is-regex 1.0.4 - MIT +https://github.com/ljharb/is-regex + +Copyright (c) 2014 Jordan Harband + +The MIT License (MIT) + +Copyright (c) 2014 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +is-stream 1.1.0 - MIT +https://github.com/sindresorhus/is-stream#readme + +(c) Sindre Sorhus (https://sindresorhus.com) +Copyright (c) Sindre Sorhus (sindresorhus.com) + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +is-symbol 1.0.2 - MIT +https://github.com/ljharb/is-symbol#readme + +Copyright (c) 2015 Jordan Harband + +The MIT License (MIT) + +Copyright (c) 2015 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +jeepney 0.4.3 - MIT + + +copyright 2017, Thomas Kluyver +Copyright (c) 2017 Thomas Kluyver + +The MIT License (MIT) + +Copyright (c) 2017 Thomas Kluyver + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +keyring 21.3.0 - MIT + + +Copyright Jason R. Coombs + +Copyright Jason R. Coombs + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +lodash 4.17.15 - MIT +https://lodash.com/ + +Copyright OpenJS Foundation and other contributors +Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors +copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + +Copyright OpenJS Foundation and other contributors + +Based on Underscore.js, copyright Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/lodash/lodash + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code displayed within the prose of the +documentation. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +Files located in the node_modules and vendor directories are externally +maintained libraries used by this software which have their own +licenses; we recommend you read them, as their terms may differ from the +terms above. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +marked 0.3.19 - MIT +https://marked.js.org/ + +Copyright (c) 2011-2013, Christopher Jeffrey +Copyright (c) 2011-2014, Christopher Jeffrey +Copyright (c) 2011-2018, Christopher Jeffrey. +Copyright (c) 2004, John Gruber http://daringfireball.net +Copyright (c) 2011-2018, Christopher Jeffrey (https://github.com/chjj/) +Copyright (c) 2011-2014, Christopher Jeffrey. (MIT Licensed) https://github.com/markedjs/marked + +# License information + +## Contribution License Agreement + +If you contribute code to this project, you are implicitly allowing your code +to be distributed under the MIT license. You are also implicitly verifying that +all code is your original work. `` + +## Marked + +Copyright (c) 2011-2018, Christopher Jeffrey (https://github.com/chjj/) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +## Markdown + +Copyright ยฉ 2004, John Gruber +http://daringfireball.net/ +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. +* Neither the name โ€œMarkdownโ€ nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +This software is provided by the copyright holders and contributors โ€œas isโ€ and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +medium-zoom 0.4.0 - MIT +https://github.com/francoischalifour/medium-zoom#readme + +Copyright (c) 2017 Francois Chalifour +(c) Francois Chalifour (https://francoischalifour.com) +Copyright 2018 Francois Chalifour https://github.com/francoischalifour/medium-zoom + +The MIT License (MIT) + +Copyright (c) 2017 Franรงois Chalifour + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +micromodal 0.4.0 - MIT +https://github.com/ghosh/micromodal#readme + +Copyright (c) 2017 Indrashish Ghosh + +MIT License + +Copyright (c) 2017 Indrashish Ghosh + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +mimic-fn 1.2.0 - MIT +https://github.com/sindresorhus/mimic-fn#readme + +(c) Sindre Sorhus (https://sindresorhus.com) +Copyright (c) Sindre Sorhus (sindresorhus.com) + +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +minimist 1.2.0 - MIT +https://github.com/substack/minimist + + +This software is released under the MIT license: + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +mithril 1.1.7 - MIT +https://github.com/MithrilJS/mithril.js#readme + +(c) Leo Horie. +Copyright (c) 2017 Leo Horie +Copyright (c) 2017 Jason Miller + +The MIT License (MIT) + +Copyright (c) 2017 Leo Horie + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +The MIT License (MIT) + +Copyright (c) 2017 Leo Horie + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +The MIT License (MIT) + +Copyright (c) 2017 Leo Horie + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +node-fetch 1.6.3 - MIT +https://github.com/bitinn/node-fetch + +Copyright (c) 2016 David Frank + +The MIT License (MIT) + +Copyright (c) 2016 David Frank + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +noice-json-rpc 1.2.0 - MIT +https://github.com/nojvek/noice-json-rpc#readme + +Copyright (c) Manoj Patel + +Copyright (c) Manoj Patel + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, +modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT +OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +object.entries 1.1.0 - MIT +https://github.com/es-shims/Object.entries#readme + +Copyright (c) 2015 Jordan Harband + +The MIT License (MIT) + +Copyright (c) 2015 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +object-assign 4.1.1 - MIT +https://github.com/sindresorhus/object-assign#readme + +(c) Sindre Sorhus +(c) Sindre Sorhus (https://sindresorhus.com) +Copyright (c) Sindre Sorhus (sindresorhus.com) + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +object-keys 1.1.0 - MIT +https://github.com/ljharb/object-keys#readme + +Copyright (c) 2013 Jordan Harband + +The MIT License (MIT) + +Copyright (C) 2013 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +onetime 2.0.1 - MIT +https://github.com/sindresorhus/onetime#readme + +(c) Sindre Sorhus (https://sindresorhus.com) +Copyright (c) Sindre Sorhus (sindresorhus.com) + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +opencollective 1.0.3 - MIT +https://github.com/opencollective/opencollective-cli#readme + +Copyright (c) 2017 Open Collective + +MIT License + +Copyright (c) 2017 Open Collective + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +opn 4.0.2 - MIT +https://github.com/sindresorhus/opn#readme + +(c) Sindre Sorhus (http://sindresorhus.com) +Copyright (c) Sindre Sorhus +Copyright 2006, Kevin Krammer +Copyright 2006, Jeremy White +Copyright 2009-2010, Fathi Boudra +Copyright 2009-2010, Rex Dieter + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +ordereddict 1.1 - MIT + + +Copyright (c) 2009 Raymond Hettinger + +Copyright (c) 2009 Raymond Hettinger + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation files +(the "Software"), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of the Software, +and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +org.easymock/easymock 2.2 - MIT + + + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +org.easymock/easymockclassextension 2.2.1 - MIT + + + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +os-tmpdir 1.0.2 - MIT +https://github.com/sindresorhus/os-tmpdir#readme + +(c) Sindre Sorhus (https://sindresorhus.com) +Copyright (c) Sindre Sorhus (sindresorhus.com) + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +pathlib2 2.3.5 - MIT + + +Copyright (c) 2014-2017 Matthias C. M. Troffaes +Copyright (c) 2012-2014 Antoine Pitrou and contributors + +The MIT License (MIT) + +Copyright (c) 2014-2017 Matthias C. M. Troffaes +Copyright (c) 2012-2014 Antoine Pitrou and contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +pinkie 2.0.4 - MIT + + +(c) Vsevolod Strukchinsky (http://github.com/floatdrop) +Copyright (c) Vsevolod Strukchinsky + +The MIT License (MIT) + +Copyright (c) Vsevolod Strukchinsky (github.com/floatdrop) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +pinkie-promise 2.0.1 - MIT +https://github.com/floatdrop/pinkie-promise + +(c) Vsevolod Strukchinsky (http://github.com/floatdrop) +Copyright (c) Vsevolod Strukchinsky + +The MIT License (MIT) + +Copyright (c) Vsevolod Strukchinsky (github.com/floatdrop) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +prismjs 1.15.0 - MIT +https://github.com/LeaVerou/prism#readme + +Copyright (c) 2012 Lea Verou +copyright year 69cbf7a (https://github.com/PrismJS/prism/commit/69cbf7a) + +MIT LICENSE + +Copyright (c) 2012 Lea Verou + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +PyYAML 3.11 - MIT + + +Copyright (c) 2006 Kirill Simonov + +Copyright (c) 2006 Kirill Simonov + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +PyYAML 5.3.1 - MIT + + +Copyright (c) 2006-2016 Kirill Simonov + +Copyright (c) 2017-2020 Ingy dรถt Net +Copyright (c) 2006-2016 Kirill Simonov + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +regenerator-runtime 0.11.1 - MIT + + +Copyright (c) 2014-present, Facebook, Inc. + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +regenerator-runtime 0.10.5 - MIT + + +Copyright (c) 2014, Facebook, Inc. + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +restore-cursor 2.0.0 - MIT +https://github.com/sindresorhus/restore-cursor#readme + +(c) Sindre Sorhus (https://sindresorhus.com) +Copyright (c) Sindre Sorhus (sindresorhus.com) + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +run-async 2.3.0 - MIT +https://github.com/sboudrias/run-async#readme + +Copyright (c) 2014 Simon Boudrias + +The MIT License (MIT) + +Copyright (c) 2014 Simon Boudrias + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +safe-buffer 5.1.2 - MIT +https://github.com/feross/safe-buffer + +Copyright (c) Feross Aboukhadijeh +Copyright (c) Feross Aboukhadijeh (http://feross.org) + +The MIT License (MIT) + +Copyright (c) Feross Aboukhadijeh + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +safer-buffer 2.1.2 - MIT +https://github.com/ChALkeR/safer-buffer#readme + +Copyright (c) 2018 Nikita Skovoroda + +MIT License + +Copyright (c) 2018 Nikita Skovoroda + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +select 1.1.2 - MIT +https://github.com/zenorocha/select#readme + +(c) Zeno Rocha + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +six 1.15.0 - MIT + + + +Copyright (c) 2010-2020 Benjamin Peterson + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +string-width 2.1.1 - MIT +https://github.com/sindresorhus/string-width#readme + +(c) Sindre Sorhus (https://sindresorhus.com) +Copyright (c) Sindre Sorhus (sindresorhus.com) + +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +strip-ansi 3.0.1 - MIT +https://github.com/chalk/strip-ansi + +(c) Sindre Sorhus (http://sindresorhus.com) +Copyright (c) Sindre Sorhus (sindresorhus.com) + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +strip-ansi 4.0.0 - MIT +https://github.com/chalk/strip-ansi#readme + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +supports-color 2.0.0 - MIT +https://github.com/chalk/supports-color + +(c) Sindre Sorhus (http://sindresorhus.com) +Copyright (c) Sindre Sorhus (sindresorhus.com) + +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +through 2.3.8 - MIT +https://github.com/dominictarr/through + +Copyright (c) 2011 Dominic Tarr + +The MIT License + +Copyright (c) 2011 Dominic Tarr + +Permission is hereby granted, free of charge, +to any person obtaining a copy of this software and +associated documentation files (the "Software"), to +deal in the Software without restriction, including +without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom +the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +tinydate 1.0.0 - MIT +https://github.com/lukeed/tinydate#readme + +(c) Luke Edwards (https://lukeed.com) +Copyright (c) Luke Edwards (lukeed.com) + +The MIT License (MIT) + +Copyright (c) Luke Edwards (lukeed.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +tiny-emitter 2.0.2 - MIT +https://github.com/scottcorgan/tiny-emitter#readme + +Copyright (c) 2017 Scott Corgan + +The MIT License (MIT) + +Copyright (c) 2017 Scott Corgan + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +tmp 0.0.33 - MIT +http://github.com/raszi/node-tmp + +Copyright (c) 2014 KARASZI Istvan +Copyright (c) 2011-2017 KARASZI Istvan + +The MIT License (MIT) + +Copyright (c) 2014 KARASZI Istvรกn + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +tweezer.js 1.4.0 - MIT +https://github.com/jaxgeller/tweezer.js#readme + +(c) 2017 Jackson Geller +Copyright (c) 2017 Jackson Geller + +The MIT License (MIT) + +Copyright (c) 2017 Jackson Geller + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the Software), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +util 0.12.1 - MIT +https://github.com/browserify/node-util + +Copyright Joyent, Inc. and other Node contributors. + +Copyright Joyent, Inc. and other Node contributors. All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +uuid 3.3.2 - MIT +https://github.com/kelektiv/node-uuid#readme + +Copyright 2011, Sebastian Tschan https://blueimp.net +Copyright (c) 2010-2016 Robert Kieffer and other contributors +Copyright (c) Paul Johnston 1999 - 2009 Other contributors Greg Holt, Andrew Kepert, Ydnar, Lostinet + +The MIT License (MIT) + +Copyright (c) 2010-2016 Robert Kieffer and other contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +WebOb 1.8.6 - MIT + + +(c) 2005 Ian Bicking and contributors +Copyright (c) 2007 Ian Bicking and Contributors +copyright u'2018, Ian Bicking, Pylons Project and contributors + +License +======= + +Copyright (c) 2007 Ian Bicking and Contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +zipp 3.1.0 - MIT + + +Copyright Jason R. Coombs + +Copyright Jason R. Coombs + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +pako 1.0.10 - MIT AND Zlib +https://github.com/nodeca/pako + +(c) 1995-2013 Jean-loup Gailly and Mark Adler +(c) 2014-2017 Vitaly Puzrin and Andrey Tupitsin +Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler +Copyright (c) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn + +(The MIT License) + +Copyright (C) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +contextlib2 0.6.0.post1 - Python-2.0 + + +copyright u'2011, Nick Coghlan +Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Python Software Foundation + + + +A. HISTORY OF THE SOFTWARE +========================== + +contextlib2 is a derivative of the contextlib module distributed by the PSF +as part of the Python standard library. According, it is itself redistributed +under the PSF license (reproduced in full below). As the contextlib module +was added only in Python 2.5, the licenses for earlier Python versions are +not applicable and have not been included. + +Python was created in the early 1990s by Guido van Rossum at Stichting +Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands +as a successor of a language called ABC. Guido remains Python's +principal author, although it includes many contributions from others. + +In 1995, Guido continued his work on Python at the Corporation for +National Research Initiatives (CNRI, see http://www.cnri.reston.va.us) +in Reston, Virginia where he released several versions of the +software. + +In May 2000, Guido and the Python core development team moved to +BeOpen.com to form the BeOpen PythonLabs team. In October of the same +year, the PythonLabs team moved to Digital Creations (now Zope +Corporation, see http://www.zope.com). In 2001, the Python Software +Foundation (PSF, see http://www.python.org/psf/) was formed, a +non-profit organization created specifically to own Python-related +Intellectual Property. Zope Corporation is a sponsoring member of +the PSF. + +All Python releases are Open Source (see http://www.opensource.org for +the Open Source Definition). Historically, most, but not all, Python +releases have also been GPL-compatible; the table below summarizes +the various releases that included the contextlib module. + + Release Derived Year Owner GPL- + from compatible? (1) + + 2.5 2.4 2006 PSF yes + 2.5.1 2.5 2007 PSF yes + 2.5.2 2.5.1 2008 PSF yes + 2.5.3 2.5.2 2008 PSF yes + 2.6 2.5 2008 PSF yes + 2.6.1 2.6 2008 PSF yes + 2.6.2 2.6.1 2009 PSF yes + 2.6.3 2.6.2 2009 PSF yes + 2.6.4 2.6.3 2009 PSF yes + 2.6.5 2.6.4 2010 PSF yes + 3.0 2.6 2008 PSF yes + 3.0.1 3.0 2009 PSF yes + 3.1 3.0.1 2009 PSF yes + 3.1.1 3.1 2009 PSF yes + 3.1.2 3.1.1 2010 PSF yes + 3.1.3 3.1.2 2010 PSF yes + 3.1.4 3.1.3 2011 PSF yes + 3.2 3.1 2011 PSF yes + 3.2.1 3.2 2011 PSF yes + 3.2.2 3.2.1 2011 PSF yes + 3.3 3.2 2012 PSF yes + +Footnotes: + +(1) GPL-compatible doesn't mean that we're distributing Python under + the GPL. All Python licenses, unlike the GPL, let you distribute + a modified version without making your changes open source. The + GPL-compatible licenses make it possible to combine Python with + other software that is released under the GPL; the others don't. + +Thanks to the many outside volunteers who have worked under Guido's +direction to make these releases possible. + + +B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON +=============================================================== + +PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 +-------------------------------------------- + +1. This LICENSE AGREEMENT is between the Python Software Foundation +("PSF"), and the Individual or Organization ("Licensee") accessing and +otherwise using this software ("Python") in source or binary form and +its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, PSF hereby +grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, +analyze, test, perform and/or display publicly, prepare derivative works, +distribute, and otherwise use Python alone or in any derivative version, +provided, however, that PSF's License Agreement and PSF's notice of copyright, +i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +2011 Python Software Foundation; All Rights Reserved" are retained in Python +alone or in any derivative version prepared by Licensee. + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python. + +4. PSF is making Python available to Licensee on an "AS IS" +basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between PSF and +Licensee. This License Agreement does not grant permission to use PSF +trademarks or trade name in a trademark sense to endorse or promote +products or services of Licensee, or any third party. + +8. By copying, installing or otherwise using Python, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +------------End of License-------------------------------------------- + +------------License Starts Here--------------------------------------- + +ipaddress 1.0.23 - Python-2.0 + + +Copyright 2007 Google Inc. +Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Python Software Foundation + +PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 + + 1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and the Individual or Organization ("Licensee") accessing and otherwise using this software ("Python") in source or binary form and its associated documentation. + + 2. Subject to the terms and conditions of this License Agreement, PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python alone or in any derivative version, provided, however, that PSF's License Agreement and PSF's notice of copyright, i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights Reserved" are retained in Python alone or in any derivative version prepared by Licensee. + + 3. In the event Licensee prepares a derivative work that is based on or incorporates Python or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to Python. + + 4. PSF is making Python available to Licensee on an "AS IS" basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + + 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + + 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. + + 7. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between PSF and Licensee. This License Agreement does not grant permission to use PSF trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. + + 8. By copying, installing or otherwise using Python, Licensee agrees to be bound by the terms and conditions of this License Agreement. BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 + +BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 + + 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the Individual or Organization ("Licensee") accessing and otherwise using this software in source or binary form and its associated documentation ("the Software"). + + 2. Subject to the terms and conditions of this BeOpen Python License Agreement, BeOpen hereby grants Licensee a non-exclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use the Software alone or in any derivative version, provided, however, that the BeOpen Python License is retained in the Software, alone or in any derivative version prepared by Licensee. + + 3. BeOpen is making the Software available to Licensee on an "AS IS" basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + + 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + + 5. This License Agreement will automatically terminate upon a material breach of its terms and conditions. + + 6. This License Agreement shall be governed by and interpreted in all respects by the law of the State of California, excluding conflict of law provisions. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between BeOpen and Licensee. This License Agreement does not grant permission to use BeOpen trademarks or trade names in a trademark sense to endorse or promote products or services of Licensee, or any third party. As an exception, the "BeOpen Python" logos available at http://www.pythonlabs.com/logos.html may be used according to the permissions granted on that web page. + + 7. By copying, installing or otherwise using the software, Licensee agrees to be bound by the terms and conditions of this License Agreement. CNRI OPEN SOURCE LICENSE AGREEMENT (for Python 1.6b1) IMPORTANT: PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY. + +BY CLICKING ON "ACCEPT" WHERE INDICATED BELOW, OR BY COPYING, INSTALLING OR OTHERWISE USING PYTHON 1.6, beta 1 SOFTWARE, YOU ARE DEEMED TO HAVE AGREED TO THE TERMS AND CONDITIONS OF THIS LICENSE AGREEMENT. + + 1. This LICENSE AGREEMENT is between the Corporation for National Research Initiatives, having an office at 1895 Preston White Drive, Reston, VA 20191 ("CNRI"), and the Individual or Organization ("Licensee") accessing and otherwise using Python 1.6, beta 1 software in source or binary form and its associated documentation, as released at the www.python.org Internet site on August 4, 2000 ("Python 1.6b1"). + + 2. Subject to the terms and conditions of this License Agreement, CNRI hereby grants Licensee a non-exclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python 1.6b1 alone or in any derivative version, provided, however, that CNRIs License Agreement is retained in Python 1.6b1, alone or in any derivative version prepared by Licensee. + + Alternately, in lieu of CNRIs License Agreement, Licensee may substitute the following text (omitting the quotes): "Python 1.6, beta 1, is made available subject to the terms and conditions in CNRIs License Agreement. This Agreement may be located on the Internet using the following unique, persistent identifier (known as a handle): 1895.22/1011. This Agreement may also be obtained from a proxy server on the Internet using the URL:http://hdl.handle.net/1895.22/1011". + + 3. In the event Licensee prepares a derivative work that is based on or incorporates Python 1.6b1 or any part thereof, and wants to make the derivative work available to the public as provided herein, then Licensee hereby agrees to indicate in any such work the nature of the modifications made to Python 1.6b1. + + 4. CNRI is making Python 1.6b1 available to Licensee on an "AS IS" basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6b1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + + 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF USING, MODIFYING OR DISTRIBUTING PYTHON 1.6b1, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + + 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. + + 7. This License Agreement shall be governed by and interpreted in all respects by the law of the State of Virginia, excluding conflict of law provisions. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between CNRI and Licensee. This License Agreement does not grant permission to use CNRI trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. + + 8. By clicking on the "ACCEPT" button where indicated, or by copying, installing or otherwise using Python 1.6b1, Licensee agrees to be bound by the terms and conditions of this License Agreement. ACCEPT CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 + +Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, The Netherlands. All rights reserved. + +Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Stichting Mathematisch Centrum or CWI not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. + +STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +------------End of License-------------------------------------------- + + +------------License Starts Here------------------------------------------- + +pgaudit + +This code is released under the PostgreSQL licence, as given at +http://www.postgresql.org/about/licence/ + +Copyright is novated to the PostgreSQL Global Development Group. + +------------End of License--------------------------------------------------- + +------------License Starts Here------------------------------------------- + +pg_partman + +LICENSE AND COPYRIGHT +--------------------- + +PG Partition Manager (pg_partman) is released under the PostgreSQL License, a liberal Open Source license, similar to the BSD or MIT licenses. + +Copyright (c) 2017 OmniTI, Inc. +Copyright (c) 2018-2021 Crunchy Data Solutions, Inc. + +Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies. + +IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE AUTHOR HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + +------------End of License--------------------------------------------------- + +------------License Starts Here--------------------------------------- + +postgresql-citus-enterprise-9.4 + + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. + +------------End of License-------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mssql-cli + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +* Neither the name of the {organization} nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pgcli + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +* Neither the name of the {organization} nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Project Jupyter + +# Licensing terms + +This project is licensed under the terms of the Modified BSD License +(also known as New or Revised or 3-Clause BSD), as follows: + +- Copyright (c) 2020-, Jupyter Development Team + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +Neither the name of the Jupyter Development Team nor the names of its +contributors may be used to endorse or promote products derived from this +software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +simplejson + +MIT License +=========== + +Copyright (c) 2006 Bob Ippolito + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +humanfriendly + +Copyright (c) 2020 Peter Odding + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jsonpatch + +Copyright (c) 2011 Stefan Kögl +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +kubernetes + + Copyright 2014 The Kubernetes Authors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +msal + +The MIT License (MIT) + +Copyright (c) Microsoft Corporation. +All rights reserved. + +This code is licensed under the MIT License. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files(the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pydash + +License +======= + +The MIT License (MIT) + +Copyright (c) 2014 Derrick Gilland + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +prompt-toolkit + +Copyright (c) 2014, Jonathan Slenders +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +* Neither the name of the {organization} nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +adal + +The MIT License (MIT) + +Copyright (c) Microsoft Corporation. +All rights reserved. + +This code is licensed under the MIT License. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files(the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +urllib-kerberos + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +tqdm + +`tqdm` is a product of collaborative work. +Unless otherwise stated, all authors (see commit logs) retain copyright +for their respective work, and release the work under the MIT licence +(text below). + +Exceptions or notable authors are listed below +in reverse chronological order: + +* files: * + MPLv2.0 2015-2020 (c) Casper da Costa-Luis + [casperdcl](https://github.com/casperdcl). +* files: tqdm/_tqdm.py + MIT 2016 (c) [PR #96] on behalf of Google Inc. +* files: tqdm/_tqdm.py setup.py README.rst MANIFEST.in .gitignore + MIT 2013 (c) Noam Yorav-Raphael, original author. + +[PR #96]: https://github.com/tqdm/tqdm/pull/96 + + +Mozilla Public Licence (MPL) v. 2.0 - Exhibit A +----------------------------------------------- + +This Source Code Form is subject to the terms of the +Mozilla Public License, v. 2.0. +If a copy of the MPL was not distributed with this file, +You can obtain one at https://mozilla.org/MPL/2.0/. + + +MIT License (MIT) +----------------- + +Copyright (c) 2013 noamraph + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +ipykernel + +# Licensing terms + +This project is licensed under the terms of the Modified BSD License +(also known as New or Revised or 3-Clause BSD), as follows: + +- Copyright (c) 2015, IPython Development Team + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +Neither the name of the IPython Development Team nor the names of its +contributors may be used to endorse or promote products derived from this +software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pygments + +Copyright (c) 2006-2020 by the respective authors (see AUTHORS file). +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +colorama + +Copyright (c) 2010 Jonathan Hartley +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holders, nor those of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mdv + +BSD License + +For Axiros Software + +Copyright (c) 2002-2015, Axiros GmbH +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name Axiros nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +requests + + Copyright 2019 Kenneth Reitz + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +requests-kerberos + +ISC License + +Copyright (c) 2012 Kenneth Reitz + +Permission to use, copy, modify and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS-IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pyodbc + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS +OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +adal 1.2.4 - MIT + + +The MIT License (MIT) + +Copyright (c) Microsoft Corporation. +All rights reserved. + +This code is licensed under the MIT License. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files(the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +alabaster 0.7.12 - BSD-3-Clause + +Copyright (c) 2018 Jeff Forcier. + +Based on original work copyright (c) 2011 Kenneth Reitz and copyright (c) 2010 +Armin Ronacher. + +Some rights reserved. + +Redistribution and use in source and binary forms of the theme, with or +without modification, are permitted provided that the following conditions +are met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + +* The names of the contributors may not be used to endorse or + promote products derived from this software without specific + prior written permission. + +THIS THEME IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS THEME, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + + +arrow-cpp 0.13.0 - Apache 2.0 + + +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +-------------------------------------------------------------------------------- + +src/plasma/fling.cc and src/plasma/fling.h: Apache 2.0 + +Copyright 2013 Sharvil Nanavati + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +-------------------------------------------------------------------------------- + +src/plasma/thirdparty/ae: Modified / 3-Clause BSD + +Copyright (c) 2006-2010, Salvatore Sanfilippo +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Redis nor the names of its contributors may be used + to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------------------- + +src/plasma/thirdparty/dlmalloc.c: CC0 + +This is a version (aka dlmalloc) of malloc/free/realloc written by +Doug Lea and released to the public domain, as explained at +http://creativecommons.org/publicdomain/zero/1.0/ Send questions, +comments, complaints, performance data, etc to dl@cs.oswego.edu + +-------------------------------------------------------------------------------- + +src/plasma/common.cc (some portions) + +Copyright (c) Austin Appleby (aappleby (AT) gmail) + +Some portions of this file are derived from code in the MurmurHash project + +All code is released to the public domain. For business purposes, Murmurhash is +under the MIT license. + +https://sites.google.com/site/murmurhash/ + +-------------------------------------------------------------------------------- + +src/arrow/util (some portions): Apache 2.0, and 3-clause BSD + +Some portions of this module are derived from code in the Chromium project, +copyright (c) Google inc and (c) The Chromium Authors and licensed under the +Apache 2.0 License or the under the 3-clause BSD license: + + Copyright (c) 2013 The Chromium Authors. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------------------- + +This project includes code from Daniel Lemire's FrameOfReference project. + +https://github.com/lemire/FrameOfReference/blob/6ccaf9e97160f9a3b299e23a8ef739e711ef0c71/src/bpacking.cpp + +Copyright: 2013 Daniel Lemire +Home page: http://lemire.me/en/ +Project page: https://github.com/lemire/FrameOfReference +License: Apache License Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 + +-------------------------------------------------------------------------------- + +This project includes code from the TensorFlow project + +Copyright 2015 The TensorFlow Authors. All Rights Reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +-------------------------------------------------------------------------------- + +This project includes code from the Boost project + +Boost Software License - Version 1.0 - August 17th, 2003 + +Permission is hereby granted, free of charge, to any person or organization +obtaining a copy of the software and accompanying documentation covered by +this license (the "Software") to use, reproduce, display, distribute, +execute, and transmit the Software, and to prepare derivative works of the +Software, and to permit third-parties to whom the Software is furnished to +do so, all subject to the following: + +The copyright notices in the Software and this entire statement, including +the above license grant, this restriction and the following disclaimer, +must be included in all copies of the Software, in whole or in part, and +all derivative works of the Software, unless such copies or derivative +works are solely in the form of machine-executable object code generated by +a source language processor. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT +SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +-------------------------------------------------------------------------------- + +This project includes code from the mapbox/variant project, BSD 3-clause +license + +Copyright (c) MapBox +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +- Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +- Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. +- Neither the name "MapBox" nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------------------- + +This project includes code from the FlatBuffers project + +Copyright 2014 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +-------------------------------------------------------------------------------- + +This project includes code from the tslib project + +Copyright 2015 Microsoft Corporation. All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +-------------------------------------------------------------------------------- + +This project includes code from the jemalloc project + +https://github.com/jemalloc/jemalloc + +Copyright (C) 2002-2017 Jason Evans . +All rights reserved. +Copyright (C) 2007-2012 Mozilla Foundation. All rights reserved. +Copyright (C) 2009-2017 Facebook, Inc. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: +1. Redistributions of source code must retain the above copyright notice(s), + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice(s), + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY EXPRESS +OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +-------------------------------------------------------------------------------- + +This project includes code from the Go project, BSD 3-clause license + PATENTS +weak patent termination clause +(https://github.com/golang/go/blob/master/PATENTS). + +Copyright (c) 2009 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------------------- + +This project includes code from the hs2client + +https://github.com/cloudera/hs2client + +Copyright 2016 Cloudera Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +-------------------------------------------------------------------------------- + +The script dev/docker_common/wait-for-it.sh has the following license + +Copyright (c) 2016 Giles Hall + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +-------------------------------------------------------------------------------- + +The script r/configure has the following license (MIT) + +Copyright (c) 2017, Jeroen Ooms and Jim Hester + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +-------------------------------------------------------------------------------- +cpp/src/arrow/util/logging.cc, cpp/src/arrow/util/logging.h and +cpp/src/arrow/util/logging-test.cc are adapted from +Ray Project (https://github.com/ray-project/ray) (Apache 2.0). + +Copyright (c) 2016 Ray Project (https://github.com/ray-project/ray) + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +-------------------------------------------------------------------------------- +The files cpp/src/arrow/vendored/datetime/date.h, cpp/src/arrow/vendored/datetime/tz.h, +cpp/src/arrow/vendored/datetime/tz_private.h, cpp/src/arrow/vendored/datetime/ios.h, +cpp/src/arrow/vendored/datetime/tz.cpp are adapted from +Howard Hinnant's date library (https://github.com/HowardHinnant/date) +It is licensed under MIT license. + +The MIT License (MIT) +Copyright (c) 2015, 2016, 2017 Howard Hinnant +Copyright (c) 2016 Adrian Colomitchi +Copyright (c) 2017 Florian Dang +Copyright (c) 2017 Paul Thompson +Copyright (c) 2018 Tomasz Kamiński + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +-------------------------------------------------------------------------------- + +The file cpp/src/arrow/util/utf8.h includes code adapted from the page + https://bjoern.hoehrmann.de/utf-8/decoder/dfa/ +with the following license (MIT) + +Copyright (c) 2008-2009 Bjoern Hoehrmann + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +-------------------------------------------------------------------------------- + +The file cpp/src/arrow/vendored/string_view.hpp has the following license + +Boost Software License - Version 1.0 - August 17th, 2003 + +Permission is hereby granted, free of charge, to any person or organization +obtaining a copy of the software and accompanying documentation covered by +this license (the "Software") to use, reproduce, display, distribute, +execute, and transmit the Software, and to prepare derivative works of the +Software, and to permit third-parties to whom the Software is furnished to +do so, all subject to the following: + +The copyright notices in the Software and this entire statement, including +the above license grant, this restriction and the following disclaimer, +must be included in all copies of the Software, in whole or in part, and +all derivative works of the Software, unless such copies or derivative +works are solely in the form of machine-executable object code generated by +a source language processor. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT +SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +-------------------------------------------------------------------------------- + +The files in cpp/src/arrow/vendored/xxhash/ have the following license +(BSD 2-Clause License) + +xxHash Library +Copyright (c) 2012-2014, Yann Collet +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +You can contact the author at : +- xxHash homepage: http://www.xxhash.com +- xxHash source repository : https://github.com/Cyan4973/xxHash + +-------------------------------------------------------------------------------- + +The files in dev/tasks/conda-recipes/variants have the following license + +BSD 3-clause license +Copyright (c) 2015-2018, conda-forge +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR +TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------------------- + +This project includes code from Apache Kudu. + + * cpp/cmake_modules/CompilerInfo.cmake is based on Kudu's cmake_modules/CompilerInfo.cmake + +Copyright: 2016 The Apache Software Foundation. +Home page: https://kudu.apache.org/ +License: http://www.apache.org/licenses/LICENSE-2.0 + +-------------------------------------------------------------------------------- + +This project includes code from Apache Impala (incubating), formerly +Impala. The Impala code and rights were donated to the ASF as part of the +Incubator process after the initial code imports into Apache Parquet. + +Copyright: 2012 Cloudera, Inc. +Copyright: 2016 The Apache Software Foundation. +Home page: http://impala.apache.org/ +License: http://www.apache.org/licenses/LICENSE-2.0 + +-------------------------------------------------------------------------------- + +This project includes code from Apache Aurora. + +* dev/release/{release,changelog,release-candidate} are based on the scripts from + Apache Aurora + +Copyright: 2016 The Apache Software Foundation. +Home page: https://aurora.apache.org/ +License: http://www.apache.org/licenses/LICENSE-2.0 + +-------------------------------------------------------------------------------- + +This project includes code from the Google styleguide. + +* cpp/build-support/cpplint.py is based on the scripts from the Google styleguide. + +Copyright: 2009 Google Inc. All rights reserved. +Homepage: https://github.com/google/styleguide +License: 3-clause BSD + +-------------------------------------------------------------------------------- + +This project includes code from Snappy. + +* cpp/cmake_modules/{SnappyCMakeLists.txt,SnappyConfig.h} are based on code + from Google's Snappy project. + +Copyright: 2009 Google Inc. All rights reserved. +Homepage: https://github.com/google/snappy +License: 3-clause BSD + +-------------------------------------------------------------------------------- + +This project includes code from the manylinux project. + +* python/manylinux1/scripts/{build_python.sh,python-tag-abi-tag.py, + requirements.txt} are based on code from the manylinux project. + +Copyright: 2016 manylinux +Homepage: https://github.com/pypa/manylinux +License: The MIT License (MIT) + +-------------------------------------------------------------------------------- + +This project include code from CMake. + +* cpp/cmake_modules/FindGTest.cmake is based on code from CMake. + +Copyright: Copyright 2000-2019 Kitware, Inc. and Contributors +Homepage: https://gitlab.kitware.com/cmake/cmake +License: 3-clause BSD + +-------------------------------------------------------------------------------- + +This project include code from mingw-w64. + +* cpp/src/arrow/util/cpu-info.cc has a polyfill for mingw-w64 < 5 + +Copyright (c) 2009 - 2013 by the mingw-w64 project +Homepage: https://mingw-w64.org +License: Zope Public License (ZPL) Version 2.1. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +asn1crypto 1.4.0 - MIT + +Copyright (c) 2015-2019 Will Bond + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +atomicwrites 1.4.0 - MIT +Copyright (c) 2015-2016 Markus Unterwaditzer + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +attrs 19.1.0 - MIT + +The MIT License (MIT) + +Copyright (c) 2015 Hynek Schlawack + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +autovizwidget 0.17.1 BSD-2-Clause + +# Licensing terms + +This project is licensed under the terms of the Modified BSD License +(also known as New or Revised or 3-Clause BSD), as follows: + +- Copyright (c) 2001-2015, IPython Development Team +- Copyright (c) 2015-, Jupyter Development Team + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +Neither the name of the Jupyter Development Team nor the names of its +contributors may be used to endorse or promote products derived from this +software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +## About the Jupyter Development Team + +The Jupyter Development Team is the set of all contributors to the Jupyter project. +This includes all of the Jupyter Subprojects, which are the different repositories +under the [jupyter](https://github.com/jupyter/) GitHub organization. + +The core team that coordinates development on GitHub can be found here: +https://github.com/jupyter/. + +## Our copyright policy + +Jupyter uses a shared copyright model. Each contributor maintains copyright +over their contributions to Jupyter. But, it is important to note that these +contributions are typically only changes to the repositories. Thus, the Jupyter +source code, in its entirety is not the copyright of any single person or +institution. Instead, it is the collective copyright of the entire Jupyter +Development Team. If individual contributors want to maintain a record of what +changes/contributions they have specific copyright on, they should indicate +their copyright in the commit message of the change, when they commit the +change to one of the Jupyter repositories. + +With this in mind, the following banner should be used in any source code file +to indicate the copyright and license terms: + + # Copyright (c) Jupyter Development Team. + # Distributed under the terms of the Modified BSD License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +babel 2.9.0 - BSD + +Copyright (c) 2013-2020 by the Babel Team, see AUTHORS for more information. + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS +OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +backcall 0.2.0 - BSD-3-Clause + +Copyright (c) 2014, Thomas Kluyver +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +* Neither the name of the {organization} nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +backports 1.0 - BSD-3-Clause + +Copyright + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +backports.os 0.1.1 + +A. HISTORY OF THE SOFTWARE +========================== + +Python was created in the early 1990s by Guido van Rossum at Stichting +Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands +as a successor of a language called ABC. Guido remains Python's +principal author, although it includes many contributions from others. + +In 1995, Guido continued his work on Python at the Corporation for +National Research Initiatives (CNRI, see http://www.cnri.reston.va.us) +in Reston, Virginia where he released several versions of the +software. + +In May 2000, Guido and the Python core development team moved to +BeOpen.com to form the BeOpen PythonLabs team. In October of the same +year, the PythonLabs team moved to Digital Creations (now Zope +Corporation, see http://www.zope.com). In 2001, the Python Software +Foundation (PSF, see http://www.python.org/psf/) was formed, a +non-profit organization created specifically to own Python-related +Intellectual Property. Zope Corporation is a sponsoring member of +the PSF. + +All Python releases are Open Source (see http://www.opensource.org for +the Open Source Definition). Historically, most, but not all, Python +releases have also been GPL-compatible; the table below summarizes +the various releases. + + Release Derived Year Owner GPL- + from compatible? (1) + + 0.9.0 thru 1.2 1991-1995 CWI yes + 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes + 1.6 1.5.2 2000 CNRI no + 2.0 1.6 2000 BeOpen.com no + 1.6.1 1.6 2001 CNRI yes (2) + 2.1 2.0+1.6.1 2001 PSF no + 2.0.1 2.0+1.6.1 2001 PSF yes + 2.1.1 2.1+2.0.1 2001 PSF yes + 2.1.2 2.1.1 2002 PSF yes + 2.1.3 2.1.2 2002 PSF yes + 2.2 and above 2.1.1 2001-now PSF yes + +Footnotes: + +(1) GPL-compatible doesn't mean that we're distributing Python under + the GPL. All Python licenses, unlike the GPL, let you distribute + a modified version without making your changes open source. The + GPL-compatible licenses make it possible to combine Python with + other software that is released under the GPL; the others don't. + +(2) According to Richard Stallman, 1.6.1 is not GPL-compatible, + because its license has a choice of law clause. According to + CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1 + is "not incompatible" with the GPL. + +Thanks to the many outside volunteers who have worked under Guido's +direction to make these releases possible. + + +B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON +=============================================================== + +PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 +-------------------------------------------- + +1. This LICENSE AGREEMENT is between the Python Software Foundation +("PSF"), and the Individual or Organization ("Licensee") accessing and +otherwise using this software ("Python") in source or binary form and +its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, PSF hereby +grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, +analyze, test, perform and/or display publicly, prepare derivative works, +distribute, and otherwise use Python alone or in any derivative version, +provided, however, that PSF's License Agreement and PSF's notice of copyright, +i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +2011, 2012, 2013, 2014, 2015, 2016, 2017 Python Software Foundation; All Rights +Reserved" are retained in Python alone or in any derivative version prepared by +Licensee. + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python. + +4. PSF is making Python available to Licensee on an "AS IS" +basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between PSF and +Licensee. This License Agreement does not grant permission to use PSF +trademarks or trade name in a trademark sense to endorse or promote +products or services of Licensee, or any third party. + +8. By copying, installing or otherwise using Python, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 +------------------------------------------- + +BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 + +1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an +office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the +Individual or Organization ("Licensee") accessing and otherwise using +this software in source or binary form and its associated +documentation ("the Software"). + +2. Subject to the terms and conditions of this BeOpen Python License +Agreement, BeOpen hereby grants Licensee a non-exclusive, +royalty-free, world-wide license to reproduce, analyze, test, perform +and/or display publicly, prepare derivative works, distribute, and +otherwise use the Software alone or in any derivative version, +provided, however, that the BeOpen Python License is retained in the +Software, alone or in any derivative version prepared by Licensee. + +3. BeOpen is making the Software available to Licensee on an "AS IS" +basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE +SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS +AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY +DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +5. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +6. This License Agreement shall be governed by and interpreted in all +respects by the law of the State of California, excluding conflict of +law provisions. Nothing in this License Agreement shall be deemed to +create any relationship of agency, partnership, or joint venture +between BeOpen and Licensee. This License Agreement does not grant +permission to use BeOpen trademarks or trade names in a trademark +sense to endorse or promote products or services of Licensee, or any +third party. As an exception, the "BeOpen Python" logos available at +http://www.pythonlabs.com/logos.html may be used according to the +permissions granted on that web page. + +7. By copying, installing or otherwise using the software, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1 +--------------------------------------- + +1. This LICENSE AGREEMENT is between the Corporation for National +Research Initiatives, having an office at 1895 Preston White Drive, +Reston, VA 20191 ("CNRI"), and the Individual or Organization +("Licensee") accessing and otherwise using Python 1.6.1 software in +source or binary form and its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, CNRI +hereby grants Licensee a nonexclusive, royalty-free, world-wide +license to reproduce, analyze, test, perform and/or display publicly, +prepare derivative works, distribute, and otherwise use Python 1.6.1 +alone or in any derivative version, provided, however, that CNRI's +License Agreement and CNRI's notice of copyright, i.e., "Copyright (c) +1995-2001 Corporation for National Research Initiatives; All Rights +Reserved" are retained in Python 1.6.1 alone or in any derivative +version prepared by Licensee. Alternately, in lieu of CNRI's License +Agreement, Licensee may substitute the following text (omitting the +quotes): "Python 1.6.1 is made available subject to the terms and +conditions in CNRI's License Agreement. This Agreement together with +Python 1.6.1 may be located on the Internet using the following +unique, persistent identifier (known as a handle): 1895.22/1013. This +Agreement may also be obtained from a proxy server on the Internet +using the following URL: http://hdl.handle.net/1895.22/1013". + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python 1.6.1 or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python 1.6.1. + +4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" +basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. This License Agreement shall be governed by the federal +intellectual property law of the United States, including without +limitation the federal copyright law, and, to the extent such +U.S. federal law does not apply, by the law of the Commonwealth of +Virginia, excluding Virginia's conflict of law provisions. +Notwithstanding the foregoing, with regard to derivative works based +on Python 1.6.1 that incorporate non-separable material that was +previously distributed under the GNU General Public License (GPL), the +law of the Commonwealth of Virginia shall govern this License +Agreement only as to issues arising under or with respect to +Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this +License Agreement shall be deemed to create any relationship of +agency, partnership, or joint venture between CNRI and Licensee. This +License Agreement does not grant permission to use CNRI trademarks or +trade name in a trademark sense to endorse or promote products or +services of Licensee, or any third party. + +8. By clicking on the "ACCEPT" button where indicated, or by copying, +installing or otherwise using Python 1.6.1, Licensee agrees to be +bound by the terms and conditions of this License Agreement. + + ACCEPT + + +CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 +-------------------------------------------------- + +Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, +The Netherlands. All rights reserved. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of Stichting Mathematisch +Centrum or CWI not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior +permission. + +STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO +THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE +FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +------------License Starts Here---------------------------------------------- + +------------License Starts Here---------------------------------------------- + +blaze 0.11.3 - BSD-3-Clause + +Copyright (c) 2012-2014, Continuum Analytics, Inc. and contributors +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +Neither the name of Continuum Analytics nor the names of any contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +bleach 3.2.1 - Apache 2.0 + +Copyright (c) 2014-2017, Mozilla Foundation + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +blosc 1.16.3 - BSD-3-Clause + +BSD License + +For Blosc - A blocking, shuffling and lossless compression library + +Copyright (C) 2009-2018 Francesc Alted +Copyright (C) 2019-, Blosc Development Team + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name Francesc Alted nor the names of its contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +bokeh 1.0.3 + +Copyright (c) 2012 - 2018, Anaconda, Inc., and Bokeh Contributors +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +Neither the name of Anaconda nor the names of any contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +boost-cpp 1.67.0 - Boost-1.0 + +Boost Software License - Version 1.0 - August 17th, 2003 + +Permission is hereby granted, free of charge, to any person or organization +obtaining a copy of the software and accompanying documentation covered by +this license (the "Software") to use, reproduce, display, distribute, +execute, and transmit the Software, and to prepare derivative works of the +Software, and to permit third-parties to whom the Software is furnished to +do so, all subject to the following: + +The copyright notices in the Software and this entire statement, including +the above license grant, this restriction and the following disclaimer, +must be included in all copies of the Software, in whole or in part, and +all derivative works of the Software, unless such copies or derivative +works are solely in the form of machine-executable object code generated by +a source language processor. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT +SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Bottleneck 1.2.1 - BSD + +======= +License +======= + +Bottleneck is distributed under a Simplified BSD license. Parts of NumPy, +SciPy and and numpydoc, which all have BSD licenses, are included in +Bottleneck. + +Bottleneck license +================== + +Copyright (c) 2010-2017 Keith Goodman +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + + +Other licenses +============== + +Bottleneck contains doc strings from NumPy and SciPy and Sphinx extensions +from numpydoc. Bottleneck also contains the file ez_setup.py from setuptools. + + +NumPy license +------------- + +Copyright (c) 2005-2014, NumPy Developers. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * Neither the name of the NumPy Developers nor the names of any + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +itions of this License Agreement. + + +SciPy license +------------- + +Copyright (c) 2001, 2002 Enthought, Inc. +All rights reserved. + +Copyright (c) 2003-2014 SciPy Developers. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + c. Neither the name of the Enthought nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + + +numpydoc license +---------------- + +The numpydoc license is in bottleneck/doc/sphinxext/LICENSE.txt + +setuptools license +------------------ + +setuptools is dual-licensed under the Python Software Foundation (PSF) license +and the Zope Public License (ZPL). + +Python Software Foundation License +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +A. HISTORY OF THE SOFTWARE +"""""""""""""""""""""""""" + +Python was created in the early 1990s by Guido van Rossum at Stichting +Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands +as a successor of a language called ABC. Guido remains Python's +principal author, although it includes many contributions from others. + +In 1995, Guido continued his work on Python at the Corporation for +National Research Initiatives (CNRI, see http://www.cnri.reston.va.us) +in Reston, Virginia where he released several versions of the +software. + +In May 2000, Guido and the Python core development team moved to +BeOpen.com to form the BeOpen PythonLabs team. In October of the same +year, the PythonLabs team moved to Digital Creations (now Zope +Corporation, see http://www.zope.com). In 2001, the Python Software +Foundation (PSF, see http://www.python.org/psf/) was formed, a +non-profit organization created specifically to own Python-related +Intellectual Property. Zope Corporation is a sponsoring member of +the PSF. + +All Python releases are Open Source (see http://www.opensource.org for +the Open Source Definition). Historically, most, but not all, Python +releases have also been GPL-compatible; the table below summarizes +the various releases. + + Release Derived Year Owner GPL- + from compatible? (1) + + 0.9.0 thru 1.2 1991-1995 CWI yes + 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes + 1.6 1.5.2 2000 CNRI no + 2.0 1.6 2000 BeOpen.com no + 1.6.1 1.6 2001 CNRI yes (2) + 2.1 2.0+1.6.1 2001 PSF no + 2.0.1 2.0+1.6.1 2001 PSF yes + 2.1.1 2.1+2.0.1 2001 PSF yes + 2.2 2.1.1 2001 PSF yes + 2.1.2 2.1.1 2002 PSF yes + 2.1.3 2.1.2 2002 PSF yes + 2.2.1 2.2 2002 PSF yes + 2.2.2 2.2.1 2002 PSF yes + 2.2.3 2.2.2 2003 PSF yes + 2.3 2.2.2 2002-2003 PSF yes + 2.3.1 2.3 2002-2003 PSF yes + 2.3.2 2.3.1 2002-2003 PSF yes + 2.3.3 2.3.2 2002-2003 PSF yes + 2.3.4 2.3.3 2004 PSF yes + 2.3.5 2.3.4 2005 PSF yes + 2.4 2.3 2004 PSF yes + 2.4.1 2.4 2005 PSF yes + 2.4.2 2.4.1 2005 PSF yes + 2.4.3 2.4.2 2006 PSF yes + 2.4.4 2.4.3 2006 PSF yes + 2.5 2.4 2006 PSF yes + 2.5.1 2.5 2007 PSF yes + 2.5.2 2.5.1 2008 PSF yes + 2.5.3 2.5.2 2008 PSF yes + 2.6 2.5 2008 PSF yes + 2.6.1 2.6 2008 PSF yes + 2.6.2 2.6.1 2009 PSF yes + 2.6.3 2.6.2 2009 PSF yes + 2.6.4 2.6.3 2009 PSF yes + 2.6.5 2.6.4 2010 PSF yes + +Footnotes: + +(1) GPL-compatible doesn't mean that we're distributing Python under + the GPL. All Python licenses, unlike the GPL, let you distribute + a modified version without making your changes open source. The + GPL-compatible licenses make it possible to combine Python with + other software that is released under the GPL; the others don't. + +(2) According to Richard Stallman, 1.6.1 is not GPL-compatible, + because its license has a choice of law clause. According to + CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1 + is "not incompatible" with the GPL. + +Thanks to the many outside volunteers who have worked under Guido's +direction to make these releases possible. + + +B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 +............................................ + +1. This LICENSE AGREEMENT is between the Python Software Foundation +("PSF"), and the Individual or Organization ("Licensee") accessing and +otherwise using this software ("Python") in source or binary form and +its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, PSF hereby +grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, +analyze, test, perform and/or display publicly, prepare derivative works, +distribute, and otherwise use Python alone or in any derivative version, +provided, however, that PSF's License Agreement and PSF's notice of copyright, +i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 +Python Software Foundation; All Rights Reserved" are retained in Python alone or +in any derivative version prepared by Licensee. + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python. + +4. PSF is making Python available to Licensee on an "AS IS" +basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between PSF and +Licensee. This License Agreement does not grant permission to use PSF +trademarks or trade name in a trademark sense to endorse or promote +products or services of Licensee, or any third party. + +8. By copying, installing or otherwise using Python, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 +........................................... + +BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 + +1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an +office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the +Individual or Organization ("Licensee") accessing and otherwise using +this software in source or binary form and its associated +documentation ("the Software"). + +2. Subject to the terms and conditions of this BeOpen Python License +Agreement, BeOpen hereby grants Licensee a non-exclusive, +royalty-free, world-wide license to reproduce, analyze, test, perform +and/or display publicly, prepare derivative works, distribute, and +otherwise use the Software alone or in any derivative version, +provided, however, that the BeOpen Python License is retained in the +Software, alone or in any derivative version prepared by Licensee. + +3. BeOpen is making the Software available to Licensee on an "AS IS" +basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE +SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS +AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY +DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +5. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +6. This License Agreement shall be governed by and interpreted in all +respects by the law of the State of California, excluding conflict of +law provisions. Nothing in this License Agreement shall be deemed to +create any relationship of agency, partnership, or joint venture +between BeOpen and Licensee. This License Agreement does not grant +permission to use BeOpen trademarks or trade names in a trademark +sense to endorse or promote products or services of Licensee, or any +third party. As an exception, the "BeOpen Python" logos available at +http://www.pythonlabs.com/logos.html may be used according to the +permissions granted on that web page. + +7. By copying, installing or otherwise using the software, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1 +....................................... + +1. This LICENSE AGREEMENT is between the Corporation for National +Research Initiatives, having an office at 1895 Preston White Drive, +Reston, VA 20191 ("CNRI"), and the Individual or Organization +("Licensee") accessing and otherwise using Python 1.6.1 software in +source or binary form and its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, CNRI +hereby grants Licensee a nonexclusive, royalty-free, world-wide +license to reproduce, analyze, test, perform and/or display publicly, +prepare derivative works, distribute, and otherwise use Python 1.6.1 +alone or in any derivative version, provided, however, that CNRI's +License Agreement and CNRI's notice of copyright, i.e., "Copyright (c) +1995-2001 Corporation for National Research Initiatives; All Rights +Reserved" are retained in Python 1.6.1 alone or in any derivative +version prepared by Licensee. Alternately, in lieu of CNRI's License +Agreement, Licensee may substitute the following text (omitting the +quotes): "Python 1.6.1 is made available subject to the terms and +conditions in CNRI's License Agreement. This Agreement together with +Python 1.6.1 may be located on the Internet using the following +unique, persistent identifier (known as a handle): 1895.22/1013. This +Agreement may also be obtained from a proxy server on the Internet +using the following URL: http://hdl.handle.net/1895.22/1013". + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python 1.6.1 or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python 1.6.1. + +4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" +basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. This License Agreement shall be governed by the federal +intellectual property law of the United States, including without +limitation the federal copyright law, and, to the extent such +U.S. federal law does not apply, by the law of the Commonwealth of +Virginia, excluding Virginia's conflict of law provisions. +Notwithstanding the foregoing, with regard to derivative works based +on Python 1.6.1 that incorporate non-separable material that was +previously distributed under the GNU General Public License (GPL), the +law of the Commonwealth of Virginia shall govern this License +Agreement only as to issues arising under or with respect to +Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this +License Agreement shall be deemed to create any relationship of +agency, partnership, or joint venture between CNRI and Licensee. This +License Agreement does not grant permission to use CNRI trademarks or +trade name in a trademark sense to endorse or promote products or +services of Licensee, or any third party. + +8. By clicking on the "ACCEPT" button where indicated, or by copying, +installing or otherwise using Python 1.6.1, Licensee agrees to be +bound by the terms and conditions of this License Agreement. + + ACCEPT + + +CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 +.................................................. + +Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, +The Netherlands. All rights reserved. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of Stichting Mathematisch +Centrum or CWI not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior +permission. + +STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO +THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE +FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +Zope Public License +^^^^^^^^^^^^^^^^^^^ + +This software is Copyright (c) Zope Corporation (tm) and +Contributors. All rights reserved. + +This license has been certified as open source. It has also +been designated as GPL compatible by the Free Software +Foundation (FSF). + +Redistribution and use in source and binary forms, with or +without modification, are permitted provided that the +following conditions are met: + +1. Redistributions in source code must retain the above + copyright notice, this list of conditions, and the following + disclaimer. + +2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions, and the following + disclaimer in the documentation and/or other materials + provided with the distribution. + +3. The name Zope Corporation (tm) must not be used to + endorse or promote products derived from this software + without prior written permission from Zope Corporation. + +4. The right to distribute this software or to use it for + any purpose does not give you the right to use Servicemarks + (sm) or Trademarks (tm) of Zope Corporation. Use of them is + covered in a separate agreement (see + http://www.zope.com/Marks). + +5. If any files are modified, you must cause the modified + files to carry prominent notices stating that you changed + the files and the date of any change. + +Disclaimer + + THIS SOFTWARE IS PROVIDED BY ZOPE CORPORATION ''AS IS'' + AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT + NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN + NO EVENT SHALL ZOPE CORPORATION OR ITS CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + +This software consists of contributions made by Zope +Corporation and many individuals on behalf of Zope +Corporation. Specific attributions are listed in the +accompanying credits file. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Brotli 1.0.9 - MIT + +Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +bzip2 1.0.8 - bzip2 + +This program, "bzip2", the associated library "libbzip2", and all +documentation, are copyright (C) 1996-2019 Julian R Seward. All +rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + +3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + +4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS +OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Julian Seward, jseward@acm.org +bzip2/libbzip2 version 1.0.8 of 13 July 2019 + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +ca-certificates 2020.12.8 - MPL 2.0 + +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +certifi 2020.12.5 - ISC + +This packge contains a modified version of ca-bundle.crt: + +ca-bundle.crt -- Bundle of CA Root Certificates + +Certificate data from Mozilla as of: Thu Nov 3 19:04:19 2011# +This is a bundle of X.509 certificates of public Certificate Authorities +(CA). These were automatically extracted from Mozilla's root certificates +file (certdata.txt). This file can be found in the mozilla source tree: +http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1# +It contains the certificates in PEM format and therefore +can be directly used with curl / libcurl / php_curl, or with +an Apache+mod_ssl webserver for SSL client authentication. +Just configure this file as the SSLCACertificateFile.# + +***** BEGIN LICENSE BLOCK ***** +This Source Code Form is subject to the terms of the Mozilla Public License, +v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain +one at http://mozilla.org/MPL/2.0/. + +***** END LICENSE BLOCK ***** +@(#) $RCSfile: certdata.txt,v $ $Revision: 1.80 $ $Date: 2011/11/03 15:11:58 $ + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +cffi 1.14.0 - MIT + +MIT License + +Copyright (c) 2020 CFFI, Python's C Foreign Function Interface + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +chardet 3.0.4 - LGPL2 + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +chest 0.2.3 - BSD + +Copyright (c) 2014 Continuum Analytics + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + c. Neither the name of toolz nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +click 7.1.2 - BSD + +Copyright (c) 2014 Continuum Analytics + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + c. Neither the name of toolz nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +conda 4.5.12 - BSD + +BSD 3-Clause License + +Copyright (c) 2012, Continuum Analytics, Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +--- + +Conda incorporates the following libraries into its distributed code: + +* auxlib, licensed as ISC +* boltons, licensed as BSD-3-Clause +* pytoolz, licensed as BSD-3-Clause +* tqdm, licensed as MIT +* urllib3, licensed as MIT + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +conda-env 2.6.0 - BSD + + +Except where noted below, conda-env is released under the following terms: + +(c) 2014 Continuum Analytics, Inc. / http://continuum.io +All Rights Reserved + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Continuum Analytics, Inc. nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL CONTINUUM ANALYTICS BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +configobj 5.0.6 - BSD-2-Clause + +Copyright (c): +2003-2010, Michael Foord +2014, Eli Courtwright, Rob Dennis +All rights reserved. +E-mails : +fuzzyman AT voidspace DOT org DOT uk +eli AT courtwright DOT org +rdennis AT gmail DOT com + + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * Neither the names of Michael Foord, Eli Courtwright or Rob Dennis, + nor the name of Voidspace, may be used to endorse or promote + products derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +cryptography 2.5 - Apache-2.0 + + +Copyright 2013-2017 0 .format +copyright 2013-2017, Individual +Copyright (c) Individual contributors. +Copyright 2001-2016 Python Software Foundation + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); + +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software + +distributed under the License is distributed on an "AS IS" BASIS, + +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and + +limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +curl 7.63.0 - MIT/X + +COPYRIGHT AND PERMISSION NOTICE + +Copyright (c) 1996 - 2018, Daniel Stenberg, , and many +contributors, see the THANKS file. + +All rights reserved. + +Permission to use, copy, modify, and distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright +notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN +NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE +OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of a copyright holder shall not +be used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization of the copyright holder. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Cycler 0.10.0 - BSD + +Copyright (c) 2015, matplotlib project +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the matplotlib project nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Cython 0.29.2 - Apache-2.0 + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +cytoolz 0.9.0.1 - BSD-2-Clause + +Copyright (c) 2014 Erik Welch + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + c. Neither the name of cytoolz nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +dask 1.2.2 - BSD-3-Clause + + +BSD 3-Clause License + +Copyright (c) 2014-2018, Anaconda, Inc. and contributors +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +dask-core 1.2.2 - BSD-3-Clause + +Copyright (c) 2014-2018, Anaconda, Inc. and contributors +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +Neither the name of Anaconda nor the names of any contributors may be used to +endorse or promote products derived from this software without specific prior +written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +datashape 0.5.4 - BSD + + +Copyright (c) 2012, Continuum Analytics, Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +dbus 1.13.18 GPL 2.0 + + +D-Bus is licensed to you under your choice of the Academic Free +License version 2.1, or the GNU General Public License version 2 +(or, at your option any later version). + +Both licenses are included here. Some of the standalone binaries are +under the GPL only; in particular, but not limited to, +tools/dbus-cleanup-sockets.c and test/decode-gcov.c. Each source code +file is marked with the proper copyright information - if you find a +file that isn't marked please bring it to our attention. + +The Academic Free License +v. 2.1 + +This Academic Free License (the "License") applies to any original work of authorship (the "Original Work") whose owner (the "Licensor") has placed the following notice immediately following the copyright notice for the Original Work: + +Licensed under the Academic Free License version 2.1 + +1) Grant of Copyright License. Licensor hereby grants You a +world-wide, royalty-free, non-exclusive, perpetual, sublicenseable +license to do the following: + +a) to reproduce the Original Work in copies; + +b) to prepare derivative works ("Derivative Works") based upon the Original Work; + +c) to distribute copies of the Original Work and Derivative Works to the public; + +d) to perform the Original Work publicly; and + +e) to display the Original Work publicly. + +2) Grant of Patent License. Licensor hereby grants You a world-wide, +royalty-free, non-exclusive, perpetual, sublicenseable license, under +patent claims owned or controlled by the Licensor that are embodied in +the Original Work as furnished by the Licensor, to make, use, sell and +offer for sale the Original Work and Derivative Works. + +3) Grant of Source Code License. The term "Source Code" means the +preferred form of the Original Work for making modifications to it and +all available documentation describing how to modify the Original +Work. Licensor hereby agrees to provide a machine-readable copy of the +Source Code of the Original Work along with each copy of the Original +Work that Licensor distributes. Licensor reserves the right to satisfy +this obligation by placing a machine-readable copy of the Source Code +in an information repository reasonably calculated to permit +inexpensive and convenient access by You for as long as Licensor +continues to distribute the Original Work, and by publishing the +address of that information repository in a notice immediately +following the copyright notice that applies to the Original Work. + +4) Exclusions From License Grant. Neither the names of Licensor, nor +the names of any contributors to the Original Work, nor any of their +trademarks or service marks, may be used to endorse or promote +products derived from this Original Work without express prior written +permission of the Licensor. Nothing in this License shall be deemed to +grant any rights to trademarks, copyrights, patents, trade secrets or +any other intellectual property of Licensor except as expressly stated +herein. No patent license is granted to make, use, sell or offer to +sell embodiments of any patent claims other than the licensed claims +defined in Section 2. No right is granted to the trademarks of +Licensor even if such marks are included in the Original Work. Nothing +in this License shall be interpreted to prohibit Licensor from +licensing under different terms from this License any Original Work +that Licensor otherwise would have a right to license. + +5) This section intentionally omitted. + +6) Attribution Rights. You must retain, in the Source Code of any +Derivative Works that You create, all copyright, patent or trademark +notices from the Source Code of the Original Work, as well as any +notices of licensing and any descriptive text identified therein as an +"Attribution Notice." You must cause the Source Code for any +Derivative Works that You create to carry a prominent Attribution +Notice reasonably calculated to inform recipients that You have +modified the Original Work. + +7) Warranty of Provenance and Disclaimer of Warranty. Licensor +warrants that the copyright in and to the Original Work and the patent +rights granted herein by Licensor are owned by the Licensor or are +sublicensed to You under the terms of this License with the permission +of the contributor(s) of those copyrights and patent rights. Except as +expressly stated in the immediately proceeding sentence, the Original +Work is provided under this License on an "AS IS" BASIS and WITHOUT +WARRANTY, either express or implied, including, without limitation, +the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL +WORK IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an essential +part of this License. No license to Original Work is granted hereunder +except under this disclaimer. + +8) Limitation of Liability. Under no circumstances and under no legal +theory, whether in tort (including negligence), contract, or +otherwise, shall the Licensor be liable to any person for any direct, +indirect, special, incidental, or consequential damages of any +character arising as a result of this License or the use of the +Original Work including, without limitation, damages for loss of +goodwill, work stoppage, computer failure or malfunction, or any and +all other commercial damages or losses. This limitation of liability +shall not apply to liability for death or personal injury resulting +from Licensor's negligence to the extent applicable law prohibits such +limitation. Some jurisdictions do not allow the exclusion or +limitation of incidental or consequential damages, so this exclusion +and limitation may not apply to You. + +9) Acceptance and Termination. If You distribute copies of the +Original Work or a Derivative Work, You must make a reasonable effort +under the circumstances to obtain the express assent of recipients to +the terms of this License. Nothing else but this License (or another +written agreement between Licensor and You) grants You permission to +create Derivative Works based upon the Original Work or to exercise +any of the rights granted in Section 1 herein, and any attempt to do +so except under the terms of this License (or another written +agreement between Licensor and You) is expressly prohibited by +U.S. copyright law, the equivalent laws of other countries, and by +international treaty. Therefore, by exercising any of the rights +granted to You in Section 1 herein, You indicate Your acceptance of +this License and all of its terms and conditions. + +10) Termination for Patent Action. This License shall terminate +automatically and You may no longer exercise any of the rights granted +to You by this License as of the date You commence an action, +including a cross-claim or counterclaim, against Licensor or any +licensee alleging that the Original Work infringes a patent. This +termination provision shall not apply for an action alleging patent +infringement by combinations of the Original Work with other software +or hardware. + +11) Jurisdiction, Venue and Governing Law. Any action or suit relating +to this License may be brought only in the courts of a jurisdiction +wherein the Licensor resides or in which Licensor conducts its primary +business, and under the laws of that jurisdiction excluding its +conflict-of-law provisions. The application of the United Nations +Convention on Contracts for the International Sale of Goods is +expressly excluded. Any use of the Original Work outside the scope of +this License or after its termination shall be subject to the +requirements and penalties of the U.S. Copyright Act, 17 U.S.C. § 101 +et seq., the equivalent laws of other countries, and international +treaty. This section shall survive the termination of this License. + +12) Attorneys Fees. In any action to enforce the terms of this License +or seeking damages relating thereto, the prevailing party shall be +entitled to recover its costs and expenses, including, without +limitation, reasonable attorneys' fees and costs incurred in +connection with such action, including any appeal of such action. This +section shall survive the termination of this License. + +13) Miscellaneous. This License represents the complete agreement +concerning the subject matter hereof. If any provision of this License +is held to be unenforceable, such provision shall be reformed only to +the extent necessary to make it enforceable. + +14) Definition of "You" in This License. "You" throughout this +License, whether in upper or lower case, means an individual or a +legal entity exercising rights under, and complying with all of the +terms of, this License. For legal entities, "You" includes any entity +that controls, is controlled by, or is under common control with +you. For purposes of this definition, "control" means (i) the power, +direct or indirect, to cause the direction or management of such +entity, whether by contract or otherwise, or (ii) ownership of fifty +percent (50%) or more of the outstanding shares, or (iii) beneficial +ownership of such entity. + +15) Right to Use. You may use the Original Work in all ways not +otherwise restricted or conditioned by this License or by law, and +Licensor promises not to interfere with or be responsible for such +uses by You. + +This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights +reserved. Permission is hereby granted to copy and distribute this +license without modification. This license may not be modified without +the express written permission of its copyright owner. + + +-- +END OF ACADEMIC FREE LICENSE. The following is intended to describe the essential +differences between the Academic Free License (AFL) version 1.0 and other +open source licenses: + +The Academic Free License is similar to the BSD, MIT, UoI/NCSA and Apache +licenses in many respects but it is intended to solve a few problems with +those licenses. + +* The AFL is written so as to make it clear what software is being +licensed (by the inclusion of a statement following the copyright notice +in the software). This way, the license functions better than a template +license. The BSD, MIT and UoI/NCSA licenses apply to unidentified software. + +* The AFL contains a complete copyright grant to the software. The BSD +and Apache licenses are vague and incomplete in that respect. + +* The AFL contains a complete patent grant to the software. The BSD, MIT, +UoI/NCSA and Apache licenses rely on an implied patent license and contain +no explicit patent grant. + +* The AFL makes it clear that no trademark rights are granted to the +licensor's trademarks. The Apache license contains such a provision, but the +BSD, MIT and UoI/NCSA licenses do not. + +* The AFL includes the warranty by the licensor that it either owns the +copyright or that it is distributing the software under a license. None of +the other licenses contain that warranty. All other warranties are disclaimed, +as is the case for the other licenses. + +* The AFL is itself copyrighted (with the right granted to copy and distribute +without modification). This ensures that the owner of the copyright to the +license will control changes. The Apache license contains a copyright notice, +but the BSD, MIT and UoI/NCSA licenses do not. +-- +START OF GNU GENERAL PUBLIC LICENSE +-- + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +decorator 4.4.2 - BSD-2-Clause + +Copyright (c) 2005-2018, Michele Simionato +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + Redistributions in bytecode form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS +OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR +TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +defusedxml 0.6.0 - Python-2.0 + + +Copyright (c) 2013-2017 by Christian Heimes +Copyright (c) 2013 by Christian Heimes +Copyright (c) 2013-2017 by Christian Heimes +Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Python Software Foundation + +PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 + + 1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and the Individual or Organization ("Licensee") accessing and otherwise using this software ("Python") in source or binary form and its associated documentation. + + 2. Subject to the terms and conditions of this License Agreement, PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python alone or in any derivative version, provided, however, that PSF's License Agreement and PSF's notice of copyright, i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights Reserved" are retained in Python alone or in any derivative version prepared by Licensee. + + 3. In the event Licensee prepares a derivative work that is based on or incorporates Python or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to Python. + + 4. PSF is making Python available to Licensee on an "AS IS" basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + + 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + + 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. + + 7. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between PSF and Licensee. This License Agreement does not grant permission to use PSF trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. + + 8. By copying, installing or otherwise using Python, Licensee agrees to be bound by the terms and conditions of this License Agreement. BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 + +BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 + + 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the Individual or Organization ("Licensee") accessing and otherwise using this software in source or binary form and its associated documentation ("the Software"). + + 2. Subject to the terms and conditions of this BeOpen Python License Agreement, BeOpen hereby grants Licensee a non-exclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use the Software alone or in any derivative version, provided, however, that the BeOpen Python License is retained in the Software, alone or in any derivative version prepared by Licensee. + + 3. BeOpen is making the Software available to Licensee on an "AS IS" basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + + 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + + 5. This License Agreement will automatically terminate upon a material breach of its terms and conditions. + + 6. This License Agreement shall be governed by and interpreted in all respects by the law of the State of California, excluding conflict of law provisions. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between BeOpen and Licensee. This License Agreement does not grant permission to use BeOpen trademarks or trade names in a trademark sense to endorse or promote products or services of Licensee, or any third party. As an exception, the "BeOpen Python" logos available at http://www.pythonlabs.com/logos.html may be used according to the permissions granted on that web page. + + 7. By copying, installing or otherwise using the software, Licensee agrees to be bound by the terms and conditions of this License Agreement. CNRI OPEN SOURCE LICENSE AGREEMENT (for Python 1.6b1) IMPORTANT: PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY. + +BY CLICKING ON "ACCEPT" WHERE INDICATED BELOW, OR BY COPYING, INSTALLING OR OTHERWISE USING PYTHON 1.6, beta 1 SOFTWARE, YOU ARE DEEMED TO HAVE AGREED TO THE TERMS AND CONDITIONS OF THIS LICENSE AGREEMENT. + + 1. This LICENSE AGREEMENT is between the Corporation for National Research Initiatives, having an office at 1895 Preston White Drive, Reston, VA 20191 ("CNRI"), and the Individual or Organization ("Licensee") accessing and otherwise using Python 1.6, beta 1 software in source or binary form and its associated documentation, as released at the www.python.org Internet site on August 4, 2000 ("Python 1.6b1"). + + 2. Subject to the terms and conditions of this License Agreement, CNRI hereby grants Licensee a non-exclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python 1.6b1 alone or in any derivative version, provided, however, that CNRIs License Agreement is retained in Python 1.6b1, alone or in any derivative version prepared by Licensee. + + Alternately, in lieu of CNRIs License Agreement, Licensee may substitute the following text (omitting the quotes): "Python 1.6, beta 1, is made available subject to the terms and conditions in CNRIs License Agreement. This Agreement may be located on the Internet using the following unique, persistent identifier (known as a handle): 1895.22/1011. This Agreement may also be obtained from a proxy server on the Internet using the URL:http://hdl.handle.net/1895.22/1011". + + 3. In the event Licensee prepares a derivative work that is based on or incorporates Python 1.6b1 or any part thereof, and wants to make the derivative work available to the public as provided herein, then Licensee hereby agrees to indicate in any such work the nature of the modifications made to Python 1.6b1. + + 4. CNRI is making Python 1.6b1 available to Licensee on an "AS IS" basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6b1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + + 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF USING, MODIFYING OR DISTRIBUTING PYTHON 1.6b1, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + + 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. + + 7. This License Agreement shall be governed by and interpreted in all respects by the law of the State of Virginia, excluding conflict of law provisions. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between CNRI and Licensee. This License Agreement does not grant permission to use CNRI trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. + + 8. By clicking on the "ACCEPT" button where indicated, or by copying, installing or otherwise using Python 1.6b1, Licensee agrees to be bound by the terms and conditions of this License Agreement. ACCEPT CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 + +Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, The Netherlands. All rights reserved. + +Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Stichting Mathematisch Centrum or CWI not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. + +STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +dill 0.2.8.2 - BSD-2-Clause + +Copyright (c) 2004-2016 California Institute of Technology. +Copyright (c) 2016-2018 The Uncertainty Quantification Foundation. +All rights reserved. + +This software is available subject to the conditions and terms laid +out below. By downloading and using this software you are agreeing +to the following conditions. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met:: + + - Redistribution of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistribution in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentations and/or other materials provided with the distribution. + + - Neither the name of the California Institute of Technology nor + the names of its contributors may be used to endorse or promote + products derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +distributed 1.28.1 - BSD-3-Clause + + +Copyright (c) 2015-2017, Anaconda, Inc. and contributors +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +Neither the name of Anaconda nor the names of any contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +docutils 0.16 - Public + +A. HISTORY OF THE SOFTWARE +========================== + +Python was created in the early 1990s by Guido van Rossum at Stichting +Mathematisch Centrum (CWI) in the Netherlands as a successor of a +language called ABC. Guido is Python's principal author, although it +includes many contributions from others. The last version released +from CWI was Python 1.2. In 1995, Guido continued his work on Python +at the Corporation for National Research Initiatives (CNRI) in Reston, +Virginia where he released several versions of the software. Python +1.6 was the last of the versions released by CNRI. In 2000, Guido and +the Python core development team moved to BeOpen.com to form the +BeOpen PythonLabs team. Python 2.0 was the first and only release +from BeOpen.com. + +Following the release of Python 1.6, and after Guido van Rossum left +CNRI to work with commercial software developers, it became clear that +the ability to use Python with software available under the GNU Public +License (GPL) was very desirable. CNRI and the Free Software +Foundation (FSF) interacted to develop enabling wording changes to the +Python license. Python 1.6.1 is essentially the same as Python 1.6, +with a few minor bug fixes, and with a different license that enables +later versions to be GPL-compatible. Python 2.1 is a derivative work +of Python 1.6.1, as well as of Python 2.0. + +After Python 2.0 was released by BeOpen.com, Guido van Rossum and the +other PythonLabs developers joined Digital Creations. All +intellectual property added from this point on, starting with Python +2.1 and its alpha and beta releases, is owned by the Python Software +Foundation (PSF), a non-profit modeled after the Apache Software +Foundation. See http://www.python.org/psf/ for more information about +the PSF. + +Thanks to the many outside volunteers who have worked under Guido's +direction to make these releases possible. + + +B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON +=============================================================== + +PSF LICENSE AGREEMENT +--------------------- + +1. This LICENSE AGREEMENT is between the Python Software Foundation +("PSF"), and the Individual or Organization ("Licensee") accessing and +otherwise using Python 2.1.1 software in source or binary form and its +associated documentation. + +2. Subject to the terms and conditions of this License Agreement, PSF +hereby grants Licensee a nonexclusive, royalty-free, world-wide +license to reproduce, analyze, test, perform and/or display publicly, +prepare derivative works, distribute, and otherwise use Python 2.1.1 +alone or in any derivative version, provided, however, that PSF's +License Agreement and PSF's notice of copyright, i.e., "Copyright (c) +2001 Python Software Foundation; All Rights Reserved" are retained in +Python 2.1.1 alone or in any derivative version prepared by Licensee. + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python 2.1.1 or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python 2.1.1. + +4. PSF is making Python 2.1.1 available to Licensee on an "AS IS" +basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 2.1.1 WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +2.1.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 2.1.1, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between PSF and +Licensee. This License Agreement does not grant permission to use PSF +trademarks or trade name in a trademark sense to endorse or promote +products or services of Licensee, or any third party. + +8. By copying, installing or otherwise using Python 2.1.1, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +BEOPEN.COM TERMS AND CONDITIONS FOR PYTHON 2.0 +---------------------------------------------- + +BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 + +1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an +office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the +Individual or Organization ("Licensee") accessing and otherwise using +this software in source or binary form and its associated +documentation ("the Software"). + +2. Subject to the terms and conditions of this BeOpen Python License +Agreement, BeOpen hereby grants Licensee a non-exclusive, +royalty-free, world-wide license to reproduce, analyze, test, perform +and/or display publicly, prepare derivative works, distribute, and +otherwise use the Software alone or in any derivative version, +provided, however, that the BeOpen Python License is retained in the +Software, alone or in any derivative version prepared by Licensee. + +3. BeOpen is making the Software available to Licensee on an "AS IS" +basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE +SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS +AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY +DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +5. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +6. This License Agreement shall be governed by and interpreted in all +respects by the law of the State of California, excluding conflict of +law provisions. Nothing in this License Agreement shall be deemed to +create any relationship of agency, partnership, or joint venture +between BeOpen and Licensee. This License Agreement does not grant +permission to use BeOpen trademarks or trade names in a trademark +sense to endorse or promote products or services of Licensee, or any +third party. As an exception, the "BeOpen Python" logos available at +http://www.pythonlabs.com/logos.html may be used according to the +permissions granted on that web page. + +7. By copying, installing or otherwise using the software, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +CNRI OPEN SOURCE GPL-COMPATIBLE LICENSE AGREEMENT +------------------------------------------------- + +1. This LICENSE AGREEMENT is between the Corporation for National +Research Initiatives, having an office at 1895 Preston White Drive, +Reston, VA 20191 ("CNRI"), and the Individual or Organization +("Licensee") accessing and otherwise using Python 1.6.1 software in +source or binary form and its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, CNRI +hereby grants Licensee a nonexclusive, royalty-free, world-wide +license to reproduce, analyze, test, perform and/or display publicly, +prepare derivative works, distribute, and otherwise use Python 1.6.1 +alone or in any derivative version, provided, however, that CNRI's +License Agreement and CNRI's notice of copyright, i.e., "Copyright (c) +1995-2001 Corporation for National Research Initiatives; All Rights +Reserved" are retained in Python 1.6.1 alone or in any derivative +version prepared by Licensee. Alternately, in lieu of CNRI's License +Agreement, Licensee may substitute the following text (omitting the +quotes): "Python 1.6.1 is made available subject to the terms and +conditions in CNRI's License Agreement. This Agreement together with +Python 1.6.1 may be located on the Internet using the following +unique, persistent identifier (known as a handle): 1895.22/1013. This +Agreement may also be obtained from a proxy server on the Internet +using the following URL: http://hdl.handle.net/1895.22/1013". + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python 1.6.1 or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python 1.6.1. + +4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" +basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. This License Agreement shall be governed by the federal +intellectual property law of the United States, including without +limitation the federal copyright law, and, to the extent such +U.S. federal law does not apply, by the law of the Commonwealth of +Virginia, excluding Virginia's conflict of law provisions. +Notwithstanding the foregoing, with regard to derivative works based +on Python 1.6.1 that incorporate non-separable material that was +previously distributed under the GNU General Public License (GPL), the +law of the Commonwealth of Virginia shall govern this License +Agreement only as to issues arising under or with respect to +Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this +License Agreement shall be deemed to create any relationship of +agency, partnership, or joint venture between CNRI and Licensee. This +License Agreement does not grant permission to use CNRI trademarks or +trade name in a trademark sense to endorse or promote products or +services of Licensee, or any third party. + +8. By clicking on the "ACCEPT" button where indicated, or by copying, +installing or otherwise using Python 1.6.1, Licensee agrees to be +bound by the terms and conditions of this License Agreement. + + ACCEPT + + +CWI PERMISSIONS STATEMENT AND DISCLAIMER +---------------------------------------- + +Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, +The Netherlands. All rights reserved. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of Stichting Mathematisch +Centrum or CWI not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior +permission. + +STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO +THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE +FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +double-conversion 0.5.4 - BSD-3-Clause + +Copyright 2006-2011, the V8 project authors. All rights reserved. +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +entrypoints 0.3 - MIT +The MIT License (MIT) + +Copyright (c) 2015 Thomas Kluyver and contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------License Starts Here---------------------------------------------- + +et_xmlfile 1.0.1 - MIT + +This software is under the MIT Licence +====================================== + +Copyright (c) 2010 openpyxl + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Odict implementation in openpyxl/writer/odict.py uses the following licence: + +Copyright (c) 2001-2011 Python Software Foundation + 2011 Raymond Hettinger +License: PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 + See http://www.opensource.org/licenses/Python-2.0 for full terms +Note: backport changes by Raymond were originally distributed under MIT + license, but since the original license for Python is more + restrictive than MIT, code cannot be released under its terms and + still adheres to the limitations of Python license. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +expat 2.2.10 - MIT + +Copyright (c) 1998-2000 Thai Open Source Software Center Ltd and Clark Cooper +Copyright (c) 2001-2019 Expat maintainers + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +fastcache 1.1.0 - MIT + +The MIT License (MIT) + +Copyright (c) 2014 Peter Brady + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Flask-Cors 3.0.10 - MIT + +Copyright (C) 2016 Cory Dolphin, Olin College + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +fontconfig 2.13.0 - MIT + +Copyright © 2000,2001,2002,2003,2004,2006,2007 Keith Packard +Copyright © 2005 Patrick Lam +Copyright © 2009 Roozbeh Pournader +Copyright © 2008,2009 Red Hat, Inc. +Copyright © 2008 Danilo Šegan +Copyright © 2012 Google, Inc. + + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the name of the author(s) not be used in +advertising or publicity pertaining to distribution of the software without +specific, written prior permission. The authors make no +representations about the suitability of this software for any purpose. It +is provided "as is" without express or implied warranty. + +THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + +------------License Starts Here---------------------------------------------- + +------------License Starts Here---------------------------------------------- + +freetds 1.00.97 - GPL 2.0 + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +freetype 2.10.4 - FreeType and GPL 2.0 + The FreeType Project LICENSE + ---------------------------- + + 2006-Jan-27 + + Copyright 1996-2002, 2006 by + David Turner, Robert Wilhelm, and Werner Lemberg + + + +Introduction +============ + + The FreeType Project is distributed in several archive packages; + some of them may contain, in addition to the FreeType font engine, + various tools and contributions which rely on, or relate to, the + FreeType Project. + + This license applies to all files found in such packages, and + which do not fall under their own explicit license. The license + affects thus the FreeType font engine, the test programs, + documentation and makefiles, at the very least. + + This license was inspired by the BSD, Artistic, and IJG + (Independent JPEG Group) licenses, which all encourage inclusion + and use of free software in commercial and freeware products + alike. As a consequence, its main points are that: + + o We don't promise that this software works. However, we will be + interested in any kind of bug reports. (`as is' distribution) + + o You can use this software for whatever you want, in parts or + full form, without having to pay us. (`royalty-free' usage) + + o You may not pretend that you wrote this software. If you use + it, or only parts of it, in a program, you must acknowledge + somewhere in your documentation that you have used the + FreeType code. (`credits') + + We specifically permit and encourage the inclusion of this + software, with or without modifications, in commercial products. + We disclaim all warranties covering The FreeType Project and + assume no liability related to The FreeType Project. + + + Finally, many people asked us for a preferred form for a + credit/disclaimer to use in compliance with this license. We thus + encourage you to use the following text: + + """ + Portions of this software are copyright © The FreeType + Project (www.freetype.org). All rights reserved. + """ + + Please replace with the value from the FreeType version you + actually use. + + +Legal Terms +=========== + +0. Definitions +-------------- + + Throughout this license, the terms `package', `FreeType Project', + and `FreeType archive' refer to the set of files originally + distributed by the authors (David Turner, Robert Wilhelm, and + Werner Lemberg) as the `FreeType Project', be they named as alpha, + beta or final release. + + `You' refers to the licensee, or person using the project, where + `using' is a generic term including compiling the project's source + code as well as linking it to form a `program' or `executable'. + This program is referred to as `a program using the FreeType + engine'. + + This license applies to all files distributed in the original + FreeType Project, including all source code, binaries and + documentation, unless otherwise stated in the file in its + original, unmodified form as distributed in the original archive. + If you are unsure whether or not a particular file is covered by + this license, you must contact us to verify this. + + The FreeType Project is copyright (C) 1996-2000 by David Turner, + Robert Wilhelm, and Werner Lemberg. All rights reserved except as + specified below. + +1. No Warranty +-------------- + + THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY + KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO + USE, OF THE FREETYPE PROJECT. + +2. Redistribution +----------------- + + This license grants a worldwide, royalty-free, perpetual and + irrevocable right and license to use, execute, perform, compile, + display, copy, create derivative works of, distribute and + sublicense the FreeType Project (in both source and object code + forms) and derivative works thereof for any purpose; and to + authorize others to exercise some or all of the rights granted + herein, subject to the following conditions: + + o Redistribution of source code must retain this license file + (`FTL.TXT') unaltered; any additions, deletions or changes to + the original files must be clearly indicated in accompanying + documentation. The copyright notices of the unaltered, + original files must be preserved in all copies of source + files. + + o Redistribution in binary form must provide a disclaimer that + states that the software is based in part of the work of the + FreeType Team, in the distribution documentation. We also + encourage you to put an URL to the FreeType web page in your + documentation, though this isn't mandatory. + + These conditions apply to any software derived from or based on + the FreeType Project, not just the unmodified files. If you use + our work, you must acknowledge us. However, no fee need be paid + to us. + +3. Advertising +-------------- + + Neither the FreeType authors and contributors nor you shall use + the name of the other for commercial, advertising, or promotional + purposes without specific prior written permission. + + We suggest, but do not require, that you use one or more of the + following phrases to refer to this software in your documentation + or advertising materials: `FreeType Project', `FreeType Engine', + `FreeType library', or `FreeType Distribution'. + + As you have not signed this license, you are not required to + accept it. However, as the FreeType Project is copyrighted + material, only this license, or another one contracted with the + authors, grants you the right to use, distribute, and modify it. + Therefore, by using, distributing, or modifying the FreeType + Project, you indicate that you understand and accept all the terms + of this license. + +4. Contacts +----------- + + There are two mailing lists related to FreeType: + + o freetype@nongnu.org + + Discusses general use and applications of FreeType, as well as + future and wanted additions to the library and distribution. + If you are looking for support, start in this list if you + haven't found anything to help you in the documentation. + + o freetype-devel@nongnu.org + + Discusses bugs, as well as engine internals, design issues, + specific licenses, porting, etc. + + Our home page can be found at + + https://www.freetype.org + + +--- end of FTL.TXT --- + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +glib 2.63.1 - LGPL 2.1 + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +glog 0.4.0 - BSD-3-Clause + +Copyright (c) 2008, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +A function gettimeofday in utilities.cc is based on + +http://www.google.com/codesearch/p?hl=en#dR3YEbitojA/COPYING&q=GetSystemTimeAsFileTime%20license:bsd + +The license of this code is: + +Copyright (c) 2003-2008, Jouni Malinen and contributors +All Rights Reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name(s) of the above-listed copyright holder(s) nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +gmp 0.40 - LGPL 3.0 + + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +gmpy2 2.0.8 - LGPL 3.0 + + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +gst-plugins-base 1.14.0 - GPL 2 + + + GNU LIBRARY GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1991 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the library GPL. It is + numbered 2 because it goes with version 2 of the ordinary GPL.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Library General Public License, applies to some +specially designated Free Software Foundation software, and to any +other libraries whose authors decide to use it. You can use it for +your libraries, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if +you distribute copies of the library, or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link a program with the library, you must provide +complete object files to the recipients so that they can relink them +with the library, after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + Our method of protecting your rights has two steps: (1) copyright +the library, and (2) offer you this license which gives you legal +permission to copy, distribute and/or modify the library. + + Also, for each distributor's protection, we want to make certain +that everyone understands that there is no warranty for this free +library. If the library is modified by someone else and passed on, we +want its recipients to know that what they have is not the original +version, so that any problems introduced by others will not reflect on +the original authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that companies distributing free +software will individually obtain patent licenses, thus in effect +transforming the program into proprietary software. To prevent this, +we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. + + Most GNU software, including some libraries, is covered by the ordinary +GNU General Public License, which was designed for utility programs. This +license, the GNU Library General Public License, applies to certain +designated libraries. This license is quite different from the ordinary +one; be sure to read it in full, and don't assume that anything in it is +the same as in the ordinary license. + + The reason we have a separate public license for some libraries is that +they blur the distinction we usually make between modifying or adding to a +program and simply using it. Linking a program with a library, without +changing the library, is in some sense simply using the library, and is +analogous to running a utility program or application program. However, in +a textual and legal sense, the linked executable is a combined work, a +derivative of the original library, and the ordinary General Public License +treats it as such. + + Because of this blurred distinction, using the ordinary General +Public License for libraries did not effectively promote software +sharing, because most developers did not use the libraries. We +concluded that weaker conditions might promote sharing better. + + However, unrestricted linking of non-free programs would deprive the +users of those programs of all benefit from the free status of the +libraries themselves. This Library General Public License is intended to +permit developers of non-free programs to use free libraries, while +preserving your freedom as a user of such programs to change the free +libraries that are incorporated in them. (We have not seen how to achieve +this as regards changes in header files, but we have achieved it as regards +changes in the actual functions of the Library.) The hope is that this +will lead to faster development of free libraries. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, while the latter only +works together with the library. + + Note that it is possible for a library to be covered by the ordinary +General Public License rather than by this special one. + + GNU LIBRARY GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library which +contains a notice placed by the copyright holder or other authorized +party saying it may be distributed under the terms of this Library +General Public License (also called "this License"). Each licensee is +addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also compile or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + c) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + d) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the source code distributed need not include anything that is normally +distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Library General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + Appendix: How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +gstreamer 1.14.0 - LGPL 2.0 + + + GNU LIBRARY GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1991 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the library GPL. It is + numbered 2 because it goes with version 2 of the ordinary GPL.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Library General Public License, applies to some +specially designated Free Software Foundation software, and to any +other libraries whose authors decide to use it. You can use it for +your libraries, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if +you distribute copies of the library, or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link a program with the library, you must provide +complete object files to the recipients so that they can relink them +with the library, after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + Our method of protecting your rights has two steps: (1) copyright +the library, and (2) offer you this license which gives you legal +permission to copy, distribute and/or modify the library. + + Also, for each distributor's protection, we want to make certain +that everyone understands that there is no warranty for this free +library. If the library is modified by someone else and passed on, we +want its recipients to know that what they have is not the original +version, so that any problems introduced by others will not reflect on +the original authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that companies distributing free +software will individually obtain patent licenses, thus in effect +transforming the program into proprietary software. To prevent this, +we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. + + Most GNU software, including some libraries, is covered by the ordinary +GNU General Public License, which was designed for utility programs. This +license, the GNU Library General Public License, applies to certain +designated libraries. This license is quite different from the ordinary +one; be sure to read it in full, and don't assume that anything in it is +the same as in the ordinary license. + + The reason we have a separate public license for some libraries is that +they blur the distinction we usually make between modifying or adding to a +program and simply using it. Linking a program with a library, without +changing the library, is in some sense simply using the library, and is +analogous to running a utility program or application program. However, in +a textual and legal sense, the linked executable is a combined work, a +derivative of the original library, and the ordinary General Public License +treats it as such. + + Because of this blurred distinction, using the ordinary General +Public License for libraries did not effectively promote software +sharing, because most developers did not use the libraries. We +concluded that weaker conditions might promote sharing better. + + However, unrestricted linking of non-free programs would deprive the +users of those programs of all benefit from the free status of the +libraries themselves. This Library General Public License is intended to +permit developers of non-free programs to use free libraries, while +preserving your freedom as a user of such programs to change the free +libraries that are incorporated in them. (We have not seen how to achieve +this as regards changes in header files, but we have achieved it as regards +changes in the actual functions of the Library.) The hope is that this +will lead to faster development of free libraries. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, while the latter only +works together with the library. + + Note that it is possible for a library to be covered by the ordinary +General Public License rather than by this special one. + + GNU LIBRARY GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library which +contains a notice placed by the copyright holder or other authorized +party saying it may be distributed under the terms of this Library +General Public License (also called "this License"). Each licensee is +addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also compile or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + c) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + d) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the source code distributed need not include anything that is normally +distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Library General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + Appendix: How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +h5py 2.9.0 - BSD-3-Clause + +Copyright Notice and Statement for the h5py Project +=================================================== + + Copyright (c) 2008-2013 Andrew Collette and contributors + http://www.h5py.org + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + a. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the + distribution. + + c. Neither the name of the author nor the names of contributors may + be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +hdf5 1.10.4 - BSD-3-Clause + +Copyright Notice and License Terms for +HDF5 (Hierarchical Data Format 5) Software Library and Utilities +----------------------------------------------------------------------------- + +HDF5 (Hierarchical Data Format 5) Software Library and Utilities +Copyright (c) 2006-2018, The HDF Group. + +NCSA HDF5 (Hierarchical Data Format 5) Software Library and Utilities +Copyright (c) 1998-2006, The Board of Trustees of the University of Illinois. + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted for any purpose (including commercial purposes) +provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions, and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions, and the following disclaimer in the documentation + and/or materials provided with the distribution. + +3. Neither the name of The HDF Group, the name of the University, nor the + name of any Contributor may be used to endorse or promote products derived + from this software without specific prior written permission from + The HDF Group, the University, or the Contributor, respectively. + +DISCLAIMER: +THIS SOFTWARE IS PROVIDED BY THE HDF GROUP AND THE CONTRIBUTORS +"AS IS" WITH NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. IN NO EVENT SHALL THE HDF GROUP OR THE CONTRIBUTORS BE LIABLE FOR ANY DAMAGES SUFFERED BY THE USERS ARISING OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +You are under no obligation whatsoever to provide any bug fixes, patches, or upgrades to the features, functionality or performance of the source code ("Enhancements") to anyone; however, if you choose to make your Enhancements available either publicly, or directly to The HDF Group, without imposing a separate written license agreement for such Enhancements, then you hereby grant the following license: a non-exclusive, royalty-free perpetual license to install, use, modify, prepare derivative works, incorporate into other computer software, distribute, and sublicense such enhancements or derivative works thereof, in binary and source code form. + +----------------------------------------------------------------------------- +----------------------------------------------------------------------------- + +Limited portions of HDF5 were developed by Lawrence Berkeley National +Laboratory (LBNL). LBNL's Copyright Notice and Licensing Terms can be +found here: COPYING_LBNL_HDF5 file in this directory or at +http://support.hdfgroup.org/ftp/HDF5/releases/COPYING_LBNL_HDF5. + +----------------------------------------------------------------------------- +----------------------------------------------------------------------------- + +Contributors: National Center for Supercomputing Applications (NCSA) at +the University of Illinois, Fortner Software, Unidata Program Center (netCDF), The Independent JPEG Group (JPEG), Jean-loup Gailly and Mark Adler (gzip), and Digital Equipment Corporation (DEC). + +----------------------------------------------------------------------------- + +Portions of HDF5 were developed with support from the Lawrence Berkeley +National Laboratory (LBNL) and the United States Department of Energy +under Prime Contract No. DE-AC02-05CH11231. + +----------------------------------------------------------------------------- + +Portions of HDF5 were developed with support from the University of +California, Lawrence Livermore National Laboratory (UC LLNL). +The following statement applies to those portions of the product and must +be retained in any redistribution of source code, binaries, documentation, +and/or accompanying materials: + + This work was partially produced at the University of California, + Lawrence Livermore National Laboratory (UC LLNL) under contract + no. W-7405-ENG-48 (Contract 48) between the U.S. Department of Energy + (DOE) and The Regents of the University of California (University) + for the operation of UC LLNL. + + DISCLAIMER: + This work was prepared as an account of work sponsored by an agency of + the United States Government. Neither the United States Government nor + the University of California nor any of their employees, makes any + warranty, express or implied, or assumes any liability or responsibility + for the accuracy, completeness, or usefulness of any information, + apparatus, product, or process disclosed, or represents that its use + would not infringe privately- owned rights. Reference herein to any + specific commercial products, process, or service by trade name, + trademark, manufacturer, or otherwise, does not necessarily constitute + or imply its endorsement, recommendation, or favoring by the United + States Government or the University of California. The views and + opinions of authors expressed herein do not necessarily state or reflect + those of the United States Government or the University of California, + and shall not be used for advertising or product endorsement purposes. + +----------------------------------------------------------------------------- + +HDF5 is available with the SZIP compression library but SZIP is not part +of HDF5 and has separate copyright and license terms. See SZIP Compression +in HDF Products (www.hdfgroup.org/doc_resource/SZIP/) for further details. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +hdijupyterutils 0.17.1 - BSD + + +# Licensing terms + +This project is licensed under the terms of the Modified BSD License +(also known as New or Revised or 3-Clause BSD), as follows: + +- Copyright (c) 2001-2015, IPython Development Team +- Copyright (c) 2015-, Jupyter Development Team + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +Neither the name of the Jupyter Development Team nor the names of its +contributors may be used to endorse or promote products derived from this +software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +## About the Jupyter Development Team + +The Jupyter Development Team is the set of all contributors to the Jupyter project. +This includes all of the Jupyter Subprojects, which are the different repositories +under the [jupyter](https://github.com/jupyter/) GitHub organization. + +The core team that coordinates development on GitHub can be found here: +https://github.com/jupyter/. + +## Our copyright policy + +Jupyter uses a shared copyright model. Each contributor maintains copyright +over their contributions to Jupyter. But, it is important to note that these +contributions are typically only changes to the repositories. Thus, the Jupyter +source code, in its entirety is not the copyright of any single person or +institution. Instead, it is the collective copyright of the entire Jupyter +Development Team. If individual contributors want to maintain a record of what +changes/contributions they have specific copyright on, they should indicate +their copyright in the commit message of the change, when they commit the +change to one of the Jupyter repositories. + +With this in mind, the following banner should be used in any source code file +to indicate the copyright and license terms: + + # Copyright (c) Jupyter Development Team. + # Distributed under the terms of the Modified BSD License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +HeapDict 1.0.1 - BSD + +Copyright 2009 Stutzbach Enterprises, LLC (daniel@stutzbachenterprises.com) + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING +IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +icu 58.2 - MIT + +MIT License + +COPYRIGHT AND PERMISSION NOTICE (ICU 58 and later) + +Copyright © 1991-2016 Unicode, Inc. All rights reserved. +Distributed under the Terms of Use in http://www.unicode.org/copyright.html + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Unicode data files and any associated documentation +(the "Data Files") or Unicode software and any associated documentation +(the "Software") to deal in the Data Files or Software +without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, and/or sell copies of +the Data Files or Software, and to permit persons to whom the Data Files +or Software are furnished to do so, provided that either +(a) this copyright and permission notice appear with all copies +of the Data Files or Software, or +(b) this copyright and permission notice appear in associated +Documentation. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT OF THIRD PARTY RIGHTS. +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS +NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL +DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THE DATA FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder +shall not be used in advertising or otherwise to promote the sale, +use or other dealings in these Data Files or Software without prior +written authorization of the copyright holder. + +--------------------- + +Third-Party Software Licenses + +This section contains third-party software notices and/or additional +terms for licensed third-party software components included within ICU +libraries. + +1. ICU License - ICU 1.8.1 to ICU 57.1 + +COPYRIGHT AND PERMISSION NOTICE + +Copyright (c) 1995-2016 International Business Machines Corporation and others +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, and/or sell copies of the Software, and to permit persons +to whom the Software is furnished to do so, provided that the above +copyright notice(s) and this permission notice appear in all copies of +the Software and that both the above copyright notice(s) and this +permission notice appear in supporting documentation. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY +SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER +RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF +CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +Except as contained in this notice, the name of a copyright holder +shall not be used in advertising or otherwise to promote the sale, use +or other dealings in this Software without prior written authorization +of the copyright holder. + +All trademarks and registered trademarks mentioned herein are the +property of their respective owners. + +2. Chinese/Japanese Word Break Dictionary Data (cjdict.txt) + + # The Google Chrome software developed by Google is licensed under + # the BSD license. Other software included in this distribution is + # provided under other licenses, as set forth below. + # + # The BSD License + # http://opensource.org/licenses/bsd-license.php + # Copyright (C) 2006-2008, Google Inc. + # + # All rights reserved. + # + # Redistribution and use in source and binary forms, with or without + # modification, are permitted provided that the following conditions are met: + # + # Redistributions of source code must retain the above copyright notice, + # this list of conditions and the following disclaimer. + # Redistributions in binary form must reproduce the above + # copyright notice, this list of conditions and the following + # disclaimer in the documentation and/or other materials provided with + # the distribution. + # Neither the name of Google Inc. nor the names of its + # contributors may be used to endorse or promote products derived from + # this software without specific prior written permission. + # + # + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + # CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + # + # + # The word list in cjdict.txt are generated by combining three word lists + # listed below with further processing for compound word breaking. The + # frequency is generated with an iterative training against Google web + # corpora. + # + # * Libtabe (Chinese) + # - https://sourceforge.net/project/?group_id=1519 + # - Its license terms and conditions are shown below. + # + # * IPADIC (Japanese) + # - http://chasen.aist-nara.ac.jp/chasen/distribution.html + # - Its license terms and conditions are shown below. + # + # ---------COPYING.libtabe ---- BEGIN-------------------- + # + # /* + # * Copyrighy (c) 1999 TaBE Project. + # * Copyright (c) 1999 Pai-Hsiang Hsiao. + # * All rights reserved. + # * + # * Redistribution and use in source and binary forms, with or without + # * modification, are permitted provided that the following conditions + # * are met: + # * + # * . Redistributions of source code must retain the above copyright + # * notice, this list of conditions and the following disclaimer. + # * . Redistributions in binary form must reproduce the above copyright + # * notice, this list of conditions and the following disclaimer in + # * the documentation and/or other materials provided with the + # * distribution. + # * . Neither the name of the TaBE Project nor the names of its + # * contributors may be used to endorse or promote products derived + # * from this software without specific prior written permission. + # * + # * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + # * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + # * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + # * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + # * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + # * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + # * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + # * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + # * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + # * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + # * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + # * OF THE POSSIBILITY OF SUCH DAMAGE. + # */ + # + # /* + # * Copyright (c) 1999 Computer Systems and Communication Lab, + # * Institute of Information Science, Academia + # * Sinica. All rights reserved. + # * + # * Redistribution and use in source and binary forms, with or without + # * modification, are permitted provided that the following conditions + # * are met: + # * + # * . Redistributions of source code must retain the above copyright + # * notice, this list of conditions and the following disclaimer. + # * . Redistributions in binary form must reproduce the above copyright + # * notice, this list of conditions and the following disclaimer in + # * the documentation and/or other materials provided with the + # * distribution. + # * . Neither the name of the Computer Systems and Communication Lab + # * nor the names of its contributors may be used to endorse or + # * promote products derived from this software without specific + # * prior written permission. + # * + # * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + # * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + # * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + # * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + # * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + # * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + # * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + # * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + # * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + # * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + # * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + # * OF THE POSSIBILITY OF SUCH DAMAGE. + # */ + # + # Copyright 1996 Chih-Hao Tsai @ Beckman Institute, + # University of Illinois + # c-tsai4@uiuc.edu http://casper.beckman.uiuc.edu/~c-tsai4 + # + # ---------------COPYING.libtabe-----END-------------------------------- + # + # + # ---------------COPYING.ipadic-----BEGIN------------------------------- + # + # Copyright 2000, 2001, 2002, 2003 Nara Institute of Science + # and Technology. All Rights Reserved. + # + # Use, reproduction, and distribution of this software is permitted. + # Any copy of this software, whether in its original form or modified, + # must include both the above copyright notice and the following + # paragraphs. + # + # Nara Institute of Science and Technology (NAIST), + # the copyright holders, disclaims all warranties with regard to this + # software, including all implied warranties of merchantability and + # fitness, in no event shall NAIST be liable for + # any special, indirect or consequential damages or any damages + # whatsoever resulting from loss of use, data or profits, whether in an + # action of contract, negligence or other tortuous action, arising out + # of or in connection with the use or performance of this software. + # + # A large portion of the dictionary entries + # originate from ICOT Free Software. The following conditions for ICOT + # Free Software applies to the current dictionary as well. + # + # Each User may also freely distribute the Program, whether in its + # original form or modified, to any third party or parties, PROVIDED + # that the provisions of Section 3 ("NO WARRANTY") will ALWAYS appear + # on, or be attached to, the Program, which is distributed substantially + # in the same form as set out herein and that such intended + # distribution, if actually made, will neither violate or otherwise + # contravene any of the laws and regulations of the countries having + # jurisdiction over the User or the intended distribution itself. + # + # NO WARRANTY + # + # The program was produced on an experimental basis in the course of the + # research and development conducted during the project and is provided + # to users as so produced on an experimental basis. Accordingly, the + # program is provided without any warranty whatsoever, whether express, + # implied, statutory or otherwise. The term "warranty" used herein + # includes, but is not limited to, any warranty of the quality, + # performance, merchantability and fitness for a particular purpose of + # the program and the nonexistence of any infringement or violation of + # any right of any third party. + # + # Each user of the program will agree and understand, and be deemed to + # have agreed and understood, that there is no warranty whatsoever for + # the program and, accordingly, the entire risk arising from or + # otherwise connected with the program is assumed by the user. + # + # Therefore, neither ICOT, the copyright holder, or any other + # organization that participated in or was otherwise related to the + # development of the program and their respective officials, directors, + # officers and other employees shall be held liable for any and all + # damages, including, without limitation, general, special, incidental + # and consequential damages, arising out of or otherwise in connection + # with the use or inability to use the program or any product, material + # or result produced or otherwise obtained by using the program, + # regardless of whether they have been advised of, or otherwise had + # knowledge of, the possibility of such damages at any time during the + # project or thereafter. Each user will be deemed to have agreed to the + # foregoing by his or her commencement of use of the program. The term + # "use" as used herein includes, but is not limited to, the use, + # modification, copying and distribution of the program and the + # production of secondary products from the program. + # + # In the case where the program, whether in its original form or + # modified, was distributed or delivered to or received by a user from + # any person, organization or entity other than ICOT, unless it makes or + # grants independently of ICOT any specific warranty to the user in + # writing, such person, organization or entity, will also be exempted + # from and not be held liable to the user for any such damages as noted + # above as far as the program is concerned. + # + # ---------------COPYING.ipadic-----END---------------------------------- + +3. Lao Word Break Dictionary Data (laodict.txt) + + # Copyright (c) 2013 International Business Machines Corporation + # and others. All Rights Reserved. + # + # Project: http://code.google.com/p/lao-dictionary/ + # Dictionary: http://lao-dictionary.googlecode.com/git/Lao-Dictionary.txt + # License: http://lao-dictionary.googlecode.com/git/Lao-Dictionary-LICENSE.txt + # (copied below) + # + # This file is derived from the above dictionary, with slight + # modifications. + # ---------------------------------------------------------------------- + # Copyright (C) 2013 Brian Eugene Wilson, Robert Martin Campbell. + # All rights reserved. + # + # Redistribution and use in source and binary forms, with or without + # modification, + # are permitted provided that the following conditions are met: + # + # + # Redistributions of source code must retain the above copyright notice, this + # list of conditions and the following disclaimer. Redistributions in + # binary form must reproduce the above copyright notice, this list of + # conditions and the following disclaimer in the documentation and/or + # other materials provided with the distribution. + # + # + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + # OF THE POSSIBILITY OF SUCH DAMAGE. + # -------------------------------------------------------------------------- + +4. Burmese Word Break Dictionary Data (burmesedict.txt) + + # Copyright (c) 2014 International Business Machines Corporation + # and others. All Rights Reserved. + # + # This list is part of a project hosted at: + # github.com/kanyawtech/myanmar-karen-word-lists + # + # -------------------------------------------------------------------------- + # Copyright (c) 2013, LeRoy Benjamin Sharon + # All rights reserved. + # + # Redistribution and use in source and binary forms, with or without + # modification, are permitted provided that the following conditions + # are met: Redistributions of source code must retain the above + # copyright notice, this list of conditions and the following + # disclaimer. Redistributions in binary form must reproduce the + # above copyright notice, this list of conditions and the following + # disclaimer in the documentation and/or other materials provided + # with the distribution. + # + # Neither the name Myanmar Karen Word Lists, nor the names of its + # contributors may be used to endorse or promote products derived + # from this software without specific prior written permission. + # + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + # CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS + # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + # ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + # TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF + # THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + # SUCH DAMAGE. + # -------------------------------------------------------------------------- + +5. Time Zone Database + + ICU uses the public domain data and code derived from Time Zone +Database for its time zone support. The ownership of the TZ database +is explained in BCP 175: Procedure for Maintaining the Time Zone +Database section 7. + + # 7. Database Ownership + # + # The TZ database itself is not an IETF Contribution or an IETF + # document. Rather it is a pre-existing and regularly updated work + # that is in the public domain, and is intended to remain in the + # public domain. Therefore, BCPs 78 [RFC5378] and 79 [RFC3979] do + # not apply to the TZ Database or contributions that individuals make + # to it. Should any claims be made and substantiated against the TZ + # Database, the organization that is providing the IANA + # Considerations defined in this RFC, under the memorandum of + # understanding with the IETF, currently ICANN, may act in accordance + # with all competent court orders. No ownership claims will be made + # by ICANN or the IETF Trust on the database or the code. Any person + # making a contribution to the database or code waives all rights to + # future claims in that contribution or in the TZ Database. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +idna 2.8 - BSD + + +License +------- + +Copyright (c) 2013-2018, Kim Davies. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +#. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +#. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided with + the distribution. + +#. Neither the name of the copyright holder nor the names of the + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +#. THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS "AS IS" AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + +Portions of the codec implementation and unit tests are derived from the +Python standard library, which carries the `Python Software Foundation +License `_: + + Copyright (c) 2001-2014 Python Software Foundation; All Rights Reserved + +Portions of the unit tests are derived from the Unicode standard, which +is subject to the Unicode, Inc. License Agreement: + + Copyright (c) 1991-2014 Unicode, Inc. All rights reserved. + Distributed under the Terms of Use in + . + + Permission is hereby granted, free of charge, to any person obtaining + a copy of the Unicode data files and any associated documentation + (the "Data Files") or Unicode software and any associated documentation + (the "Software") to deal in the Data Files or Software + without restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, and/or sell copies of + the Data Files or Software, and to permit persons to whom the Data Files + or Software are furnished to do so, provided that + + (a) this copyright and permission notice appear with all copies + of the Data Files or Software, + + (b) this copyright and permission notice appear in associated + documentation, and + + (c) there is clear notice in each modified Data File or in the Software + as well as in the documentation associated with the Data File(s) or + Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF + ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT OF THIRD PARTY RIGHTS. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS + NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL + DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, + DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without prior + written authorization of the copyright holder. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +imageio 2.9.0 - BSD-2-Clause + + +Copyright (c) 2014-2020, imageio developers +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +imagesize 1.2.0 - MIT + + +The MIT License (MIT) +---------------------------- + +Copyright © 2016 Yoshiki Shibukawa + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software +and associated documentation files (the “Software”), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT +NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH +THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +importlib-metadata 2.0.0 - Apache-2.0 + +Copyright 2017-2019 Jason R. Coombs, Barry Warsaw + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +intel-openmp 2019.4 - Intel + +Intel Simplified Software License (Version April 2018) + +Copyright (c) 2018 Intel Corporation. + +Use and Redistribution. You may use and redistribute the software (the +"Software"), without modification, provided the following conditions are met: + +* Redistributions must reproduce the above copyright notice and the following + terms of use in the Software and in the documentation and/or other materials + provided with the distribution. +* Neither the name of Intel nor the names of its suppliers may be used to + endorse or promote products derived from this Software without specific prior + written permission. +* No reverse engineering, decompilation, or disassembly of this Software is + permitted. + +Limited patent license. Intel grants you a world-wide, royalty-free, +non-exclusive license under patents it now or hereafter owns or controls to +make, have made, use, import, offer to sell and sell ("Utilize") this Software, +but solely to the extent that any such patent is necessary to Utilize the +Software alone. The patent license shall not apply to any combinations which +include this software. No hardware per se is licensed hereunder. + +Third party and other Intel programs. "Third Party Programs" are the files +listed in the "third-party-programs.txt" text file that is included with the +Software and may include Intel programs under separate license terms. Third +Party Programs, even if included with the distribution of the Materials, are +governed by separate license terms and those license terms solely govern your +use of those programs. + +DISCLAIMER. THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT ARE +DISCLAIMED. THIS SOFTWARE IS NOT INTENDED FOR USE IN SYSTEMS OR APPLICATIONS +WHERE FAILURE OF THE SOFTWARE MAY CAUSE PERSONAL INJURY OR DEATH AND YOU AGREE +THAT YOU ARE FULLY RESPONSIBLE FOR ANY CLAIMS, COSTS, DAMAGES, EXPENSES, AND +ATTORNEYS' FEES ARISING OUT OF ANY SUCH USE, EVEN IF ANY CLAIM ALLEGES THAT +INTEL WAS NEGLIGENT REGARDING THE DESIGN OR MANUFACTURE OF THE MATERIALS. + +LIMITATION OF LIABILITY. IN NO EVENT WILL INTEL BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. YOU AGREE TO INDEMNIFY AND HOLD INTEL +HARMLESS AGAINST ANY CLAIMS AND EXPENSES RESULTING FROM YOUR USE OR UNAUTHORIZED +USE OF THE SOFTWARE. + +No support. Intel may make changes to the Software, at any time without notice, +and is not obligated to support, update or provide training for the Software. + +Termination. Intel may terminate your right to use the Software in the event of +your breach of this Agreement and you fail to cure the breach within a +reasonable period of time. + +Feedback. Should you provide Intel with comments, modifications, corrections, +enhancements or other input ("Feedback") related to the Software Intel will be +free to use, disclose, reproduce, license or otherwise distribute or exploit the +Feedback in its sole discretion without any obligations or restrictions of any +kind, including without limitation, intellectual property rights or licensing +obligations. + +Compliance with laws. You agree to comply with all relevant laws and +regulations governing your use, transfer, import or export (or prohibition +thereof) of the Software. + +Governing law. All disputes will be governed by the laws of the United States +of America and the State of Delaware without reference to conflict of law +principles and subject to the exclusive jurisdiction of the state or federal +courts sitting in the State of Delaware, and each party agrees that it submits +to the personal jurisdiction and venue of those courts and waives any +objections. The United Nations Convention on Contracts for the International +Sale of Goods (1980) is specifically excluded and will not apply to the +Software. + +*Other names and brands may be claimed as the property of others. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +ipykernel 5.1.0 - BSD-3-Clause + + +# Licensing terms + +This project is licensed under the terms of the Modified BSD License +(also known as New or Revised or 3-Clause BSD), as follows: + +- Copyright (c) 2015, IPython Development Team + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +Neither the name of the IPython Development Team nor the names of its +contributors may be used to endorse or promote products derived from this +software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +## About the IPython Development Team + +The IPython Development Team is the set of all contributors to the IPython project. +This includes all of the IPython subprojects. + +The core team that coordinates development on GitHub can be found here: +https://github.com/ipython/. + +## Our Copyright Policy + +IPython uses a shared copyright model. Each contributor maintains copyright +over their contributions to IPython. But, it is important to note that these +contributions are typically only changes to the repositories. Thus, the IPython +source code, in its entirety is not the copyright of any single person or +institution. Instead, it is the collective copyright of the entire IPython +Development Team. If individual contributors want to maintain a record of what +changes/contributions they have specific copyright on, they should indicate +their copyright in the commit message of the change, when they commit the +change to one of the IPython repositories. + +With this in mind, the following banner should be used in any source code file +to indicate the copyright and license terms: + + # Copyright (c) IPython Development Team. + # Distributed under the terms of the Modified BSD License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +ipython 7.2.0 - BSD-3-Clause + + +BSD 3-Clause License + +- Copyright (c) 2008-Present, IPython Development Team +- Copyright (c) 2001-2007, Fernando Perez +- Copyright (c) 2001, Janko Hauser +- Copyright (c) 2001, Nathaniel Gray + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +ipython_genutils 0.2.0 - BSD-3-Clause + +# Licensing terms + +This project is licensed under the terms of the Modified BSD License +(also known as New or Revised or 3-Clause BSD), as follows: + +- Copyright (c) 2001-, IPython Development Team + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +Neither the name of the IPython Development Team nor the names of its +contributors may be used to endorse or promote products derived from this +software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +## About the IPython Development Team + +The IPython Development Team is the set of all contributors to the IPython project. +This includes all of the IPython subprojects. + +The core team that coordinates development on GitHub can be found here: +https://github.com/jupyter/. + +## Our Copyright Policy + +IPython uses a shared copyright model. Each contributor maintains copyright +over their contributions to IPython. But, it is important to note that these +contributions are typically only changes to the repositories. Thus, the IPython +source code, in its entirety is not the copyright of any single person or +institution. Instead, it is the collective copyright of the entire IPython +Development Team. If individual contributors want to maintain a record of what +changes/contributions they have specific copyright on, they should indicate +their copyright in the commit message of the change, when they commit the +change to one of the IPython repositories. + +With this in mind, the following banner should be used in any source code file +to indicate the copyright and license terms: + + # Copyright (c) IPython Development Team. + # Distributed under the terms of the Modified BSD License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +ipywidgets 7.4.2 - BSD-3-Clause + + +Copyright (c) 2015 Project Jupyter Contributors +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +itsdangerous 1.1.0 - BSD-3-Clause + + +`BSD 3-Clause `_ + +Copyright © 2011 by the Pallets team. + +Some rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +- Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +- Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +We kindly ask you to use these themes in an unmodified manner only with +Pallets and Pallets-related projects, not for unrelated projects. If you +like the visual style and want to use it for your own projects, please +consider making some larger changes to the themes (such as changing font +faces, sizes, colors or margins). + +THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND +CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +---- + +The initial implementation of itsdangerous was inspired by Django's +signing module. + +Copyright © Django Software Foundation and individual contributors. +All rights reserved. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jdcal 1.4 - BSD-2-Clause + + +Copyright (c) 2011, Prasanth Nair + +Copyright (c) . All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jedi 0.18.0 - MIT + +All contributions towards Jedi are MIT licensed. + +------------------------------------------------------------------------------- +The MIT License (MIT) + +Copyright (c) <2013> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Jinja2 2.11.2 - BSD-3-Clause + + +Copyright 2007 Pallets + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +joblib 0.13.2 - BSD-3-Clause + + +BSD 3-Clause License + +Copyright (c) 2008-2016, The joblib developers. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jpeg 9b + +The authors make NO WARRANTY or representation, either express or implied, +with respect to this software, its quality, accuracy, merchantability, or +fitness for a particular purpose. This software is provided "AS IS", and you, +its user, assume the entire risk as to its quality and accuracy. + +This software is copyright (C) 1991-2016, Thomas G. Lane, Guido Vollbeding. +All Rights Reserved except as specified below. + +Permission is hereby granted to use, copy, modify, and distribute this +software (or portions thereof) for any purpose, without fee, subject to these +conditions: +(1) If any part of the source code for this software is distributed, then this +README file must be included, with this copyright and no-warranty notice +unaltered; and any additions, deletions, or changes to the original files +must be clearly indicated in accompanying documentation. +(2) If only executable code is distributed, then the accompanying +documentation must state that "this software is based in part on the work of +the Independent JPEG Group". +(3) Permission for use of this software is granted only if the user accepts +full responsibility for any undesirable consequences; the authors accept +NO LIABILITY for damages of any kind. + +These conditions apply to any software derived from or based on the IJG code, +not just to the unmodified library. If you use our work, you ought to +acknowledge us. + +Permission is NOT granted for the use of any IJG author's name or company name +in advertising or publicity relating to this software or products derived from +it. This software may be referred to only as "the Independent JPEG Group's +software". + +We specifically permit and encourage the use of this software as the basis of +commercial products, provided that all warranty or liability claims are +assumed by the product vendor. + + +The Unix configuration script "configure" was produced with GNU Autoconf. +It is copyright by the Free Software Foundation but is freely distributable. +The same holds for its supporting scripts (config.guess, config.sub, +ltmain.sh). Another support script, install-sh, is copyright by X Consortium +but is also freely distributable. + +The IJG distribution formerly included code to read and write GIF files. +To avoid entanglement with the Unisys LZW patent (now expired), GIF reading +support has been removed altogether, and the GIF writer has been simplified +to produce "uncompressed GIFs". This technique does not use the LZW +algorithm; the resulting GIF files are larger than usual, but are readable +by all standard GIF decoders. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jupyter 1.0.0 - BSD + + +BSD 3-Clause License + +Copyright (c) 2017, Project Jupyter Contributors +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.T OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jupyter-client 5.2.4 - BSD-3-Clause + + +# Licensing terms + +This project is licensed under the terms of the Modified BSD License +(also known as New or Revised or 3-Clause BSD), as follows: + +- Copyright (c) 2001-2015, IPython Development Team +- Copyright (c) 2015-, Jupyter Development Team + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +Neither the name of the Jupyter Development Team nor the names of its +contributors may be used to endorse or promote products derived from this +software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +## About the Jupyter Development Team + +The Jupyter Development Team is the set of all contributors to the Jupyter project. +This includes all of the Jupyter subprojects. + +The core team that coordinates development on GitHub can be found here: +https://github.com/jupyter/. + +## Our Copyright Policy + +Jupyter uses a shared copyright model. Each contributor maintains copyright +over their contributions to Jupyter. But, it is important to note that these +contributions are typically only changes to the repositories. Thus, the Jupyter +source code, in its entirety is not the copyright of any single person or +institution. Instead, it is the collective copyright of the entire Jupyter +Development Team. If individual contributors want to maintain a record of what +changes/contributions they have specific copyright on, they should indicate +their copyright in the commit message of the change, when they commit the +change to one of the Jupyter repositories. + +With this in mind, the following banner should be used in any source code file +to indicate the copyright and license terms: + + # Copyright (c) Jupyter Development Team. + # Distributed under the terms of the Modified BSD License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jupyter-console 6.0.0 - BSD-2-Clause + + +# Licensing terms + +This project is licensed under the terms of the Modified BSD License +(also known as New or Revised or 3-Clause BSD), as follows: + +- Copyright (c) 2001-2015, IPython Development Team +- Copyright (c) 2015-, Jupyter Development Team + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +Neither the name of the Jupyter Development Team nor the names of its +contributors may be used to endorse or promote products derived from this +software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +## About the Jupyter Development Team + +The Jupyter Development Team is the set of all contributors to the Jupyter project. +This includes all of the Jupyter subprojects. + +The core team that coordinates development on GitHub can be found here: +https://github.com/jupyter/. + +## Our Copyright Policy + +Jupyter uses a shared copyright model. Each contributor maintains copyright +over their contributions to Jupyter. But, it is important to note that these +contributions are typically only changes to the repositories. Thus, the Jupyter +source code, in its entirety is not the copyright of any single person or +institution. Instead, it is the collective copyright of the entire Jupyter +Development Team. If individual contributors want to maintain a record of what +changes/contributions they have specific copyright on, they should indicate +their copyright in the commit message of the change, when they commit the +change to one of the Jupyter repositories. + +With this in mind, the following banner should be used in any source code file +to indicate the copyright and license terms: + + # Copyright (c) Jupyter Development Team. + # Distributed under the terms of the Modified BSD License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +jupyter-core 4.7.0 - BSD-2-Clause + + +# The Jupyter licensing terms + +Jupyter is licensed under the terms of the Modified BSD License (also known as +New or Revised or 3-Clause BSD), as follows: + +- Copyright (c) 2015-, Jupyter Development Team + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +Neither the name of the Jupyter Development Team nor the names of its +contributors may be used to endorse or promote products derived from this +software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +## About the Jupyter Development Team + +The Jupyter Development Team is the set of all contributors to the Jupyter +project. This includes all of the Jupyter subprojects. A full list with +details is kept in the documentation directory, in the file +`about/credits.txt`. + +The core team that coordinates development on GitHub can be found here: +https://github.com/ipython/. + +## Our Copyright Policy + +Jupyter uses a shared copyright model. Each contributor maintains copyright +over their contributions to Jupyter. It is important to note that these +contributions are typically only changes to the repositories. Thus, the Jupyter +source code in its entirety is not the copyright of any single person or +institution. Instead, it is the collective copyright of the entire Jupyter +Development Team. If individual contributors want to maintain a record of what +changes/contributions they have specific copyright on, they should indicate +their copyright in the commit message of the change, when they commit the +change to one of the Jupyter repositories. + +With this in mind, the following banner should be used in any source code file +to indicate the copyright and license terms: + + # Copyright (c) Jupyter Development Team. + # Distributed under the terms of the Modified BSD License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +keras2onnx 1.5.1 - MIT + + +MIT License + +Copyright (c) 2018 Microsoft Corporation + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +kiwisolver 1.3.0 - BSD-3-Clause + +========================= + The Kiwi licensing terms +========================= +Kiwi is licensed under the terms of the Modified BSD License (also known as +New or Revised BSD), as follows: + +Copyright (c) 2013, Nucleic Development Team + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +Neither the name of the Nucleic Development Team nor the names of its +contributors may be used to endorse or promote products derived from this +software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +About Kiwi +---------- +Chris Colbert began the Kiwi project in December 2013 in an effort to +create a blisteringly fast UI constraint solver. Chris is still the +project lead. + +The Nucleic Development Team is the set of all contributors to the Nucleic +project and its subprojects. + +The core team that coordinates development on GitHub can be found here: +http://github.com/nucleic. The current team consists of: + +* Chris Colbert + +Our Copyright Policy +-------------------- +Nucleic uses a shared copyright model. Each contributor maintains copyright +over their contributions to Nucleic. But, it is important to note that these +contributions are typically only changes to the repositories. Thus, the Nucleic +source code, in its entirety is not the copyright of any single person or +institution. Instead, it is the collective copyright of the entire Nucleic +Development Team. If individual contributors want to maintain a record of what +changes/contributions they have specific copyright on, they should indicate +their copyright in the commit message of the change, when they commit the +change to one of the Nucleic repositories. + +With this in mind, the following banner should be used in any source code file +to indicate the copyright and license terms: + +#------------------------------------------------------------------------------ +# Copyright (c) 2013, Nucleic Development Team. +# +# Distributed under the terms of the Modified BSD License. +# +# The full license is in the file LICENSE, distributed with this software. +#------------------------------------------------------------------------------ + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +krb5 1.16.1 - MIT + +Copyright |copy| 1985-2018 by the Massachusetts Institute of Technology. + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Downloading of this software may constitute an export of cryptographic +software from the United States of America that is subject to the +United States Export Administration Regulations (EAR), 15 CFR 730-774. +Additional laws or regulations may apply. It is the responsibility of +the person or entity contemplating export to comply with all +applicable export laws and regulations, including obtaining any +required license from the U.S. government. + +The U.S. government prohibits export of encryption source code to +certain countries and individuals, including, but not limited to, the +countries of Cuba, Iran, North Korea, Sudan, Syria, and residents and +nationals of those countries. + +Documentation components of this software distribution are licensed +under a Creative Commons Attribution-ShareAlike 3.0 Unported License. +(http://creativecommons.org/licenses/by-sa/3.0/) + +Individual source code files are copyright MIT, Cygnus Support, +Novell, OpenVision Technologies, Oracle, Red Hat, Sun Microsystems, +FundsXpress, and others. + +Project Athena, Athena, Athena MUSE, Discuss, Hesiod, Kerberos, Moira, +and Zephyr are trademarks of the Massachusetts Institute of Technology +(MIT). No commercial use of these trademarks may be made without +prior written permission of MIT. + +"Commercial use" means use of a name in a product or other for-profit +manner. It does NOT prevent a commercial firm from referring to the +MIT trademarks in order to convey information (although in doing so, +recognition of their trademark status should be given). + +------------------- + +The following copyright and permission notice applies to the +OpenVision Kerberos Administration system located in +``kadmin/create``, ``kadmin/dbutil``, ``kadmin/passwd``, +``kadmin/server``, ``lib/kadm5``, and portions of +``lib/rpc``: + + Copyright, OpenVision Technologies, Inc., 1993-1996, All Rights Reserved + + WARNING: Retrieving the OpenVision Kerberos Administration system source + code, as described below, indicates your acceptance of the following + terms. If you do not agree to the following terms, do not retrieve the + OpenVision Kerberos administration system. + + You may freely use and distribute the Source Code and Object Code + compiled from it, with or without modification, but this Source Code is + provided to you "AS IS" EXCLUSIVE OF ANY WARRANTY, INCLUDING, WITHOUT + LIMITATION, ANY WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A + PARTICULAR PURPOSE, OR ANY OTHER WARRANTY, WHETHER EXPRESS OR IMPLIED. + IN NO EVENT WILL OPENVISION HAVE ANY LIABILITY FOR ANY LOST PROFITS, + LOSS OF DATA OR COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR + FOR ANY SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS + AGREEMENT, INCLUDING, WITHOUT LIMITATION, THOSE RESULTING FROM THE USE + OF THE SOURCE CODE, OR THE FAILURE OF THE SOURCE CODE TO PERFORM, OR FOR + ANY OTHER REASON. + + OpenVision retains all copyrights in the donated Source Code. OpenVision + also retains copyright to derivative works of the Source Code, whether + created by OpenVision or by a third party. The OpenVision copyright + notice must be preserved if derivative works are made based on the + donated Source Code. + + OpenVision Technologies, Inc. has donated this Kerberos Administration + system to MIT for inclusion in the standard Kerberos 5 distribution. + This donation underscores our commitment to continuing Kerberos + technology development and our gratitude for the valuable work which has + been performed by MIT and the Kerberos community. + +------------------- + + Portions contributed by Matt Crawford ``crawdad@fnal.gov`` were work + performed at Fermi National Accelerator Laboratory, which is operated + by Universities Research Association, Inc., under contract + DE-AC02-76CHO3000 with the U.S. Department of Energy. + +------------------- + +Portions of ``src/lib/crypto`` have the following copyright: + + Copyright |copy| 1998 by the FundsXpress, INC. + + All rights reserved. + + Export of this software from the United States of America may require + a specific license from the United States Government. It is the + responsibility of any person or organization contemplating export to + obtain such a license before exporting. + + WITHIN THAT CONSTRAINT, permission to use, copy, modify, and + distribute this software and its documentation for any purpose and + without fee is hereby granted, provided that the above copyright + notice appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, and that + the name of FundsXpress. not be used in advertising or publicity pertaining + to distribution of the software without specific, written prior + permission. FundsXpress makes no representations about the suitability of + this software for any purpose. It is provided "as is" without express + or implied warranty. + + THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +------------------- + +The implementation of the AES encryption algorithm in +``src/lib/crypto/builtin/aes`` has the following copyright: + + | Copyright |copy| 2001, Dr Brian Gladman ``brg@gladman.uk.net``, + Worcester, UK. + | All rights reserved. + + LICENSE TERMS + + The free distribution and use of this software in both source and binary + form is allowed (with or without changes) provided that: + + 1. distributions of this source code include the above copyright + notice, this list of conditions and the following disclaimer; + 2. distributions in binary form include the above copyright + notice, this list of conditions and the following disclaimer + in the documentation and/or other associated materials; + 3. the copyright holder's name is not used to endorse products + built using this software without specific written permission. + + DISCLAIMER + + This software is provided 'as is' with no explcit or implied warranties + in respect of any properties, including, but not limited to, correctness + and fitness for purpose. + +------------------- + +Portions contributed by Red Hat, including the pre-authentication +plug-in framework and the NSS crypto implementation, contain the +following copyright: + + | Copyright |copy| 2006 Red Hat, Inc. + | Portions copyright |copy| 2006 Massachusetts Institute of Technology + | All Rights Reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Red Hat, Inc., nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER + OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------------- + +The bundled verto source code is subject to the following license: + + Copyright 2011 Red Hat, Inc. + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +------------------- + +The MS-KKDCP client implementation has the following copyright: + + Copyright 2013,2014 Red Hat, Inc. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER + OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------------- + +The implementations of GSSAPI mechglue in GSSAPI-SPNEGO in +``src/lib/gssapi``, including the following files: + +.. parsed-literal:: + + lib/gssapi/generic/gssapi_err_generic.et + lib/gssapi/mechglue/g_accept_sec_context.c + lib/gssapi/mechglue/g_acquire_cred.c + lib/gssapi/mechglue/g_canon_name.c + lib/gssapi/mechglue/g_compare_name.c + lib/gssapi/mechglue/g_context_time.c + lib/gssapi/mechglue/g_delete_sec_context.c + lib/gssapi/mechglue/g_dsp_name.c + lib/gssapi/mechglue/g_dsp_status.c + lib/gssapi/mechglue/g_dup_name.c + lib/gssapi/mechglue/g_exp_sec_context.c + lib/gssapi/mechglue/g_export_name.c + lib/gssapi/mechglue/g_glue.c + lib/gssapi/mechglue/g_imp_name.c + lib/gssapi/mechglue/g_imp_sec_context.c + lib/gssapi/mechglue/g_init_sec_context.c + lib/gssapi/mechglue/g_initialize.c + lib/gssapi/mechglue/g_inquire_context.c + lib/gssapi/mechglue/g_inquire_cred.c + lib/gssapi/mechglue/g_inquire_names.c + lib/gssapi/mechglue/g_process_context.c + lib/gssapi/mechglue/g_rel_buffer.c + lib/gssapi/mechglue/g_rel_cred.c + lib/gssapi/mechglue/g_rel_name.c + lib/gssapi/mechglue/g_rel_oid_set.c + lib/gssapi/mechglue/g_seal.c + lib/gssapi/mechglue/g_sign.c + lib/gssapi/mechglue/g_store_cred.c + lib/gssapi/mechglue/g_unseal.c + lib/gssapi/mechglue/g_userok.c + lib/gssapi/mechglue/g_utils.c + lib/gssapi/mechglue/g_verify.c + lib/gssapi/mechglue/gssd_pname_to_uid.c + lib/gssapi/mechglue/mglueP.h + lib/gssapi/mechglue/oid_ops.c + lib/gssapi/spnego/gssapiP_spnego.h + lib/gssapi/spnego/spnego_mech.c + +and the initial implementation of incremental propagation, including +the following new or changed files: + +.. parsed-literal:: + + include/iprop_hdr.h + kadmin/server/ipropd_svc.c + lib/kdb/iprop.x + lib/kdb/kdb_convert.c + lib/kdb/kdb_log.c + lib/kdb/kdb_log.h + lib/krb5/error_tables/kdb5_err.et + slave/kpropd_rpc.c + slave/kproplog.c + +are subject to the following license: + + Copyright |copy| 2004 Sun Microsystems, Inc. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------------- + +Kerberos V5 includes documentation and software developed at the +University of California at Berkeley, which includes this copyright +notice: + + | Copyright |copy| 1983 Regents of the University of California. + | All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +------------------- + +Portions contributed by Novell, Inc., including the LDAP database +backend, are subject to the following license: + + | Copyright |copy| 2004-2005, Novell, Inc. + | All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * The copyright holder's name is not used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +------------------- + +Portions funded by Sandia National Laboratory +and developed by the University of Michigan's +Center for Information Technology Integration, +including the PKINIT implementation, are subject +to the following license: + + | COPYRIGHT |copy| 2006-2007 + | THE REGENTS OF THE UNIVERSITY OF MICHIGAN + | ALL RIGHTS RESERVED + + Permission is granted to use, copy, create derivative works + and redistribute this software and such derivative works + for any purpose, so long as the name of The University of + Michigan is not used in any advertising or publicity + pertaining to the use of distribution of this software + without specific, written prior authorization. If the + above copyright notice or any other identification of the + University of Michigan is included in any copy of any + portion of this software, then the disclaimer below must + also be included. + + THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION + FROM THE UNIVERSITY OF MICHIGAN AS TO ITS FITNESS FOR ANY + PURPOSE, AND WITHOUT WARRANTY BY THE UNIVERSITY OF + MICHIGAN OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING + WITHOUT LIMITATION THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE + REGENTS OF THE UNIVERSITY OF MICHIGAN SHALL NOT BE LIABLE + FOR ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL, OR + CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING + OUT OF OR IN CONNECTION WITH THE USE OF THE SOFTWARE, EVEN + IF IT HAS BEEN OR IS HEREAFTER ADVISED OF THE POSSIBILITY OF + SUCH DAMAGES. + +------------------- + +The pkcs11.h file included in the PKINIT code has the +following license: + + | Copyright 2006 g10 Code GmbH + | Copyright 2006 Andreas Jellinghaus + + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. + +------------------- + +Portions contributed by Apple Inc. are subject to the following license: + + Copyright 2004-2008 Apple Inc. All Rights Reserved. + + Export of this software from the United States of America may require + a specific license from the United States Government. It is the + responsibility of any person or organization contemplating export to + obtain such a license before exporting. + + WITHIN THAT CONSTRAINT, permission to use, copy, modify, and + distribute this software and its documentation for any purpose and + without fee is hereby granted, provided that the above copyright + notice appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, and that + the name of Apple Inc. not be used in advertising or publicity pertaining + to distribution of the software without specific, written prior + permission. Apple Inc. makes no representations about the suitability of + this software for any purpose. It is provided "as is" without express + or implied warranty. + + THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +------------------- + +The implementations of UTF-8 string handling in src/util/support and +src/lib/krb5/unicode are subject to the following copyright and +permission notice: + + | The OpenLDAP Public License + | Version 2.8, 17 August 2003 + + Redistribution and use of this software and associated documentation + ("Software"), with or without modification, are permitted provided + that the following conditions are met: + + 1. Redistributions in source form must retain copyright statements + and notices, + 2. Redistributions in binary form must reproduce applicable copyright + statements and notices, this list of conditions, and the following + disclaimer in the documentation and/or other materials provided + with the distribution, and + 3. Redistributions must contain a verbatim copy of this document. + + The OpenLDAP Foundation may revise this license from time to time. + Each revision is distinguished by a version number. You may use + this Software under terms of this license revision or under the + terms of any subsequent revision of the license. + + THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS + CONTRIBUTORS "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT + SHALL THE OPENLDAP FOUNDATION, ITS CONTRIBUTORS, OR THE AUTHOR(S) + OR OWNER(S) OF THE SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + The names of the authors and copyright holders must not be used in + advertising or otherwise to promote the sale, use or other dealing + in this Software without specific, written prior permission. Title + to copyright in this Software shall at all times remain with copyright + holders. + + OpenLDAP is a registered trademark of the OpenLDAP Foundation. + + Copyright 1999-2003 The OpenLDAP Foundation, Redwood City, + California, USA. All Rights Reserved. Permission to copy and + distribute verbatim copies of this document is granted. + +------------------- + +Marked test programs in src/lib/krb5/krb have the following copyright: + + | Copyright |copy| 2006 Kungliga Tekniska Högskola + | (Royal Institute of Technology, Stockholm, Sweden). + | All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of KTH nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS "AS IS" AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------------- + +The KCM Mach RPC definition file used on macOS has the following copyright: + + | Copyright |copy| 2009 Kungliga Tekniska Högskola + | (Royal Institute of Technology, Stockholm, Sweden). + | All rights reserved. + + Portions Copyright |copy| 2009 Apple Inc. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of the Institute nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +------------------- + +Portions of the RPC implementation in src/lib/rpc and src/include/gssrpc +have the following copyright and permission notice: + + Copyright |copy| 2010, Oracle America, Inc. + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. Neither the name of the "Oracle America, Inc." nor the names of + its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------------- + + Copyright |copy| 2006,2007,2009 + NTT (Nippon Telegraph and Telephone Corporation). All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer as + the first lines of this file unmodified. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY NTT "AS IS" AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL NTT BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------------- + + Copyright 2000 by Carnegie Mellon University + + All Rights Reserved + + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the name of Carnegie Mellon + University not be used in advertising or publicity pertaining to + distribution of the software without specific, written prior + permission. + + CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO + THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR + ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT + OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +------------------- + + Copyright |copy| 2002 Naval Research Laboratory (NRL/CCS) + + Permission to use, copy, modify and distribute this software and its + documentation is hereby granted, provided that both the copyright + notice and this permission notice appear in all copies of the software, + derivative works or modified versions, and any portions thereof. + + NRL ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND + DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER + RESULTING FROM THE USE OF THIS SOFTWARE. + +------------------- + + Copyright |copy| 1991, 1992, 1994 by Cygnus Support. + + Permission to use, copy, modify, and + distribute this software and its documentation for any purpose and + without fee is hereby granted, provided that the above copyright + notice appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation. + Cygnus Support makes no representations about the suitability of + this software for any purpose. It is provided "as is" without express + or implied warranty. + +------------------- + + Copyright |copy| 2006 Secure Endpoints Inc. + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, copy, + modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +------------------- + +Portions of the implementation of the Fortuna-like PRNG are subject to +the following notice: + + | Copyright |copy| 2005 Marko Kreen + | All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +.. + + Copyright |copy| 1994 by the University of Southern California + + EXPORT OF THIS SOFTWARE from the United States of America may + require a specific license from the United States Government. + It is the responsibility of any person or organization contemplating + export to obtain such a license before exporting. + + WITHIN THAT CONSTRAINT, permission to copy, modify, and distribute + this software and its documentation in source and binary forms is + hereby granted, provided that any documentation or other materials + related to such distribution or use acknowledge that the software + was developed by the University of Southern California. + + DISCLAIMER OF WARRANTY. THIS SOFTWARE IS PROVIDED "AS IS". The + University of Southern California MAKES NO REPRESENTATIONS OR + WARRANTIES, EXPRESS OR IMPLIED. By way of example, but not + limitation, the University of Southern California MAKES NO + REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY + PARTICULAR PURPOSE. The University of Southern + California shall not be held liable for any liability nor for any + direct, indirect, or consequential damages with respect to any + claim by the user or distributor of the ksu software. + +------------------- + + | Copyright |copy| 1995 + | The President and Fellows of Harvard University + + This code is derived from software contributed to Harvard by + Jeremy Rassen. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + + This product includes software developed by the University of + California, Berkeley and its contributors. + + 4. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +------------------- + + | Copyright |copy| 2008 by the Massachusetts Institute of Technology. + | Copyright 1995 by Richard P. Basch. All Rights Reserved. + | Copyright 1995 by Lehman Brothers, Inc. All Rights Reserved. + + Export of this software from the United States of America may + require a specific license from the United States Government. + It is the responsibility of any person or organization contemplating + export to obtain such a license before exporting. + + WITHIN THAT CONSTRAINT, permission to use, copy, modify, and + distribute this software and its documentation for any purpose and + without fee is hereby granted, provided that the above copyright + notice appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, and that + the name of Richard P. Basch, Lehman Brothers and M.I.T. not be used + in advertising or publicity pertaining to distribution of the software + without specific, written prior permission. Richard P. Basch, + Lehman Brothers and M.I.T. make no representations about the suitability + of this software for any purpose. It is provided "as is" without + express or implied warranty. + +------------------- + +The following notice applies to ``src/lib/krb5/krb/strptime.c`` and +``src/include/k5-queue.h``. + + | Copyright |copy| 1997, 1998 The NetBSD Foundation, Inc. + | All rights reserved. + + This code was contributed to The NetBSD Foundation by Klaus Klein. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + + This product includes software developed by the NetBSD + Foundation, Inc. and its contributors. + + 4. Neither the name of The NetBSD Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +------------------- + +The following notice applies to Unicode library files in +``src/lib/krb5/unicode``: + + | Copyright 1997, 1998, 1999 Computing Research Labs, + | New Mexico State University + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE COMPUTING RESEARCH LAB OR NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT + OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR + THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------------- + +The following notice applies to ``src/util/support/strlcpy.c``: + + Copyright |copy| 1998 Todd C. Miller ``Todd.Miller@courtesan.com`` + + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +------------------- + +The following notice applies to ``src/util/profile/argv_parse.c`` and +``src/util/profile/argv_parse.h``: + + Copyright 1999 by Theodore Ts'o. + + Permission to use, copy, modify, and distribute this software for + any purpose with or without fee is hereby granted, provided that + the above copyright notice and this permission notice appear in all + copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE + AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER + RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION + OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR + IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. (Isn't + it sick that the U.S. culture of lawsuit-happy lawyers requires + this kind of disclaimer?) + +------------------- + +The following notice applies to SWIG-generated code in +``src/util/profile/profile_tcl.c``: + + Copyright |copy| 1999-2000, The University of Chicago + + This file may be freely redistributed without license or fee provided + this copyright message remains intact. + +------------------- + +The following notice applies to portiions of ``src/lib/rpc`` and +``src/include/gssrpc``: + + Copyright |copy| 2000 The Regents of the University of Michigan. + All rights reserved. + + Copyright |copy| 2000 Dug Song ``dugsong@UMICH.EDU``. + All rights reserved, all wrongs reversed. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------------- + +Implementations of the MD4 algorithm are subject to the following +notice: + + Copyright |copy| 1990, RSA Data Security, Inc. All rights reserved. + + License to copy and use this software is granted provided that + it is identified as the "RSA Data Security, Inc. MD4 Message + Digest Algorithm" in all material mentioning or referencing this + software or this function. + + License is also granted to make and use derivative works + provided that such works are identified as "derived from the RSA + Data Security, Inc. MD4 Message Digest Algorithm" in all + material mentioning or referencing the derived work. + + RSA Data Security, Inc. makes no representations concerning + either the merchantability of this software or the suitability + of this software for any particular purpose. It is provided "as + is" without express or implied warranty of any kind. + + These notices must be retained in any copies of any part of this + documentation and/or software. + +------------------- + +Implementations of the MD5 algorithm are subject to the following +notice: + + Copyright |copy| 1990, RSA Data Security, Inc. All rights reserved. + + License to copy and use this software is granted provided that + it is identified as the "RSA Data Security, Inc. MD5 Message- + Digest Algorithm" in all material mentioning or referencing this + software or this function. + + License is also granted to make and use derivative works + provided that such works are identified as "derived from the RSA + Data Security, Inc. MD5 Message-Digest Algorithm" in all + material mentioning or referencing the derived work. + + RSA Data Security, Inc. makes no representations concerning + either the merchantability of this software or the suitability + of this software for any particular purpose. It is provided "as + is" without express or implied warranty of any kind. + + These notices must be retained in any copies of any part of this + documentation and/or software. + +------------------- + +The following notice applies to ``src/lib/crypto/crypto_tests/t_mddriver.c``: + + Copyright |copy| 1990-2, RSA Data Security, Inc. Created 1990. All + rights reserved. + + RSA Data Security, Inc. makes no representations concerning either + the merchantability of this software or the suitability of this + software for any particular purpose. It is provided "as is" + without express or implied warranty of any kind. + + These notices must be retained in any copies of any part of this + documentation and/or software. + +------------------- + +Portions of ``src/lib/krb5`` are subject to the following notice: + + | Copyright |copy| 1994 CyberSAFE Corporation. + | Copyright 1990,1991,2007,2008 by the Massachusetts + Institute of Technology. + | All Rights Reserved. + + Export of this software from the United States of America may + require a specific license from the United States Government. + It is the responsibility of any person or organization contemplating + export to obtain such a license before exporting. + + WITHIN THAT CONSTRAINT, permission to use, copy, modify, and + distribute this software and its documentation for any purpose and + without fee is hereby granted, provided that the above copyright + notice appear in all copies and that both that copyright notice and + this permission notice appear in supporting documentation, and that + the name of M.I.T. not be used in advertising or publicity pertaining + to distribution of the software without specific, written prior + permission. Furthermore if you modify this software you must label + your software as modified software and not distribute it in such a + fashion that it might be confused with the original M.I.T. software. + Neither M.I.T., the Open Computing Security Group, nor + CyberSAFE Corporation make any representations about the suitability of + this software for any purpose. It is provided "as is" without express + or implied warranty. + +------------------- + +Portions contributed by PADL Software are subject to the following +license: + + Copyright (c) 2011, PADL Software Pty Ltd. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of PADL Software nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY PADL SOFTWARE AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL PADL SOFTWARE OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +------------------- + +The bundled libev source code is subject to the following license: + + All files in libev are Copyright (C)2007,2008,2009 Marc Alexander Lehmann. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + Alternatively, the contents of this package may be used under the terms + of the GNU General Public License ("GPL") version 2 or any later version, + in which case the provisions of the GPL are applicable instead of the + above. If you wish to allow the use of your version of this package only + under the terms of the GPL and not to allow others to use your version of + this file under the BSD license, indicate your decision by deleting the + provisions above and replace them with the notice and other provisions + required by the GPL in this and the other files of this package. If you do + not delete the provisions above, a recipient may use your version of this + file under either the BSD or the GPL. + +------------------- + +Files copied from the Intel AESNI Sample Library are subject to the +following license: + + Copyright |copy| 2010, Intel Corporation + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain the above + copyright notice, this list of conditions and the following + disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials + provided with the distribution. + * Neither the name of Intel Corporation nor the names of its + contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF + THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +------------------- + +The following notice applies to +``src/ccapi/common/win/OldCC/autolock.hxx``: + + Copyright (C) 1998 by Danilo Almeida. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +lcms2 2.11 - MIT + +MIT License + +Little CMS +Copyright (c) 1998-2020 Marti Maria Saguer + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +liac-arff 2.4.0 - MIT + + +Copyright (c) 2011 Renato de Pontes Pereira + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libboost 1.67.0 - Boost 1.0 + +Boost Software License - Version 1.0 - August 17th, 2003 + +Permission is hereby granted, free of charge, to any person or organization +obtaining a copy of the software and accompanying documentation covered by +this license (the "Software") to use, reproduce, display, distribute, +execute, and transmit the Software, and to prepare derivative works of the +Software, and to permit third-parties to whom the Software is furnished to +do so, all subject to the following: + +The copyright notices in the Software and this entire statement, including +the above license grant, this restriction and the following disclaimer, +must be included in all copies of the Software, in whole or in part, and +all derivative works of the Software, unless such copies or derivative +works are solely in the form of machine-executable object code generated by +a source language processor. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT +SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libcurl 7.63.0 - MIT + +MIT License + +COPYRIGHT AND PERMISSION NOTICE + +Copyright (c) 1996 - 2018, Daniel Stenberg, , and many +contributors, see the THANKS file. + +All rights reserved. + +Permission to use, copy, modify, and distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright +notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN +NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE +OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of a copyright holder shall not +be used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization of the copyright holder. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libedit 3.1.20191231 - BSD-3-Clause + +Copyright (c) 1992, 1993 + The Regents of the University of California. All rights reserved. + +This code is derived from software contributed to Berkeley by +Christos Zoulas of Cornell University. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libevent 2.1.8 - BSD-3-Clause + +Libevent is available for use under the following license, commonly known +as the 3-clause (or "modified") BSD license: + +============================== +Copyright (c) 2000-2007 Niels Provos +Copyright (c) 2007-2012 Niels Provos and Nick Mathewson + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +============================== + +Portions of Libevent are based on works by others, also made available by +them under the three-clause BSD license above. The copyright notices are +available in the corresponding source files; the license is as above. Here's +a list: + +log.c: + Copyright (c) 2000 Dug Song + Copyright (c) 1993 The Regents of the University of California. + +strlcpy.c: + Copyright (c) 1998 Todd C. Miller + +win32select.c: + Copyright (c) 2003 Michael A. Davis + +evport.c: + Copyright (c) 2007 Sun Microsystems + +ht-internal.h: + Copyright (c) 2002 Christopher Clark + +minheap-internal.h: + Copyright (c) 2006 Maxim Yegorushkin + +============================== + +The arc4module is available under the following, sometimes called the +"OpenBSD" license: + + Copyright (c) 1996, David Mazieres + Copyright (c) 2008, Damien Miller + + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +============================== + +The Windows timer code is based on code from libutp, which is +distributed under this license, sometimes called the "MIT" license. + + +Copyright (c) 2010 BitTorrent, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libffi 3.2.1 - MIT + +MIT License + +libffi - Copyright (c) 1996-2014 Anthony Green, Red Hat, Inc and others. +See source files for details. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +``Software''), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libgcc-ng 9.1.0 - GPL 3.0 + + +GCC RUNTIME LIBRARY EXCEPTION + +Version 3.1, 31 March 2009 + +Copyright (C) 2009 Free Software Foundation, Inc. + +Everyone is permitted to copy and distribute verbatim copies of this +license document, but changing it is not allowed. + +This GCC Runtime Library Exception ("Exception") is an additional +permission under section 7 of the GNU General Public License, version +3 ("GPLv3"). It applies to a given file (the "Runtime Library") that +bears a notice placed by the copyright holder of the file stating that +the file is governed by GPLv3 along with this Exception. + +When you use GCC to compile a program, GCC may combine portions of +certain GCC header files and runtime libraries with the compiled +program. The purpose of this Exception is to allow compilation of +non-GPL (including proprietary) programs to use, in this way, the +header files and runtime libraries covered by this Exception. + +0. Definitions. + +A file is an "Independent Module" if it either requires the Runtime +Library for execution after a Compilation Process, or makes use of an +interface provided by the Runtime Library, but is not otherwise based +on the Runtime Library. + +"GCC" means a version of the GNU Compiler Collection, with or without +modifications, governed by version 3 (or a specified later version) of +the GNU General Public License (GPL) with the option of using any +subsequent versions published by the FSF. + +"GPL-compatible Software" is software whose conditions of propagation, +modification and use would permit combination with GCC in accord with +the license of GCC. + +"Target Code" refers to output from any compiler for a real or virtual +target processor architecture, in executable form or suitable for +input to an assembler, loader, linker and/or execution +phase. Notwithstanding that, Target Code does not include data in any +format that is used as a compiler intermediate representation, or used +for producing a compiler intermediate representation. + +The "Compilation Process" transforms code entirely represented in +non-intermediate languages designed for human-written code, and/or in +Java Virtual Machine byte code, into Target Code. Thus, for example, +use of source code generators and preprocessors need not be considered +part of the Compilation Process, since the Compilation Process can be +understood as starting with the output of the generators or +preprocessors. + +A Compilation Process is "Eligible" if it is done using GCC, alone or +with other GPL-compatible software, or if it is done without using any +work based on GCC. For example, using non-GPL-compatible Software to +optimize any GCC intermediate representations would not qualify as an +Eligible Compilation Process. + +1. Grant of Additional Permission. + +You have permission to propagate a work of Target Code formed by +combining the Runtime Library with Independent Modules, even if such +propagation would otherwise violate the terms of GPLv3, provided that +all Target Code was generated by Eligible Compilation Processes. You +may then convey such a combination under terms of your choice, +consistent with the licensing of the Independent Modules. + +2. No Weakening of GCC Copyleft. + +The availability of this Exception does not imply any general +presumption that third-party software is unaffected by the copyleft +requirements of the license of GCC. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libgfortran-ng 7.3.0 - GPL 3.0 + +GCC RUNTIME LIBRARY EXCEPTION + +Version 3.1, 31 March 2009 + +Copyright (C) 2009 Free Software Foundation, Inc. + +Everyone is permitted to copy and distribute verbatim copies of this +license document, but changing it is not allowed. + +This GCC Runtime Library Exception ("Exception") is an additional +permission under section 7 of the GNU General Public License, version +3 ("GPLv3"). It applies to a given file (the "Runtime Library") that +bears a notice placed by the copyright holder of the file stating that +the file is governed by GPLv3 along with this Exception. + +When you use GCC to compile a program, GCC may combine portions of +certain GCC header files and runtime libraries with the compiled +program. The purpose of this Exception is to allow compilation of +non-GPL (including proprietary) programs to use, in this way, the +header files and runtime libraries covered by this Exception. + +0. Definitions. + +A file is an "Independent Module" if it either requires the Runtime +Library for execution after a Compilation Process, or makes use of an +interface provided by the Runtime Library, but is not otherwise based +on the Runtime Library. + +"GCC" means a version of the GNU Compiler Collection, with or without +modifications, governed by version 3 (or a specified later version) of +the GNU General Public License (GPL) with the option of using any +subsequent versions published by the FSF. + +"GPL-compatible Software" is software whose conditions of propagation, +modification and use would permit combination with GCC in accord with +the license of GCC. + +"Target Code" refers to output from any compiler for a real or virtual +target processor architecture, in executable form or suitable for +input to an assembler, loader, linker and/or execution +phase. Notwithstanding that, Target Code does not include data in any +format that is used as a compiler intermediate representation, or used +for producing a compiler intermediate representation. + +The "Compilation Process" transforms code entirely represented in +non-intermediate languages designed for human-written code, and/or in +Java Virtual Machine byte code, into Target Code. Thus, for example, +use of source code generators and preprocessors need not be considered +part of the Compilation Process, since the Compilation Process can be +understood as starting with the output of the generators or +preprocessors. + +A Compilation Process is "Eligible" if it is done using GCC, alone or +with other GPL-compatible software, or if it is done without using any +work based on GCC. For example, using non-GPL-compatible Software to +optimize any GCC intermediate representations would not qualify as an +Eligible Compilation Process. + +1. Grant of Additional Permission. + +You have permission to propagate a work of Target Code formed by +combining the Runtime Library with Independent Modules, even if such +propagation would otherwise violate the terms of GPLv3, provided that +all Target Code was generated by Eligible Compilation Processes. You +may then convey such a combination under terms of your choice, +consistent with the licensing of the Independent Modules. + +2. No Weakening of GCC Copyleft. + +The availability of this Exception does not imply any general +presumption that third-party software is unaffected by the copyleft +requirements of the license of GCC. + + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libpng 1.6.37 - PNG 2 + +COPYRIGHT NOTICE, DISCLAIMER, and LICENSE +========================================= + +PNG Reference Library License version 2 +--------------------------------------- + + * Copyright (c) 1995-2019 The PNG Reference Library Authors. + * Copyright (c) 2018-2019 Cosmin Truta. + * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson. + * Copyright (c) 1996-1997 Andreas Dilger. + * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. + +The software is supplied "as is", without warranty of any kind, +express or implied, including, without limitation, the warranties +of merchantability, fitness for a particular purpose, title, and +non-infringement. In no event shall the Copyright owners, or +anyone distributing the software, be liable for any damages or +other liability, whether in contract, tort or otherwise, arising +from, out of, or in connection with the software, or the use or +other dealings in the software, even if advised of the possibility +of such damage. + +Permission is hereby granted to use, copy, modify, and distribute +this software, or portions hereof, for any purpose, without fee, +subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you + must not claim that you wrote the original software. If you + use this software in a product, an acknowledgment in the product + documentation would be appreciated, but is not required. + + 2. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 3. This Copyright notice may not be removed or altered from any + source or altered source distribution. + + +PNG Reference Library License version 1 (for libpng 0.5 through 1.6.35) +----------------------------------------------------------------------- + +libpng versions 1.0.7, July 1, 2000, through 1.6.35, July 15, 2018 are +Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson, are +derived from libpng-1.0.6, and are distributed according to the same +disclaimer and license as libpng-1.0.6 with the following individuals +added to the list of Contributing Authors: + + Simon-Pierre Cadieux + Eric S. Raymond + Mans Rullgard + Cosmin Truta + Gilles Vollant + James Yu + Mandar Sahastrabuddhe + Google Inc. + Vadim Barkov + +and with the following additions to the disclaimer: + + There is no warranty against interference with your enjoyment of + the library or against infringement. There is no warranty that our + efforts or the library will fulfill any of your particular purposes + or needs. This library is provided with all faults, and the entire + risk of satisfactory quality, performance, accuracy, and effort is + with the user. + +Some files in the "contrib" directory and some configure-generated +files that are distributed with libpng have other copyright owners, and +are released under other open source licenses. + +libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are +Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from +libpng-0.96, and are distributed according to the same disclaimer and +license as libpng-0.96, with the following individuals added to the +list of Contributing Authors: + + Tom Lane + Glenn Randers-Pehrson + Willem van Schaik + +libpng versions 0.89, June 1996, through 0.96, May 1997, are +Copyright (c) 1996-1997 Andreas Dilger, are derived from libpng-0.88, +and are distributed according to the same disclaimer and license as +libpng-0.88, with the following individuals added to the list of +Contributing Authors: + + John Bowler + Kevin Bracey + Sam Bushell + Magnus Holmgren + Greg Roelofs + Tom Tanner + +Some files in the "scripts" directory have other copyright owners, +but are released under this license. + +libpng versions 0.5, May 1995, through 0.88, January 1996, are +Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. + +For the purposes of this copyright and license, "Contributing Authors" +is defined as the following set of individuals: + + Andreas Dilger + Dave Martindale + Guy Eric Schalnat + Paul Schmidt + Tim Wegner + +The PNG Reference Library is supplied "AS IS". The Contributing +Authors and Group 42, Inc. disclaim all warranties, expressed or +implied, including, without limitation, the warranties of +merchantability and of fitness for any purpose. The Contributing +Authors and Group 42, Inc. assume no liability for direct, indirect, +incidental, special, exemplary, or consequential damages, which may +result from the use of the PNG Reference Library, even if advised of +the possibility of such damage. + +Permission is hereby granted to use, copy, modify, and distribute this +source code, or portions hereof, for any purpose, without fee, subject +to the following restrictions: + + 1. The origin of this source code must not be misrepresented. + + 2. Altered versions must be plainly marked as such and must not + be misrepresented as being the original source. + + 3. This Copyright notice may not be removed or altered from any + source or altered source distribution. + +The Contributing Authors and Group 42, Inc. specifically permit, +without fee, and encourage the use of this source code as a component +to supporting the PNG file format in commercial products. If you use +this source code in a product, acknowledgment is not required but would +be appreciated. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libprotobuf 3.6.0 - BSD-3-Clause + +Copyright 2008 Google Inc. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Code generated by the Protocol Buffer compiler is owned by the owner +of the input file used when generating it. This code is not +standalone and requires a support library to be linked with it. This +support library is itself covered by the above license. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libsodium 1.0.18 - ISC + +/* + * ISC License + * + * Copyright (c) 2013-2019 + * Frank Denis + * + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libssh2 1.8.0 - BSD-3-Clause + +/* Copyright (c) 2004-2007 Sara Golemon + * Copyright (c) 2005,2006 Mikhail Gusarov + * Copyright (c) 2006-2007 The Written Word, Inc. + * Copyright (c) 2007 Eli Fant + * Copyright (c) 2009-2014 Daniel Stenberg + * Copyright (C) 2008, 2009 Simon Josefsson + * All rights reserved. + * + * Redistribution and use in source and binary forms, + * with or without modification, are permitted provided + * that the following conditions are met: + * + * Redistributions of source code must retain the above + * copyright notice, this list of conditions and the + * following disclaimer. + * + * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * Neither the name of the copyright holder nor the names + * of any other contributors may be used to endorse or + * promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + */ + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libstdcxx-ng 8.2.0 - GPL 3.0 + +GCC RUNTIME LIBRARY EXCEPTION + +Version 3.1, 31 March 2009 + +Copyright (C) 2009 Free Software Foundation, Inc. + +Everyone is permitted to copy and distribute verbatim copies of this +license document, but changing it is not allowed. + +This GCC Runtime Library Exception ("Exception") is an additional +permission under section 7 of the GNU General Public License, version +3 ("GPLv3"). It applies to a given file (the "Runtime Library") that +bears a notice placed by the copyright holder of the file stating that +the file is governed by GPLv3 along with this Exception. + +When you use GCC to compile a program, GCC may combine portions of +certain GCC header files and runtime libraries with the compiled +program. The purpose of this Exception is to allow compilation of +non-GPL (including proprietary) programs to use, in this way, the +header files and runtime libraries covered by this Exception. + +0. Definitions. + +A file is an "Independent Module" if it either requires the Runtime +Library for execution after a Compilation Process, or makes use of an +interface provided by the Runtime Library, but is not otherwise based +on the Runtime Library. + +"GCC" means a version of the GNU Compiler Collection, with or without +modifications, governed by version 3 (or a specified later version) of +the GNU General Public License (GPL) with the option of using any +subsequent versions published by the FSF. + +"GPL-compatible Software" is software whose conditions of propagation, +modification and use would permit combination with GCC in accord with +the license of GCC. + +"Target Code" refers to output from any compiler for a real or virtual +target processor architecture, in executable form or suitable for +input to an assembler, loader, linker and/or execution +phase. Notwithstanding that, Target Code does not include data in any +format that is used as a compiler intermediate representation, or used +for producing a compiler intermediate representation. + +The "Compilation Process" transforms code entirely represented in +non-intermediate languages designed for human-written code, and/or in +Java Virtual Machine byte code, into Target Code. Thus, for example, +use of source code generators and preprocessors need not be considered +part of the Compilation Process, since the Compilation Process can be +understood as starting with the output of the generators or +preprocessors. + +A Compilation Process is "Eligible" if it is done using GCC, alone or +with other GPL-compatible software, or if it is done without using any +work based on GCC. For example, using non-GPL-compatible Software to +optimize any GCC intermediate representations would not qualify as an +Eligible Compilation Process. + +1. Grant of Additional Permission. + +You have permission to propagate a work of Target Code formed by +combining the Runtime Library with Independent Modules, even if such +propagation would otherwise violate the terms of GPLv3, provided that +all Target Code was generated by Eligible Compilation Processes. You +may then convey such a combination under terms of your choice, +consistent with the licensing of the Independent Modules. + +2. No Weakening of GCC Copyleft. + +The availability of this Exception does not imply any general +presumption that third-party software is unaffected by the copyleft +requirements of the license of GCC. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libtiff 4.0.10 - BSD-3-Clause + +BSD 3-clause license +Copyright (c) 2015-2020, conda-forge contributors +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libuuid 1.0.3 - BSD-3-Clause + +This library is free software; you can redistribute it and/or +modify it under the terms of the Modified BSD License. + +The complete text of the license is available at the +Documentation/licenses/COPYING.BSD-3 file. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libxcb 1.14 - MIT + +MIT License + +Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett. +All Rights Reserved. + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, +sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall +be included in all copies or substantial portions of the +Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS +BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the names of the authors +or their institutions shall not be used in advertising or +otherwise to promote the sale, use or other dealings in this +Software without prior written authorization from the +authors. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libxml2 2.9.10 - MIT + +MIT License + + +Except where otherwise noted in the source code (e.g. the files hash.c, +list.c and the trio files, which are covered by a similar licence but +with different Copyright notices) all the files are: + + Copyright (C) 1998-2012 Daniel Veillard. All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is fur- +nished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- +NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +libxslt 1.1.34 + +Licence for libxslt except libexslt +---------------------------------------------------------------------- + Copyright (C) 2001-2002 Daniel Veillard. All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is fur- +nished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- +NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- +NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of Daniel Veillard shall not +be used in advertising or otherwise to promote the sale, use or other deal- +ings in this Software without prior written authorization from him. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +llvmlite 0.27.0 - BSD-2-Clause + + +Copyright (c) 2014-, Continuum Analytics, Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +locket 0.2.0 - BSD-2-Clause + + +Copyright (c) 2012, Michael Williamson +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +The views and conclusions contained in the software and documentation are those +of the authors and should not be interpreted as representing official policies, +either expressed or implied, of the FreeBSD Project. +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +lxml 4.3.0 - BSD + + +lxml is copyright Infrae and distributed under the BSD license (see +doc/licenses/BSD.txt), with the following exceptions: + +Some code, such a selftest.py, selftest2.py and +src/lxml/_elementpath.py are derived from ElementTree and +cElementTree. See doc/licenses/elementtree.txt for the license text. + +lxml.cssselect and lxml.html are copyright Ian Bicking and distributed +under the BSD license (see doc/licenses/BSD.txt). + +test.py, the test-runner script, is GPL and copyright Shuttleworth +Foundation. See doc/licenses/GPL.txt. It is believed the unchanged +inclusion of test.py to run the unit test suite falls under the +"aggregation" clause of the GPL and thus does not affect the license +of the rest of the package. + +The isoschematron implementation uses several XSL and RelaxNG resources: + * The (XML syntax) RelaxNG schema for schematron, copyright International + Organization for Standardization (see + src/lxml/isoschematron/resources/rng/iso-schematron.rng for the license + text) + * The skeleton iso-schematron-xlt1 pure-xslt schematron implementation + xsl stylesheets, copyright Rick Jelliffe and Academia Sinica Computing + Center, Taiwan (see the xsl files here for the license text: + src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/) + * The xsd/rng schema schematron extraction xsl transformations are unlicensed + and copyright the respective authors as noted (see + src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl and + src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl) + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +lz4-c 1.8.1.2 - - BSD-2-Clause + +LZ4 Library +Copyright (c) 2011-2016, Yann Collet +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +lzo 2.10 - GPL + +Copyright +========= + +LZO and Python-LZO are Copyright (C) 1996, 1997, 1998 +Markus Franz Xaver Johannes Oberhumer + +LZO and Python-LZO are distributed under the terms of the +GNU General Public License (GPL). See the file COPYING. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +MarkupSafe 1.1.0 - BSD-3-Clause + +BSD 3-Clause `_ + +Copyright © 2010 by the Pallets team. + +Some rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +- Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +- Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND +CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +matplotlib 3.0.2 - OTHER + + +License agreement for matplotlib versions 1.3.0 and later +========================================================= + +1. This LICENSE AGREEMENT is between the Matplotlib Development Team +("MDT"), and the Individual or Organization ("Licensee") accessing and +otherwise using matplotlib software in source or binary form and its +associated documentation. + +2. Subject to the terms and conditions of this License Agreement, MDT +hereby grants Licensee a nonexclusive, royalty-free, world-wide license +to reproduce, analyze, test, perform and/or display publicly, prepare +derivative works, distribute, and otherwise use matplotlib +alone or in any derivative version, provided, however, that MDT's +License Agreement and MDT's notice of copyright, i.e., "Copyright (c) +2012- Matplotlib Development Team; All Rights Reserved" are retained in +matplotlib alone or in any derivative version prepared by +Licensee. + +3. In the event Licensee prepares a derivative work that is based on or +incorporates matplotlib or any part thereof, and wants to +make the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to matplotlib . + +4. MDT is making matplotlib available to Licensee on an "AS +IS" basis. MDT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, MDT MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF MATPLOTLIB +WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + +5. MDT SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF MATPLOTLIB + FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR +LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING +MATPLOTLIB , OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF +THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between MDT and +Licensee. This License Agreement does not grant permission to use MDT +trademarks or trade name in a trademark sense to endorse or promote +products or services of Licensee, or any third party. + +8. By copying, installing or otherwise using matplotlib , +Licensee agrees to be bound by the terms and conditions of this License +Agreement. + +License agreement for matplotlib versions prior to 1.3.0 +======================================================== + +1. This LICENSE AGREEMENT is between John D. Hunter ("JDH"), and the +Individual or Organization ("Licensee") accessing and otherwise using +matplotlib software in source or binary form and its associated +documentation. + +2. Subject to the terms and conditions of this License Agreement, JDH +hereby grants Licensee a nonexclusive, royalty-free, world-wide license +to reproduce, analyze, test, perform and/or display publicly, prepare +derivative works, distribute, and otherwise use matplotlib +alone or in any derivative version, provided, however, that JDH's +License Agreement and JDH's notice of copyright, i.e., "Copyright (c) +2002-2011 John D. Hunter; All Rights Reserved" are retained in +matplotlib alone or in any derivative version prepared by +Licensee. + +3. In the event Licensee prepares a derivative work that is based on or +incorporates matplotlib or any part thereof, and wants to +make the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to matplotlib. + +4. JDH is making matplotlib available to Licensee on an "AS +IS" basis. JDH MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, JDH MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF MATPLOTLIB +WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + +5. JDH SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF MATPLOTLIB + FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR +LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING +MATPLOTLIB , OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF +THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between JDH and +Licensee. This License Agreement does not grant permission to use JDH +trademarks or trade name in a trademark sense to endorse or promote +products or services of Licensee, or any third party. + +8. By copying, installing or otherwise using matplotlib, +Licensee agrees to be bound by the terms and conditions of this License +Agreement. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mistune 0.8.4 - BSD + + +Copyright (c) 2014 - 2015, Hsiaoming Yang + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +* Neither the name of the creator nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mkl 2019.3-199 - Intel + +Intel Simplified Software License (Version April 2018) + +Copyright (c) 2018 Intel Corporation. + +Use and Redistribution. You may use and redistribute the software (the +"Software"), without modification, provided the following conditions are met: + +* Redistributions must reproduce the above copyright notice and the following + terms of use in the Software and in the documentation and/or other materials + provided with the distribution. +* Neither the name of Intel nor the names of its suppliers may be used to + endorse or promote products derived from this Software without specific prior + written permission. +* No reverse engineering, decompilation, or disassembly of this Software is + permitted. + +Limited patent license. Intel grants you a world-wide, royalty-free, +non-exclusive license under patents it now or hereafter owns or controls to +make, have made, use, import, offer to sell and sell ("Utilize") this Software, +but solely to the extent that any such patent is necessary to Utilize the +Software alone. The patent license shall not apply to any combinations which +include this software. No hardware per se is licensed hereunder. + +Third party and other Intel programs. "Third Party Programs" are the files +listed in the "third-party-programs.txt" text file that is included with the +Software and may include Intel programs under separate license terms. Third +Party Programs, even if included with the distribution of the Materials, are +governed by separate license terms and those license terms solely govern your +use of those programs. + +DISCLAIMER. THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT ARE +DISCLAIMED. THIS SOFTWARE IS NOT INTENDED FOR USE IN SYSTEMS OR APPLICATIONS +WHERE FAILURE OF THE SOFTWARE MAY CAUSE PERSONAL INJURY OR DEATH AND YOU AGREE +THAT YOU ARE FULLY RESPONSIBLE FOR ANY CLAIMS, COSTS, DAMAGES, EXPENSES, AND +ATTORNEYS' FEES ARISING OUT OF ANY SUCH USE, EVEN IF ANY CLAIM ALLEGES THAT +INTEL WAS NEGLIGENT REGARDING THE DESIGN OR MANUFACTURE OF THE MATERIALS. + +LIMITATION OF LIABILITY. IN NO EVENT WILL INTEL BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. YOU AGREE TO INDEMNIFY AND HOLD INTEL +HARMLESS AGAINST ANY CLAIMS AND EXPENSES RESULTING FROM YOUR USE OR UNAUTHORIZED +USE OF THE SOFTWARE. + +No support. Intel may make changes to the Software, at any time without notice, +and is not obligated to support, update or provide training for the Software. + +Termination. Intel may terminate your right to use the Software in the event of +your breach of this Agreement and you fail to cure the breach within a +reasonable period of time. + +Feedback. Should you provide Intel with comments, modifications, corrections, +enhancements or other input ("Feedback") related to the Software Intel will be +free to use, disclose, reproduce, license or otherwise distribute or exploit the +Feedback in its sole discretion without any obligations or restrictions of any +kind, including without limitation, intellectual property rights or licensing +obligations. + +Compliance with laws. You agree to comply with all relevant laws and +regulations governing your use, transfer, import or export (or prohibition +thereof) of the Software. + +Governing law. All disputes will be governed by the laws of the United States +of America and the State of Delaware without reference to conflict of law +principles and subject to the exclusive jurisdiction of the state or federal +courts sitting in the State of Delaware, and each party agrees that it submits +to the personal jurisdiction and venue of those courts and waives any +objections. The United Nations Convention on Contracts for the International +Sale of Goods (1980) is specifically excluded and will not apply to the +Software. + +*Other names and brands may be claimed as the property of others. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mkl-service 1.1.2 - BSD-3-CLAUSE + +Copyright (c) 2016, Continuum Analytics, Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Continuum Analytics, Inc. nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL CONTINUUM ANALYTICS BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mkl_fft 1.0.12 - BSD-3-CLAUSE + +Copyright (c) 2017, Intel Corporation + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Intel Corporation nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mkl_random 1.0.2 - BSD-3-CLAUSE + +Copyright (c) 2017, Intel Corporation + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Intel Corporation nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mleap 0.14.0 - Apache 2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2016 Combust, Inc. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mock 4.0.3 - BSD-2-Clause + +Copyright (c) 2003-2013, Michael Foord & the mock team +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +more-itertools 8.6.0 - MIT + + +Copyright (c) 2012 Erik Rose + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mpc 1.1.0 - LGPL 3.0 + + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mpfr 4.0.2 - LGPL-3.0-only + + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +mpmath 1.1.0 - BSD + + +Copyright (c) 2005-2018 Fredrik Johansson and mpmath contributors + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + c. Neither the name of mpmath nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +msgpack-python 1.0.1 - Apache 2.0 + +Copyright (C) 2008-2011 INADA Naoki + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +multipledispatch 0.6.0 - BSD + + +Copyright (c) 2014 Matthew Rocklin + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + c. Neither the name of multipledispatch nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +nbconvert 5.6.1 - BSD-3-Clause + + +# Licensing terms + +This project is licensed under the terms of the Modified BSD License +(also known as New or Revised or 3-Clause BSD), as follows: + +- Copyright (c) 2001-2015, IPython Development Team +- Copyright (c) 2015-, Jupyter Development Team + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +Neither the name of the Jupyter Development Team nor the names of its +contributors may be used to endorse or promote products derived from this +software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +## About the Jupyter Development Team + +The Jupyter Development Team is the set of all contributors to the Jupyter project. +This includes all of the Jupyter subprojects. + +The core team that coordinates development on GitHub can be found here: +https://github.com/jupyter/. + +## Our Copyright Policy + +Jupyter uses a shared copyright model. Each contributor maintains copyright +over their contributions to Jupyter. But, it is important to note that these +contributions are typically only changes to the repositories. Thus, the Jupyter +source code, in its entirety is not the copyright of any single person or +institution. Instead, it is the collective copyright of the entire Jupyter +Development Team. If individual contributors want to maintain a record of what +changes/contributions they have specific copyright on, they should indicate +their copyright in the commit message of the change, when they commit the +change to one of the Jupyter repositories. + +With this in mind, the following banner should be used in any source code file +to indicate the copyright and license terms: + + # Copyright (c) Jupyter Development Team. + # Distributed under the terms of the Modified BSD License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +nbformat 5.1.2 - BSD-3-Clause + + +# Licensing terms + +This project is licensed under the terms of the Modified BSD License +(also known as New or Revised or 3-Clause BSD), as follows: + +- Copyright (c) 2001-2015, IPython Development Team +- Copyright (c) 2015-, Jupyter Development Team + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +Neither the name of the Jupyter Development Team nor the names of its +contributors may be used to endorse or promote products derived from this +software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +## About the Jupyter Development Team + +The Jupyter Development Team is the set of all contributors to the Jupyter project. +This includes all of the Jupyter subprojects. + +The core team that coordinates development on GitHub can be found here: +https://github.com/jupyter/. + +## Our Copyright Policy + +Jupyter uses a shared copyright model. Each contributor maintains copyright +over their contributions to Jupyter. But, it is important to note that these +contributions are typically only changes to the repositories. Thus, the Jupyter +source code, in its entirety is not the copyright of any single person or +institution. Instead, it is the collective copyright of the entire Jupyter +Development Team. If individual contributors want to maintain a record of what +changes/contributions they have specific copyright on, they should indicate +their copyright in the commit message of the change, when they commit the +change to one of the Jupyter repositories. + +With this in mind, the following banner should be used in any source code file +to indicate the copyright and license terms: + + # Copyright (c) Jupyter Development Team. + # Distributed under the terms of the Modified BSD License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +ncurses 6.2 + + +------------------------------------------------------------------------------- +-- Copyright (c) 1998-2012,2018 Free Software Foundation, Inc. -- +-- -- +-- Permission is hereby granted, free of charge, to any person obtaining a -- +-- copy of this software and associated documentation files (the -- +-- "Software"), to deal in the Software without restriction, including -- +-- without limitation the rights to use, copy, modify, merge, publish, -- +-- distribute, distribute with modifications, sublicense, and/or sell copies -- +-- of the Software, and to permit persons to whom the Software is furnished -- +-- to do so, subject to the following conditions: -- +-- -- +-- The above copyright notice and this permission notice shall be included -- +-- in all copies or substantial portions of the Software. -- +-- -- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -- +-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -- +-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -- +-- NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -- +-- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -- +-- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -- +-- USE OR OTHER DEALINGS IN THE SOFTWARE. -- +-- -- +-- Except as contained in this notice, the name(s) of the above copyright -- +-- holders shall not be used in advertising or otherwise to promote the -- +-- sale, use or other dealings in this Software without prior written -- +-- authorization. -- + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +networkx 2.2 - BSD-3-Clause +License +======= + +NetworkX is distributed with the 3-clause BSD license. + +:: + + Copyright (C) 2004-2018, NetworkX Developers + Aric Hagberg + Dan Schult + Pieter Swart + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * Neither the name of the NetworkX Developers nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +nltk 3.4 - Apache-2.0 + +Copyright (C) 2001-2019 NLTK Project + +Licensed under the Apache License, Version 2.0 (the 'License'); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an 'AS IS' BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +nose 1.3.7 - LGPL-2.1-only + + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +nose-exclude 0.5.0 - GPL-2.1-or-later + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +notebook 5.7.10 - BSD-2-Clause + + +# Licensing terms + +This project is licensed under the terms of the Modified BSD License +(also known as New or Revised or 3-Clause BSD), as follows: + +- Copyright (c) 2001-2015, IPython Development Team +- Copyright (c) 2015-, Jupyter Development Team + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +Neither the name of the Jupyter Development Team nor the names of its +contributors may be used to endorse or promote products derived from this +software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +## About the Jupyter Development Team + +The Jupyter Development Team is the set of all contributors to the Jupyter project. +This includes all of the Jupyter subprojects. + +The core team that coordinates development on GitHub can be found here: +https://github.com/jupyter/. + +## Our Copyright Policy + +Jupyter uses a shared copyright model. Each contributor maintains copyright +over their contributions to Jupyter. But, it is important to note that these +contributions are typically only changes to the repositories. Thus, the Jupyter +source code, in its entirety is not the copyright of any single person or +institution. Instead, it is the collective copyright of the entire Jupyter +Development Team. If individual contributors want to maintain a record of what +changes/contributions they have specific copyright on, they should indicate +their copyright in the commit message of the change, when they commit the +change to one of the Jupyter repositories. + +With this in mind, the following banner should be used in any source code file +to indicate the copyright and license terms: + + # Copyright (c) Jupyter Development Team. + # Distributed under the terms of the Modified BSD License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +numba 0.42.0 - BSD-2-Clause + +Copyright (c) 2012, Anaconda, Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +numexpr 2.6.9 - MIT + + +Copyright (c) 2007,2008 David M. Cooke +Copyright (c) 2009,2010 Francesc Alted +Copyright (c) 2011- See AUTHORS.txt + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +numpy 1.16.4 - BSD-3-Clause + +Copyright (c) 2005-2019, NumPy Developers. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * Neither the name of the NumPy Developers nor the names of any + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + + +The NumPy repository and source distributions bundle several libraries that are +compatibly licensed. We list these here. + +Name: Numpydoc +Files: doc/sphinxext/numpydoc/* +License: 2-clause BSD + For details, see doc/sphinxext/LICENSE.txt + +Name: scipy-sphinx-theme +Files: doc/scipy-sphinx-theme/* +License: 3-clause BSD, PSF and Apache 2.0 + For details, see doc/scipy-sphinx-theme/LICENSE.txt + +Name: lapack-lite +Files: numpy/linalg/lapack_lite/* +License: 3-clause BSD + For details, see numpy/linalg/lapack_lite/LICENSE.txt + +Name: tempita +Files: tools/npy_tempita/* +License: BSD derived + For details, see tools/npy_tempita/license.txt + +Name: dragon4 +Files: numpy/core/src/multiarray/dragon4.c +License: One of a kind + For license text, see numpy/core/src/multiarray/dragon4.c + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +numpy-base 1.16.4 - BSD-3-Clause + +Copyright (c) 2005-2019, NumPy Developers. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * Neither the name of the NumPy Developers nor the names of any + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + + +The NumPy repository and source distributions bundle several libraries that are +compatibly licensed. We list these here. + +Name: Numpydoc +Files: doc/sphinxext/numpydoc/* +License: 2-clause BSD + For details, see doc/sphinxext/LICENSE.txt + +Name: scipy-sphinx-theme +Files: doc/scipy-sphinx-theme/* +License: 3-clause BSD, PSF and Apache 2.0 + For details, see doc/scipy-sphinx-theme/LICENSE.txt + +Name: lapack-lite +Files: numpy/linalg/lapack_lite/* +License: 3-clause BSD + For details, see numpy/linalg/lapack_lite/LICENSE.txt + +Name: tempita +Files: tools/npy_tempita/* +License: BSD derived + For details, see tools/npy_tempita/license.txt + +Name: dragon4 +Files: numpy/core/src/multiarray/dragon4.c +License: One of a kind + For license text, see numpy/core/src/multiarray/dragon4.c + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +numpydoc 0.8.0 - BSD-2-Clause + + +Copyright (C) 2008 Stefan van der Walt , Pauli Virtanen + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING +IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +odo 0.5.1 - BSD-3-Clause + +Copyright (c) 2014, Continuum Analytics, Inc. and contributors +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +Neither the name of Continuum Analytics nor the names of any contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +olefile 0.46 - BSD-2-Clause + + +LICENSE for the olefile package: + +olefile (formerly OleFileIO_PL) is copyright (c) 2005-2018 Philippe Lagadec +(https://www.decalage.info) + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +---------- + +olefile is based on source code from the OleFileIO module of the Python +Imaging Library (PIL) published by Fredrik Lundh under the following license: + +The Python Imaging Library (PIL) is +- Copyright (c) 1997-2009 by Secret Labs AB +- Copyright (c) 1995-2009 by Fredrik Lundh + +By obtaining, using, and/or copying this software and/or its associated +documentation, you agree that you have read, understood, and will comply with +the following terms and conditions: + +Permission to use, copy, modify, and distribute this software and its +associated documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appears in all copies, and that both +that copyright notice and this permission notice appear in supporting +documentation, and that the name of Secret Labs AB or the author not be used +in advertising or publicity pertaining to distribution of the software without +specific, written prior permission. + +SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS +SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN +NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR ANY SPECIAL, +INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +onnx 1.5.0 - MIT + + +MIT License + +Copyright (c) ONNX Project Contributors +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +onnxconverter-common 1.5.3 - MIT + + MIT License + + Copyright (c) Microsoft Corporation. All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +onnxmltools 1.5.1 - MIT + + +MIT License + +Copyright (c) 2018 Microsoft Corporation + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +openpyxl 2.5.12 - MIT + + +This software is under the MIT Licence +====================================== + +Copyright (c) 2010 openpyxl + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +openssl 1.1.1a - OpenSSL + + + LICENSE ISSUES + ============== + + The OpenSSL toolkit stays under a double license, i.e. both the conditions of + the OpenSSL License and the original SSLeay license apply to the toolkit. + See below for the actual license texts. + + OpenSSL License + --------------- + +/* ==================================================================== + * Copyright (c) 1998-2018 The OpenSSL Project. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * 3. All advertising materials mentioning features or use of this + * software must display the following acknowledgment: + * "This product includes software developed by the OpenSSL Project + * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" + * + * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to + * endorse or promote products derived from this software without + * prior written permission. For written permission, please contact + * openssl-core@openssl.org. + * + * 5. Products derived from this software may not be called "OpenSSL" + * nor may "OpenSSL" appear in their names without prior written + * permission of the OpenSSL Project. + * + * 6. Redistributions of any form whatsoever must retain the following + * acknowledgment: + * "This product includes software developed by the OpenSSL Project + * for use in the OpenSSL Toolkit (http://www.openssl.org/)" + * + * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY + * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + * ==================================================================== + * + * This product includes cryptographic software written by Eric Young + * (eay@cryptsoft.com). This product includes software written by Tim + * Hudson (tjh@cryptsoft.com). + * + */ + + Original SSLeay License + ----------------------- + +/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) + * All rights reserved. + * + * This package is an SSL implementation written + * by Eric Young (eay@cryptsoft.com). + * The implementation was written so as to conform with Netscapes SSL. + * + * This library is free for commercial and non-commercial use as long as + * the following conditions are aheared to. The following conditions + * apply to all code found in this distribution, be it the RC4, RSA, + * lhash, DES, etc., code; not just the SSL code. The SSL documentation + * included with this distribution is covered by the same copyright terms + * except that the holder is Tim Hudson (tjh@cryptsoft.com). + * + * Copyright remains Eric Young's, and as such any Copyright notices in + * the code are not to be removed. + * If this package is used in a product, Eric Young should be given attribution + * as the author of the parts of the library used. + * This can be in the form of a textual message at program startup or + * in documentation (online or textual) provided with the package. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * "This product includes cryptographic software written by + * Eric Young (eay@cryptsoft.com)" + * The word 'cryptographic' can be left out if the rouines from the library + * being used are not cryptographic related :-). + * 4. If you include any Windows specific code (or a derivative thereof) from + * the apps directory (application code) you must include an acknowledgement: + * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" + * + * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * The licence and distribution terms for any publically available version or + * derivative of this code cannot be changed. i.e. this code cannot simply be + * copied and put under another distribution licence + * [including the GNU Public Licence.] + */ + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +packaging 20.8 - Apache-2.0 OR (Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause) + + +This software is made available under the terms of *either* of the licenses +found in LICENSE.APACHE or LICENSE.BSD. Contributions to this software is made +under the terms of *both* these licenses. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pandas 0.23.4 - BSD-3-Clause + + +BSD 3-Clause License + +Copyright (c) 2008-2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pandas-datareader 0.7.0 - BSD-3-Clause + + +======= +License +======= + +pandas is distributed under a 3-clause ("Simplified" or "New") BSD +license. Parts of NumPy, SciPy, numpydoc, bottleneck, which all have +BSD-compatible licenses, are included. Their licenses follow the pandas +license. + +pandas license +============== + +Copyright (c) 2011-2012, Lambda Foundry, Inc. and PyData Development Team +All rights reserved. + +Copyright (c) 2008-2011 AQR Capital Management, LLC +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * Neither the name of the copyright holder nor the names of any + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +About the Copyright Holders +=========================== + +AQR Capital Management began pandas development in 2008. Development was +led by Wes McKinney. AQR released the source under this license in 2009. +Wes is now an employee of Lambda Foundry, and remains the pandas project +lead. + +The PyData Development Team is the collection of developers of the PyData +project. This includes all of the PyData sub-projects, including pandas. The +core team that coordinates development on GitHub can be found here: +http://github.com/pydata. + +Full credits for pandas contributors can be found in the documentation. + +Our Copyright Policy +==================== + +PyData uses a shared copyright model. Each contributor maintains copyright +over their contributions to PyData. However, it is important to note that +these contributions are typically only changes to the repositories. Thus, +the PyData source code, in its entirety, is not the copyright of any single +person or institution. Instead, it is the collective copyright of the +entire PyData Development Team. If individual contributors want to maintain +a record of what changes/contributions they have specific copyright on, +they should indicate their copyright in the commit message of the change +when they commit the change to one of the PyData repositories. + +With this in mind, the following banner should be used in any source code +file to indicate the copyright and license terms: + +#----------------------------------------------------------------------------- +# Copyright (c) 2012, PyData Development Team +# All rights reserved. +# +# Distributed under the terms of the BSD Simplified License. +# +# The full license is in the LICENSE file, distributed with this software. +#----------------------------------------------------------------------------- + +Other licenses can be found in the LICENSES directory. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pandasql 0.7.3 - MIT + + +Copyright (c) 2013 Yhat, Inc. + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pandoc 2.11 - GPL 2.0 or later + +Pandoc +Copyright (C) 2006-2018 John MacFarlane + +With the exceptions noted below, this code is released under the [GPL], +version 2 or later: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +The GNU General Public License is available in the file COPYING.md in +the source distribution. On Debian systems, the complete text of the +GPL can be found in `/usr/share/common-licenses/GPL`. + +[GPL]: http://www.gnu.org/copyleft/gpl.html + +Pandoc's complete source code is available from the [Pandoc home page]. + +[Pandoc home page]: http://pandoc.org + +Pandoc includes some code with different copyrights, or subject to different +licenses. The copyright and license statements for these sources are included +below. All are GPL-compatible licenses. + +---------------------------------------------------------------------- +The modules in the `pandoc-types` repository (Text.Pandoc.Definition, +Text.Pandoc.Builder, Text.Pandoc.Generics, Text.Pandoc.JSON, +Text.Pandoc.Walk) are licensed under the BSD 3-clause license: + +Copyright (c) 2006-2018, John MacFarlane + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * Neither the name of John MacFarlane nor the names of other + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +---------------------------------------------------------------------- +Pandoc's templates (in `data/templates`) are dual-licensed as either +GPL (v2 or higher, same as pandoc) or (at your option) the BSD +3-clause license. + +Copyright (c) 2014--2018, John MacFarlane + +---------------------------------------------------------------------- +src/Text/Pandoc/Writers/Muse.hs +Copyright (C) 2017-2018 Alexander Krotov + +Released under the GNU General Public License version 2 or later. + +---------------------------------------------------------------------- +src/Text/Pandoc/Writers/Texinfo.hs +Copyright (C) 2008-2018 John MacFarlane and Peter Wang + +Released under the GNU General Public License version 2 or later. + +---------------------------------------------------------------------- +src/Text/Pandoc/Writers/OpenDocument.hs +Copyright (C) 2008-2018 Andrea Rossato and John MacFarlane + +Released under the GNU General Public License version 2 or later. + +---------------------------------------------------------------------- +src/Text/Pandoc/Writers/Org.hs +Copyright (C) 2010-2018 Puneeth Chaganti, John MacFarlane, and + Albert Krewinkel + +Released under the GNU General Public License version 2 or later. + +---------------------------------------------------------------------- +src/Text/Pandoc/Writers/ZimWiki.hs +Copyright (C) 2017 Alex Ivkin + +Released under the GNU General Public License version 2 or later. + +---------------------------------------------------------------------- +src/Text/Pandoc/Readers/Docx.hs +src/Text/Pandoc/Readers/Docx/* +Copyright (C) 2014-2018 Jesse Rosenthal + +Released under the GNU General Public License version 2 or later. + +---------------------------------------------------------------------- +src/Text/Pandoc/Readers/Textile.hs +Copyright (C) 2010-2018 Paul Rivier and John MacFarlane + +Released under the GNU General Public License version 2 or later. + +---------------------------------------------------------------------- +src/Text/Pandoc/Readers/TikiWiki.hs +Copyright (C) 2017 Robin Lee Powell + +Released under the GNU General Public License version 2 or later. + +---------------------------------------------------------------------- +src/Text/Pandoc/Readers/JATS.hs +Copyright (C) 2017-2018 Hamish Mackenzie + +Released under the GNU General Public License version 2 or later. + +---------------------------------------------------------------------- +src/Text/Pandoc/Readers/EPUB.hs +Copyright (C) 2014-2018 Matthew Pickering + +Released under the GNU General Public License version 2 or later. + +---------------------------------------------------------------------- +src/Text/Pandoc/Readers/Org.hs +src/Text/Pandoc/Readers/Org/* +test/Tests/Readers/Org/* +Copyright (C) 2014-2018 Albert Krewinkel + +Released under the GNU General Public License version 2 or later. + +---------------------------------------------------------------------- +src/Text/Pandoc/Readers/FB2.hs +Copyright (C) 2018 Alexander Krotov + +Released under the GNU General Public License version 2 or later. + +---------------------------------------------------------------------- +data/pandoc.lua +Copyright (C) 2017-2018 Albert Krewinkel + +Released under the GNU General Public License version 2 or later. + +---------------------------------------------------------------------- +The dzslides template contains JavaScript and CSS from Paul Rouget's +dzslides template. +http://github.com/paulrouget/dzslides + +Released under the Do What the F**k You Want To Public License. + +------------------------------------------------------------------------ +Pandoc embeds a lua interpreter (via hslua). + +Copyright © 1994–2017 Lua.org, PUC-Rio. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------------------------------------------------------------------ +The template pandoc.jats is Copyright 2013--15 Martin Fenner, +released under GPL version 2 or later. + +The file data/jats.csl is derived from a csl file by Martin Fenner, +revised by Martin Paul Eve and then John MacFarlane. +"This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 +License. Originally by Martin Fenner." + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pandocfilters 1.4.3 - BSD-3-Clause + +Copyright (c) 2013, John MacFarlane +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + - Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + - Neither the name of John Macfarlane nor the names of its contributors may + be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +parso 0.7.0 - MIT + + +All contributions towards parso are MIT licensed. + +Some Python files have been taken from the standard library and are therefore +PSF licensed. Modifications on these files are dual licensed (both MIT and +PSF). These files are: + +- parso/pgen2/* +- parso/tokenize.py +- parso/token.py +- test/test_pgen2.py + +Also some test files under test/normalizer_issue_files have been copied from +https://github.com/PyCQA/pycodestyle (Expat License == MIT License). + +------------------------------------------------------------------------------- +The MIT License (MIT) + +Copyright (c) <2013-2017> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------------------------------------------------------------------------- + +PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 +-------------------------------------------- + +1. This LICENSE AGREEMENT is between the Python Software Foundation +("PSF"), and the Individual or Organization ("Licensee") accessing and +otherwise using this software ("Python") in source or binary form and +its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, PSF hereby +grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, +analyze, test, perform and/or display publicly, prepare derivative works, +distribute, and otherwise use Python alone or in any derivative version, +provided, however, that PSF's License Agreement and PSF's notice of copyright, +i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +2011, 2012, 2013, 2014, 2015 Python Software Foundation; All Rights Reserved" +are retained in Python alone or in any derivative version prepared by Licensee. + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python. + +4. PSF is making Python available to Licensee on an "AS IS" +basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between PSF and +Licensee. This License Agreement does not grant permission to use PSF +trademarks or trade name in a trademark sense to endorse or promote +products or services of Licensee, or any third party. + +8. By copying, installing or otherwise using Python, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +partd 0.3.9 - BSD + + +Copyright (c) 2015, Continuum Analytics, Inc. and contributors + + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +path.py 11.5.0 - MIT + + +Copyright Jason R. Coombs + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pathlib2 2.3.3 - MIT + + +Copyright (c) 2014-2017 Matthias C. M. Troffaes +Copyright (c) 2012-2014 Antoine Pitrou and contributors + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +patsy 0.5.1 - BSD-2-Clause + + +The bulk of Patsy is distributed under a simple 2-clause BSD license: + + Copyright (C) 2011-2012, Patsy Developers. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +The module patsy.compat contains code derived from the Python +standard library, and is covered by the following license: + + PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 + -------------------------------------------- + + 1. This LICENSE AGREEMENT is between the Python Software Foundation + ("PSF"), and the Individual or Organization ("Licensee") accessing and + otherwise using this software ("Python") in source or binary form and + its associated documentation. + + 2. Subject to the terms and conditions of this License Agreement, PSF hereby + grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, + analyze, test, perform and/or display publicly, prepare derivative works, + distribute, and otherwise use Python alone or in any derivative version, + provided, however, that PSF's License Agreement and PSF's notice of copyright, + i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, + 2011, 2012 Python Software Foundation; All Rights Reserved" are retained in Python + alone or in any derivative version prepared by Licensee. + + 3. In the event Licensee prepares a derivative work that is based on + or incorporates Python or any part thereof, and wants to make + the derivative work available to others as provided herein, then + Licensee hereby agrees to include in any such work a brief summary of + the changes made to Python. + + 4. PSF is making Python available to Licensee on an "AS IS" + basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND + DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT + INFRINGE ANY THIRD PARTY RIGHTS. + + 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON + FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS + A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, + OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + + 6. This License Agreement will automatically terminate upon a material + breach of its terms and conditions. + + 7. Nothing in this License Agreement shall be deemed to create any + relationship of agency, partnership, or joint venture between PSF and + Licensee. This License Agreement does not grant permission to use PSF + trademarks or trade name in a trademark sense to endorse or promote + products or services of Licensee, or any third party. + + 8. By copying, installing or otherwise using Python, Licensee + agrees to be bound by the terms and conditions of this License + Agreement. + +As per item (3), we are required to provide a brief summary of +changes. For this, see comments in patsy/compat.py. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pcre 8.44 - BSD-3-CLAUSE + +PCRE LICENCE +------------ + +PCRE is a library of functions to support regular expressions whose syntax +and semantics are as close as possible to those of the Perl 5 language. + +Release 8 of PCRE is distributed under the terms of the "BSD" licence, as +specified below. The documentation for PCRE, supplied in the "doc" +directory, is distributed under the same terms as the software itself. The data +in the testdata directory is not copyrighted and is in the public domain. + +The basic library functions are written in C and are freestanding. Also +included in the distribution is a set of C++ wrapper functions, and a +just-in-time compiler that can be used to optimize pattern matching. These +are both optional features that can be omitted when the library is built. + + +THE BASIC LIBRARY FUNCTIONS +--------------------------- + +Written by: Philip Hazel +Email local part: ph10 +Email domain: cam.ac.uk + +University of Cambridge Computing Service, +Cambridge, England. + +Copyright (c) 1997-2019 University of Cambridge +All rights reserved. + + +PCRE JUST-IN-TIME COMPILATION SUPPORT +------------------------------------- + +Written by: Zoltan Herczeg +Email local part: hzmester +Email domain: freemail.hu + +Copyright(c) 2010-2019 Zoltan Herczeg +All rights reserved. + + +STACK-LESS JUST-IN-TIME COMPILER +-------------------------------- + +Written by: Zoltan Herczeg +Email local part: hzmester +Email domain: freemail.hu + +Copyright(c) 2009-2019 Zoltan Herczeg +All rights reserved. + + +THE C++ WRAPPER FUNCTIONS +------------------------- + +Contributed by: Google Inc. + +Copyright (c) 2007-2012, Google Inc. +All rights reserved. + + +THE "BSD" LICENCE +----------------- + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of the University of Cambridge nor the name of Google + Inc. nor the names of their contributors may be used to endorse or + promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +End + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pexpect 4.8.0 - ISC + + + ISC LICENSE + + This license is approved by the OSI and FSF as GPL-compatible. + http://opensource.org/licenses/isc-license.txt + + Copyright (c) 2013-2014, Pexpect development team + Copyright (c) 2012, Noah Spurrier + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pickleshare 0.7.5 - MIT + + +Copyright (c) 2016 Ville Vainio + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Pillow 8.1.0 - HPND +The Python Imaging Library (PIL) is + + Copyright © 1997-2011 by Secret Labs AB + Copyright © 1995-2011 by Fredrik Lundh + +Pillow is the friendly PIL fork. It is + + Copyright © 2010-2021 by Alex Clark and contributors + +Like PIL, Pillow is licensed under the open source HPND License: + +By obtaining, using, and/or copying this software and/or its associated +documentation, you agree that you have read, understood, and will comply +with the following terms and conditions: + +Permission to use, copy, modify, and distribute this software and its +associated documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appears in all copies, and that +both that copyright notice and this permission notice appear in supporting +documentation, and that the name of Secret Labs AB or the author not be +used in advertising or publicity pertaining to distribution of the software +without specific, written prior permission. + +SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS +SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. +IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR ANY SPECIAL, +INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pip 19.23.2 - MIT + +MIT License + +Copyright (c) 2008-2019 The pip developers (see AUTHORS.txt file) + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pkginfo 1.5.0.1 - MIT + + +copyright u'2009-2013, Tres Seaver +Copyright (c) 2009 Agendaless Consulting, Inc. + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +plotly 4.14.3 - MIT + + +The MIT License (MIT) + +Copyright (c) 2016-2018 Plotly, Inc + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pluggy 0.13.1 - MIT + + +Copyright (c) 2015 holger krekel (rather uses bitbucket/hpk42) + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +prometheus-client 0.9.0 - Apache-2.0 + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +prompt-toolkit 2.0.7 - BSD-3-Clause + + +Copyright (c) 2014, Jonathan Slenders +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +* Neither the name of the {organization} nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +protobuf 3.6.0 - BSD-3-Clause + + +Copyright 2007 Google Inc. +Copyright 2008 Google Inc. + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +psutil 5.4.8 - BSD-3-Clause + + +psutil is distributed under BSD license reproduced below. + +Copyright (c) 2009, Jay Loden, Dave Daeschler, Giampaolo Rodola' +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of the psutil authors nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +ptyprocess 0.7.0 ISC + +copyright u'2014, Thomas Kluyver +Copyright (c) 2012, Noah Spurrier +Copyright (c) 2013-2014, Pexpect development team + +ISC License + +Copyright (c) 2004-2010 by Internet Systems Consortium, Inc. ("ISC") + +Copyright (c) 1995-2003 by Internet Software Consortium + +Permission to use, copy, modify, and /or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +py 1.10.0 - MIT + +copyright u'2010 + +(c) Ronny Pfannschmidt, Holger Krekel +(c) Holger Krekel and others, 2004-2014 + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pyarrow 0.13.0 - Apache-2.0 + + +Copyright (c) 2016 +(c) Daniel Lemire 2013 +Copyright 2008 Google Inc. +Copyright 2011 Kitware, Inc. +Copyright 2012 Cloudera Inc. +Copyright (c) 2017 Florian Dang +Copyright (c) 2017 Paul Thompson +Copyright 2001-2009 Kitware, Inc. +Copyright (c) 2018 Tomasz Kaminski +Copyright 2017-2018 by Martin Moene +Copyright (c) 2016 Adrian Colomitchi +Copyright (c) 2011-12, Dynamic NDArray +Copyright (c) 2011 The LevelDB Authors. +Copyright 2012 Continuum Analytics, Inc. +Copyright.txt or https://cmake.org/licensing +Copyright (c) 2015, 2016, 2017 Howard Hinnant +Copyright 2012-2014 Continuum Analytics, Inc. +Copyright https://code.google.com/p/mman-win32 +Copyright (c) 2002-2003 Eric Friedman, Itay Maman +Copyright (c) 2008-2011 AQR Capital Management, LLC +Copyright (c) 2013-2016, Matt Terry and Matthew Brett +Copyright (c) 2008-2010 Bjoern Hoehrmann +Copyright (c) 2011-2012, Lambda Foundry, Inc. and PyData Development Team + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); + +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software + +distributed under the License is distributed on an "AS IS" BASIS, + +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and + +limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pycosat 0.6.3 - MIT + +MIT License + +Copyright (c) 2013, Ilan Schnell, Continuum Analytics, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pycrypto 2.6.1 - Public + +Copyright and licensing of the Python Cryptography Toolkit ("PyCrypto"): +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Previously, the copyright and/or licensing status of the Python +Cryptography Toolkit ("PyCrypto") had been somewhat ambiguous. The +original intention of Andrew M. Kuchling and other contributors has +been to dedicate PyCrypto to the public domain, but that intention was +not necessarily made clear in the original disclaimer (see +LEGAL/copy/LICENSE.orig). + +Additionally, some files within PyCrypto had specified their own +licenses that differed from the PyCrypto license itself. For example, +the original RIPEMD.c module simply had a copyright statement and +warranty disclaimer, without clearly specifying any license terms. +(An updated version on the author's website came with a license that +contained a GPL-incompatible advertising clause.) + +To rectify this situation for PyCrypto 2.1, the following steps have +been taken: + + 1. Obtaining explicit permission from the original contributors to + dedicate their contributions to the public domain if they have not + already done so. (See the "LEGAL/copy/stmts" directory for + contributors' statements.) + + 2. Replacing some modules with clearly-licensed code from other + sources (e.g. the DES and DES3 modules were replaced with new ones + based on Tom St. Denis's public-domain LibTomCrypt library.) + + 3. Replacing some modules with code written from scratch (e.g. the + RIPEMD and Blowfish modules were re-implemented from their + respective algorithm specifications without reference to the old + implementations). + + 4. Removing some modules altogether without replacing them. + +To the best of our knowledge, with the exceptions noted below or +within the files themselves, the files that constitute PyCrypto are in +the public domain. Most are distributed with the following notice: + + The contents of this file are dedicated to the public domain. To + the extent that dedication to the public domain is not available, + everyone is granted a worldwide, perpetual, royalty-free, + non-exclusive license to exercise all rights associated with the + contents of this file for any purpose whatsoever. + No rights are reserved. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +Exception: + + - Portions of HMAC.py and setup.py are derived from Python 2.2, and + are therefore Copyright (c) 2001, 2002, 2003 Python Software + Foundation (All Rights Reserved). They are licensed by the PSF + under the terms of the Python 2.2 license. (See the file + LEGAL/copy/LICENSE.python-2.2 for details.) + +EXPORT RESTRICTIONS: + +Note that the export or re-export of cryptographic software and/or +source code may be subject to regulation in your jurisdiction. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pycurl 7.43.0.2 - GPL-3.0-or-later + + +Copyright (c) 2013-2018 by Oleg Pudeyev +Copyright (c) 2001-2008 by Kjetil Jacobsen +copyrighted by the Free Software Foundation +Copyright (c) 2001-2008 by Markus F.X.J. Oberhumer +Copyright (c) 1991, 1999 Free Software Foundation, Inc. +Copyright (c) 2010 Ryan Tomayko +copyright u'2001-2018 Kjetil Jacobsen, Markus F.X.J. Oberhumer, Oleg Pudeyev + +GNU GENERAL PUBLIC LICENSE + +Version 3, 29 June 2007 + +Copyright © 2007 Free Software Foundation, Inc. + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + +Preamble + +The GNU General Public License is a free, copyleft license for software and other kinds of works. + +The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. + +To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. + +For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. + +Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. + +For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. + +Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. + +Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. + +The precise terms and conditions for copying, distribution and modification follow. + +TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based on the Program. + + To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. + + A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. + + The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. + + The Corresponding Source for a work in source code form is that same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. + + When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". + + c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. + + A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: + + a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. + + d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. + + If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). + + The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or authors of the material; or + + e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. + + All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). + + However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. + + Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. + + If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. + + A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. + + Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. + + + +Copyright (C) + +This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + +If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: + + Copyright (C) + +This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + +This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". + +You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . + +The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Pygments 2.7.4 - BSD-2-Clause + + +Copyright (c) 2006-2021 by the respective authors (see AUTHORS file). +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pykerberos 1.2.1 - Apache-2.0 + + +Copyright (c) 2006-2008 Apple Inc. +Copyright (c) 2006-2013 Apple Inc. +Copyright (c) 2008 Guido Guenther +Copyright (c) 2008 Jelmer Vernooij + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); + +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software + +distributed under the License is distributed on an "AS IS" BASIS, + +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and + +limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pymssql 2.1.4 - LGPL-2.1-or-later + + +copyright u'2001-2016 +Copyright (c) 2011 Frediano Ziglio +Copyright (c) 1998-1999 Brian Bruns +Copyright (c) 1998-2011 Brian Bruns +Copyright (c) 2010, 2011 Frediano Ziglio +copyrighted by the Free Software Foundation +Copyright (c) 2014 pymssql development team. +Copyright (c) 2009 Damien Churchill +Copyright (c) 1991, 1999 Free Software Foundation, Inc. +Copyright (c) Microsoft Corporation Developer Edition (64-bit) +Copyright (c) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Brian Bruns +Copyright (c) 2003 Joon-cheol Park 2008 Andrzej Kukula 2009 Damien Churchill +Copyright (c) 2003 Joon-cheol Park 2008 Andrzej Kukula 2009-2010 Damien Churchill + +GNU LESSER GENERAL PUBLIC LICENSE + +Version 2.1, February 1999 + +Copyright (C) 1991, 1999 Free Software Foundation, Inc. + +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] + +Preamble + +The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. + +This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. + +When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. + +To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. + +For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. + +We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. + +To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. + +Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. + +Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. + +When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. + +We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. + +For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. + +In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. + +Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. + +The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. + + Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. + + You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. + + (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) + + These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. + + Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. + + In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. + + Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: + + a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. + + e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. + + It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. + + 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. + + b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. + + 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. + + If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. + + It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. + + This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Libraries + +If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). + +To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. + + + +Copyright (C) + +This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: + +Yoyodyne, Inc., hereby disclaims all copyright interest in + +the library `Frob' (a library for tweaking knobs) written + +by James Random Hacker. + +< signature of Ty Coon > , 1 April 1990 + +Ty Coon, President of Vice + +That's all there is to it! + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pyodbc 4.0.25 - MIT + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pyOpenSSL 19.0.0 - Apache-2.0 + + +Copyright (c) AB +Copyright (c) Frederick Dean +Copyright 2001-2017 0 .format +Copyright (c) Jean-Paul Calderone +Copyright (c) Twisted Matrix Laboratories. +Copyright (c) Jean-Paul Calderone 2008-2015 +u'The pyOpenSSL developers copyright u'2001 + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); + +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software + +distributed under the License is distributed on an "AS IS" BASIS, + +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and + +limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pyparsing 2.4.2 - MIT + + +Copyright 2004-2010 +Copyright 2004, Paul McGuire +Copyright 2006, Paul McGuire +Copyright 2008, Paul McGuire +Copyright 2010, Paul McGuire +Copyright 2011, Paul McGuire +Copyright 2015, Paul McGuire +Copyright 2016, Paul McGuire +Copyright 2018, Paul McGuire +Copyright 2019, Paul McGuire +Copyright Paul McGuire, 2019 +copyright 2006, Paul McGuire +Copyright 2008 Chris Lambrou. +Copyright, 2010, Paul McGuire +Copyright 2007 by Paul McGuire +Copyright, 2007 - Paul McGuire +Copyright, 2012 - Paul McGuire +Copyright 2006, by Paul McGuire +Copyright 2008, by Paul McGuire +Copyright 2012, Paul T. McGuire +copyright 2018, Paul T. McGuire +Copyright (c) 2003, Paul McGuire +Copyright (c) 2004, Paul McGuire +Copyright (c) 2006, Paul McGuire +Copyright (c) 2009 Zarko Zivanov +Copyright (c) 2016, Paul McGuire +Copyright 2010,2019 Paul McGuire +Copyright, 2006, by Paul McGuire +Copyright 2002-2018, Paul McGuire +Copyright 2005-2006, Paul McGuire +Copyright 2009, 2011 Paul McGuire +Copyright (c) 2018 Paul T. McGuire +Copyright Ellis & Grant, Inc. 2005 +Copyright 2003-2009 by Paul McGuire +Copyright 2011,2015 Paul T. McGuire +Copyright (c) 2003,2019 Paul McGuire +Copyright (c) 2006,2016 Paul McGuire +Copyright 2003, 2019 by Paul McGuire +Copyright 2004-2016, by Paul McGuire +Copyright 2007-2011, by Paul McGuire +Copyright 2010, 2019 by Paul McGuire +Copyright (c) 2003,2016, Paul McGuire +Copyright (c) 2004, 2006 Paul McGuire +Copyright (c) 2004-2016, Paul McGuire +Copyright (c) 2006-2016, Paul McGuire +Copyright (c) 2006, 2016, Paul McGuire +Copyright copy 2003-2013 Paul McGuire. +Copyright (c) 2003-2019 Paul T. McGuire +Copyright (c) 2004-2011 Paul T. McGuire. +Copyright (c) 2006, Estrate, the Netherlands +Copyright 1989 by Carnegie Mellon University +Copyright (c) 2006 Tim Cera timcera@earthlink.net +Copyright Petri Savolainen +Copyright 2004, by Alberto Santini http://www.albertosantini.it/chess + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pyqt 5.9.2 - GPL 3.0 + + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +PySocks 1.7.1 - BSD + + +(c) 2006 Dan-Haim. +(c) 2000-2014 by 3APA3A +Copyright 2006 Dan-Haim. +(c) 2000-2014 by Vladimir Dubrovin (vlad@sandy.ru) +(c) 2000-2014 by SecurityVulns.com (http://3proxy.ru/) +(c) 3APA3A, Vladimir Dubrovin & 3proxy.ru Documentation + + All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pytables 3.5.2 - BSD-3-CLAUSE + +Copyright Notice and Statement for PyTables Software Library and Utilities: + +Copyright (c) 2002-2004 by Francesc Alted +Copyright (c) 2005-2007 by Carabos Coop. V. +Copyright (c) 2008-2010 by Francesc Alted +Copyright (c) 2011-2021 by PyTables maintainers +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +a. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the + distribution. + +c. Neither the name of Francesc Alted nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pytest 4.0.2 - MIT + +copyright u'2015-2018 +Copyright (c) 2010 by Armin Ronacher. +Copyright Holger Krekel and others, 2004-2017. +Copyright Holger Krekel and others, 2004-2018. +Copyright (c) 2004-2017 Holger Krekel and others +Copyright 2010 by Armin Ronacher. :license Flask Design License + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +python 3.7.2 - PSL + +PSF LICENSE AGREEMENT FOR PYTHON 3.7.2 + +1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and + the Individual or Organization ("Licensee") accessing and otherwise using Python + 3.7.2 software in source or binary form and its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, PSF hereby + grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, + analyze, test, perform and/or display publicly, prepare derivative works, + distribute, and otherwise use Python 3.7.2 alone or in any derivative + version, provided, however, that PSF's License Agreement and PSF's notice of + copyright, i.e., "Copyright © 2001-2019 Python Software Foundation; All Rights + Reserved" are retained in Python 3.7.2 alone or in any derivative version + prepared by Licensee. + +3. In the event Licensee prepares a derivative work that is based on or + incorporates Python 3.7.2 or any part thereof, and wants to make the + derivative work available to others as provided herein, then Licensee hereby + agrees to include in any such work a brief summary of the changes made to Python + 3.7.2. + +4. PSF is making Python 3.7.2 available to Licensee on an "AS IS" basis. + PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF + EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR + WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE + USE OF PYTHON 3.7.2 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + +5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 3.7.2 + FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF + MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 3.7.2, OR ANY DERIVATIVE + THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material breach of + its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any relationship + of agency, partnership, or joint venture between PSF and Licensee. This License + Agreement does not grant permission to use PSF trademarks or trade name in a + trademark sense to endorse or promote products or services of Licensee, or any + third party. + +8. By copying, installing or otherwise using Python 3.7.2, Licensee agrees + to be bound by the terms and conditions of this License Agreement. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +python-dateutil 2.7.5 - Apache-2.0 + + +Copyright 2017 +copyright 2016 +Copyright (c) 2015- - dateutil contributors +Copyright 2017- Paul Ganssle +Copyright (c) 2015- - Paul Ganssle +Copyright (c) 2014-2016 - Yaron de Leeuw +Copyright (c) 2003-2011 - Gustavo Niemeyer +Copyright (c) 2012-2014 - Tomi Pievilainen + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); + +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software + +distributed under the License is distributed on an "AS IS" BASIS, + +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and + +limitations under the License. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pytz 2020.5 - MIT + + +Copyright (c) 2003-2019 Stuart Bishop + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pyviz 0.9.1 - BSD-3-Clause + +BSD 3-Clause License + +Copyright (c) 2017, IOAM +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +PyWavelets 1.1.1 - MIT + + +copyright 2006 +Copyright (c) 2016 Holger Nahrstaedt +Copyright (c) 2006-2012 Filip Wasilewski +Copyright (c) 2017 The PyWavelets Developers +Copyright (c) 2012-2016 The PyWavelets Developers +Copyright (c) 2012-2018 The PyWavelets Developers +Copyright (c) 2012-2019 The PyWavelets Developers + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +-----------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +PyYAML 5.3.1 - MIT + + +Copyright (c) 2017-2020 Ingy döt Net +Copyright (c) 2006-2016 Kirill Simonov + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +pyzmq 20.0.0 - BSD + + +PyZMQ is licensed under the terms of the Modified BSD License (also known as +New or Revised BSD), as follows: + +Copyright (c) 2009-2012, Brian Granger, Min Ragan-Kelley + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +Neither the name of PyZMQ nor the names of its contributors may be used to +endorse or promote products derived from this software without specific prior +written permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +qt 5.9.7 - LGPL 3.0 + +GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +qtconsole 4.7.7 - BSD-3-Clause + + +BSD 3-Clause License + +Copyright (c) 2017, Project Jupyter Contributors +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +QtPy 1.9.0 - MIT + + +Copyright (c) 2012-2013 Pierre Raybaut +Copyright (c) 2014-2015 Colin Duquesnoy +Copyright (c) The Spyder Development Team +Copyright (c) 2009- The Spyder Developmet Team +Copyright (c) 2009- The Spyder Development Team +Copyright (c) 2009- The Spyder development Team +Copyright (c) 2015- The Spyder Development Team +Copyright (c) 2019- The Spyder Development Team +Copyright (c) 2009-2019 The Spyder Development Team +Copyright (c) 2015, Chris Beaumont and Thomas Robitaille +Copyright (c) 2011 Sebastian Wiesner + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +re2 2019.2 - BSD-3-CLAUSE + +Copyright (c) 2009 The RE2 Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +readline 7.0 - GPL 3.0 + +GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + Appendix: How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) 19yy + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +requests 2.21.0 - Apache-2.0 + + +Copyright 2018 Kenneth Reitz +copyright (c) 2012 by Kenneth Reitz. +copyright (c) 2017 by Kenneth Reitz. + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); + +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software + +distributed under the License is distributed on an "AS IS" BASIS, + +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and + +limitations under the License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +requests-kerberos 0.12.0 - ISC + + +Copyright (c) 2012 Kenneth Reitz + +ISC License + +Copyright (c) 2004-2010 by Internet Systems Consortium, Inc. ("ISC") + +Copyright (c) 1995-2003 by Internet Software Consortium + +Permission to use, copy, modify, and /or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +retrying 1.3.3 - Apache-2.0 + + +Copyright 2013 Ray +Copyright 2013-2014 Ray + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); + +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software + +distributed under the License is distributed on an "AS IS" BASIS, + +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and + +limitations under the License. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + + ruamel_yaml 0.15.46 - MIT + + The MIT License (MIT) + + Copyright (c) 2014-2018 Anthon van der Neut, Ruamel bvba + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +scikit-image 0.14.1 - BSD-3-Clause + + +Unless otherwise specified by LICENSE.txt files in individual +directories, all code is + +Copyright (C) 2011, the scikit-image team +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. Neither the name of skimage nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING +IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +scikit-learn 0.20.2 - BSD-3-Clause + + +(c) 2011 +(c) 2013 +(c) 2014 +(c) INRIA +(c) INRIA 2010 +(c) INRIA 2011 +(c) INRIA 2014 +Copyright INRIA +(c) Copyright 2000 +(c) jQuery Foundation +Copyright (c) 2007-2018 +Copyright (c) 2011, 2012 +copyright u '2007 - 2018 +copyright Fabian Pedregosa +Copyright 2014 Steven Loria +Copyright 2012 Twitter, Inc. +Copyright 2009 Brian Quinlan. +Copyright 2017, Thomas Moreau +Copyright 2010, Gael Varoquaux +Copyright 2012, Olivier Grisel +Copyright (c) 2011 Pietro Berkes +Copyright (c) 2008 Gael Varoquaux +Copyright (c) 2009 Gael Varoquaux +Copyright (c) 2010 Gael Varoquaux +(c) Copyright 1997 R. Clint Whaley +(c) Copyright 1999 R. Clint Whaley +(c) INRIA, University of Amsterdam +Copyright (c) 1999-2003 Steve Purcell +Copyright (c) 2011 David Warde-Farley +Copyright 2007-2010 by the Sphinx team +Copyright (c) 2003-2016 Paul T. McGuire +Copyright (c) 2001, 2002 Enthought, Inc. +Copyright (c) 2003-2017 SciPy Developers. +Copyright (c) 2010-2013 Benjamin Peterson +Copyright (c) 2011 Renato de Pontes Pereira +copyrights by Aric Hagberg +Copyright 2001-2013 Python Software Foundation +Copyright (c) 2003-2010 Python Software Foundation +Copyright (c) 2006, Systems Optimization Laboratory +Copyright (c) 2000-2009 Chih-Chung Chang and Chih-Jen Lin +(c) INRIA, University of Amsterdam, University of Copenhagen +Copyright (c) 2010 Olivier Grisel +Copyright (c) 2011 Olivier Grisel +Copyright (c) 2012, Regents of the University of California. +Copyright (c) 2008 Brian M. Clapper , Gael Varoquaux +Copyright 2012 Twitter, Inc. http://www.apache.org/licenses/LICENSE-2.0.txt +Copyright (c) 2009 PiCloud, Inc. +Copyright (c) 2007-2009 Cournapeau David 2010 Fabian Pedregosa +Nathaniel Gray Fernando Perez Copyright 2010, Gael Varoquaux 2001-2004, Fernando Perez 2001 Nathaniel Gray +Copyright (c) 2007 David Cournapeau 2010 Fabian Pedregosa 2010 Olivier Grisel + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +scipy 1.1.0 - BSD + + +Copyright (c) 2001, 2002 Enthought, Inc. +All rights reserved. + +Copyright (c) 2003-2017 SciPy Developers. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + c. Neither the name of Enthought nor the names of the SciPy Developers + may be used to endorse or promote products derived from this software + without specific prior written permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + + + +SciPy bundles a number of libraries that are compatibly licensed. We list +these here. + +Name: Numpydoc +Files: doc/sphinxext/numpydoc/* +License: 2-clause BSD + For details, see doc/sphinxext/LICENSE.txt + +Name: scipy-sphinx-theme +Files: doc/scipy-sphinx-theme/* +License: 3-clause BSD, PSF and Apache 2.0 + For details, see doc/sphinxext/LICENSE.txt + +Name: Six +Files: scipy/_lib/six.py +License: MIT + For details, see the header inside scipy/_lib/six.py + +Name: Decorator +Files: scipy/_lib/decorator.py +License: 2-clause BSD + For details, see the header inside scipy/_lib/decorator.py + +Name: ID +Files: scipy/linalg/src/id_dist/* +License: 3-clause BSD + For details, see scipy/linalg/src/id_dist/doc/doc.tex + +Name: L-BFGS-B +Files: scipy/optimize/lbfgsb/* +License: BSD license + For details, see scipy/optimize/lbfgsb/README + +Name: SuperLU +Files: scipy/sparse/linalg/dsolve/SuperLU/* +License: 3-clause BSD + For details, see scipy/sparse/linalg/dsolve/SuperLU/License.txt + +Name: ARPACK +Files: scipy/sparse/linalg/eigen/arpack/ARPACK/* +License: 3-clause BSD + For details, see scipy/sparse/linalg/eigen/arpack/ARPACK/COPYING + +Name: Qhull +Files: scipy/spatial/qhull/* +License: Qhull license (BSD-like) + For details, see scipy/spatial/qhull/COPYING.txt + +Name: Cephes +Files: scipy/special/cephes/* +License: 3-clause BSD + Distributed under 3-clause BSD license with permission from the author, + see https://lists.debian.org/debian-legal/2004/12/msg00295.html + + Cephes Math Library Release 2.8: June, 2000 + Copyright 1984, 1995, 2000 by Stephen L. Moshier + + This software is derived from the Cephes Math Library and is + incorporated herein by permission of the author. + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Name: Faddeeva +Files: scipy/special/Faddeeva.* +License: MIT + Copyright (c) 2012 Massachusetts Institute of Technology + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Name: qd +Files: scipy/special/cephes/dd_*.[ch] +License: modified BSD license ("BSD-LBNL-License.doc") + This work was supported by the Director, Office of Science, Division + of Mathematical, Information, and Computational Sciences of the + U.S. Department of Energy under contract numbers DE-AC03-76SF00098 and + DE-AC02-05CH11231. + + Copyright (c) 2003-2009, The Regents of the University of California, + through Lawrence Berkeley National Laboratory (subject to receipt of + any required approvals from U.S. Dept. of Energy) All rights reserved. + + 1. Redistribution and use in source and binary forms, with or + without modification, are permitted provided that the following + conditions are met: + + (1) Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. + + (2) Redistributions in binary form must reproduce the copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + (3) Neither the name of the University of California, Lawrence + Berkeley National Laboratory, U.S. Dept. of Energy nor the names + of its contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + 2. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + 3. You are under no obligation whatsoever to provide any bug fixes, + patches, or upgrades to the features, functionality or performance of + the source code ("Enhancements") to anyone; however, if you choose to + make your Enhancements available either publicly, or directly to + Lawrence Berkeley National Laboratory, without imposing a separate + written license agreement for such Enhancements, then you hereby grant + the following license: a non-exclusive, royalty-free perpetual license + to install, use, modify, prepare derivative works, incorporate into + other computer software, distribute, and sublicense such enhancements + or derivative works thereof, in binary and source code form. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +seaborn 0.9.0 - BSD + + +Copyright (c) 2012-2016, Michael L. Waskom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the project nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Send2Trash 1.5.0 - BSD-3-Clause + +Copyright (c) 2017, Virgil Dupras +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + * Neither the name of Hardcoded Software Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +setuptools 41.0.1 - MIT + +Copyright Jason R. Coombs + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +sip 4.19.8 - GPL 3.0 + + +RIVERBANK COMPUTING LIMITED LICENSE AGREEMENT FOR SIP 4.8 + +1. This LICENSE AGREEMENT is between Riverbank Computing Limited +("Riverbank"), and the Individual or Organization ("Licensee") accessing +and otherwise using SIP 4.8 software in source or binary form and its +associated documentation. SIP 4.8 comprises a software tool for +generating Python bindings for software C and C++ libraries, and a Python +extension module used at runtime by those generated bindings. + +2. Subject to the terms and conditions of this License Agreement, Riverbank +hereby grants Licensee a nonexclusive, royalty-free, world-wide license +to reproduce, analyze, test, perform and/or display publicly, prepare +derivative works, distribute, and otherwise use SIP 4.8 alone or in +any derivative version, provided, however, that Riverbank's License +Agreement and Riverbank's notice of copyright, e.g., "Copyright (c) 2009 +Riverbank Computing Limited; All Rights Reserved" are retained in +SIP 4.8 alone or in any derivative version prepared by Licensee. + +3. In the event Licensee prepares a derivative work that is based on +or incorporates SIP 4.8 or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to SIP 4.8. + +4. Licensee may not use SIP 4.8 to generate Python bindings for any +C or C++ library for which bindings are already provided by Riverbank. + +5. Riverbank is making SIP 4.8 available to Licensee on an "AS IS" +basis. RIVERBANK MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, RIVERBANK MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF SIP 4.8 WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +6. RIVERBANK SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF +SIP 4.8 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS +AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING SIP 4.8, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +7. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +8. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between Riverbank +and Licensee. This License Agreement does not grant permission to use +Riverbank trademarks or trade name in a trademark sense to endorse or +promote products or services of Licensee, or any third party. + +9. By copying, installing or otherwise using SIP 4.8, Licensee +agrees to be bound by the terms and conditions of this License Agreement. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +six 1.15.0 - MIT + +MIT License + +Copyright (c) 2010-2020 Benjamin Peterson + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +skl2onnx 1.5.1 - MIT + +MIT License + +Copyright (c) 2018 Microsoft Corporation + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +snappy 1.1.8 - BSD-3-CLAUSE + + +Copyright 2011, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +=== + +Some of the benchmark data in testdata/ is licensed differently: + + - fireworks.jpeg is Copyright 2013 Steinar H. Gunderson, and + is licensed under the Creative Commons Attribution 3.0 license + (CC-BY-3.0). See https://creativecommons.org/licenses/by/3.0/ + for more information. + + - kppkn.gtb is taken from the Gaviota chess tablebase set, and + is licensed under the MIT License. See + https://sites.google.com/site/gaviotachessengine/Home/endgame-tablebases-1 + for more information. + + - paper-100k.pdf is an excerpt (bytes 92160 to 194560) from the paper + “Combinatorial Modeling of Chromatin Features Quantitatively Predicts DNA + Replication Timing in _Drosophila_” by Federico Comoglio and Renato Paro, + which is licensed under the CC-BY license. See + http://www.ploscompbiol.org/static/license for more ifnormation. + + - alice29.txt, asyoulik.txt, plrabn12.txt and lcet10.txt are from Project + Gutenberg. The first three have expired copyrights and are in the public + domain; the latter does not have expired copyright, but is still in the + public domain according to the license information + (http://www.gutenberg.org/ebooks/53). + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +snowballstemmer 2.0.0 - BSD-2-Clause + + +License +------- + +Copyright (c) 2013, Yoshiki Shibukawa + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided +that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this list of conditions and + the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions + and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +sortedcontainers 2.3.0 - Apache-2.0 + +Copyright 2014-2018 Grant Jenks + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +sparkmagic 0.15.0 - BSD-2-Clause + + +# Licensing terms + +This project is licensed under the terms of the Modified BSD License +(also known as New or Revised or 3-Clause BSD), as follows: + +- Copyright (c) 2001-2015, IPython Development Team +- Copyright (c) 2015-, Jupyter Development Team + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +Neither the name of the Jupyter Development Team nor the names of its +contributors may be used to endorse or promote products derived from this +software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +## About the Jupyter Development Team + +The Jupyter Development Team is the set of all contributors to the Jupyter project. +This includes all of the Jupyter Subprojects, which are the different repositories +under the [jupyter](https://github.com/jupyter/) GitHub organization. + +The core team that coordinates development on GitHub can be found here: +https://github.com/jupyter/. + +## Our copyright policy + +Jupyter uses a shared copyright model. Each contributor maintains copyright +over their contributions to Jupyter. But, it is important to note that these +contributions are typically only changes to the repositories. Thus, the Jupyter +source code, in its entirety is not the copyright of any single person or +institution. Instead, it is the collective copyright of the entire Jupyter +Development Team. If individual contributors want to maintain a record of what +changes/contributions they have specific copyright on, they should indicate +their copyright in the commit message of the change, when they commit the +change to one of the Jupyter repositories. + +With this in mind, the following banner should be used in any source code file +to indicate the copyright and license terms: + + # Copyright (c) Jupyter Development Team. + # Distributed under the terms of the Modified BSD License. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Sphinx 1.8.2 - BSD-2-Clause + + +License for Sphinx +================== + +Copyright (c) 2007-2018 by the Sphinx team (see AUTHORS file). +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +Licenses for incorporated software +================================== + +The included smartypants module, included as sphinx.util.smartypants, +is available under the following license: + +---------------------------------------------------------------------- +SmartyPants_ license:: + + Copyright (c) 2003 John Gruber + (https://daringfireball.net/projects/smartypants/) + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials + provided with the distribution. + + * Neither the name "SmartyPants" nor the names of its + contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + This software is provided by the copyright holders and + contributors "as is" and any express or implied warranties, + including, but not limited to, the implied warranties of + merchantability and fitness for a particular purpose are + disclaimed. In no event shall the copyright owner or contributors + be liable for any direct, indirect, incidental, special, + exemplary, or consequential damages (including, but not limited + to, procurement of substitute goods or services; loss of use, + data, or profits; or business interruption) however caused and on + any theory of liability, whether in contract, strict liability, or + tort (including negligence or otherwise) arising in any way out of + the use of this software, even if advised of the possibility of + such damage. + + +smartypants.py license:: + + smartypants.py is a derivative work of SmartyPants. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials + provided with the distribution. + + This software is provided by the copyright holders and + contributors "as is" and any express or implied warranties, + including, but not limited to, the implied warranties of + merchantability and fitness for a particular purpose are + disclaimed. In no event shall the copyright owner or contributors + be liable for any direct, indirect, incidental, special, + exemplary, or consequential damages (including, but not limited + to, procurement of substitute goods or services; loss of use, + data, or profits; or business interruption) however caused and on + any theory of liability, whether in contract, strict liability, or + tort (including negligence or otherwise) arising in any way out of + the use of this software, even if advised of the possibility of + such damage. +---------------------------------------------------------------------- + +The included JQuery JavaScript library is available under the MIT +license: + +---------------------------------------------------------------------- +Copyright (c) 2008 John Resig, https://jquery.com/ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +---------------------------------------------------------------------- + +The included Underscore JavaScript library is available under the MIT +license: + +---------------------------------------------------------------------- +Copyright (c) 2009 Jeremy Ashkenas, DocumentCloud + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +------------------------------------------------------------------------------- + +The included implementation of NumpyDocstring._parse_numpydoc_see_also_section +was derived from code under the following license: + +------------------------------------------------------------------------------- + +Copyright (C) 2008 Stefan van der Walt , Pauli Virtanen + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING +IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +------------------------------------------------------------------------------- + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +sphinxcontrib-websupport 1.2.4 - BSD-2-Clause + + +License for sphinxcontrib-websupport +==================================== + +Copyright (c) 2007-2018 by the Sphinx team +(see https://github.com/sphinx-doc/sphinx/blob/master/AUTHORS). +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +sqlalchemy 1.2.15 - MIT + +Copyright 2005-2021 SQLAlchemy authors and contributors . + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +sqlparse 0.2.4 - BSD + + +Copyright (c) 2016, Andi Albrecht +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of the authors nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +statsmodels 0.9.0 - BSD-3-Clause + + +Copyright (C) 2006, Jonathan E. Taylor +All rights reserved. + +Copyright (c) 2006-2008 Scipy Developers. +All rights reserved. + +Copyright (c) 2009-2012 Statsmodels Developers. +All rights reserved. + + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + c. Neither the name of Statsmodels nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL STATSMODELS OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +sympy 1.3 - BSD-3-Clause + + +(Copyright (c) 2006-2018 SymPy Development Team + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + c. Neither the name of SymPy nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +-------------------------------------------------------------------------------- + +Patches taken from the Diofant project (https://github.com/diofant/diofant) +are licensed as: + +Copyright (c) 2006-2017 SymPy Development Team, + 2013-2017 Sergey B Kirpichev + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + c. Neither the name of Diofant, or SymPy nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +-------------------------------------------------------------------------------- + +Submodule taken from the multipledispatch project (https://github.com/mrocklin/multipledispatch) +are licensed as: + +Copyright (c) 2014 Matthew Rocklin + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + c. Neither the name of multipledispatch nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +tblib 1.7.0 - BSD + +BSD 2-Clause License + +Copyright (c) 2013-2020, Ionel Cristian Mărieș. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the +following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following +disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following +disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +terminado 0.9.2 - BSD-2-Clause + + +Copyright (c) Jupyter Development Team +Copyright (c) 2014-, Jupyter development team +Copyright (c) 2014, Ramalingam Saravanan + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +testpath 0.4.4 - BSD-3-Clause + +BSD 3-Clause License + +Copyright (c) 2015, The Jupyter Development Team +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +tf2onnx 1.5.3 - MIT + + +MIT License + +Copyright (c) ONNX Project Contributors +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +thrift-cpp 0.13.0 - Apache 2.0 + +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +-------------------------------------------------- +SOFTWARE DISTRIBUTED WITH THRIFT: + +The Apache Thrift software includes a number of subcomponents with +separate copyright notices and license terms. Your use of the source +code for the these subcomponents is subject to the terms and +conditions of the following licenses. + +-------------------------------------------------- +Portions of the following files are licensed under the MIT License: + + lib/erl/src/Makefile.am + +Please see doc/otp-base-license.txt for the full terms of this license. + +-------------------------------------------------- +For the aclocal/ax_boost_base.m4 and contrib/fb303/aclocal/ax_boost_base.m4 components: + +# Copyright (c) 2007 Thomas Porschberg +# +# Copying and distribution of this file, with or without +# modification, are permitted in any medium without royalty provided +# the copyright notice and this notice are preserved. + +-------------------------------------------------- +For the lib/nodejs/lib/thrift/json_parse.js: + +/* + json_parse.js + 2015-05-02 + Public Domain. + NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. + +*/ +(By Douglas Crockford ) + +-------------------------------------------------- +For lib/cpp/src/thrift/windows/SocketPair.cpp + +/* socketpair.c + * Copyright 2007 by Nathan C. Myers ; some rights reserved. + * This code is Free Software. It may be copied freely, in original or + * modified form, subject only to the restrictions that (1) the author is + * relieved from all responsibilities for any use for any purpose, and (2) + * this copyright notice must be retained, unchanged, in its entirety. If + * for any reason the author might be held responsible for any consequences + * of copying or use, license is withheld. + */ + + +-------------------------------------------------- +For lib/py/compat/win32/stdint.h + +// ISO C9x compliant stdint.h for Microsoft Visual Studio +// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124 +// +// Copyright (c) 2006-2008 Alexander Chemeris +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// 1. Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// 3. The name of the author may be used to endorse or promote products +// derived from this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +/////////////////////////////////////////////////////////////////////////////// + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +tk 8.6.8 - BSD + +This software is copyrighted by the Regents of the University of California, Sun Microsystems, Inc., Scriptics Corporation, and other parties. The following terms apply to all files associated with the software unless explicitly disclaimed in individual files. + +The authors hereby grant permission to use, copy, modify, distribute, and license this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. No written agreement, license, or royalty fee is required for any of the authorized uses. Modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated on the first page of each file where they apply. + +IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + +GOVERNMENT USE: If you are acquiring this software on behalf of the U.S. government, the Government shall have only "Restricted Rights" in the software and related documentation as defined in the Federal Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you are acquiring the software on behalf of the Department of Defense, the software shall be classified as "Commercial Computer Software" and the Government shall have only "Restricted Rights" as defined in Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the authors grant the U.S. Government and others acting in its behalf permission to use and distribute the software in accordance with the terms specified in this license. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +toolz 0.9.0 - BSD-3-Clause + + +Copyright (c) 2013 Matthew Rocklin + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + c. Neither the name of toolz nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +tornado 6.1 - Apache-2.0 + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); + +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software + +distributed under the License is distributed on an "AS IS" BASIS, + +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and + +limitations under the License. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +trailets 4.3.2 - BSD + +Traitlets is adapted from enthought.traits, Copyright (c) Enthought, Inc., under the terms of the Modified BSD License. + +This project is licensed under the terms of the Modified BSD License (also known as New or Revised or 3-Clause BSD), as follows: + +Copyright (c) 2001-, IPython Development Team +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +Neither the name of the IPython Development Team nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +typing 3.7.4.3 - Python-2.0 + + +Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam +Copyright (c) 1995-2001 Corporation for National Research Initiatives +Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Python Software Foundation + +PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 + + 1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and the Individual or Organization ("Licensee") accessing and otherwise using this software ("Python") in source or binary form and its associated documentation. + + 2. Subject to the terms and conditions of this License Agreement, PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python alone or in any derivative version, provided, however, that PSF's License Agreement and PSF's notice of copyright, i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights Reserved" are retained in Python alone or in any derivative version prepared by Licensee. + + 3. In the event Licensee prepares a derivative work that is based on or incorporates Python or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to Python. + + 4. PSF is making Python available to Licensee on an "AS IS" basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + + 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + + 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. + + 7. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between PSF and Licensee. This License Agreement does not grant permission to use PSF trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. + + 8. By copying, installing or otherwise using Python, Licensee agrees to be bound by the terms and conditions of this License Agreement. BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 + +BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 + + 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the Individual or Organization ("Licensee") accessing and otherwise using this software in source or binary form and its associated documentation ("the Software"). + + 2. Subject to the terms and conditions of this BeOpen Python License Agreement, BeOpen hereby grants Licensee a non-exclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use the Software alone or in any derivative version, provided, however, that the BeOpen Python License is retained in the Software, alone or in any derivative version prepared by Licensee. + + 3. BeOpen is making the Software available to Licensee on an "AS IS" basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + + 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + + 5. This License Agreement will automatically terminate upon a material breach of its terms and conditions. + + 6. This License Agreement shall be governed by and interpreted in all respects by the law of the State of California, excluding conflict of law provisions. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between BeOpen and Licensee. This License Agreement does not grant permission to use BeOpen trademarks or trade names in a trademark sense to endorse or promote products or services of Licensee, or any third party. As an exception, the "BeOpen Python" logos available at http://www.pythonlabs.com/logos.html may be used according to the permissions granted on that web page. + + 7. By copying, installing or otherwise using the software, Licensee agrees to be bound by the terms and conditions of this License Agreement. CNRI OPEN SOURCE LICENSE AGREEMENT (for Python 1.6b1) IMPORTANT: PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY. + +BY CLICKING ON "ACCEPT" WHERE INDICATED BELOW, OR BY COPYING, INSTALLING OR OTHERWISE USING PYTHON 1.6, beta 1 SOFTWARE, YOU ARE DEEMED TO HAVE AGREED TO THE TERMS AND CONDITIONS OF THIS LICENSE AGREEMENT. + + 1. This LICENSE AGREEMENT is between the Corporation for National Research Initiatives, having an office at 1895 Preston White Drive, Reston, VA 20191 ("CNRI"), and the Individual or Organization ("Licensee") accessing and otherwise using Python 1.6, beta 1 software in source or binary form and its associated documentation, as released at the www.python.org Internet site on August 4, 2000 ("Python 1.6b1"). + + 2. Subject to the terms and conditions of this License Agreement, CNRI hereby grants Licensee a non-exclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python 1.6b1 alone or in any derivative version, provided, however, that CNRIs License Agreement is retained in Python 1.6b1, alone or in any derivative version prepared by Licensee. + + Alternately, in lieu of CNRIs License Agreement, Licensee may substitute the following text (omitting the quotes): "Python 1.6, beta 1, is made available subject to the terms and conditions in CNRIs License Agreement. This Agreement may be located on the Internet using the following unique, persistent identifier (known as a handle): 1895.22/1011. This Agreement may also be obtained from a proxy server on the Internet using the URL:http://hdl.handle.net/1895.22/1011". + + 3. In the event Licensee prepares a derivative work that is based on or incorporates Python 1.6b1 or any part thereof, and wants to make the derivative work available to the public as provided herein, then Licensee hereby agrees to indicate in any such work the nature of the modifications made to Python 1.6b1. + + 4. CNRI is making Python 1.6b1 available to Licensee on an "AS IS" basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6b1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + + 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF USING, MODIFYING OR DISTRIBUTING PYTHON 1.6b1, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + + 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. + + 7. This License Agreement shall be governed by and interpreted in all respects by the law of the State of Virginia, excluding conflict of law provisions. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between CNRI and Licensee. This License Agreement does not grant permission to use CNRI trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. + + 8. By clicking on the "ACCEPT" button where indicated, or by copying, installing or otherwise using Python 1.6b1, Licensee agrees to be bound by the terms and conditions of this License Agreement. ACCEPT CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 + +Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, The Netherlands. All rights reserved. + +Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Stichting Mathematisch Centrum or CWI not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. + +STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +typing-extensions 3.7.4.2 - PSF-2.0 + + +A. HISTORY OF THE SOFTWARE +========================== + +Python was created in the early 1990s by Guido van Rossum at Stichting +Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands +as a successor of a language called ABC. Guido remains Python's +principal author, although it includes many contributions from others. + +In 1995, Guido continued his work on Python at the Corporation for +National Research Initiatives (CNRI, see http://www.cnri.reston.va.us) +in Reston, Virginia where he released several versions of the +software. + +In May 2000, Guido and the Python core development team moved to +BeOpen.com to form the BeOpen PythonLabs team. In October of the same +year, the PythonLabs team moved to Digital Creations (now Zope +Corporation, see http://www.zope.com). In 2001, the Python Software +Foundation (PSF, see http://www.python.org/psf/) was formed, a +non-profit organization created specifically to own Python-related +Intellectual Property. Zope Corporation is a sponsoring member of +the PSF. + +All Python releases are Open Source (see http://www.opensource.org for +the Open Source Definition). Historically, most, but not all, Python +releases have also been GPL-compatible; the table below summarizes +the various releases. + + Release Derived Year Owner GPL- + from compatible? (1) + + 0.9.0 thru 1.2 1991-1995 CWI yes + 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes + 1.6 1.5.2 2000 CNRI no + 2.0 1.6 2000 BeOpen.com no + 1.6.1 1.6 2001 CNRI yes (2) + 2.1 2.0+1.6.1 2001 PSF no + 2.0.1 2.0+1.6.1 2001 PSF yes + 2.1.1 2.1+2.0.1 2001 PSF yes + 2.1.2 2.1.1 2002 PSF yes + 2.1.3 2.1.2 2002 PSF yes + 2.2 and above 2.1.1 2001-now PSF yes + +Footnotes: + +(1) GPL-compatible doesn't mean that we're distributing Python under + the GPL. All Python licenses, unlike the GPL, let you distribute + a modified version without making your changes open source. The + GPL-compatible licenses make it possible to combine Python with + other software that is released under the GPL; the others don't. + +(2) According to Richard Stallman, 1.6.1 is not GPL-compatible, + because its license has a choice of law clause. According to + CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1 + is "not incompatible" with the GPL. + +Thanks to the many outside volunteers who have worked under Guido's +direction to make these releases possible. + + +B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON +=============================================================== + +PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 +-------------------------------------------- + +1. This LICENSE AGREEMENT is between the Python Software Foundation +("PSF"), and the Individual or Organization ("Licensee") accessing and +otherwise using this software ("Python") in source or binary form and +its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, PSF hereby +grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, +analyze, test, perform and/or display publicly, prepare derivative works, +distribute, and otherwise use Python alone or in any derivative version, +provided, however, that PSF's License Agreement and PSF's notice of copyright, +i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +2011, 2012, 2013, 2014 Python Software Foundation; All Rights Reserved" are +retained in Python alone or in any derivative version prepared by Licensee. + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python. + +4. PSF is making Python available to Licensee on an "AS IS" +basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between PSF and +Licensee. This License Agreement does not grant permission to use PSF +trademarks or trade name in a trademark sense to endorse or promote +products or services of Licensee, or any third party. + +8. By copying, installing or otherwise using Python, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 +------------------------------------------- + +BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 + +1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an +office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the +Individual or Organization ("Licensee") accessing and otherwise using +this software in source or binary form and its associated +documentation ("the Software"). + +2. Subject to the terms and conditions of this BeOpen Python License +Agreement, BeOpen hereby grants Licensee a non-exclusive, +royalty-free, world-wide license to reproduce, analyze, test, perform +and/or display publicly, prepare derivative works, distribute, and +otherwise use the Software alone or in any derivative version, +provided, however, that the BeOpen Python License is retained in the +Software, alone or in any derivative version prepared by Licensee. + +3. BeOpen is making the Software available to Licensee on an "AS IS" +basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE +SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS +AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY +DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +5. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +6. This License Agreement shall be governed by and interpreted in all +respects by the law of the State of California, excluding conflict of +law provisions. Nothing in this License Agreement shall be deemed to +create any relationship of agency, partnership, or joint venture +between BeOpen and Licensee. This License Agreement does not grant +permission to use BeOpen trademarks or trade names in a trademark +sense to endorse or promote products or services of Licensee, or any +third party. As an exception, the "BeOpen Python" logos available at +http://www.pythonlabs.com/logos.html may be used according to the +permissions granted on that web page. + +7. By copying, installing or otherwise using the software, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1 +--------------------------------------- + +1. This LICENSE AGREEMENT is between the Corporation for National +Research Initiatives, having an office at 1895 Preston White Drive, +Reston, VA 20191 ("CNRI"), and the Individual or Organization +("Licensee") accessing and otherwise using Python 1.6.1 software in +source or binary form and its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, CNRI +hereby grants Licensee a nonexclusive, royalty-free, world-wide +license to reproduce, analyze, test, perform and/or display publicly, +prepare derivative works, distribute, and otherwise use Python 1.6.1 +alone or in any derivative version, provided, however, that CNRI's +License Agreement and CNRI's notice of copyright, i.e., "Copyright (c) +1995-2001 Corporation for National Research Initiatives; All Rights +Reserved" are retained in Python 1.6.1 alone or in any derivative +version prepared by Licensee. Alternately, in lieu of CNRI's License +Agreement, Licensee may substitute the following text (omitting the +quotes): "Python 1.6.1 is made available subject to the terms and +conditions in CNRI's License Agreement. This Agreement together with +Python 1.6.1 may be located on the Internet using the following +unique, persistent identifier (known as a handle): 1895.22/1013. This +Agreement may also be obtained from a proxy server on the Internet +using the following URL: http://hdl.handle.net/1895.22/1013". + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python 1.6.1 or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python 1.6.1. + +4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" +basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. This License Agreement shall be governed by the federal +intellectual property law of the United States, including without +limitation the federal copyright law, and, to the extent such +U.S. federal law does not apply, by the law of the Commonwealth of +Virginia, excluding Virginia's conflict of law provisions. +Notwithstanding the foregoing, with regard to derivative works based +on Python 1.6.1 that incorporate non-separable material that was +previously distributed under the GNU General Public License (GPL), the +law of the Commonwealth of Virginia shall govern this License +Agreement only as to issues arising under or with respect to +Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this +License Agreement shall be deemed to create any relationship of +agency, partnership, or joint venture between CNRI and Licensee. This +License Agreement does not grant permission to use CNRI trademarks or +trade name in a trademark sense to endorse or promote products or +services of Licensee, or any third party. + +8. By clicking on the "ACCEPT" button where indicated, or by copying, +installing or otherwise using Python 1.6.1, Licensee agrees to be +bound by the terms and conditions of this License Agreement. + + ACCEPT + + +CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 +-------------------------------------------------- + +Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, +The Netherlands. All rights reserved. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of Stichting Mathematisch +Centrum or CWI not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior +permission. + +STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO +THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE +FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +unicodecsv 0.14.1 - BSD + + +Copyright 2010 Jeremy Dunck. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are +permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of + conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list + of conditions and the following disclaimer in the documentation and/or other materials + provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY JEREMY DUNCK ``AS IS'' AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JEREMY DUNCK OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +The views and conclusions contained in the software and documentation are those of the +authors and should not be interpreted as representing official policies, either expressed +or implied, of Jeremy Dunck. +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +unixodbc 2.3.7 - LGPL 2.1 + +GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +(This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.) + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + {description} + Copyright (C) {year} {fullname} + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random + Hacker. + + {signature of Ty Coon}, 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +urllib3 1.24.3 - MIT + +This is the MIT license: http://www.opensource.org/licenses/mit-license.php + +Copyright 2008-2016 Andrey Petrov and contributors (see CONTRIBUTORS.txt) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this +software and associated documentation files (the "Software"), to deal in the Software +without restriction, including without limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons +to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or +substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +wcwidth 0.2.5 - MIT + +Copyright (c) 2014 Jeff Quast + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +webencodings 0.5.1 - BSD + + +Copyright (c) 2012 by Simon Sapin. + +Some rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * The names of the contributors may not be used to endorse or + promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +Werkzeug 1.0.1 - BSD + + +Copyright 2007 Pallets + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +wheel 0.36.2 - MIT + +"wheel" copyright (c) 2012-2014 Daniel Holth and +contributors. + +The MIT License + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +widgetsnbextension 3.4.2 - BSD + + +Copyright (c) 2015 Project Jupyter Contributors +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +winmltools 1.5.1 - MIT + + +Copyright (c) Microsoft Corporation. + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +wrapt 1.12.1 - BSD + + +Copyright (c) 2013-2019, Graham Dumpleton + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +xlrd 1.2.0 - BSD-2-Clause + + +Andrew Khan Copyright (c) 2000. +Copyright (c) 2001 David Giffin. +Copyright (c) 2010, Manfred Moitzi +Portions Copyright (c) 2010, Manfred Moitzi +copyright 2005- s Stephen John Machin, Lingfo Pty Ltd +Copyright (c) 2006 Stephen John Machin, Lingfo Pty Ltd +Copyright (c) 2005-2008 Stephen John Machin, Lingfo Pty Ltd +Copyright (c) 2005-2012 Stephen John Machin, Lingfo Pty Ltd +Copyright (c) 2005-2013 Stephen John Machin, Lingfo Pty Ltd +Copyright (c) 2006-2012 Stephen John Machin, Lingfo Pty Ltd +Portions copyright (c) 2005-2010 Stephen John Machin, Lingfo Pty Ltd +Portions copyright (c) 2008-2012 Stephen John Machin, Lingfo Pty Ltd +Portions copyright (c) 2005-2009, Stephen John Machin, Lingfo Pty Ltd + +Copyright (c) . All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +XlsxWriter 1.1.2 - BSD-2-Clause + +Copyright (c) 2013, John McNamara +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +The views and conclusions contained in the software and documentation are those +of the authors and should not be interpreted as representing official policies, +either expressed or implied, of the FreeBSD Project. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +xlwt 1.3.0 - BSD + + +Licenses +======== + +xlwt has various licenses that apply to the different parts of it, they are +listed below: + +The license for the work John Machin has done since xlwt was created:: + + Portions copyright (c) 2007, Stephen John Machin, Lingfo Pty Ltd + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3. None of the names of Stephen John Machin, Lingfo Pty Ltd and any + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF + THE POSSIBILITY OF SUCH DAMAGE. + +The licensing for the unit tests added as part of the work for Python 3 +compatibility is as follows:: + + Author: mozman -- + Purpose: test_mini + Created: 03.12.2010 + Copyright (C) 2010, Manfred Moitzi + License: BSD licence + +The license for pyExcelerator, from which xlwt was forked:: + + Copyright (C) 2005 Roman V. Kiseliov + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgment: + "This product includes software developed by + Roman V. Kiseliov ." + + 4. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes software developed by + Roman V. Kiseliov ." + + THIS SOFTWARE IS PROVIDED BY Roman V. Kiseliov ``AS IS'' AND ANY + EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Roman V. Kiseliov OR + ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + + Roman V. Kiseliov + Russia + Kursk + Libknecht St., 4 + + +7(0712)56-09-83 + + + +Portions of xlwt.Utils are based on pyXLWriter which is licensed as follows:: + + Copyright (c) 2004 Evgeny Filatov + Copyright (c) 2002-2004 John McNamara (Perl Spreadsheet::WriteExcel) + + This library is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + This library is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + General Public License for more details: + + https://www.gnu.org/licenses/lgpl.html + +pyXLWriter also makes reference to the PERL Spreadsheet::WriteExcel as follows:: + + This module was written/ported from PERL Spreadsheet::WriteExcel module + The author of the PERL Spreadsheet::WriteExcel module is John McNamara + + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +xz 5.2.4 - LGPL-2.1 and GPL-2.0-CLAUSE + + +XZ Utils Licensing +================== + + Different licenses apply to different files in this package. Here + is a rough summary of which licenses apply to which parts of this + package (but check the individual files to be sure!): + + - liblzma is in the public domain. + + - xz, xzdec, and lzmadec command line tools are in the public + domain unless GNU getopt_long had to be compiled and linked + in from the lib directory. The getopt_long code is under + GNU LGPLv2.1+. + + - The scripts to grep, diff, and view compressed files have been + adapted from gzip. These scripts and their documentation are + under GNU GPLv2+. + + - All the documentation in the doc directory and most of the + XZ Utils specific documentation files in other directories + are in the public domain. + + - Translated messages are in the public domain. + + - The build system contains public domain files, and files that + are under GNU GPLv2+ or GNU GPLv3+. None of these files end up + in the binaries being built. + + - Test files and test code in the tests directory, and debugging + utilities in the debug directory are in the public domain. + + - The extra directory may contain public domain files, and files + that are under various free software licenses. + + You can do whatever you want with the files that have been put into + the public domain. If you find public domain legally problematic, + take the previous sentence as a license grant. If you still find + the lack of copyright legally problematic, you have too many + lawyers. + + As usual, this software is provided "as is", without any warranty. + + If you copy significant amounts of public domain code from XZ Utils + into your project, acknowledging this somewhere in your software is + polite (especially if it is proprietary, non-free software), but + naturally it is not legally required. Here is an example of a good + notice to put into "about box" or into documentation: + + This software includes code from XZ Utils . + + The following license texts are included in the following files: + - COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1 + - COPYING.GPLv2: GNU General Public License version 2 + - COPYING.GPLv3: GNU General Public License version 3 + + Note that the toolchain (compiler, linker etc.) may add some code + pieces that are copyrighted. Thus, it is possible that e.g. liblzma + binary wouldn't actually be in the public domain in its entirety + even though it contains no copyrighted code from the XZ Utils source + package. + + If you have questions, don't hesitate to ask the author(s) for more + information. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +yaml 0.1.7 - MIT + +Copyright (c) 2017-2020 Ingy döt Net +Copyright (c) 2006-2016 Kirill Simonov + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +zeromq 4.3.1 - GPL 3.0 + + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. + + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +zict 2.0.0 - BSD-3-Clause + +Copyright (c) 2016 Matthew Rocklin + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + c. Neither the name of toolz nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +zipp 3.4.0 - MIT + +Copyright Jason R. Coombs + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +zlib 1.2.11 - zlib + +Copyright notice: + + (C) 1995-2017 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +zstd 1.3.7 - BSD-3-CLAUSE + +Copyright (c) 2016-present, Facebook, Inc. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name Facebook nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License--------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +net.minidev/accessors-smart 1.2 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.microsoft.azure/adal4j 1.6.3 - MIT + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +aopalliance/aopalliance 1.0 - OTHER + +OTHER + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +org.ow2.asm/asm 5.0.4 - BSD-3-Clause + +Copyright (c) . All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +org.apache.avro/avro 1.7.7 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.microsoft.azure/azure-data-lake-store-sdk 2.3.2 - MIT + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.microsoft.azure/azure-storage 8.0.0 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +commons-cli/commons-cli 1.2 - Apache-2.0 + +Copyright 2001-2009 The Apache Software Foundation + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +commons-codec/commons-codec 1.11 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +commons-collections/commons-collections 3.2.2 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +org.apache.commons/commons-configuration2 2.1.1 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +commons-io/commons-io 2.5 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +commons-lang/commons-lang 2.6 - Apache-2.0 + +Copyright 2001-2011 The Apache Software Foundation + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +commons-logging/commons-logging 1.1.3 - Apache-2.0 + +Copyright 2003-2013 The Apache Software Foundation + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.google.guava/failureaccess 1.0 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.google.guava/guava 27.0-jre - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.google.code.gson/gson 2.2.4 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.google.inject/guice 4.0 - Apache-2.0 OR (Apache-1.1 AND Apache-2.0) + +Copyright 2006-2015 Google, Inc. +Copyright (c) 2006 Google Inc. Bundle-Vendor Google, Inc. + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +This product includes software developed by +The Apache Software Foundation (http://www.apache.org/). + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.google.inject.extensions/guice-servlet 4.0 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +org.apache.htrace/htrace-core4 4.1.0-incubating - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +org.apache.httpcomponents/httpclient 4.5.2 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +org.apache.httpcomponents/httpcore 4.4.4 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.fasterxml.jackson.core/jackson-core 2.9.10 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.fasterxml.jackson.core/jackson-databind 2.9.10.4 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +org.codehaus.jackson/jackson-mapper-asl 1.9.13 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +org.codehaus.jackson/jackson-core-asl 1.9.13 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +javax.servlet/javax.servlet-api 3.1.0 - CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0 + +copyrighted by the Free Software Foundation +Copyright 2004 The Apache Software Foundation +Copyright (c) 1997-2010 Oracle and/or its affiliates. +Copyright (c) 1997-2013 Oracle and/or its affiliates. +Copyright (c) 1989, 1991 Free Software Foundation, Inc. +Portions Copyright 1999-2002 The Apache Software Foundation. +Copyright 1999-2013, http://www.oracle.com' Oracle and/or its affiliates. +Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2008-2010 Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2009-2010 Oracle and/or its affiliates. All rights reserved. + +CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0 + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.sun.mail/javax.mail 1.6.1 - CDDL-1.1 OR GPL-2.0-only WITH Classpath-exception-2.0 + +CDDL-1.1 OR GPL-2.0-only WITH Classpath-exception-2.0 + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +javax.inject/javax.inject 1 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.github.stephenc.jcip/jcip-annotations 1.0-1 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.sun.jersey/jersey-client 1.19 - CDDL-1.1 OR GPL-2.0-only WITH Classpath-exception-2.0 + +CDDL-1.1 OR GPL-2.0-only WITH Classpath-exception-2.0 + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.sun.jersey/jersey-core 1.19 - CDDL-1.1 OR GPL-2.0-only WITH Classpath-exception-2.0 + +CDDL-1.1 OR GPL-2.0-only WITH Classpath-exception-2.0 + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +org.eclipse.jetty/jetty-util-ajax 9.4.20.v20190813 - Apache-2.0 + +Copyright 1996 Aki Yoshida +Copyright Mort Bay Consulting Pty Ltd +Copyright 1995-2018 Mort Bay Consulting Pty Ltd. +Copyright (c) 2008-2019 Mort Bay Consulting Pty. Ltd. Bundle-Description Jetty + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +org.eclipse.jetty/jetty-util-ajax 9.4.20.v20190813 - Apache-2.0 + + +Copyright 1996 Aki Yoshida +Copyright Mort Bay Consulting Pty Ltd +Copyright 1995-2018 Mort Bay Consulting Pty Ltd. +Copyright (c) 2008-2019 Mort Bay Consulting Pty. Ltd. Bundle-Description Jetty + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +net.minidev/json-smart 2.3 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.nimbusds/lang-tag 1.4.4 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.nimbusds/nimbus-jose-jwt 7.9 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.nimbusds/oauth2-oidc-sdk 5.64.4 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.squareup.okhttp/okhttp 2.7.5 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.squareup.okio/okio 1.6.0 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.google.protobuf/protobuf-java 2.5.0 - BSD-3-Clause + +Copyright (c) . All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.google.re2j/re2j 1.1 - BSD-3-Clause + +Copyright (c) . All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +org.slf4j/slf4j-api 1.7.25 - MIT + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +org.slf4j/slf4j-log4j12 1.7.25 - MIT + +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +org.codehaus.woodstox/stax2-api 3.1.4 - BSD-2-Clause + +Copyright (c) . All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +org.wildfly.openssl/wildfly-openssl 1.0.4.Final - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +com.fasterxml.woodstox/woodstox-core 5.0.3 - Apache-2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + + "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------------End of License---------------------------------------------------- + + +------------License Starts Here---------------------------------------------- + +github.com/apache/kafka - Apache-2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------------------------------------------------------------------------------ +This distribution has a binary dependency on jersey, which is available under the EPLv2 +License as described below. + +Eclipse Public License - v 2.0 + + THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE + PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION + OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + + 1. DEFINITIONS + + "Contribution" means: + + a) in the case of the initial Contributor, the initial content + Distributed under this Agreement, and + + b) in the case of each subsequent Contributor: + i) changes to the Program, and + ii) additions to the Program; + where such changes and/or additions to the Program originate from + and are Distributed by that particular Contributor. A Contribution + "originates" from a Contributor if it was added to the Program by + such Contributor itself or anyone acting on such Contributor's behalf. + Contributions do not include changes or additions to the Program that + are not Modified Works. + + "Contributor" means any person or entity that Distributes the Program. + + "Licensed Patents" mean patent claims licensable by a Contributor which + are necessarily infringed by the use or sale of its Contribution alone + or when combined with the Program. + + "Program" means the Contributions Distributed in accordance with this + Agreement. + + "Recipient" means anyone who receives the Program under this Agreement + or any Secondary License (as applicable), including Contributors. + + "Derivative Works" shall mean any work, whether in Source Code or other + form, that is based on (or derived from) the Program and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. + + "Modified Works" shall mean any work in Source Code or other form that + results from an addition to, deletion from, or modification of the + contents of the Program, including, for purposes of clarity any new file + in Source Code form that contains any contents of the Program. Modified + Works shall not include works that contain only declarations, + interfaces, types, classes, structures, or files of the Program solely + in each case in order to link to, bind by name, or subclass the Program + or Modified Works thereof. + + "Distribute" means the acts of a) distributing or b) making available + in any manner that enables the transfer of a copy. + + "Source Code" means the form of a Program preferred for making + modifications, including but not limited to software source code, + documentation source, and configuration files. + + "Secondary License" means either the GNU General Public License, + Version 2.0, or any later versions of that license, including any + exceptions or additional permissions as identified by the initial + Contributor. + + 2. GRANT OF RIGHTS + + a) Subject to the terms of this Agreement, each Contributor hereby + grants Recipient a non-exclusive, worldwide, royalty-free copyright + license to reproduce, prepare Derivative Works of, publicly display, + publicly perform, Distribute and sublicense the Contribution of such + Contributor, if any, and such Derivative Works. + + b) Subject to the terms of this Agreement, each Contributor hereby + grants Recipient a non-exclusive, worldwide, royalty-free patent + license under Licensed Patents to make, use, sell, offer to sell, + import and otherwise transfer the Contribution of such Contributor, + if any, in Source Code or other form. This patent license shall + apply to the combination of the Contribution and the Program if, at + the time the Contribution is added by the Contributor, such addition + of the Contribution causes such combination to be covered by the + Licensed Patents. The patent license shall not apply to any other + combinations which include the Contribution. No hardware per se is + licensed hereunder. + + c) Recipient understands that although each Contributor grants the + licenses to its Contributions set forth herein, no assurances are + provided by any Contributor that the Program does not infringe the + patent or other intellectual property rights of any other entity. + Each Contributor disclaims any liability to Recipient for claims + brought by any other entity based on infringement of intellectual + property rights or otherwise. As a condition to exercising the + rights and licenses granted hereunder, each Recipient hereby + assumes sole responsibility to secure any other intellectual + property rights needed, if any. For example, if a third party + patent license is required to allow Recipient to Distribute the + Program, it is Recipient's responsibility to acquire that license + before distributing the Program. + + d) Each Contributor represents that to its knowledge it has + sufficient copyright rights in its Contribution, if any, to grant + the copyright license set forth in this Agreement. + + e) Notwithstanding the terms of any Secondary License, no + Contributor makes additional grants to any Recipient (other than + those set forth in this Agreement) as a result of such Recipient's + receipt of the Program under the terms of a Secondary License + (if permitted under the terms of Section 3). + + 3. REQUIREMENTS + + 3.1 If a Contributor Distributes the Program in any form, then: + + a) the Program must also be made available as Source Code, in + accordance with section 3.2, and the Contributor must accompany + the Program with a statement that the Source Code for the Program + is available under this Agreement, and informs Recipients how to + obtain it in a reasonable manner on or through a medium customarily + used for software exchange; and + + b) the Contributor may Distribute the Program under a license + different than this Agreement, provided that such license: + i) effectively disclaims on behalf of all other Contributors all + warranties and conditions, express and implied, including + warranties or conditions of title and non-infringement, and + implied warranties or conditions of merchantability and fitness + for a particular purpose; + + ii) effectively excludes on behalf of all other Contributors all + liability for damages, including direct, indirect, special, + incidental and consequential damages, such as lost profits; + + iii) does not attempt to limit or alter the recipients' rights + in the Source Code under section 3.2; and + + iv) requires any subsequent distribution of the Program by any + party to be under a license that satisfies the requirements + of this section 3. + + 3.2 When the Program is Distributed as Source Code: + + a) it must be made available under this Agreement, or if the + Program (i) is combined with other material in a separate file or + files made available under a Secondary License, and (ii) the initial + Contributor attached to the Source Code the notice described in + Exhibit A of this Agreement, then the Program may be made available + under the terms of such Secondary Licenses, and + + b) a copy of this Agreement must be included with each copy of + the Program. + + 3.3 Contributors may not remove or alter any copyright, patent, + trademark, attribution notices, disclaimers of warranty, or limitations + of liability ("notices") contained within the Program from any copy of + the Program which they Distribute, provided that Contributors may add + their own appropriate notices. + + 4. COMMERCIAL DISTRIBUTION + + Commercial distributors of software may accept certain responsibilities + with respect to end users, business partners and the like. While this + license is intended to facilitate the commercial use of the Program, + the Contributor who includes the Program in a commercial product + offering should do so in a manner which does not create potential + liability for other Contributors. Therefore, if a Contributor includes + the Program in a commercial product offering, such Contributor + ("Commercial Contributor") hereby agrees to defend and indemnify every + other Contributor ("Indemnified Contributor") against any losses, + damages and costs (collectively "Losses") arising from claims, lawsuits + and other legal actions brought by a third party against the Indemnified + Contributor to the extent caused by the acts or omissions of such + Commercial Contributor in connection with its distribution of the Program + in a commercial product offering. The obligations in this section do not + apply to any claims or Losses relating to any actual or alleged + intellectual property infringement. In order to qualify, an Indemnified + Contributor must: a) promptly notify the Commercial Contributor in + writing of such claim, and b) allow the Commercial Contributor to control, + and cooperate with the Commercial Contributor in, the defense and any + related settlement negotiations. The Indemnified Contributor may + participate in any such claim at its own expense. + + For example, a Contributor might include the Program in a commercial + product offering, Product X. That Contributor is then a Commercial + Contributor. If that Commercial Contributor then makes performance + claims, or offers warranties related to Product X, those performance + claims and warranties are such Commercial Contributor's responsibility + alone. Under this section, the Commercial Contributor would have to + defend claims against the other Contributors related to those performance + claims and warranties, and if a court requires any other Contributor to + pay any damages as a result, the Commercial Contributor must pay + those damages. + + 5. NO WARRANTY + + EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT + PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS" + BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR + IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF + TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR + PURPOSE. Each Recipient is solely responsible for determining the + appropriateness of using and distributing the Program and assumes all + risks associated with its exercise of rights under this Agreement, + including but not limited to the risks and costs of program errors, + compliance with applicable laws, damage to or loss of data, programs + or equipment, and unavailability or interruption of operations. + + 6. DISCLAIMER OF LIABILITY + + EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT + PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS + SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST + PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE + EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGES. + + 7. GENERAL + + If any provision of this Agreement is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of + the remainder of the terms of this Agreement, and without further + action by the parties hereto, such provision shall be reformed to the + minimum extent necessary to make such provision valid and enforceable. + + If Recipient institutes patent litigation against any entity + (including a cross-claim or counterclaim in a lawsuit) alleging that the + Program itself (excluding combinations of the Program with other software + or hardware) infringes such Recipient's patent(s), then such Recipient's + rights granted under Section 2(b) shall terminate as of the date such + litigation is filed. + + All Recipient's rights under this Agreement shall terminate if it + fails to comply with any of the material terms or conditions of this + Agreement and does not cure such failure in a reasonable period of + time after becoming aware of such noncompliance. If all Recipient's + rights under this Agreement terminate, Recipient agrees to cease use + and distribution of the Program as soon as reasonably practicable. + However, Recipient's obligations under this Agreement and any licenses + granted by Recipient relating to the Program shall continue and survive. + + Everyone is permitted to copy and distribute copies of this Agreement, + but in order to avoid inconsistency the Agreement is copyrighted and + may only be modified in the following manner. The Agreement Steward + reserves the right to publish new versions (including revisions) of + this Agreement from time to time. No one other than the Agreement + Steward has the right to modify this Agreement. The Eclipse Foundation + is the initial Agreement Steward. The Eclipse Foundation may assign the + responsibility to serve as the Agreement Steward to a suitable separate + entity. Each new version of the Agreement will be given a distinguishing + version number. The Program (including Contributions) may always be + Distributed subject to the version of the Agreement under which it was + received. In addition, after a new version of the Agreement is published, + Contributor may elect to Distribute the Program (including its + Contributions) under the new version. + + Except as expressly stated in Sections 2(a) and 2(b) above, Recipient + receives no rights or licenses to the intellectual property of any + Contributor under this Agreement, whether expressly, by implication, + estoppel or otherwise. All rights in the Program not expressly granted + under this Agreement are reserved. Nothing in this Agreement is intended + to be enforceable by any entity that is not a Contributor or Recipient. + No third-party beneficiary rights are created under this Agreement. + + Exhibit A - Form of Secondary Licenses Notice + + "This Source Code may also be made available under the following + Secondary Licenses when the conditions for such availability set forth + in the Eclipse Public License, v. 2.0 are satisfied: {name license(s), + version(s), and exceptions or additional permissions here}." + + Simply including a copy of this Agreement, including this Exhibit A + is not sufficient to license the Source Code under Secondary Licenses. + + If it is not possible or desirable to put the notice in a particular + file, then You may include the notice in a location (such as a LICENSE + file in a relevant directory) where a recipient would be likely to + look for such a notice. + + You may add additional accurate notices of copyright ownership. + +------------------------------------------------------------------------------------ +This distribution has a binary dependency on zstd, which is available under the BSD 3-Clause License as described below. + +BSD License + +For Zstandard software + +Copyright (c) 2016-present, Facebook, Inc. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name Facebook nor the names of its contributors may be used to + endorse or promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------------------------------------------------------------------------------ +This distribution has a binary dependency on zstd-jni, which is available under the BSD 2-Clause License +as described below. + +Zstd-jni: JNI bindings to Zstd Library + +Copyright (c) 2015-2016, Luben Karavelov/ All rights reserved. + +BSD License + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------End of License---------------------------------------------------- + +------------License Starts Here---------------------------------------------- + +github.com/lensesio/stream-reactor - Apache-2.0 + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------End of License---------------------------------------------------- + +----------------------------------------------- END OF THIRD-PARTY NOTICES ------------------------------------------ + +Last Updated: March 24, 2021 diff --git a/src/arcdata/arcdata/HISTORY.rst b/src/arcdata/arcdata/HISTORY.rst new file mode 100644 index 00000000000..5e161ca91d8 --- /dev/null +++ b/src/arcdata/arcdata/HISTORY.rst @@ -0,0 +1,4 @@ +0.0.1 +--------------------- + +* Initial preview release. \ No newline at end of file diff --git a/src/arcdata/arcdata/LICENSE b/src/arcdata/arcdata/LICENSE new file mode 100644 index 00000000000..4b3ba9df30d --- /dev/null +++ b/src/arcdata/arcdata/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) Microsoft Corporation. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE \ No newline at end of file diff --git a/src/arcdata/arcdata/MANIFEST.in b/src/arcdata/arcdata/MANIFEST.in new file mode 100644 index 00000000000..3176f21dc3c --- /dev/null +++ b/src/arcdata/arcdata/MANIFEST.in @@ -0,0 +1,15 @@ +include README.rst HISTORY.rst LICENSE + +global-include THIRDPARTYNOTICES.txt + +# -- include all the directive assets -- +graft azext_arcdata/sqlmi/templates +graft azext_arcdata/kubernetes_sdk/templates +graft azext_arcdata/kubernetes_sdk/dc/templates +graft azext_arcdata/arm_sdk/templates +graft azext_arcdata/kubernetes_sdk/dc/deployment-configs +graft azext_arcdata/kubernetes_sdk/postgres/templates +graft azext_arcdata/azext_metadata.json + +global-exclude __pycache__ +global-exclude *.py[co] diff --git a/src/arcdata/arcdata/MIGRATION_SUMMARY.md b/src/arcdata/arcdata/MIGRATION_SUMMARY.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/arcdata/arcdata/README.rst b/src/arcdata/arcdata/README.rst new file mode 100644 index 00000000000..cd9db46b4b8 --- /dev/null +++ b/src/arcdata/arcdata/README.rst @@ -0,0 +1,2 @@ +Microsoft ArcData CLI Extension for Windows, Mac and Linux +========================================================== \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/__init__.py b/src/arcdata/arcdata/azext_arcdata/__init__.py new file mode 100644 index 00000000000..077c33c2afa --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/__init__.py @@ -0,0 +1,92 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azure.cli.core import AzCommandsLoader + +__all__ = ["COMMAND_LOADER_CLS"] + + +class ArcDataCommandsLoader(AzCommandsLoader): + def __init__(self, cli_ctx=None): + from azure.cli.core.commands import CliCommandType + + custom_type = CliCommandType(operations_tmpl="azext_arcdata#{}") + super(ArcDataCommandsLoader, self).__init__( + cli_ctx=cli_ctx, custom_command_type=custom_type + ) + + def load_command_table(self, args): + from azext_arcdata.sqlmi.commands import load_commands as sqlmi_commands + from azext_arcdata.dc.commands import load_commands as dc_commands + from azext_arcdata.postgres.commands import ( + load_commands as postgres_commands, + ) + from azext_arcdata.sqlmidb.commands import ( + load_commands as sqlmidb_commands, + ) + from azext_arcdata.ad_connector.commands import ( + load_commands as ad_connector_commands, + ) + from azext_arcdata.failover_group.commands import ( + load_commands as failover_group_commands, + ) + + from azext_arcdata.sqlarc.database.commands import ( + load_commands as sqlarcdb_commands, + ) + from azext_arcdata.sqlarc.server.commands import ( + load_commands as sqlarcserver_commands, + ) + + postgres_commands(self, args) + sqlarcdb_commands(self, args) + sqlarcserver_commands(self, args) + sqlmi_commands(self, args) + sqlmidb_commands(self, args) + dc_commands(self, args) + ad_connector_commands(self, args) + failover_group_commands(self, args) + + return self.command_table + + def load_arguments(self, command): + from azext_arcdata.postgres.arguments import ( + load_arguments as postgres_arguments, + ) + from azext_arcdata.sqlmi.arguments import ( + load_arguments as sqlmi_arguments, + ) + from azext_arcdata.sqlmidb.arguments import ( + load_arguments as sqlmidb_arguments, + ) + from azext_arcdata.dc.arguments import ( + load_arguments as dc_arguments, + ) + from azext_arcdata.ad_connector.arguments import ( + load_arguments as ad_arguments, + ) + from azext_arcdata.failover_group.arguments import ( + load_arguments as failover_group_arguments, + ) + + from azext_arcdata.sqlarc.database.arguments import ( + load_arguments as sqlarcdb_arguments, + ) + from azext_arcdata.sqlarc.server.arguments import ( + load_arguments as sqlarcserver_arguments, + ) + + postgres_arguments(self, command) + sqlarcdb_arguments(self, command) + sqlarcserver_arguments(self, command) + sqlmi_arguments(self, command) + sqlmidb_arguments(self, command) + dc_arguments(self, command) + ad_arguments(self, command) + failover_group_arguments(self, command) + + +COMMAND_LOADER_CLS = ArcDataCommandsLoader diff --git a/src/arcdata/arcdata/azext_arcdata/__version__.py b/src/arcdata/arcdata/azext_arcdata/__version__.py new file mode 100644 index 00000000000..b33df66d540 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/__version__.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +__title__ = "arcdata" +__version__ = "1.5.27" +__description__ = "Tools for managing ArcData." +__license__ = "MIT" +__url__ = "https://docs.microsoft.com/en-us/azure/azure-arc/data/" +__author__ = "Microsoft Corporation" +__author_email__ = "dpgswdist@microsoft.com" +__copyright__ = "Copyright (C) Microsoft Corporation. All rights reserved" diff --git a/src/arcdata/arcdata/azext_arcdata/ad_connector/__init__.py b/src/arcdata/arcdata/azext_arcdata/ad_connector/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/ad_connector/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/ad_connector/arguments.py b/src/arcdata/arcdata/azext_arcdata/ad_connector/arguments.py new file mode 100644 index 00000000000..cee59ebd6df --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/ad_connector/arguments.py @@ -0,0 +1,286 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.core.constants import ( + USE_K8S_TEXT, + CLI_ARG_GROUP_DIRECT_TEXT, + CLI_ARG_GROUP_INDIRECT_TEXT, +) + + +def load_arguments(self, _): + from knack.arguments import ArgumentsContext + + with ArgumentsContext(self, "arcdata ad-connector create") as arg_context: + # -- indirect -- + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="The Kubernetes namespace to deploy the Active Directory connector.", + ) + arg_context.argument( + "use_k8s", + options_list=("--use-k8s"), + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help=USE_K8S_TEXT, + ) + # -- direct -- + arg_context.argument( + "data_controller_name", + options_list=["--data-controller-name"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The name of the Arc data controller associated with this Active Directory connector.", + ) + arg_context.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group of the Arc data controller associated with this Active Directory connector.", + ) + # -- common --- + arg_context.argument( + "name", + options_list=["--name", "-n"], + help="The name of the Active Directory connector.", + ) + arg_context.argument( + "account_provisioning", + options_list=["--account-provisioning"], + help="Value indicating whether service account provisioning for data services should be automatic or " + "manual. Allowed values are: 'manual' or 'automatic'", + ) + arg_context.argument( + "realm", + options_list=["--realm"], + help="The name of the Active Directory domain in uppercase (e.g CONTOSO.LOCAL).", + ) + arg_context.argument( + "nameserver_addresses", + options_list=["--nameserver-addresses"], + help="List of Active Directory DNS server IP addresses separated by ',' " + "(e.g. 10.10.10.11,10.10.10.12,10.10.10.13)", + ) + arg_context.argument( + "primary_domain_controller", + options_list=["--primary-ad-dc-hostname"], + help="The hostname of the primary AD domain controller.", + ) + arg_context.argument( + "secondary_domain_controllers", + options_list=["--secondary-ad-dc-hostnames"], + help="List of the hostnames of the secondary Active Directory domain controller separated by ','" + "(e.g. azdc02.contoso.local,azdc03.contoso.local)", + ) + arg_context.argument( + "netbios_domain_name", + options_list=["--netbios-domain-name"], + help="The NETBIOS name of the Active Directory domain (e.g. CONTOSO).", + ) + arg_context.argument( + "dns_domain_name", + options_list=["--dns-domain-name"], + help="The DNS domain name (e.g. contoso.com)", + ) + arg_context.argument( + "num_dns_replicas", + options_list=["--dns-replicas"], + help="The number of copies for DNS proxy service.", + ) + arg_context.argument( + "prefer_k8s_dns", + options_list=["--prefer-k8s-dns"], + help="Use Kubernetes DNS Server responses over the Active Directory DNS server responses for " + "IP address lookup. Allowed values are 'true' or 'false'", + ) + arg_context.argument( + "ou_distinguished_name", + options_list=["--ou-distinguished-name"], + help="The distinguished name of the pre-created Organizational Unit (OU) in the " + "Active Directory domain. (e.g. OU=arcou,DC=contoso,DC=com).", + ) + arg_context.argument( + "domain_service_account_secret", + options_list=["--domain-service-account-secret"], + help="The name of the Kubernetes secret containing the credentials for the pre-created " + "Active Directory account with permissions to create and manage accounts in the given OU. " + "Alternatively, setting the 'DOMAIN_SERVICE_ACCOUNT_USERNAME' and " + "'DOMAIN_SERVICE_ACCOUNT_PASSWORD' env variables will create this secret automatically.", + ) + + with ArgumentsContext(self, "arcdata ad-connector update") as arg_context: + # -- indirect -- + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="The Kubernetes namespace containing Active Directory connector.", + ) + arg_context.argument( + "use_k8s", + options_list=("--use-k8s"), + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help=USE_K8S_TEXT, + ) + # -- direct -- + arg_context.argument( + "data_controller_name", + options_list=["--data-controller-name"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The name of the Arc data controller associated with this Active Directory connector.", + ) + arg_context.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group of the Arc data controller associated with this Active Directory connector.", + ) + # -- common --- + arg_context.argument( + "name", + options_list=["--name", "-n"], + help="The name of the Active Directory connector.", + ) + arg_context.argument( + "nameserver_addresses", + options_list=["--nameserver-addresses"], + help="List of Active Directory DNS server IP addresses separated by ',' " + "(e.g. 10.10.10.11,10.10.10.12,10.10.10.13)", + ) + arg_context.argument( + "primary_domain_controller", + options_list=["--primary-ad-dc-hostname"], + help="The hostname of the primary AD domain controller.", + ) + arg_context.argument( + "secondary_domain_controllers", + options_list=["--secondary-ad-dc-hostnames"], + help="List of the hostnames of the secondary Active Directory domain controller separated by ','" + "(e.g. azdc02.contoso.local,azdc03.contoso.local)", + ) + arg_context.argument( + "num_dns_replicas", + options_list=["--dns-replicas"], + help="The number of copies for DNS proxy service.", + ) + arg_context.argument( + "prefer_k8s_dns", + options_list=["--prefer-k8s-dns"], + help="Use Kubernetes DNS Server responses over the Active Directory DNS server responses for " + "IP address lookup. Allowed values are 'true' or 'false'", + ) + arg_context.argument( + "domain_service_account_secret", + options_list=["--domain-service-account-secret"], + help="The name of the Kubernetes secret containing the credentials for the pre-created " + "Active Directory account with permissions to create and manage accounts in the given OU.", + ) + + with ArgumentsContext(self, "arcdata ad-connector delete") as arg_context: + # -- indirect -- + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="The Kubernetes namespace containing the Active Directory connector.", + ) + arg_context.argument( + "use_k8s", + options_list=("--use-k8s"), + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help=USE_K8S_TEXT, + ) + # -- direct -- + arg_context.argument( + "data_controller_name", + options_list=["--data-controller-name"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The name of the Arc data controller " + "associated with this Active Directory connector.", + ) + arg_context.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group of the Arc data controller " + "associated with this Active Directory connector.", + ) + # -- common --- + arg_context.argument( + "name", + options_list=["--name", "-n"], + help="The name of the Active Directory connector.", + ) + + with ArgumentsContext(self, "arcdata ad-connector show") as arg_context: + # -- indirect -- + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="The Kubernetes namespace containing the Active Directory connector.", + ) + arg_context.argument( + "use_k8s", + options_list=("--use-k8s"), + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help=USE_K8S_TEXT, + ) + # -- direct -- + arg_context.argument( + "data_controller_name", + options_list=["--data-controller-name"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The name of the Arc data controller " + "associated with this Active Directory connector.", + ) + arg_context.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group of the Arc data controller " + "associated with this Active Directory connector.", + ) + # -- common --- + arg_context.argument( + "name", + options_list=["--name", "-n"], + help="The name of the Active Directory connector.", + ) + + with ArgumentsContext(self, "arcdata ad-connector list") as arg_context: + # -- indirect -- + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="The Kubernetes namespace containing the Active Directory connectors.", + ) + arg_context.argument( + "use_k8s", + options_list=("--use-k8s"), + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help=USE_K8S_TEXT, + ) + # -- direct -- + arg_context.argument( + "data_controller_name", + options_list=["--data-controller-name"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The name of the Arc data controller " + "associated with the Active Directory connectors.", + ) + arg_context.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group containing the Active Directory connectors.", + ) diff --git a/src/arcdata/arcdata/azext_arcdata/ad_connector/commands.py b/src/arcdata/arcdata/azext_arcdata/ad_connector/commands.py new file mode 100644 index 00000000000..6680ab24082 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/ad_connector/commands.py @@ -0,0 +1,55 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.core.cli_client import beget +from azure.cli.core.commands import CliCommandType +import azext_arcdata.ad_connector.validators as validators + + +def load_commands(self, _): + operations = CliCommandType( + operations_tmpl="azext_arcdata.ad_connector.custom#{}" + ) + + with self.command_group( + "arcdata ad-connector", operations, client_factory=beget + ) as g: + # pylint: disable=E5001 + g.command( + "create", + "ad_connector_create", + supports_no_wait=True, + validator=validators.validate_create, + ) + g.command( + "update", + "ad_connector_update", + supports_no_wait=True, + validator=validators.validate_update, + ) + + g.command( + "show", + "ad_connector_show", + supports_no_wait=False, + validator=validators.validate_show, + ) + + g.command( + "delete", + "ad_connector_delete", + supports_no_wait=True, + validator=validators.validate_delete, + ) + + g.command( + "list", + "ad_connector_list", + supports_no_wait=False, + validator=validators.validate_show, + ) + with self.command_group("arcdata ad-connector"): + pass diff --git a/src/arcdata/arcdata/azext_arcdata/ad_connector/constants.py b/src/arcdata/arcdata/azext_arcdata/ad_connector/constants.py new file mode 100644 index 00000000000..85a724c548a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/ad_connector/constants.py @@ -0,0 +1,45 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +import os +from azext_arcdata.core.constants import ARC_API_V1 + +AD_CONNECTOR_RESOURCE_KIND = "ActiveDirectoryConnector" +""" +Defines the Kubernetes custom resource kind for active directory connectors +""" +AD_CONNECTOR_RESOURCE_KIND_PLURAL = "activedirectoryconnectors" +""" +Defines the plural name for active directory connectors +""" +AD_CONNECTOR_API_GROUP = "arcdata.microsoft.com" +""" +The Kubernetes group for AD connector +""" +AD_CONNECTOR_API_VERSION = ARC_API_V1 +""" +The Kubernetes version for AD connector resources. +""" +ACCOUNT_PROVISIONING_MODE_MANUAL = "manual" +""" +Value indicating that the AD service account will be provisioned manually +""" +ACCOUNT_PROVISIONING_MODE_AUTOMATIC = "automatic" +""" +Value indicating that the AD service account will be provisioned automatically +""" +BASE = os.path.dirname(os.path.realpath(__file__)) +""" +Base directory +""" +TEMPLATE_DIR = os.path.join(BASE, "templates") +""" +Custom resource definition directory +""" +AD_CONNECTOR_SPEC = os.path.join(TEMPLATE_DIR, "ad_connector_spec.json") +""" +File location for the Active Directory spec. +""" diff --git a/src/arcdata/arcdata/azext_arcdata/ad_connector/custom.py b/src/arcdata/arcdata/azext_arcdata/ad_connector/custom.py new file mode 100644 index 00000000000..033b09ea4e9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/ad_connector/custom.py @@ -0,0 +1,203 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +from azext_arcdata.ad_connector.exceptions import ADConnectorError +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import ( + KubernetesError, +) +from knack.cli import CLIError +from knack.log import get_logger + +logger = get_logger(__name__) + + +def ad_connector_create( + client, + name, + realm, + nameserver_addresses, + account_provisioning, + primary_domain_controller=None, + secondary_domain_controllers=None, + netbios_domain_name=None, + dns_domain_name=None, + num_dns_replicas=1, + prefer_k8s_dns="true", + ou_distinguished_name=None, + domain_service_account_secret=None, + no_wait=False, + # -- indirect -- + namespace=None, + use_k8s=None, + # -- direct -- + data_controller_name=None, + resource_group=None, +): + try: + cvo = client.args_to_command_value_object( + { + "name": name, + "namespace": namespace, + "realm": realm, + "nameserver_addresses": nameserver_addresses, + "account_provisioning": account_provisioning, + "primary_domain_controller": primary_domain_controller, + "secondary_domain_controllers": secondary_domain_controllers, + "netbios_domain_name": netbios_domain_name, + "dns_domain_name": dns_domain_name, + "num_dns_replicas": num_dns_replicas, + "prefer_k8s_dns": prefer_k8s_dns, + "ou_distinguished_name": ou_distinguished_name, + "domain_service_account_secret": domain_service_account_secret, + "data_controller_name": data_controller_name, + "resource_group": resource_group, + "no_wait": no_wait, + } + ) + + return client.services.ad_connector.create(cvo) + + except KubernetesError as e: + raise ADConnectorError(e.message) + except Exception as e: + raise CLIError(e) + + +def ad_connector_show( + client, + name, + # -- indirect -- + namespace=None, + use_k8s=None, + # -- direct -- + data_controller_name=None, + resource_group=None, +): + """ + Show the details of an Active Directory connector. + """ + try: + cvo = client.args_to_command_value_object( + { + "name": name, + "namespace": namespace, + "data_controller_name": data_controller_name, + "resource_group": resource_group, + } + ) + + return client.services.ad_connector.show(cvo) + + except KubernetesError as e: + raise ADConnectorError(e.message) + except Exception as e: + raise CLIError(e) + + +def ad_connector_update( + client, + name, + nameserver_addresses=None, + primary_domain_controller=None, + secondary_domain_controllers=None, + num_dns_replicas=None, + prefer_k8s_dns=None, + domain_service_account_secret=None, + no_wait=False, + # -- indirect -- + namespace=None, + use_k8s=None, + # -- direct -- + data_controller_name=None, + resource_group=None, +): + """ + Edit the details of an Active Directory connector. + """ + try: + cvo = client.args_to_command_value_object( + { + "name": name, + "namespace": namespace, + "nameserver_addresses": nameserver_addresses, + "primary_domain_controller": primary_domain_controller, + "secondary_domain_controllers": secondary_domain_controllers, + "num_dns_replicas": num_dns_replicas, + "prefer_k8s_dns": prefer_k8s_dns, + "domain_service_account_secret": domain_service_account_secret, + "data_controller_name": data_controller_name, + "resource_group": resource_group, + "no_wait": no_wait, + } + ) + + return client.services.ad_connector.update(cvo) + + except KubernetesError as e: + raise ADConnectorError(e.message) + except Exception as e: + raise CLIError(e) + + +def ad_connector_delete( + client, + name, + no_wait=False, + # -- indirect -- + namespace=None, + use_k8s=None, + # -- direct -- + data_controller_name=None, + resource_group=None, +): + """ + Delete an Active Directory connector. + """ + try: + cvo = client.args_to_command_value_object( + { + "name": name, + "namespace": namespace, + "data_controller_name": data_controller_name, + "resource_group": resource_group, + "no_wait": no_wait, + } + ) + + return client.services.ad_connector.delete(cvo) + + except KubernetesError as e: + raise ADConnectorError(e.message) + except Exception as e: + raise CLIError(e) + + +def ad_connector_list( + client, + # -- indirect -- + namespace=None, + use_k8s=None, + # -- direct -- + data_controller_name=None, + resource_group=None, +): + """ + List Active Directory connectors. + """ + try: + cvo = client.args_to_command_value_object( + { + "namespace": namespace, + "data_controller_name": data_controller_name, + "resource_group": resource_group, + } + ) + + return client.services.ad_connector.list(cvo) + + except KubernetesError as e: + raise ADConnectorError(e.message) + except Exception as e: + raise CLIError(e) diff --git a/src/arcdata/arcdata/azext_arcdata/ad_connector/exceptions.py b/src/arcdata/arcdata/azext_arcdata/ad_connector/exceptions.py new file mode 100644 index 00000000000..96e51a3462e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/ad_connector/exceptions.py @@ -0,0 +1,11 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from knack.cli import CLIError + + +class ADConnectorError(CLIError): + """All errors related to AD connector API calls.""" diff --git a/src/arcdata/arcdata/azext_arcdata/ad_connector/help.py b/src/arcdata/arcdata/azext_arcdata/ad_connector/help.py new file mode 100644 index 00000000000..21367cdc658 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/ad_connector/help.py @@ -0,0 +1,164 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from knack.help_files import helps + +helps["arcdata ad-connector"] = ( + """ + type: group + short-summary: {short} +""".format( + short="Manage Active Directory authentication for Azure Arc data services." + ) +) + +helps["arcdata ad-connector create"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az arcdata ad-connector create + --name arcadc + --k8s-namespace arc + --realm CONTOSO.LOCAL + --account-provisioning manual + --primary-ad-dc-hostname azdc01.contoso.local + --secondary-ad-dc-hostnames "azdc02.contoso.local, azdc03.contoso.local" + --netbios-domain-name CONTOSO + --dns-domain-name contoso.local + --nameserver-addresses 10.10.10.11,10.10.10.12,10.10.10.13 + --dns-replicas 2 + --prefer-k8s-dns false + --use-k8s + - name: {ex2} + text: > + az arcdata ad-connector create + --name arcadc + --resource-group rg-name + --data-controller-name dc-name + --realm CONTOSO.LOCAL + --account-provisioning manual + --primary-ad-dc-hostname azdc01.contoso.local + --secondary-ad-dc-hostnames "azdc02.contoso.local, azdc03.contoso.local" + --netbios-domain-name CONTOSO + --dns-domain-name contoso.local + --nameserver-addresses 10.10.10.11,10.10.10.12,10.10.10.13 + --dns-replicas 2 + --prefer-k8s-dns false +""".format( + short="Create a new Active Directory connector.", + ex1="Ex 1 - Deploy a new Active Directory connector using the Kubernetes API.", + ex2="Ex 2 - Deploy a new Active Directory connector through Azure Resource Manager (ARM).", + ) +) + +helps["arcdata ad-connector update"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az arcdata ad-connector update + --name arcadc + --k8s-namespace arc + --primary-ad-dc-hostname azdc01.contoso.local + --secondary-ad-dc-hostname "azdc02.contoso.local, azdc03.contoso.local" + --nameserver-addresses 10.10.10.11,10.10.10.12,10.10.10.13 + --dns-replicas 2 + --prefer-k8s-dns false + --use-k8s + - name: {ex2} + text: > + az arcdata ad-connector update + --name arcadc + --resource-group rg-name + --data-controller-name dc-name + --primary-ad-dc-hostname azdc01.contoso.local + --secondary-ad-dc-hostname "azdc02.contoso.local, azdc03.contoso.local" + --nameserver-addresses 10.10.10.11,10.10.10.12,10.10.10.13 + --dns-replicas 2 + --prefer-k8s-dns false +""".format( + short="Update the settings of an existing Active Directory connector.", + ex1="Ex 1 - Update an existing Active Directory connector using the Kubernetes API.", + ex2="Ex 2 - Update an existing Active Directory connector through Azure Resource Manager (ARM).", + ) +) + +helps["arcdata ad-connector delete"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az arcdata ad-connector delete + --name arcadc + --k8s-namespace arc + --use-k8s + - name: {ex2} + text: > + az arcdata ad-connector delete + --name arcadc + --resource-group rg-name + --data-controller-name dc-name +""".format( + short="Delete an existing Active Directory connector.", + ex1="Ex 1 - Delete an existing Active Directory connector using the Kubernetes API.", + ex2="Ex 2 - Delete an existing Active Directory connector through Azure Resource Manager (ARM).", + ) +) + +helps["arcdata ad-connector show"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az arcdata ad-connector show + --name arcadc + --k8s-namespace arc + --use-k8s + - name: {ex2} + text: > + az arcdata ad-connector show + --name arcadc + --resource-group rg-name + --data-controller-name dc-name +""".format( + short="Get the details of an existing Active Directory connector.", + ex1="Ex 1 - Get an existing Active Directory connector using the Kubernetes API.", + ex2="Ex 2 - Get an existing Active Directory connector by querying Azure Resource Manager (ARM).", + ) +) + +helps["arcdata ad-connector list"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az arcdata ad-connector list + --k8s-namespace arc + --use-k8s + - name: {ex2} + text: > + az arcdata ad-connector list + --resource-group rg-name + --data-controller-name dc-name +""".format( + short="List all Active Directory connectors.", + ex1="Ex 1 - List all Active Directory connectors " + "in a given Kubernetes namespace using the Kubernetes API.", + ex2="Ex 2 - List all Active Directory connectors " + "associated with a given Arc data controller by querying Azure Resource Manager (ARM).", + ) +) diff --git a/src/arcdata/arcdata/azext_arcdata/ad_connector/models/__init__.py b/src/arcdata/arcdata/azext_arcdata/ad_connector/models/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/ad_connector/models/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/ad_connector/templates/ad_connector_spec.json b/src/arcdata/arcdata/azext_arcdata/ad_connector/templates/ad_connector_spec.json new file mode 100644 index 00000000000..f6d6c0be9d4 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/ad_connector/templates/ad_connector_spec.json @@ -0,0 +1,31 @@ +{ + "apiVersion": "arcdata.microsoft.com/v1", + "kind": "ActiveDirectoryConnector", + "metadata": { + "name": "arcadc" + }, + "spec": { + "activeDirectory": { + "domainControllers": { + "primaryDomainController": { + "hostname": "dc1.contoso.local" + }, + "secondaryDomainControllers": [{ + "hostname": "dc2.contoso.local" + }] + }, + "netbiosDomainName": "CONTOSO", + "realm": "CONTOSO.LOCAL", + "serviceAccountProvisioning": "manual" + }, + "dns": { + "domainName": "contoso.local", + "nameserverIPAddresses": [ + "11.11.22.222", + "11.11.22.223" + ], + "preferK8sDnsForPtrLookups": false, + "replicas": 1 + } + } +} \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/ad_connector/util.py b/src/arcdata/arcdata/azext_arcdata/ad_connector/util.py new file mode 100644 index 00000000000..af525e6cb9d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/ad_connector/util.py @@ -0,0 +1,329 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +import base64 +import os +import sys +from azext_arcdata.ad_connector.constants import ( + AD_CONNECTOR_RESOURCE_KIND_PLURAL, + AD_CONNECTOR_API_GROUP, + ACCOUNT_PROVISIONING_MODE_MANUAL, +) +from src.arcdata.arcdata.azext_arcdata.vendored_sdks.kubernetes_sdk.models.ad_connector_cr_model import ( + ActiveDirectoryConnectorCustomResource, +) +from azext_arcdata.ad_connector.validators import ( + _validate_domain_name, + _validate_ip_address, +) +from azext_arcdata.core.constants import ( + DOMAIN_SERVICE_ACCOUNT_PASSWORD, + DOMAIN_SERVICE_ACCOUNT_USERNAME, +) +from azext_arcdata.core.prompt import prompt, prompt_pass +from azext_arcdata.core.util import get_config_from_template, retry +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import ( + K8sApiException, + KubernetesClient, + KubernetesError, + http_status_codes, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.constants import ( + ACTIVE_DIRECTORY_CONNECTOR_CRD_NAME, + TEMPLATE_DIR, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.models.custom_resource import CustomResource +from urllib3.exceptions import MaxRetryError, NewConnectionError +from azext_arcdata.vendored_sdks.kubernetes_sdk.util import check_secret_exists_with_retries +import yaml + + +def _parse_primary_domain_controller(primary_domain_controller): + if not primary_domain_controller: + return + + if not _validate_domain_name(primary_domain_controller): + raise ValueError( + "The given primary domain controller hostname '{}' is invalid.".format( + primary_domain_controller + ) + ) + + return {"hostname": primary_domain_controller} + + +def _parse_secondary_domain_controllers(domain_controllers_string): + if not domain_controllers_string: + return [] + + hostnames = domain_controllers_string.replace(" ", "").split(",") + + domain_controllers = [] + for hostname in hostnames: + if not _validate_domain_name(hostname): + raise ValueError( + "One or more secondary domain controller hostnames is invalid." + ) + + domain_controllers.append({"hostname": hostname}) + + return domain_controllers + + +def _parse_nameserver_addresses(nameserver_addresses): + if not nameserver_addresses: + return [] + + tokens = nameserver_addresses.replace(" ", "").split(",") + nameserver_addresses = [] + + for address in tokens: + if not _validate_ip_address(address): + raise ValueError( + "One or more Active Directory DNS server IP addresses are invalid." + ) + + nameserver_addresses.append(address) + + return nameserver_addresses + + +def _parse_num_replicas(num_replicas): + if num_replicas is None: + return + + try: + num_replicas = int(num_replicas) + assert num_replicas >= 1 + return num_replicas + except: + raise ValueError( + "Invalid number of DNS replicas. --dns-replicas must be 1 or greater." + ) + + +def _parse_prefer_k8s_dns(prefer_k8s_dns): + if prefer_k8s_dns is None: + return + + prefer_k8s_dns = str(prefer_k8s_dns).lower() + + if prefer_k8s_dns not in ["true", "false"]: + raise ValueError( + "The allowed values for --prefer-k8s-dns are 'true' or 'false'" + ) + + return not prefer_k8s_dns == "false" + + +def _get_ad_connector_custom_resource(client, name, namespace): + """ + Queries the kubernetes cluster and returns the custom resource for an AD connector + with the given name in the specified namespace + :param client: KubernetesClient + :param name: The name of the AD connector. + :param namespace: Namespace where the AD connector is deployed. + :return: The k8s custom resource if one is found. An error will be raised if the AD + connector is not found. + """ + + try: + response = retry( + lambda: client.get_namespaced_custom_object( + name, + namespace, + group=AD_CONNECTOR_API_GROUP, + version=KubernetesClient.get_crd_version( + ACTIVE_DIRECTORY_CONNECTOR_CRD_NAME + ), + plural=AD_CONNECTOR_RESOURCE_KIND_PLURAL, + ), + retry_method="get namespaced custom object", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + KubernetesError, + ), + ) + cr = CustomResource.decode( + ActiveDirectoryConnectorCustomResource, response + ) + cr.metadata.namespace = namespace + cr.validate(client) + return cr + + except K8sApiException as e: + if e.status == http_status_codes.not_found: + raise ValueError( + "Active Directory connector `{}` does not exist in namespace `{}`.".format( + name, namespace + ) + ) + + +def _get_ad_connector_status(client, name, namespace): + """ + Returns the status of the custom resource for an AD connector with the given name in the specified namespace + :param client: KubernetesClient + :param name: The name of the AD connector. + :param namespace: Namespace where the AD connector is deployed. + :return: The k8s custom resource status if one is found. None otherwise + """ + try: + cr = _get_ad_connector_custom_resource(client, name, namespace) + return cr.status.state.lower() if cr.status.state else "pending" + except Exception as e: + if "does not exist" in str(e): + return + else: + raise e + + +def validate_domain_service_account_secret( + client, namespace, domain_service_account_secret +): + """ + validates the given domain service account secret + """ + username_entry_in_secret = "username" + password_entry_in_secret = "password" + + # Load secret and validate contents. + # + k8s_secret = retry( + lambda: client.get_secret(namespace, domain_service_account_secret), + retry_method="get secret", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + K8sApiException, + ), + ) + + secret_data = k8s_secret.data + + # Check if username and password entries exist + # in the secret. + # + if ( + username_entry_in_secret not in secret_data + or password_entry_in_secret not in secret_data + ): + raise ValueError( + f"The Active Directory domain service account Kubernetes secret '{domain_service_account_secret}' ", + f"must contain the keys '{username_entry_in_secret}' and '{password_entry_in_secret}'." + ) + + +def _get_domain_account_user_pass(stdout): + # Username + username = os.environ.get(DOMAIN_SERVICE_ACCOUNT_USERNAME) + if not username: + if sys.stdin.isatty(): + username = prompt("AD domain service account username:") + else: + raise ValueError( + "Please provide the Active Directory domain service account username through the env variable {}.".format( + DOMAIN_SERVICE_ACCOUNT_USERNAME + ) + ) + else: + stdout( + "Using the {0} environment variable for Active Directory domain service account username.".format( + DOMAIN_SERVICE_ACCOUNT_USERNAME + ) + ) + while username == "": + username = prompt( + "The Active Directory domain service account username is required. Please enter the username:" + ) + + # Password + pw = os.environ.get(DOMAIN_SERVICE_ACCOUNT_PASSWORD) + if not pw: + if sys.stdin.isatty(): + while not pw: + pw = prompt_pass("AD domain service account password:", True) + else: + raise ValueError( + "Please provide the Active Directory domain service account password through the env variable {}.".format( + DOMAIN_SERVICE_ACCOUNT_PASSWORD + ) + ) + else: + stdout( + "Using the {0} environment variable for password.".format( + DOMAIN_SERVICE_ACCOUNT_PASSWORD + ) + ) + + return username, pw + + +def _get_or_create_domain_service_account_secret( + client, + stdout, + name, + namespace, + account_provisioning, + domain_service_account_secret, +): + if account_provisioning == ACCOUNT_PROVISIONING_MODE_MANUAL: + return + + if not domain_service_account_secret: + # Use default secret name when the user does not provide one. + # + domain_service_account_secret = name + "-domain-service-account-secret" + + account_secret_exists = check_secret_exists_with_retries( + client, namespace, domain_service_account_secret + ) + if account_secret_exists: + # Validate that the existing domain service account secret has correct format. + # + validate_domain_service_account_secret( + client, namespace, domain_service_account_secret + ) + return domain_service_account_secret + else: + username, pw = _get_domain_account_user_pass(stdout) + + secrets = dict() + encoding = "utf-8" + secrets["secretName"] = domain_service_account_secret + secrets[DOMAIN_SERVICE_ACCOUNT_USERNAME] = base64.b64encode( + bytes(username, encoding) + ).decode(encoding) + secrets[DOMAIN_SERVICE_ACCOUNT_PASSWORD] = base64.b64encode( + bytes(pw, encoding) + ).decode(encoding) + temp = get_config_from_template( + os.path.join( + TEMPLATE_DIR, "domain-service-account-secret.yaml.tmpl" + ), + secrets, + ) + domain_account_secret = yaml.safe_load(temp) + + try: + retry( + lambda: client.create_secret( + namespace, + domain_account_secret, + ignore_conflict=True, + ), + retry_method="create secret", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + K8sApiException, + ), + ) + except K8sApiException as e: + if e.status != http_status_codes.conflict: + raise + return domain_service_account_secret diff --git a/src/arcdata/arcdata/azext_arcdata/ad_connector/validators.py b/src/arcdata/arcdata/azext_arcdata/ad_connector/validators.py new file mode 100644 index 00000000000..25868441a7c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/ad_connector/validators.py @@ -0,0 +1,311 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.ad_connector.constants import ( + ACCOUNT_PROVISIONING_MODE_AUTOMATIC, + ACCOUNT_PROVISIONING_MODE_MANUAL, +) +import azext_arcdata.core.common_validators as validators +import ipaddress +from azext_arcdata.core.constants import DNS_NAME_REQUIREMENTS +from azext_arcdata.core.util import name_meets_dns_requirements + +# ======================================================================== # +# ============== Top level command validations =========================== # +# ======================================================================== # + + +def validate_create(namespace): + _validate_mutually_exclusive_direct_indirect_args(namespace) + + _validate_ad_connector_name(namespace.name) + _validate_realm(namespace.realm) + _validate_nameserver_addresses(namespace.nameserver_addresses) + _validate_account_provisioning(namespace.account_provisioning) + + if namespace.num_dns_replicas: + _validate_num_replicas(namespace.num_dns_replicas) + + if namespace.account_provisioning == ACCOUNT_PROVISIONING_MODE_AUTOMATIC: + _validate_ou_distinguished_name( + namespace.ou_distinguished_name, namespace.account_provisioning + ) + + if namespace.prefer_k8s_dns: + _validate_prefer_k8s_dns(namespace.prefer_k8s_dns) + + if namespace.primary_domain_controller: + _validate_primary_domain_controller(namespace.primary_domain_controller) + + if namespace.secondary_domain_controllers: + _validate_secondary_domain_controllers( + namespace.secondary_domain_controllers + ) + + if namespace.netbios_domain_name: + _validate_netbios_domain_name(namespace.netbios_domain_name) + + if namespace.dns_domain_name: + _validate_dns_domain_name(namespace.dns_domain_name) + + +def validate_update(namespace): + _validate_mutually_exclusive_direct_indirect_args(namespace) + + if namespace.nameserver_addresses: + _validate_nameserver_addresses(namespace.nameserver_addresses) + + if namespace.primary_domain_controller: + _validate_primary_domain_controller(namespace.primary_domain_controller) + + if namespace.secondary_domain_controllers: + _validate_secondary_domain_controllers( + namespace.secondary_domain_controllers + ) + + if namespace.num_dns_replicas: + _validate_num_replicas(namespace.num_dns_replicas) + + if namespace.prefer_k8s_dns: + _validate_prefer_k8s_dns(namespace.prefer_k8s_dns) + + +def validate_show(namespace): + _validate_mutually_exclusive_direct_indirect_args(namespace) + + +def validate_delete(namespace): + _validate_mutually_exclusive_direct_indirect_args(namespace) + + +# ======================================================================== # +# ====================== Validation helpers ============================== # +# ======================================================================== # + + +def _validate_mutually_exclusive_direct_indirect_args(namespace): + required_for_direct = [] + direct_only = [] + + # -- direct -- + if not namespace.use_k8s: + if not namespace.data_controller_name: + required_for_direct.append("--data-controller-name") + + # -- indirect -- + if namespace.use_k8s: + if namespace.data_controller_name: + direct_only.append("--data-controller-name") + + # -- assert common indirect/direct argument combos -- + validators.validate_mutually_exclusive_direct_indirect( + namespace, required_direct=required_for_direct, direct_only=direct_only + ) + + +def _validate_ad_connector_name(n): + ad_connector_name_max_length = 40 + + if not n: + raise ValueError("Active Directory connector name cannot be empty") + + if len(n) > ad_connector_name_max_length: + raise ValueError( + "Active Directory connector name '{}' exceeds {} character length limit".format( + n, ad_connector_name_max_length + ) + ) + + if not name_meets_dns_requirements(n): + raise ValueError( + "Active Directory connector name '{}' does not follow DNS requirements: {}".format( + n, DNS_NAME_REQUIREMENTS + ) + ) + + +def _validate_num_replicas(num_replicas): + try: + num_replicas = int(num_replicas) + assert num_replicas >= 1 + except: + raise ValueError( + "Invalid number of DNS replicas. --dns-replicas must be 1 or greater." + ) + + +def _validate_prefer_k8s_dns(prefer_k8s_dns): + prefer_k8s_dns = str(prefer_k8s_dns) + + if prefer_k8s_dns not in ["true", "false"]: + raise ValueError( + "The allowed values for --prefer-k8s-dns are 'true' or 'false'" + ) + + +def _validate_ou_distinguished_name( + ou_distinguished_name, account_provisioning +): + if not ou_distinguished_name: + if account_provisioning == ACCOUNT_PROVISIONING_MODE_AUTOMATIC: + raise ValueError( + "The distinguished name of the AD Organizational Unit (OU) is required if ", + "service account provisioning is set to '{}'.".format( + ACCOUNT_PROVISIONING_MODE_AUTOMATIC + ) + ) + + return + + if not ou_distinguished_name.startswith("OU="): + raise ValueError( + "Invalid distinguished name of AD Organizational Unit (OU). ", + "The value for --ou-distinguished-name should start with 'OU='" + ) + + return ou_distinguished_name + + +def _validate_domain_name(domain_name): + fqdn_min_length = 2 + fqdn_max_length = 255 + label_max_length = 63 + disallowed_chars = [ + ",", + "~", + ":", + "!", + "@", + "#", + "$", + "%", + "^", + "&", + "'", + "(", + ")", + "{", + "}", + "_", + " ", + ] + + domain_name_len = len(domain_name) + if domain_name_len < fqdn_min_length or domain_name_len > fqdn_max_length: + return False + + for c in domain_name: + if c in disallowed_chars: + return False + + if domain_name[0] == ".": + return False + + for label in domain_name.split("."): + if len(label) > label_max_length: + return False + + return True + + +def _is_valid_netbios_domain_name(domain_name): + min_length = 1 + max_length = 15 + disallowed_chars = ["\\", "/", ":", "*", "?", '"', "<", ">", "|"] + + domain_name_len = len(domain_name) + if domain_name_len < min_length or domain_name_len > max_length: + return False + + for c in domain_name: + if c in disallowed_chars: + return False + + if domain_name[0] == ".": + return False + + if not domain_name.isupper(): + return False + + return True + + +def _validate_ip_address(address): + try: + ipaddress.ip_address(address) + return True + except ValueError: + return False + + +def _validate_account_provisioning(account_provisioning): + if account_provisioning not in [ + ACCOUNT_PROVISIONING_MODE_MANUAL, + ACCOUNT_PROVISIONING_MODE_AUTOMATIC, + ]: + raise ValueError( + "The allowed values for --account-provisioning are '{0}' and '{1}'".format( + ACCOUNT_PROVISIONING_MODE_MANUAL, + ACCOUNT_PROVISIONING_MODE_AUTOMATIC, + ) + ) + + +def _validate_realm(realm): + if not _validate_domain_name(realm) or not realm.isupper(): + raise ValueError( + "The given realm '{}' is invalid. Realm must be a valid uppercase DNS domain name.".format( + realm + ) + ) + + +def _validate_nameserver_addresses(nameserver_addresses): + tokens = nameserver_addresses.replace(" ", "").split(",") + nameserver_addresses = [] + + for address in tokens: + if not _validate_ip_address(address): + raise ValueError( + "One or more Active Directory DNS server IP addresses are invalid." + ) + + +def _validate_primary_domain_controller(primary_domain_controller): + if not _validate_domain_name(primary_domain_controller): + raise ValueError( + "The given primary domain controller hostname '{}' is invalid.".format( + primary_domain_controller + ) + ) + + +def _validate_secondary_domain_controllers(domain_controllers_string): + hostnames = [ + hostname.strip() for hostname in domain_controllers_string.split(",") + ] + + for hostname in hostnames: + if not _validate_domain_name(hostname): + raise ValueError( + "One or more secondary domain controller hostnames is invalid." + ) + + +def _validate_netbios_domain_name(netbios_domain_name): + if not _is_valid_netbios_domain_name(netbios_domain_name): + raise ValueError( + "The given NETBIOS domain name '{}' is invalid.".format( + netbios_domain_name + ) + ) + + +def _validate_dns_domain_name(dns_domain_name): + if not _validate_domain_name(dns_domain_name): + raise ValueError( + "The given DNS domain name '{}' is invalid.".format(dns_domain_name) + ) diff --git a/src/arcdata/arcdata/azext_arcdata/azext_metadata.json b/src/arcdata/arcdata/azext_arcdata/azext_metadata.json new file mode 100644 index 00000000000..a1af72d3d7f --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/azext_metadata.json @@ -0,0 +1,4 @@ +{ + "azext.isExperimental": false, + "azext.minCliCoreVersion": "2.3.1" +} diff --git a/src/arcdata/arcdata/azext_arcdata/core/__init__.py b/src/arcdata/arcdata/azext_arcdata/core/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/core/class_utils.py b/src/arcdata/arcdata/azext_arcdata/core/class_utils.py new file mode 100644 index 00000000000..1bf0db28aab --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/class_utils.py @@ -0,0 +1,85 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from functools import wraps, singledispatch + + +def validatedclass(cls): + """ + Decorator that monkey patches a given class to be "validatable" + :param cls: class to patch + """ + cls._validators = [] + for name in dir(cls): + method = getattr(cls, name) + if hasattr(method, "_validator"): + cls._validators.append(name) + setattr(cls, "validate", validate) + return cls + + +def validator(fn): + """ + Decorator that marks a class method as a validator + :param fn: function to patch + """ + fn._validator = True + return fn + + +def validate(self, client): + """ + Invokes all methods marked as validators on this instance + """ + for name in self._validators: + getattr(self, name)(client) + + +def enforcetype(cls): + """ + Enforces a type on a property setter for some class. Throws an error if the + type of the value provided to the setter is not the exact type provided or + a subclass of that type + """ + + def decorator(f): + def wrapper(self, val, *args, **kwargs): + if ( + not isinstance(val, cls) + and type(val) is not cls + and not issubclass(type(val), cls) + ): + raise TypeError( + "Type '{}' is not compatible with property {}. Requires {}".format( + type(val), f.__name__, cls + ) + ) + return f(self, val, *args, **kwargs) + + return wrapper + + return decorator + + +def method_dispatch(f): + """ + This decorator modifies the behavior of singledispatch to support + overloading based on the type of the SECOND argument in a function instead + of the first. As the name suggests this is useful for method overloading + since the first argument in a class method is always 'self'. TODO(jakedern): + Remove this in favor of functools.singledispatchmethod after upgrading to + python3.8 + :param f: the function to wrap + :returns: Function that is singularly dispatched based on the second argument + """ + dispatcher = singledispatch(f) + + @wraps(dispatcher) + def wrapper(*args, **kwargs): + return dispatcher.dispatch(args[1].__class__)(*args, **kwargs) + + wrapper.register = dispatcher.register + return wrapper diff --git a/src/arcdata/arcdata/azext_arcdata/core/cli_client.py b/src/arcdata/arcdata/azext_arcdata/core/cli_client.py new file mode 100644 index 00000000000..8d9948ee2a1 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/cli_client.py @@ -0,0 +1,412 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +""" +Client for all CLI actions. +""" + +from abc import ABCMeta + +from azext_arcdata.core.output import OutputStream +from azext_arcdata.core.services import beget_service +from azure.cli.core._profile import Profile +from knack.cli import CLIError +from knack.log import get_logger +from six import add_metaclass + +__all__ = ["beget", "CliClient"] + +logger = get_logger(__name__) + + +def beget(az_cli, kwargs): + """Client factory""" + return CliClient(az_cli, kwargs, check_namespace=None) + + +# ============================================================================ # +# ============================================================================ # +# ============================================================================ # + + +@add_metaclass(ABCMeta) +class BaseCliClient(object): + def __init__(self): + pass + + @property + def stdout(self): + return OutputStream().stdout.write + + @property + def stderr(self): + return OutputStream().stderr.write + + def __str__(self): + """ + Returns the base string representation of attributes. Sub-class should + override and implement. + """ + return "" + + def __repr__(self): + """For `print` and `pprint`. Sub-class should override and implement.""" + return self.__str__() + + +# ============================================================================ # +# ============================================================================ # +# ============================================================================ # + + +class CliClient(BaseCliClient): + """ + Default client injected in every command group. For further command + customization extend this class. + """ + + def __init__(self, az_cli, kwargs, check_namespace=False): + super(CliClient, self).__init__() + + self._az_cli = az_cli + self._args = kwargs + self._utils = None + self._terminal = None + + logger.debug(self._args) + + if check_namespace is None: # tmp for dc + self._az_cli.data["arcdata_command_args"] = self._args + service = beget_service(self.az_cli) + d = dict() + d[service.name] = service + self._services = type("", (object,), d) + else: + ############################################################### + # Only tmp until we move sqlmi/postgres over to this new model + ############################################################### + from azext_arcdata.core.prompt import prompt + from azext_arcdata.core.util import load_kube_config + from azext_arcdata.vendored_sdks.kubernetes_sdk.client import KubernetesClient + from knack.prompting import NoTTYException + from kubernetes.config.config_exception import ConfigException + + self._namespace = None + self._apis = type("", (object,), {"kubernetes": KubernetesClient()}) + if self._args.get("use_k8s"): + try: + namespace = self._args.get("namespace") + logger.debug( + "Provided k8s-namespace = {0}".format(namespace) + ) + logger.debug( + "Force namespace = {0}".format(check_namespace) + ) + + if not namespace and check_namespace: + namespace = load_kube_config().get("namespace") + if not namespace: + namespace = prompt("Kubernetes Namespace: ") + self._namespace = namespace + logger.debug( + "Using Kubernetes namespace = {0}".format( + self.namespace + ) + ) + except NoTTYException: + raise NoTTYException( + "You must have a tty to prompt " + "for Kubernetes namespace. Please provide a " + "--k8s-namespace argument instead." + ) + except (ConfigException, Exception) as ex: + raise CLIError(ex) + + logger.debug( + "Using Kubernetes namespace = {0}".format(namespace) + ) + + self._namespace = namespace + ############################################################### + + @property + def az_cli(self): + """ + Gets a reference to this command's `AzCli` execution context. + """ + return self._az_cli + + @property + def profile(self): + """ + Gets the user Profile. + :return: + """ + return Profile(cli_ctx=self.az_cli.local_context.cli_ctx) + + @property + def subscription(self): + """ + Gets the Azure subscription. + """ + + # Gets the azure subscription by attempting to gather it from: + # 1. global argument [--subscription] if provided + # 2. Otherwise active subscription in profile if available + # 3. Otherwise `None` + subscription = self.az_cli.data.get("subscription_id") + + if not subscription: + try: + subscription = self.profile.get_subscription_id() + except CLIError: + subscription = None + else: + try: + subscription = self.profile.get_subscription( + subscription=subscription + ).get("id") + except CLIError: + logger.warning("To not see this warning, first login to Azure.") + + return subscription + + @property + def services(self): + return self._services + + def args_to_command_value_object(self, kwargs=None): + """ + Converts a `dict` of command argument name/values into a `Named Tuple` + representing "Command Value Object" pattern for arguments. + + If no arguments are provided in `kwargs` then we use the original + superset of arguments provided from the command-line. + + :return: The command's arguments as "Command Value Object", + """ + from collections import namedtuple + + args = kwargs or self._args + + return namedtuple("CommandValueObject", " ".join(list(args.keys())))( + **args + ) + + @property + def apis(self): + return self._apis + + @property + def namespace(self): + return self._namespace + + @property + def terminal(self): + """ + Object mapping to supported public `terminal` operations. + + Supported: + - `progress_indicator` + + Example: + + ``` + progress = client.terminal.progress_indicator + ... + ... + ``` + + :return: The Object mapping to supported terminal operations. + """ + if self._terminal: + return self._terminal + + # ---------------------------------------------------------------------- + # ---------------------------------------------------------------------- + # ---------------------------------------------------------------------- + + class Progress(object): + """ + Show a spinner on the terminal that automatically + starts animating around a provided worker function. + + Example: + + ``` + add = lambda a, b: return a + b + args = {'a': 1, 'b': 2} + + progress = client.terminal.progress_indicator + result = progress.message('Downloading').worker( + add, args).start() + ``` + + :return: A `Progress` instance to load-up and start. + """ + + def __init__(self): + self._defaults() + + def _defaults(self): + self._show_time = True + self._worker = {"fn": None, "args": {}} + self._message = "" + + def worker(self, fn, args): + self._worker = {"fn": fn, "args": args} + return self + + def message(self, message): + self._message = message + return self + + def show_time(self, show_time): + self._show_time = show_time + return self + + def start(self): + from azext_arcdata.core.util import is_windows + from humanfriendly.terminal.spinners import AutomaticSpinner + + message = self._message + worker_fn = self._worker.get("fn") + arguments = self._worker.get("args") + show_time = self._show_time + + assert worker_fn + + try: + if not is_windows(): + with AutomaticSpinner(message, show_time=show_time): + return worker_fn(**arguments) + else: + # TODO: Make the same experience for windows ps1/dos + OutputStream().stdout.write(message) + result = worker_fn(**arguments) + return result + finally: + self._defaults() # reset + + # ---------------------------------------------------------------------- + # ---------------------------------------------------------------------- + # ---------------------------------------------------------------------- + from azext_arcdata.core.text import Text + + self._terminal = type( + "", (object,), {"progress_indicator": Progress(), "text": Text()} + ) + + return self._terminal + + @property + def utils(self): + """ + Object mapping to supported public `utils` operations. + + Supported: + - `download` + - `import_api` + + Example: + ``` + client.utils.download(...) + client.utils.import_api(...) + ``` + + :return: The Object mapping to supported `utils` operations. + """ + if self._utils: + return self._utils + + # ---------------------------------------------------------------------- + # ---------------------------------------------------------------------- + # ---------------------------------------------------------------------- + + def download( + url, + filename, + destination=None, + label="Downloading", + show_progress=True, + ): + """ + Helper to download a file given the url and a write destination. + If no + destination is given the file download is sent to a temporary + location. + + :param url: The URL to the file to be downloaded. + :param filename: Name the downloaded file. + :param destination: Location where to save file. + :param label: Work with `show_progress` to define the label for the + optional spinner (a string or None, defaults to Downloading). + :param show_progress: To display a progress spinner on the terminal. + :return: The path to the downloaded file. + """ + import os + import shutil + import tempfile + import time + import urllib + + def _download(uri, name, dest): + stage_dir = tempfile.mkdtemp() + try: + file_path = os.path.join(stage_dir, name) + num_blocks = 0 + chunk_size = 4096 + req = urllib.request.urlopen(uri) + + with open(file_path, "wb") as f: + while True: + data = req.read(chunk_size) + time.sleep(0.5) + num_blocks += 1 + + if not data: + break + + f.write(data) + + return ( + shutil.copyfile(file_path, dest) if dest else file_path + ) + except IsADirectoryError: + from urllib.error import URLError + + raise URLError("Not able to download file", filename=uri) + finally: + if dest: + shutil.rmtree(stage_dir, ignore_errors=True) + + if destination and not os.path.isdir(destination): + raise ValueError( + "Destination directory does not exist {0}".format( + destination + ) + ) + + # -- download and show progress indicator -- + if not show_progress: + return _download(url, filename, destination) + else: + return ( + self.terminal.progress_indicator.worker( + _download, + {"uri": url, "name": filename, "dest": destination}, + ) + .message(label) + .start() + ) + + # ---------------------------------------------------------------------- + # ---------------------------------------------------------------------- + # ---------------------------------------------------------------------- + + self._utils = type("", (object,), {"download": download}) + + return self._utils diff --git a/src/arcdata/arcdata/azext_arcdata/core/common_validators.py b/src/arcdata/arcdata/azext_arcdata/core/common_validators.py new file mode 100644 index 00000000000..5600afea53a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/common_validators.py @@ -0,0 +1,176 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azure.cli.core.azclierror import ArgumentUsageError + + +def validate_mutually_exclusive_arm_kubernetes( + namespace, kubernetes_only, arm_only +): + # -- ARM path -- + if not namespace.use_k8s: + required_for_arm = [] # assert [Required] + + if not namespace.resource_group: + required_for_arm.append("--resource-group/-g") + + if not namespace.custom_location: + required_for_arm.append("--custom-location") + + # -- backwards compatibility (w/o --cluster-name) -- + if not namespace.cluster_name and not namespace.location: + raise ArgumentUsageError( + "The following arguments are required: '--location' when " + "'--cluster-name' is not provided." + ) + + if required_for_arm: + msg = ( + "The following arguments are required: {missing} when " + "'--use-k8s' is not provided." + ) + raise ArgumentUsageError( + msg.format(missing=", ".join(required_for_arm)) + ) + + # -- assert only non arm args are provided -- + for arg in namespace.__dict__: + value = namespace.__dict__[arg] + if arg in kubernetes_only and value: + arg = "--{}".format(arg.replace("_", "-")) + msg = ( + f"The following arguments are not permitted without " + f"the '--use-k8s' argument: {arg}" + ) + raise ArgumentUsageError(msg) + + # -- kubernetes path -- + if namespace.use_k8s: + required_for_kubernetes = [] # assert [Required] + if not namespace.namespace: + required_for_kubernetes.append("--k8s-namespace/-k") + + if not namespace.location: + required_for_kubernetes.append("--location/l") + + if required_for_kubernetes: + msg = ( + "The following arguments are required with '--use-k8s': " + "{missing}" + ) + raise ArgumentUsageError( + msg.format(missing=", ".join(required_for_kubernetes)) + ) + not_permitted = [] + for arg in namespace.__dict__: + value = namespace.__dict__[arg] + if arg in arm_only and value: + not_permitted.append("--{}".format(arg.replace("_", "-"))) + + if not_permitted: + msg = ( + f"The following arguments are not permitted with the " + f"'--use-k8s' argument: {', '.join(not_permitted)}" + ) + raise ArgumentUsageError(msg) + + +def validate_mutually_exclusive_direct_indirect( + namespace, required_direct=None, direct_only=None, ignore_direct=None +): + """ + Common direct/indirect argument validations that can be applied across + different command groups. + + :param namespace: The argument namespace map. + :param required_direct: Optional required arguments for direct mode. + :param direct_only: Optional direct mode only arguments. + :raises ValueError + """ + + # -- mutually exclusive -- + if namespace.use_k8s: + ignore_direct = ignore_direct or [] + msg = "Cannot specify '--use-k8s' with the following ARM-targeted arguments: {args}." + included = direct_only or [] + + if ( + namespace.resource_group + and "--resource-group/-g" not in ignore_direct + ): + included.append("--resource-group/-g") + + if included: + raise ValueError(msg.format(args=", ".join(included))) + + if not namespace.use_k8s and namespace.namespace: + raise ValueError( + "Cannot specify' --k8s-namespace/-k ' without '--use-k8s'. " + "The '--k8s-namespace/-k' is only available for commands using the Kubernetes API." + ) + + # -- direct -- + if not namespace.use_k8s: + msg = "The following ARM-targeted arguments are required: {missing}." + missing = required_direct or [] + + # if not namespace.name: + # missing.append("--name/-n") + + if not namespace.resource_group: + missing.append("--resource-group/-g") + + # [--subscription] is handled differently, so omit check as required + + if missing: + raise ValueError(msg.format(missing=", ".join(missing))) + + # Check the forbidden flags + # + forbidden_list = {} + if hasattr(namespace, "noexternal_endpoint"): + forbidden_list["--no-external-endpoint"] = namespace.noexternal_endpoint + if hasattr(namespace, "certificate_public_key_file"): + forbidden_list["--cert-public-key-file"] = ( + namespace.certificate_public_key_file + ) + if hasattr(namespace, "certificate_private_key_file"): + forbidden_list["--cert-private-key-file"] = ( + namespace.certificate_private_key_file + ) + if hasattr(namespace, "service_certificate_secret"): + forbidden_list["--service-cert-secret"] = ( + namespace.service_certificate_secret + ) + if hasattr(namespace, "admin_login_secret"): + forbidden_list["--admin-login-secret"] = namespace.admin_login_secret + if hasattr(namespace, "labels"): + forbidden_list["--labels"] = namespace.labels + if hasattr(namespace, "annotation"): + forbidden_list["--annotations"] = namespace.annotations + if hasattr(namespace, "service_labels"): + forbidden_list["--service-labels"] = namespace.service_labels + if hasattr(namespace, "service_annotations"): + forbidden_list["--service-annotations"] = namespace.service_annotations + if hasattr(namespace, "collation"): + forbidden_list["--collation"] = namespace.collation + if hasattr(namespace, "language"): + forbidden_list["--language"] = namespace.language + if hasattr(namespace, "agent_enabled"): + forbidden_list["--agent-enabled"] = namespace.agent_enabled + + direct_mode_forbid_list = [] + for flag in forbidden_list: + if forbidden_list[flag]: + direct_mode_forbid_list.append(flag) + + if not namespace.use_k8s and direct_mode_forbid_list: + raise ValueError( + "Cannot specify {0} without '--use-k8s'. " + "The {0} is only available for commands using the Kubernetes API.".format( + direct_mode_forbid_list + ) + ) diff --git a/src/arcdata/arcdata/azext_arcdata/core/configuration.py b/src/arcdata/arcdata/azext_arcdata/core/configuration.py new file mode 100644 index 00000000000..4ca076bb9ed --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/configuration.py @@ -0,0 +1,78 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +""" +Read and modify configuration settings related to the extension +""" + +from __future__ import absolute_import +from azext_arcdata.__version__ import __title__, __version__ +from azext_arcdata.core.util import singleton +from knack.log import get_logger + +import sys +import os + +logger = get_logger(__name__) + + +@singleton +class Configuration(object): + """ + The CLI Configuration singleton. + """ + + EXT_NAME = "arcdata" + """ + The name of the CLI extension. + """ + + def __init__(self): + """ + Configuration runtime constructor. + """ + pass + + @property + def extension_dir(self): + ext_dir = os.environ.get("AZURE_EXTENSION_DIR") + logger.debug("AZURE_EXTENSION_DIR: %s", ext_dir) + + if not ext_dir: + az_config_dir = os.getenv("AZURE_CONFIG_DIR") + logger.debug("AZURE_CONFIG_DIR: %s", az_config_dir) + if not az_config_dir: + az_config_dir = os.path.expanduser(os.path.join("~", ".azure")) + + logger.debug(".azure location: %s", az_config_dir) + ext_dir = os.path.join(az_config_dir, "cliextensions") + logger.debug("Extension location: %s", ext_dir) + + return os.path.join(ext_dir, self.EXT_NAME) + + @property + def version(self): + """ + Gets the client CLI version. + """ + return __version__ + + def to_debug_report(self): + """ + Gets the essential information for debugging. + + :return: The report for debugging. + """ + return ( + "azure-cli extension debug report:\n OS: {env}\n " + "Package {name} Version: {version} " + "Python Version: {pyversion}".format( + name=__title__, + version=self.version, + env=sys.platform, + pyversion=sys.version, + ) + ) diff --git a/src/arcdata/arcdata/azext_arcdata/core/constants.py b/src/arcdata/arcdata/azext_arcdata/core/constants.py new file mode 100644 index 00000000000..534182d38ec --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/constants.py @@ -0,0 +1,460 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +import os +from enum import Enum + +BASE = os.path.dirname(os.path.realpath(__file__)) +""" +Base directory +""" + +IO_DELIM = "(?} label. + +Example: 'arcdata.microsoft.com/namespace: test' +""" + +ARC_WEBHOOK_PREFIX = "{}-webhook".format(ARC_GROUP) +""" +Prefix for the arc webhook name. Example: 'arcdata.microsoft.com-webhook-test' +""" + +ARC_API_V1BETA1 = "v1beta1" +""" +Defines the kubernetes api version v1beta1 for Arc CRDs. +""" + +ARC_API_V1BETA2 = "v1beta2" +""" +Defines the kubernetes api version v1beta2 for Arc CRDs. +""" + +ARC_API_V1BETA3 = "v1beta3" +""" +Defines the kubernetes api version v1beta3 for Arc CRDs. +""" + +ARC_API_V1BETA4 = "v1beta4" +""" +Defines the kubernetes api version v1beta4 for Arc CRDs. +""" + +ARC_API_V1BETA5 = "v1beta5" +""" +Defines the kubernetes api version v1beta5 for Arc CRDs. +""" + +ARC_API_V1BETA6 = "v1beta6" +""" +Defines the kubernetes api version v1beta6 for Arc CRDs. +""" + +ARC_API_V1 = "v1" +""" +Defines the kubernetes api version v1 for Arc CRDs. +""" + +ARC_API_V2 = "v2" +""" +Defines the kubernetes api version v2 for Arc CRDs. +""" + +ARC_API_V3 = "v3" +""" +Defines the kubernetes api version v3 for Arc CRDs. +""" + +ARC_API_V4 = "v4" +""" +Defines the kubernetes api version v4 for Arc CRDs. +""" + +ARC_API_V5 = "v5" +""" +Defines the kubernetes api version v5 for Arc CRDs. +""" + +ARC_API_V6 = "v6" +""" +Defines the kubernetes api version v6 for Arc CRDs. +""" + +ARC_API_V7 = "v7" +""" +Defines the kubernetes api version v7 for Arc CRDs. +""" + +ARC_API_V8 = "v8" +""" +Defines the kubernetes api version v8 for Arc CRDs. +""" + +KUBERNETES_LABEL_PREFIX = "app.kubernetes.io/" +""" +Defines the prefix for common Kubernetes labels +https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/ +""" + +ARC_INSTANCE_LABEL = KUBERNETES_LABEL_PREFIX + "instance" +""" +Defines the instance label for Arc resources +""" + +ARC_RESOURCE_KIND_LABEL = KUBERNETES_LABEL_PREFIX + "part-of" +""" +Defines the resource kind label for Arc resources +""" + +DATA_CONTROLLER_PLURAL = "datacontrollers" +""" +Defines the plural name of data controllers. +""" + +DATA_CONTROLLER_CRD_VERSION = ARC_API_V5 +""" +Defines the kubernetes api version for DataController CRD. +""" + +MGMT_PROXY = "mgmtproxy-svc-external" +""" +Name of management proxy service. +""" + +DNS_NAME_REQUIREMENTS = ( + "resource name must contain only alphanumeric characters or '-', be lowercase, " + "start with an alphabetic character, and end with an alphanumeric character." +) +""" +Requirements for a DNS name +""" + +MIN_PORT_NUMBER = 0 +""" +Minimum number for a port +""" + +MAX_PORT_NUBMER = 65535 +""" +Max number for a port +""" + +PORT_REQUIREMENTS = ( + "Port number must be a positive integer between {} and {}".format( + MIN_PORT_NUMBER, MAX_PORT_NUBMER + ) +) +""" +Requirements for a port number +""" + +USE_K8S_TEXT = "Use local Kubernetes APIs to perform this action." +""" +Help text for --use-k8s parameter +""" + +USE_K8S_EXCEPTION_TEXT = "Please include the --use-k8s argument." +""" +Text to use when --use-k8s parameter is missing +""" + +CONNECTION_MODE = "connectionMode" +DISPLAY_NAME = "displayName" +LOCATION = "location" +RESOURCE_GROUP = "resourceGroup" +SUBSCRIPTION = "subscription" + +# ------------------------------------------------------------------------------ +# Helpful constants and Enums for dealing with kubernetes resource quantities +# ------------------------------------------------------------------------------ + +# SI Suffixes +ONE_k = 10**3 +ONE_M = 10**6 +ONE_G = 10**9 +ONE_T = 10**12 +ONE_P = 10**15 +ONE_E = 10**18 + +# Base two equivalents +ONE_Ki = 2**10 +ONE_Mi = 2**20 +ONE_Gi = 2**30 +ONE_Ti = 2**40 +ONE_Pi = 2**50 +ONE_Ei = 2**60 + +# Millicores +MILLICORES_PER_CORE = 10**3 + +# A table for converting SI suffixes or their base two equivalents +# into their sizes in bytes +UNIT_TABLE = { + "k": ONE_k, + "Ki": ONE_Ki, + "M": ONE_M, + "Mi": ONE_Mi, + "G": ONE_G, + "Gi": ONE_Gi, + "T": ONE_T, + "Ti": ONE_Ti, + "P": ONE_P, + "Pi": ONE_Pi, + "E": ONE_E, + "Ei": ONE_Ei, +} + +# Helper regexps for numbers +# NOTE: cannot format these as regex since python automatically adds anchors +# to them +INTEGER = r"[0-9]+" +STRICT_POS_INTEGER = r"[0-9]*[1-9]+[0-9]*" +FLOAT = r"[0-9]*\.[0-9]+" +STRICT_POS_FLOAT = r"({}\.[0-9]*)|([0-9]*\.{})".format( + STRICT_POS_INTEGER, STRICT_POS_INTEGER +) +NUMBER = r"{}|{}".format(INTEGER, FLOAT) +STRICT_POS_NUMBER = r"({})|({})".format(STRICT_POS_FLOAT, STRICT_POS_INTEGER) + +# Maximum decimals for kubernetes resource quantity +KUBE_QUANTITY_PRECISION = 3 + + +class ResourceType(Enum): + """ + Represents the supported resource request/limit types. + """ + + MEMORY = "memory" + CPU = "cpu" + + def __eq__(self, other): + return self.value == other.value + + +############################################################################ +# Data Controller constants +############################################################################ + +GUID_REGEX = r"[0-9a-f]{8}\-([0-9a-f]{4}\-){3}[0-9a-f]{12}" +""" +Used to validate subscription IDs +""" + +DIRECT = "direct" +""" +Direct connection mode +""" + +INDIRECT = "indirect" +""" +Indirect connection mode +""" + +CONNECTIVITY_TYPES = [DIRECT, INDIRECT] +""" +Supported connectivity types for data controller +""" + +CLI_ARG_GROUP_INDIRECT_TEXT = "Kubernetes API – targeted" +""" +Argument text for indirect mode argument group. +""" + +CLI_ARG_GROUP_DIRECT_TEXT = "Azure Resource Manager – targeted" +""" +Argument text for direct mode argument group. +""" + +CLI_ARG_GROUP_AD_TEXT = "Active Directory" +""" +Argument text for Active Directory argument group. +""" + +CLI_ARG_GROUP_USE_K8S = "Maintenance window" +""" +Argument text for arguments that may only be used with the --use-k8s parameter +""" + +CLI_ARG_RESOURCE_GROUP_TEXT = "The Azure resource group in which the data controller resource should be added." + +SUPPORTED_REGIONS = [ + "eastus", + "eastus2", + "centralus", + "westeurope", + "southeastasia", + "westus2", + "japaneast", + "australiaeast", + "koreacentral", + "northeurope", + "uksouth", + "francecentral", + "westus3", + "southcentralus", + "northcentralus", + "canadacentral", + "westcentralus", + "centralindia", + "switzerlandnorth", + "canadaeast", + "brazilsouth", + "southafricanorth", + "uaenorth", + "norwayeast", + "ukwest", + "germanywestcentral", + "italynorth", + "japanwest", +] +""" +Supported Azure regions for data controller. This list does not include EUAP regions. +""" + +SUPPORTED_EUAP_REGIONS = ["eastus2euap", "centraluseuap", "eastasia"] +""" +Supported Azure EUAP regions for data controller. +""" diff --git a/src/arcdata/arcdata/azext_arcdata/core/env.py b/src/arcdata/arcdata/azext_arcdata/core/env.py new file mode 100644 index 00000000000..99113c1c45e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/env.py @@ -0,0 +1,323 @@ +# ------------------------------------------------------------------------------ +# 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 sys +import azext_arcdata.core.constants as const + +from azext_arcdata.core.util import is_valid_password +from azext_arcdata.core.prompt import prompt, prompt_pass +from knack.log import get_logger +from typing import List +from collections import namedtuple + +__all__ = ["Env"] +logger = get_logger(__name__) + + +class Env(object): + CONTROLLER_ENV_LIST = [const.AZDATA_USERNAME, const.AZDATA_PASSWORD] + """ + Get the list of environment variables required for the controller + """ + + @staticmethod + def get(env): + """ + This is the currently supported list of environment values and lookup. + :return: The given env variable value otherwise `None`. + """ + e = None + getenv = os.getenv + + if env == "DOCKER_REGISTRY": + e = getenv("CONTROLLER_REGISTRY") or getenv("DOCKER_REGISTRY") + + if env == "DOCKER_REPOSITORY": + e = getenv("CONTROLLER_REPOSITORY") or getenv("DOCKER_REPOSITORY") + + if env == "DOCKER_IMAGE_TAG": + e = ( + getenv("CONTROLLER_IMAGE_TAG") + or getenv("DOCKER_IMAGE_TAG") + or getenv("DOCKER_TAG") + ) + + if env == "DOCKER_IMAGE_POLICY": + e = getenv("DOCKER_IMAGE_POLICY") + + if env == "DOCKER_USERNAME": + e = os.getenv("DOCKER_USERNAME") or getenv("REGISTRY_USERNAME") + + if env == "DOCKER_PASSWORD": + e = os.getenv("DOCKER_PASSWORD") or getenv("REGISTRY_PASSWORD") + + if env == "WORKSPACE_ID": + e = getenv("WORKSPACE_ID") or getenv("LOG_WORKSPACE_ID") + + if env == "WORKSPACE_SHARED_KEY": + e = getenv("WORKSPACE_SHARED_KEY") or getenv("LOG_SHARED_KEY") + + if env == "ARC_DATASERVICES_EXTENSION_RELEASE_TRAIN": + e = getenv("ARC_DATASERVICES_EXTENSION_RELEASE_TRAIN") + + if env == "ARC_DATASERVICES_EXTENSION_VERSION_TAG": + e = getenv("ARC_DATASERVICES_EXTENSION_VERSION_TAG") + + if env == "AZDATA_USERNAME": + e = getenv("AZDATA_USERNAME") + + if env == "AZDATA_PASSWORD": + e = getenv("AZDATA_PASSWORD") + + return e + + @staticmethod + def is_set(env_var: str) -> bool: + """ + Checks if the given environment variable is set and not empty/whitespace + """ + + var = os.getenv(env_var) + return var is not None and len(var.strip()) != 0 + + @staticmethod + def check_environment_variables(target): + """ + Check if all necessary environment variables are set. + """ + + env_list = Env.CONTROLLER_ENV_LIST + missing_env = list() + for env in env_list: + if not Env.is_set(env): + missing_env.append(env) + + if len(missing_env) > 0: + logger.error( + "Please set the following environment variable(s): %s." + % missing_env + ) + sys.exit(1) + + @staticmethod + def env_vars_are_set(env_vars: List[str]) -> bool: + """ + Checks if the given list of environment variables are set or not. + :returns: True if all of the variables are set, false otherwise. + """ + + for var in env_vars: + if not Env.is_set(var): + return False + + return True + + @staticmethod + def _set_credential_vars(vars: List[str], msg: str): + """ + Prompts the user to enter values for the given vars. Expecting + a username var to be first in the list and password second. + """ + if not Env.is_set(vars[0]): + os.environ[vars[0]] = prompt(msg.strip() + " username: ") + if not Env.is_set(vars[1]): + os.environ[vars[1]] = prompt_pass(msg.strip() + " password: ", True) + + @staticmethod + def _validate_creds_from_env(username_var: str, password_var: str): + """ + Ensures that both or neither of the username and password + environment variables are set and that passwords meet complexity + requirements + """ + + username = os.environ.get(username_var) + password = os.environ.get(password_var) + if bool(username) ^ bool(password): + raise ValueError( + "Must specify both {0} and {1} or neither.".format( + username_var, password_var + ) + ) + elif ( + username and password and not is_valid_password(password, username) + ): + raise ValueError( + "Invalid password from " + + password_var + + ". Passwords must be at " + "least 8 characters long, cannot contain the " + "username, and must contain characters from " + "three of the following four sets: Uppercase " + "letters, Lowercase letters, Base 10 digits, " + "and Symbols. Please try again.\n" + ) + + @staticmethod + def get_sqlmi_credentials(): + default_vars = [const.AZDATA_USERNAME, const.AZDATA_PASSWORD] + if not Env.env_vars_are_set(default_vars): + if sys.stdin.isatty(): + Env._set_credential_vars( + default_vars, "SQL Managed Instance admin" + ) + else: + raise ValueError( + "Missing environment variables. Please set {0} " + "and {1}".format( + const.AZDATA_USERNAME, const.AZDATA_PASSWORD + ) + ) + + os.environ[default_vars[0]] = os.getenv(default_vars[0]).strip() + os.environ[default_vars[1]] = os.getenv(default_vars[1]).strip() + + Env._validate_creds_from_env(default_vars[0], default_vars[1]) + + args = { + "username": os.getenv(default_vars[0]), + "password": os.getenv(default_vars[1]), + } + + return namedtuple("SqlMiCredentials", " ".join(list(args.keys())))( + **args + ) + + @staticmethod + def get_log_and_metrics_credentials(): + """ + Validates and ensures that two of the three following sets of + environment variables are set (or just AZDATA_USERNAME and + AZDATA_PASSWORD): (AZDATA_USERNAME, AZDATA_PASSWORD) + (LOGSUI_USERNAME, LOGSUI_PASSWORD) + (METRICSUI_USERNAME, METRICSUI_PASSWORD) + """ + + def _raise_error(env_vars: List[str]): + raise ValueError( + "Missing environment variables." + " Please set either {0} and {1} or {2} and {3}".format( + const.AZDATA_USERNAME, + const.AZDATA_PASSWORD, + env_vars[0], + env_vars[1], + ) + ) + + # Raise error if only one part of a credential is set + # + logs_vars = [const.LOGSUI_USERNAME, const.LOGSUI_PASSWORD] + metrics_vars = [const.METRICSUI_USERNAME, const.METRICSUI_PASSWORD] + default_vars = [const.AZDATA_USERNAME, const.AZDATA_PASSWORD] + + Env._validate_creds_from_env( + logs_vars[0], logs_vars[1] + ) # CodeQL [SM02736] False Positive: CodeQL wrongly detected hard-coded credentials + Env._validate_creds_from_env(metrics_vars[0], metrics_vars[1]) + + if not ( + Env.env_vars_are_set(logs_vars) + and Env.env_vars_are_set(metrics_vars) + ): + if Env.env_vars_are_set(metrics_vars): + if not Env.env_vars_are_set(default_vars): + if sys.stdin.isatty(): + Env._set_credential_vars( + logs_vars, "Logs administrator" + ) + else: + _raise_error(logs_vars) + elif Env.env_vars_are_set(logs_vars): + if not Env.env_vars_are_set(default_vars): + if sys.stdin.isatty(): + Env._set_credential_vars( + metrics_vars, "Metrics administrator" + ) + else: + _raise_error(metrics_vars) + else: + if not Env.env_vars_are_set(default_vars): + if sys.stdin.isatty(): + Env._set_credential_vars( + default_vars, "Monitoring administrator" + ) + else: + raise ValueError( + "Missing environment variables. Please set {0} " + "and {1}".format( + const.AZDATA_USERNAME, const.AZDATA_PASSWORD + ) + ) + Env._validate_creds_from_env(default_vars[0], default_vars[1]) + + logs_vars = [const.LOGSUI_USERNAME, const.LOGSUI_PASSWORD] + metrics_vars = [const.METRICSUI_USERNAME, const.METRICSUI_PASSWORD] + default_vars = [const.AZDATA_USERNAME, const.AZDATA_PASSWORD] + + azdata_username = os.getenv(default_vars[0]) + azdata_password = os.getenv(default_vars[1]) + + logui_username = os.getenv(logs_vars[0]) + logui_password = os.getenv(logs_vars[1]) + + metricsui_username = os.getenv(metrics_vars[0]) + metricsui_password = os.getenv(metrics_vars[1]) + + if not metricsui_username: + metricsui_username = azdata_username + + if not metricsui_password: + metricsui_password = azdata_password + + if not logui_username: + logui_username = metricsui_username + + if not logui_password: + logui_password = metricsui_password + + args = { + "log_username": logui_username, + "log_password": logui_password, + "metrics_username": metricsui_username, + "metrics_password": metricsui_password, + } + + return namedtuple("LogMetricsCredentials", " ".join(list(args.keys())))( + **args + ) + + @staticmethod + def get_active_directory_domain_account_credentials(): + default_vars = [ + const.DOMAIN_SERVICE_ACCOUNT_USERNAME, + const.DOMAIN_SERVICE_ACCOUNT_PASSWORD, + ] + if not Env.env_vars_are_set(default_vars): + if sys.stdin.isatty(): + Env._set_credential_vars( + default_vars, "Active Directory domain service account" + ) + else: + raise ValueError( + "Missing environment variables. Please set {0} " + "and {1}".format( + const.DOMAIN_SERVICE_ACCOUNT_USERNAME, + const.DOMAIN_SERVICE_ACCOUNT_PASSWORD, + ) + ) + + os.environ[default_vars[0]] = os.getenv(default_vars[0]).strip() + os.environ[default_vars[1]] = os.getenv(default_vars[1]).strip() + + args = { + "username": os.getenv(default_vars[0]), + "password": os.getenv(default_vars[1]), + } + + return namedtuple( + "ADDomainAccountCredentials", " ".join(list(args.keys())) + )(**args) diff --git a/src/arcdata/arcdata/azext_arcdata/core/exceptions.py b/src/arcdata/arcdata/azext_arcdata/core/exceptions.py new file mode 100644 index 00000000000..2fe09cd8c18 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/exceptions.py @@ -0,0 +1,14 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from knack.cli import CLIError +from requests.exceptions import HTTPError + + +class ClusterLogError(CLIError): + """All errors related to log collection calls.""" + + pass diff --git a/src/arcdata/arcdata/azext_arcdata/core/http_codes.py b/src/arcdata/arcdata/azext_arcdata/core/http_codes.py new file mode 100644 index 00000000000..217290c7778 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/http_codes.py @@ -0,0 +1,72 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +__all__ = ["HTTPCodes"] + + +class HTTPCodes(object): + """ + Defines the HTTP status codes. + NOTE: Add more when needed. + """ + + # -- Success -- + @property + def ok(self): + return 200 + + @property + def created(self): + return 201 + + @property + def no_content(self): + return 204 + + # -- Client Errors -- + @property + def bad_request(self): + return 400 + + @property + def unauthorized(self): + return 401 + + @property + def forbidden(self): + return 403 + + @property + def not_found(self): + return 404 + + @property + def method_not_allowed(self): + return 405 + + @property + def request_timeout(self): + return 408 + + @property + def conflict(self): + return 409 + + # -- Server Errors -- + @property + def bad_gateway(self): + return 502 + + @property + def service_unavailable(self): + return 503 + + @property + def gateway_timeout(self): + return 504 + + +http_status_codes = HTTPCodes() # export diff --git a/src/arcdata/arcdata/azext_arcdata/core/identity.py b/src/arcdata/arcdata/azext_arcdata/core/identity.py new file mode 100644 index 00000000000..a72cb4dcad6 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/identity.py @@ -0,0 +1,140 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from knack.log import get_logger + +import os +import abc +import time + +__all__ = ["ArcDataCliCredential"] + +logger = get_logger(__name__) + + +class BaseTokenMixin(abc.ABC): + DEFAULT_REFRESH_OFFSET = 300 + """ + Time in seconds as a padding offset. + """ + DEFAULT_TOKEN_REFRESH_RETRY_DELAY = 30 + """ + Time in seconds as a padding offset for token refresh. + """ + + def __init__(self, *args, **kwargs): + # type: (*Any, **Any) -> None + self._last_request_time = 0 + super(BaseTokenMixin, self).__init__(*args, **kwargs) # type: ignore + + @abc.abstractmethod + def acquire_token(self, *scopes, **kwargs): + # type: (*str, **Any) -> Optional[AccessToken] + """ + Attempt to acquire an access token from a cache or by redeeming a + refresh token + """ + + @abc.abstractmethod + def request_token(self, *scopes, **kwargs): + # type: (*str, **Any) -> AccessToken + """Request an access token""" + + def should_refresh(self, token): + # type: (AccessToken) -> bool + now = int(time.time()) + if token.expires_on - now > BaseTokenMixin.DEFAULT_REFRESH_OFFSET: + return False + if ( + now - self._last_request_time + < BaseTokenMixin.DEFAULT_TOKEN_REFRESH_RETRY_DELAY + ): + return False + return True + + def get_token(self, *scopes, **kwargs): + # type: (*str, **Any) -> AccessToken + """ + Request an access token for `scopes`. + + This method is called automatically by Azure SDK clients. + + :param str scopes: desired scopes for the access token. This method + requires at least one scope. + :keyword str tenant_id: optional tenant to include in the token request. + + :rtype: :class:`azure.core.credentials.AccessToken` + + :raises CredentialUnavailableError: the credential is unable to attempt + authentication because it lacks required data, state, or + platform support + :raises ~azure.core.exceptions.ClientAuthenticationError: authentication + failed. The error's ``message`` + attribute gives a reason. + """ + + +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # + + +class ArcDataCliCredential(BaseTokenMixin): + def __init__(self, scopes=None): + super(ArcDataCliCredential, self).__init__() + self._scopes = scopes + + # override + def get_token(self, *scopes, **kwargs): + # type: (*str, **Any) -> AccessToken + """ + Request an access token for `scopes`. + """ + try: + token = self.acquire_token(*scopes) + if not token: + self._last_request_time = int(time.time()) + token = self.request_token(*scopes) + elif self.should_refresh(token): + try: + self._last_request_time = int(time.time()) + token = self.request_token(*scopes, **kwargs) + except Exception: # pylint:disable=broad-except + pass + logger.debug("%s.get_token succeeded", self.__class__.__name__) + return token + + except Exception as ex: + logger.debug("%s.get_token: %s", self.__class__.__name__, ex) + raise + + # override + def acquire_token(self, *scopes): + # type: (*str) -> Optional[AccessToken] + """ + Attempt to acquire an access token from a cache or by redeeming + a refresh token. + """ + from azure.cli.core._profile import Profile + from azure.cli.core._session import ACCOUNT + from azure.cli.core._environment import get_config_dir + + azure_folder = get_config_dir() + ACCOUNT.load(os.path.join(azure_folder, "azureProfile.json")) + p = Profile(storage=ACCOUNT) + cred, subscription_id, tenant_id = p.get_login_credentials() + scopes = ["https://management.azure.com/.default"] + access_token = cred.get_token(*scopes) + + return access_token + + # override + def request_token(self, *scopes, **kwargs): + # TODO: Impl refresh logic if possible. For now we give error + # to az login again + return super(ArcDataCliCredential, self).request_token( + *scopes, **kwargs + ) diff --git a/src/arcdata/arcdata/azext_arcdata/core/kubernetes.py b/src/arcdata/arcdata/azext_arcdata/core/kubernetes.py new file mode 100644 index 00000000000..4f3deedf8c7 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/kubernetes.py @@ -0,0 +1,888 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.core.constants import ( + DOCKER_USERNAME, + DOCKER_PASSWORD, + REGISTRY_USERNAME, + REGISTRY_PASSWORD, +) +from azext_arcdata.core.http_codes import http_status_codes +from azext_arcdata.core.util import ( + display, + retry, +) +from http import HTTPStatus +from knack.log import get_logger +from kubernetes import client as k8sClient +from kubernetes import config +from kubernetes.client.exceptions import ApiException +from kubernetes.client.rest import ApiException as K8sApiException +from kubernetes.config.config_exception import ConfigException +from urllib3.exceptions import NewConnectionError, MaxRetryError + +import base64 +import json +import os +import re +import yaml + +logger = get_logger(__name__) + +DEFAULT_DOCKER_IMAGE_PULL_SECRET_NAME = "arc-private-registry" + + +def validate_namespace(cluster_name): + """ + Check if the requested namespace is one in which a cluster can + be deployed into + """ + namespaces = ["default", "kube-system"] + + if cluster_name.lower() in namespaces: + raise ValueError("Cluster name can not be '%s'." % cluster_name) + + if not re.match(r"^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", cluster_name): + raise ValueError( + "Cluster name '" + + cluster_name + + "' is invalid. The name must consist of lowercase alphanumeric " + "characters or '-', and must start and end with a alphanumeric " + "character." + ) + + +def create_namespace(cluster_name, labels=None): + """ + Create and label the namespace + """ + # Cluster name has to be DNS compliant by having only lowercase alphanumeric + # characters or '-', and must start with and end with a alphanumeric + # character. + # + try: + body = k8sClient.V1Namespace() + body.metadata = k8sClient.V1ObjectMeta(name=cluster_name, labels=labels) + + k8sClient.CoreV1Api().create_namespace(body=body) + except K8sApiException as e: + logger.error(e.body) + raise + + +def patch_namespace(cluster_name, body): + """ + Patch the namespace + :param cluster_name: + :param body: + :return: + """ + # Cluster name has to be DNS compliant by having only lowercase alphanumeric characters or '-', + # and must start with and end with a alphanumeric character. + # + try: + k8sClient.CoreV1Api().patch_namespace(name=cluster_name, body=body) + except K8sApiException as e: + logger.error(e.body) + raise + + +def wrap_404(func): + """ + Wrap a call to a webservice and swallow 404 + """ + try: + return func() + except ApiException as ex: + if ex.status == 404: + return + else: + raise + + +def namespace_is_empty(cluster_name, label=None): + """ + Returns True if K8s namespace is empty. + """ + + try: + kwargs = {"label_selector": label} if label else {} + + if ( + len( + k8sClient.AppsV1Api().list_namespaced_stateful_set(namespace=cluster_name, **kwargs).items + ) + > 0 or + len( + k8sClient.AppsV1Api().list_namespaced_daemon_set(namespace=cluster_name, **kwargs).items + ) + > 0 or + len( + k8sClient.AppsV1Api().list_namespaced_deployment(namespace=cluster_name, **kwargs).items + ) + > 0 or + len( + k8sClient.AppsV1Api().list_namespaced_replica_set(namespace=cluster_name, **kwargs).items + ) + > 0 or + len( + k8sClient.CoreV1Api().list_namespaced_service(namespace=cluster_name, **kwargs).items + ) + > 0 or + len( + k8sClient.CoreV1Api().list_namespaced_persistent_volume_claim(namespace=cluster_name, **kwargs).items + ) + > 0 or + len( + k8sClient.CoreV1Api().list_namespaced_pod(namespace=cluster_name, **kwargs).items + ) + > 0 + ): + return False + else: + return True + except K8sApiException as e: + logger.error(e.body) + return False + + +def delete_cluster_resources(cluster_name, label=None): + """ + Delete cluster resources. + """ + try: + kwargs = {"label_selector": label} if label else {} + + logger.debug("Deleting secrets") + wrap_404( + lambda: k8sClient.CoreV1Api().delete_collection_namespaced_secret( + namespace=cluster_name, **kwargs + ) + ) + + logger.debug("Deleting persistent volume claims") + wrap_404( + lambda: k8sClient.CoreV1Api().delete_collection_namespaced_persistent_volume_claim( + namespace=cluster_name, **kwargs + ) + ) + + logger.debug("Deleting pods") + wrap_404( + lambda: k8sClient.CoreV1Api().delete_collection_namespaced_pod( + namespace=cluster_name, **kwargs + ) + ) + + logger.debug("Deleting service accounts") + wrap_404( + lambda: k8sClient.CoreV1Api().delete_collection_namespaced_service_account( + namespace=cluster_name, **kwargs + ) + ) + + logger.debug("Deleting roles") + wrap_404( + lambda: k8sClient.RbacAuthorizationV1Api().delete_collection_namespaced_role_binding( + namespace=cluster_name, **kwargs + ) + ) + + wrap_404( + lambda: k8sClient.RbacAuthorizationV1Api().delete_collection_namespaced_role( + namespace=cluster_name, **kwargs + ) + ) + + logger.debug("Deleting config maps") + wrap_404( + lambda: k8sClient.CoreV1Api().delete_collection_namespaced_config_map( + namespace=cluster_name, **kwargs + ) + ) + + return (namespace_is_empty(cluster_name, label=label), HTTPStatus.OK) + + except K8sApiException as e: + # If a 403 Forbidden is returned by K8s + # + if e.status == HTTPStatus.FORBIDDEN: + display( + "Failed to delete the cluster resources using Kubernetes API. " + "Ensure that the delete permissions are set for the current " + "kubectl context." + ) + logger.debug(e) + # return True to avoid retries for a 403 error + # + return True, HTTPStatus.FORBIDDEN + return False, e.status + + +def get_namespace(cluster_name): + """ + Get k8s namespace. + :param cluster_name: name of the cluster namespace + :return: + """ + try: + ns = k8sClient.CoreV1Api().read_namespace(cluster_name) + return ns + except K8sApiException as e: + logger.debug(e.body) + raise + + +def namespace_exists(cluster_name): + """ + Return true if K8s namespace exists. + """ + try: + ns = get_namespace(cluster_name) + return ns and cluster_name == ns.metadata.name + except K8sApiException as e: + logger.debug(e.body) + return False + + +def update_namespace_label(cluster_name): + """ + Update K8s namespace label and add the MSSQL_CLUSTER if not already added. + """ + try: + namespaces_list = k8sClient.CoreV1Api().list_namespace().items + for namespace in namespaces_list: + + # Find the namespace + # + if namespace.metadata.name == cluster_name: + # Add MSSQL_CLUSTER label to existing labels + # + labels = namespace.metadata.labels or {} + labels["MSSQL_CLUSTER"] = cluster_name + body = k8sClient.V1Namespace() + body.metadata = k8sClient.V1ObjectMeta(labels=labels) + k8sClient.CoreV1Api().patch_namespace( + name=cluster_name, body=body + ) + return + except K8sApiException as e: + logger.error(e.body) + raise + + +def delete_namespace(cluster_name): + """ + Delete K8s namespace. + """ + try: + namespacesList = ( + k8sClient.CoreV1Api() + .list_namespace(label_selector="MSSQL_CLUSTER=" + cluster_name) + .items + ) + namespaces = [n.metadata.name for n in namespacesList] + if cluster_name in namespaces: + k8sClient.CoreV1Api().delete_namespace( + name=cluster_name, body=k8sClient.V1DeleteOptions() + ) + display("Cluster deleted.") + else: + display("Cluster does not exist or is not a SQL cluster.") + except K8sApiException as e: + logger.error(e.body) + raise + + +def setup_private_registry( + cluster_name, + docker_registry, + secret_name=DEFAULT_DOCKER_IMAGE_PULL_SECRET_NAME, + ignore_conflict=False, +): + """ + Setup private docker repository secret. + """ + try: + body = create_registry_secret( + cluster_name, docker_registry, secret_name=secret_name + ) + + k8sClient.CoreV1Api().create_namespaced_secret( + namespace=cluster_name, body=body + ) + except K8sApiException as e: + if not (ignore_conflict and e.status == http_status_codes.conflict): + raise + + +def update_private_registry_secret( + cluster_name, + docker_registry, + secret_name=DEFAULT_DOCKER_IMAGE_PULL_SECRET_NAME, + user_name=None, + password=None, +): + """ + Update private docker repository secret. + """ + try: + body = create_registry_secret( + cluster_name, + docker_registry, + secret_name=secret_name, + user_name=user_name, + password=password, + ) + + k8sClient.CoreV1Api().patch_namespaced_secret( + name=secret_name, namespace=cluster_name, body=body + ) + except K8sApiException as e: + if e.status == HTTPStatus.NOT_FOUND: + try: + k8sClient.CoreV1Api().create_namespaced_secret( + namespace=cluster_name, body=body + ) + except K8sApiException as e2: + logger.error(e2.body) + raise + else: + logger.error(e.body) + raise + + +def create_registry_secret( + cluster_name, + docker_registry, + secret_name=DEFAULT_DOCKER_IMAGE_PULL_SECRET_NAME, + user_name=None, + password=None, +): + """ + Create the private docker repository secret. + """ + # .dockerconfigjson field is a base64 encoded string of the private + # registry credentials, which has the following format : + # { + # "auths":{ + # "docker_server":{ + # "username":"", + # "password":"", + # "email":"", + # "auth":":" + # } + # } + # } + # + + un = user_name + pw = password + + # use env variables if parameters not supplied + if not un: + un = os.getenv(REGISTRY_USERNAME) + if not pw: + pw = os.getenv(REGISTRY_PASSWORD) + + # Fallback to old environment variables. + if not un: + un = os.getenv(DOCKER_USERNAME) + if not pw: + pw = os.getenv(DOCKER_PASSWORD) + + b64_auth = base64.b64encode((un + ":" + pw).encode("utf-8")).decode("utf-8") + + credentials = dict() + credentials["username"] = un + credentials["password"] = pw + credentials["email"] = un + credentials["auth"] = b64_auth + credentials_registry_server = dict() + credentials_registry_server[docker_registry] = credentials + auths_dict = dict() + auths_dict["auths"] = credentials_registry_server + docker_config_json = json.dumps(auths_dict) + b64_docker_config_json = base64.b64encode( + docker_config_json.encode("utf-8") + ).decode("utf-8") + + body = k8sClient.V1Secret() + body.type = "kubernetes.io/dockerconfigjson" + body.data = {".dockerconfigjson": b64_docker_config_json} + body.kind = "Secret" + body.metadata = k8sClient.V1ObjectMeta( + name=secret_name, + namespace=cluster_name, + labels={"MSSQL_CLUSTER": cluster_name}, + ) + + return body + + +def create_empty_secret(cluster_name, secret_name): + """ + Creates an empty secret in Kubernetes + """ + try: + body = k8sClient.V1Secret() + body.type = "Opaque" + body.kind = "Secret" + body.metadata = k8sClient.V1ObjectMeta( + name=secret_name, + namespace=cluster_name, + labels={"MSSQL_CLUSTER": cluster_name}, + ) + k8sClient.CoreV1Api().create_namespaced_secret( + namespace=cluster_name, body=body + ) + except K8sApiException as e: + logger.error(e.body) + raise + + +def update_cluster_role(cluster_role_name, cluster_role_body): + """ + Update the cluster role. + """ + try: + k8sClient.RbacAuthorizationV1Api().patch_cluster_role( + name=cluster_role_name, body=cluster_role_body + ) + except K8sApiException as e: + if e.status == HTTPStatus.NOT_FOUND: + k8sClient.RbacAuthorizationV1Api().create_cluster_role( + body=cluster_role_body + ) + else: + raise + + +def delete_service_account(name, namespace): + try: + k8sClient.CoreV1Api().delete_namespaced_service_account( + name=name, namespace=namespace + ) + except K8sApiException as e: + if e.status == HTTPStatus.NOT_FOUND: + # already deleted + pass + else: + logger.error( + "Could not delete ServiceAccount %s in namespace %s. Please delete manually.", + name, namespace + ) + raise + + +def delete_cluster_role(cluster_role_name): + """ + Update the cluster role. + """ + try: + k8sClient.RbacAuthorizationV1Api().delete_cluster_role( + name=cluster_role_name + ) + except K8sApiException as e: + if e.status == HTTPStatus.NOT_FOUND: + # already deleted + pass + else: + logger.error( + "Could not delete ClusterRole %s. Please delete manually.", + cluster_role_name + ) + raise + + +def delete_cluster_role_binding(cluster_role_binding_name): + """ + delete the cluster role. + """ + try: + k8sClient.RbacAuthorizationV1Api().delete_cluster_role_binding( + name=cluster_role_binding_name + ) + except K8sApiException as e: + if e.status == HTTPStatus.NOT_FOUND: + # already deleted + pass + else: + logger.error( + "Could not delete ClusterRoleBinding %s. Please delete manually.", + cluster_role_binding_name + ) + raise + + +def update_cluster_role_binding( + cluster_role_binding_name, cluster_role_binding_body +): + """ + Update the cluster role binding. + """ + try: + k8sClient.RbacAuthorizationV1Api().patch_cluster_role_binding( + name=cluster_role_binding_name, body=cluster_role_binding_body + ) + except K8sApiException as e: + if e.status == HTTPStatus.NOT_FOUND: + k8sClient.RbacAuthorizationV1Api().create_cluster_role_binding( + body=cluster_role_binding_body + ) + else: + raise + + +def create_config_map(cluster_name, config_map_name, data): + """ + Creates an empty config map in Kubernetes + """ + try: + body = k8sClient.V1ConfigMap(data=data) + body.kind = "ConfigMap" + body.metadata = k8sClient.V1ObjectMeta( + name=config_map_name, + namespace=cluster_name, + labels={"MSSQL_CLUSTER": cluster_name}, + ) + k8sClient.CoreV1Api().create_namespaced_config_map( + namespace=cluster_name, body=body + ) + except K8sApiException as e: + logger.error(e.body) + raise + + +def get_config_map(cluster_name, config_map_name): + """ + Retrieve the requested config map + """ + try: + config_map = k8sClient.CoreV1Api().read_namespaced_config_map( + config_map_name, cluster_name + ) + + return config_map + + except k8sClient.rest.ApiException as e: + logger.error(e.body) + raise + + +def patch_config_map(cluster_name, config_map_name, patch): + """ + Patch the config map + """ + try: + k8sClient.CoreV1Api().patch_namespaced_config_map( + config_map_name, cluster_name, patch + ) + except K8sApiException as e: + logger.error(e.body) + raise + + +def create_secret(cluster_name, secret_config): + """ + Creates a secret in Kubernetes + """ + + try: + body = yaml.safe_load(secret_config) + k8sClient.CoreV1Api().create_namespaced_secret( + namespace=cluster_name, body=body + ) + except K8sApiException as e: + logger.error(e.body) + raise + + +def service_account_exists(cluster_name, service_account_name): + """ + Returns true if service account exists in the namespace + """ + + try: + service_account = k8sClient.CoreV1Api().read_namespaced_service_account( + service_account_name, cluster_name + ) + return service_account_name == service_account.metadata.name + except K8sApiException as e: + logger.debug(e.body) + return False + + +def update_service_account(namespace, name, service_account_body): + """ + Create or update the service account + :param namespace: the namespace of the cluster to create the service account + :param name: the name of the service account + :service_account_body: yaml definition of the service account + """ + try: + k8sClient.CoreV1Api().patch_namespaced_service_account( + namespace=namespace, name=name, body=service_account_body + ) + except K8sApiException as e: + if e.status == HTTPStatus.NOT_FOUND: + k8sClient.CoreV1Api().create_namespaced_service_account( + namespace=namespace, body=service_account_body + ) + else: + raise + + +def namespaced_role_exists(cluster_name, role_name): + """ + Returns true if role exists in the namespace + """ + + try: + role = k8sClient.RbacAuthorizationV1Api().read_namespaced_role( + role_name, cluster_name + ) + return role_name == role.metadata.name + except K8sApiException as e: + logger.debug(e.body) + return False + + +def namespaced_role_binding_exists(cluster_name, role_binding_name): + """ + Returns true if role binding exists in the namespace + """ + + try: + role_binding = ( + k8sClient.RbacAuthorizationV1Api().read_namespaced_role_binding( + role_binding_name, cluster_name + ) + ) + return role_binding_name == role_binding.metadata.name + except K8sApiException as e: + logger.debug(e.body) + return False + + +def update_namespaced_role(namespace, role_name, role_body): + """ + Update the namespaced role. + """ + + try: + k8sClient.RbacAuthorizationV1Api().patch_namespaced_role( + name=role_name, namespace=namespace, body=role_body + ) + except K8sApiException as e: + if e.status == HTTPStatus.NOT_FOUND: + k8sClient.RbacAuthorizationV1Api().create_namespaced_role( + namespace=namespace, body=role_body + ) + else: + raise + + +def cluster_role_exists(role_name): + """ + Returns true if cluster role exists + """ + + try: + role = k8sClient.RbacAuthorizationV1Api().read_cluster_role(role_name) + return role_name == role.metadata.name + except K8sApiException as e: + logger.debug(e.body) + return False + + +def cluster_role_binding_exists(role_binding_name): + """ + Returns true if cluster role binding exists + """ + + try: + role_binding = ( + k8sClient.RbacAuthorizationV1Api().read_cluster_role_binding( + role_binding_name + ) + ) + return role_binding_name == role_binding.metadata.name + except K8sApiException as e: + logger.debug(e.body) + return False + + +def is_instance_ready(cr): + """ + Verify that the custom resource instance is ready + :param cr: Instance to check the readiness of + :return: True if the instance is ready, False otherwise + """ + return cr.metadata.generation == cr.status.observed_generation and ( + cr.status.state is not None and cr.status.state.lower() == "ready" + ) + + +def create_namespace_with_retry( + namespace: str, cluster_label_key: str = None, annotations: dict = None +): + """ + Create kubernetes namespace + """ + + CONNECTION_RETRY_ATTEMPTS = 12 + RETRY_INTERVAL = 5 + + validate_namespace(namespace) + + # Create namespace if it doesn't already exit + # + if not retry( + namespace_exists, + namespace, + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="check if namespace exists", + retry_on_exceptions=(NewConnectionError, MaxRetryError), + ): + labels = {cluster_label_key: namespace} if cluster_label_key else {} + + retry( + create_namespace, + namespace, + labels, + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="create namespace", + retry_on_exceptions=(NewConnectionError, MaxRetryError), + ) + + # Populate namespace required annotations + # + if retry( + namespace_is_empty, + namespace, + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="check if namespace is empty", + retry_on_exceptions=(NewConnectionError, MaxRetryError), + ): + namespace_response = k8sClient.CoreV1Api().read_namespace(namespace) + + if cluster_label_key: + if ( + namespace_response.metadata.labels is None + or cluster_label_key not in namespace_response.metadata.labels + ): + display( + 'NOTE: Namespace "%s" is already created and will ' + 'not be labeled with "%s" Kubernetes label.' + % (namespace, cluster_label_key) + ) + display( + "This is an informational message only, no user " + "action is required." + ) + display("") + + if annotations: + body = k8sClient.V1Namespace() + body.metadata = k8sClient.V1ObjectMeta(annotations=annotations) + + retry( + lambda: patch_namespace(namespace, body), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="patch namespace", + retry_on_exceptions=(NewConnectionError, MaxRetryError), + ) + else: + raise RuntimeError( + "Cluster creation not initiated because the existing " + "namespace %s " + 'is not empty. Run "kubectl get all -n %s "' + " to see the existing objects in the namespace" + % (namespace, namespace) + ) + + +def validate_rwx_storage_class(name: str, storage_type: str, instance_type: str): + try: + config.load_incluster_config() + except ConfigException: + config.load_kube_config() + storageClass = None + for s in k8sClient.StorageV1Api().list_storage_class().items: + if s.metadata.name == name: + storageClass = s + + if storageClass is None: + raise ValueError("Storage class '{}' does not exist".format(name)) + # A generic expression to match storage from list + # https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes and usage examples. + # + # example references for storage class names: + # csi-filestore ( + # https://github.com/kubernetes-sigs/gcp-filestore-csi-driver/blob/master/examples/kubernetes/demo-sc.yaml) + # efs-sc (https://docs.aws.amazon.com/eks/latest/userguide/efs-csi.html, + # https://docs.aws.amazon.com/eks/latest/userguide/efs-csi.html) + # quobyte-csi (https://github.com/quobyte/quobyte-csi/blob/master/example/StorageClass.yaml) + # <-- Should update this one in the list from 'quobyte'. + # px-shared-sc ( + # https://github.com/portworx/helm/blob/master/charts/portworx/templates/portworx-storageclasses.yaml + # and many other places for 'portworx'.) + # csi-rbd-sc - (https://docs.ceph.com/en/latest/rbd/rbd-kubernetes/ ) for'ceph'. + # glusterfs - ( + # https://docs.openshift.com/container-platform/3.11/install_config/ + # persistent_storage/persistent_storage_glusterfs.html) + # + # example references for volume provisoner names: + # vsphere - ( + # https://docs.openshift.com/container-platform/3.11/install_config/ + # persistent_storage/persistent_storage_vsphere.html) + # portworx - ( + # https://docs.portworx.com/portworx-install-with-kubernetes/ + # storage-operations/kubernetes-storage-101/volumes/) + # nfs - (https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner), + # quobyte - (https://www.quobyte.com/kubernetes-storage/connect-k8s-storage-classes-with-quobyte-policy-engine), + # gluster - ( + # https://docs.openshift.com/container-platform/3.11/install_config/ + # storage_examples/gluster_dynamic_example.html) + # ceph - (https://docs.ceph.com/en/latest/rbd/rbd-kubernetes/) + if ( + re.match( + r".*(csi-filestore|efs-sc|quobyte-csi|px-shared-sc|csi-rbd-sc|azurefile|" + r"azurefile-csi|azurefile-csi-premium|azurefile-premium|nfs).*", + storageClass.metadata.name, + ) + ) is None: + if ( + storageClass.provisioner is None + or storageClass.provisioner == "kubernetes.io/no-provisioner" + ): + raise RuntimeError( + "Storage class '{}' doesn't have a dynamic provisioner configured.".format( + name + ) + ) + else: + # ToDo: update the list based on validation with dynamic provisioners + if ( + re.match( + r".*(nfs|glusterfs|azure-file|file.csi.azure|ceph|quobyte|postworx|vsphere).*", + storageClass.provisioner, + ) + ) is None: + logger.warning( + "%s creation will fail if the storage class specified for the '%s' volume does not support the " + "ReadWriteMany (RWX) access mode. Please check if the %s storage class supports ReadWriteMany " + "(RWX) access mode. " + "Please see https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes", + instance_type, + storage_type, + storage_type + ) diff --git a/src/arcdata/arcdata/azext_arcdata/core/labels.py b/src/arcdata/arcdata/azext_arcdata/core/labels.py new file mode 100644 index 00000000000..728a8986e68 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/labels.py @@ -0,0 +1,29 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +__all__ = ["parse_labels"] + + +def parse_labels(label_str): + labels = dict() + labels_split = label_str.split(",") + + for label_raw in labels_split: + label_kv = label_raw.split(":") + + if len(label_kv) != 2: + raise ValueError( + "Labels must be of form 'key1: value1, key2: " "value2,...'" + ) + + label_key, label_value = label_kv + + if label_key in labels.keys(): + raise ValueError("Duplicate label key {}".format(label_key)) + + labels[label_key.strip()] = label_value.strip() + + return labels diff --git a/src/arcdata/arcdata/azext_arcdata/core/layout.py b/src/arcdata/arcdata/azext_arcdata/core/layout.py new file mode 100644 index 00000000000..2eb9edb031d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/layout.py @@ -0,0 +1,442 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from six import add_metaclass +from abc import ABCMeta, abstractmethod +from tabulate import tabulate +from collections import OrderedDict +import string +import os + +__all__ = ["BoxLayout"] + + +@add_metaclass(ABCMeta) +class BaseLayout(object): + def __init__(self): + pass + + @abstractmethod + def render(self): + pass + + +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # + + +class BoxLayout(BaseLayout): + def __init__(self, data, config=None, bdc_config=False): + """ + BoxLayout stacks its components on top of each other. You might think of + it as a version of FlowLayout in ascii format. + + :param data: Hierarchical `dict` of structured well defined data. + :param config: (optional) configuration `dict` used to provide simple + header layout customization and the ability to highlight + specific string tokens in the outout. This can takes the + following format: + ``` + { + 'headers': { + 'left': {'label': '', 'id': 'state'}, + 'right': { + 'label': 'Health Status: ', + 'id': 'healthStatus' + } + }, + 'identifiers': [ + { + 'id': 'healthStatus', + 'name': 'healthy', + 'style': 'green' + }, + { + 'id': 'healthStatus', + 'name': 'unhealthy', + 'style': 'red', + 'undesirable': True + } + ] + } + ``` + :param bdc_config: Bool, indicating a specialized box layout for the + BDC config instead of status. + """ + super(BoxLayout, self).__init__() + self._bdc_config = bdc_config + self._data = data + self._rendered_data = OrderedDict() + self._config = ( + config + if config + else {"headers": {"right": {}, "left": {}}, "identifiers": []} + ) + + @property + def rendered_data(self): + """ + Gets the hierarchical data representation used to render the layout as + an `OrderedDict`. If `render` has not been invoked, an empty `dict` is + returned. + """ + return self._rendered_data + + def has_children(self): + for key, value in self._data.items(): + if isinstance(value, list) and len(value) > 0: + return True + return False + + def render(self): + if not self.has_children(): + import json + + return "{}\n".format(json.dumps(self._data, indent=4)) + + headers = self._config["headers"] + identifiers = self._config["identifiers"] + + for key, value in self._stack_boxes().items(): + depth = value["depth"] + if not value["parent"]: + br() + left = value["name"].capitalize() + if "state" in value["identifiers"]: + left = left + ":" + value["identifiers"]["state"] + right = headers["right"]["label"] + value["identifiers"].get( + headers["right"].get("id"), "" + ) + header( + title={"left": left, "right": right}, + identifiers=identifiers, + ) + else: + left = value["name"].capitalize() + right = "" + if "identifiers" in value: + if left != value["parent"].capitalize(): + left = left + " " + value["parent"].capitalize() + if "state" in value["identifiers"]: + left = left + ":" + value["identifiers"]["state"] + right = headers["right"]["label"] + value[ + "identifiers" + ].get(headers["right"].get("id"), "") + + if not self._bdc_config or ( + ("serviceName" not in value["columns"]) + and ("resourceName" not in value["columns"]) + and ("instanceName" not in value["columns"]) + ): + Box( + { + "depth": depth, + "header": {"left": left, "right": right}, + "content": { + "subject": value["columns"], + "body": value["rows"], + }, + "identifiers": identifiers, + } + ).render() + br() + # Special case for listing the service header when it has no settings + # TODO: revisit logic here and remove special case + elif len(left.split()) > 1 and "settings" not in left.lower(): + Box( + { + "depth": depth, + "header": {"left": left, "right": right}, + "content": {"subject": [], "body": []}, + "identifiers": identifiers, + } + ).render() + br() + return "" + + def _stack_boxes(self): + def stack(data, boxes, parent="", name="", trail="", identifiers=None): + empty_slot = "-" + for key, value in data.items(): + # assume name is first XYXName + if isinstance(key, str) and "Name" in key: + name = value + + if not parent and not trail: + trail = name + boxes[trail] = OrderedDict( + [ + ("name", name), + ("parent", parent), + ("identifiers", OrderedDict()), + ("depth", len(trail.split(".")) - 1), + ("columns", list(data.keys())[:-1]), + ("rows", [[]]), + ] + ) + if isinstance(value, dict): + # lookahead for list if no list, stop + contains_list = False + rows = [] + for d_k, d_v in value.items(): + rows.append([d_k, d_v if d_v else empty_slot]) + if isinstance(d_v, list): + contains_list = True + if contains_list: + stack(value, boxes, parent, name, trail, identifiers) + else: + # -- generic box structure -- + t = trail + "." + key + boxes[t] = OrderedDict( + [ + ("name", key), + ("parent", parent), + ("depth", len(t.split(".")) - 1), + ("columns", ["name", "url"]), + ("rows", rows), + ] + ) + + elif isinstance(value, list): + new_empty_box = False + for box_item in value: + if not new_empty_box: + new_empty_box = True + + trail = ( + name + ":" + trail + "." + key + if parent + else name + ":" + key + ) + + # -- generic box structure -- + boxes[trail] = OrderedDict( + [ + ("name", name if parent else key), + ("parent", parent if parent else key), + ("identifiers", OrderedDict()), + ("depth", len(trail.split(".")) - 1), + ("columns", list(box_item.keys())[:-1]), + ("rows", []), + ] + ) + parent = key + + # -- seed new empty row slot to row context of box -- + box = boxes[trail] + rows = box["rows"] + rows.append([]) + box["rows"] = rows + boxes[trail] = box + stack(box_item, boxes, parent, name, trail, identifiers) + else: + # -- add column value to current row context of box -- + if trail in boxes: + box = boxes[trail] + + # To remain generic use use identifier keys to stash any + # context values by the identifying key(s) + if identifiers: + for identify in identifiers: + if identify["id"] == key: + content = box["identifiers"] + + # if `undesirable` is set then the entire + # list is tainted and parent identifiers + # should be notified in order to style + # correctly. For example, assume a calling + # client had a config with the following: + # + # ``` + # 'identifiers': [ + # { 'id': 'healthStatus', + # 'name': 'healthy', + # 'style': 'green' + # }, + # { 'id': 'healthStatus', + # 'name': 'unhealthy', + # 'style': 'red', + # 'undesirable': True + # } + # } + # ``` + # Since the identifier name `unhealthy` was + # configured with `undesirable=True` and the + # value 'unhealthy' was found then the + # entire set is taineted and should be + # styled with the color `red`. + # + # @NOTE: This should be simplified + previous = content.get(key, "") + keep_previous = False + for i in identifiers: + if " " + i[ + "name" + ] + " " == previous and i.get( + "undesirable" + ): + keep_previous = True + if not keep_previous: + content[key] = " " + value + " " + box["identifiers"] = content + break + + if key in box["columns"]: + rows = box["rows"] + # current row context is the last row + last_row = rows[-1] + + # add column value to current row context + last_row.append( + value if value is not None else empty_slot + ) + # persist row changes back to the current context + rows[-1] = last_row + box["rows"] = rows + boxes[trail] = box + + stacked_boxes = OrderedDict() + stack( + self._data, stacked_boxes, identifiers=self._config["identifiers"] + ) + + self._rendered_data = stacked_boxes + + return self._rendered_data + + def __repr__(self): + return self.render() + + +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # + + +class Box(object): + def __init__(self, data): + self._data = data + self._identifiers = ( + data.get("identifiers", []) if "identifiers" in data else [] + ) + + def render(self): + data = self._data + identifiers = self._identifiers + + # -- Render header -- + header( + title=data["header"], + char="-", + depth=data["depth"], + identifiers=identifiers, + ) + + # -- Render table content -- + content = data["content"] + columns = [string.capwords(s) + "\n" for s in content["subject"]] + + rows = content["body"] + for row in tabulate(rows, columns, "plain").split("\n"): + badge(row, depth=data["depth"], end="\n", identifiers=identifiers) + + +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # + + +def print_formatted_text(text, end="\n"): + from prompt_toolkit import print_formatted_text as pft + + try: + pft(text, end=end) + except Exception: + print(text, end=end) + + +def br(): + print("\n") + + +def indention(depth): + margin = 3 + offset = margin * depth + return 1 if offset <= margin else offset + + +def badge(text, depth=0, end="", identifiers=None): + def background(label, color): + from prompt_toolkit import print_formatted_text as pft, ANSI + + try: + style = {"green": 102, "red": 101}[color] + pft( + ANSI( + "\x1b[97;{style}m{label}".format(style=style, label=label) + ), + end="", + ) + except Exception: + # shim fall back for cygwin/git-bash/ect... + from colorama import init, Back + + init(strip=False) + style = {"green": Back.GREEN, "red": Back.RED}[color] + print("{}{}".format(style, label) + Back.RESET, end="") + + margin_left = "".ljust(indention(depth)) + + if identifiers: + for identifier in identifiers: + tokens = text.split(" " + identifier["name"] + " ") + if len(tokens) == 2: + print_formatted_text(margin_left + tokens[0] + " ", end="") + background(identifier["name"], identifier["style"]) + print_formatted_text(" " + tokens[1], end=end) + return + + print_formatted_text(margin_left + text, end=end) + + +def div(char="-", depth=0): + margin_left = indention(depth) + margin_right = 1 + width = terminal_width() - margin_right + + length = width - margin_left + divider = ["".ljust(margin_left), (char * length)[:length]] + print_formatted_text("") # newline + print_formatted_text("".join(divider)) + + +def header(title, char="=", depth=0, identifiers=None): + title_left = title.get("left", "") + title_right = title.get("right", "") + + # Render Title Left + margin_left = indention(depth) + left = "".join(["".ljust(margin_left), title_left]) + print_formatted_text(left, end="") + + # Render Title Right + if title_right: + margin_right = 1 + length = terminal_width() - margin_right - len(left) - len(title_right) + right = ["".ljust(length - (0 if margin_left <= 1 else 5)), title_right] + badge("".join(right), depth=depth, end="", identifiers=identifiers) + + div(char=char, depth=depth) + + +def terminal_width(): + try: + width = os.get_terminal_size().columns + except OSError: + width = 79 # can not calculate terminal width, default to 80 chars + + return width diff --git a/src/arcdata/arcdata/azext_arcdata/core/output.py b/src/arcdata/arcdata/azext_arcdata/core/output.py new file mode 100644 index 00000000000..459c4fe202f --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/output.py @@ -0,0 +1,205 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.core.util import singleton +from knack.util import CommandResultItem +from io import TextIOWrapper +from collections import OrderedDict + +import sys + +__all__ = ["OutputStream", "IOBuffer"] + +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # + + +@singleton +class OutputStream(object): + __ORIGINAL_STDOUT__ = sys.stdout + """ + Placeholder for the original system stdout. + """ + + __ORIGINAL_STDERR__ = sys.stderr + """ + Placeholder for the original system stderr. + """ + + terminator = "\n" + + def __init__(self): + self.repurpose() + + @property + def stdout(self): + return self._stdout + + @property + def stderr(self): + return self._stderr + + def repurpose(self): + # if OutputProducer.structured_output: + # sys.stdout = stdout = IOBuffer(BytesIO(), sys.stdout.encoding) + # sys.stderr = stderr = IOBuffer(BytesIO(), sys.stderr.encoding) + # else: + stdout = Stdout() + stderr = Stderr() + + self._stdout = stdout + self._stderr = stderr + + def flush(self): + # -- capture any buffered stdout -- + sys.stdout.seek(0) + stdout = sys.stdout.read().rstrip().split(self.terminator) + sys.stdout = self.__ORIGINAL_STDOUT__ + sys.stdout.flush() + self._stdout = [] if len(stdout) == 1 and stdout[0] == "" else stdout + + # -- capture any buffered stderr -- + sys.stderr.seek(0) + stderr = sys.stderr.read().rstrip().split(self.terminator) + sys.stderr = self.__ORIGINAL_STDERR__ + sys.stderr.flush() + self._stderr = [] if len(stderr) == 1 and stderr[0] == "" else stderr + + return self._stdout, self._stderr + + +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # + + +class IOBuffer(TextIOWrapper): + terminator = "\n" + + def write(self, obj): + """ + Write string to stream. + :param obj: The item written to the stream as a string. + :return: Returns the number of characters written (which is always + equal to the length of the string). + """ + from knack.output import format_table, format_json + + try: + if isinstance(obj, list): + obj = format_table(CommandResultItem(obj, is_query_active=True)) + elif isinstance(obj, dict) or isinstance(obj, OrderedDict): + obj = format_json(CommandResultItem(obj, is_query_active=True)) + else: # primitives + obj = str(obj).rstrip() + + if obj: + return super(IOBuffer, self).write(obj + self.terminator) + except TypeError: + # redirect encoded byte strings directly to buffer + return super(IOBuffer, self).buffer.write(obj) + + +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # + + +class StdIO(str): + """ + StdIO represents the base IOSink for `stdout` and `stderr`. It provides a + blocking IOSink so using this to write will block until the output is + written. + """ + + terminator = "\n" + + def __new__(cls, io=sys.stdout, color=None): + obj = super(StdIO, cls).__new__(cls) + obj.io = io + obj.color = color + return obj + + @property + def lines(self): + return self.split(self.terminator) + + @property + def qlines(self): + return [line.split() for line in self.split(self.terminator)] + + def write(self, obj, color=None, end="\n"): + """ + A display stdout or stderro print hook equipped with a unicode + fallback hook. + + Pseudo code originating from: + https://docs.python.org/3/library/sys.html#sys.displayhook + + :param obj: The text string to write to stdout or stderr. + :param color: Optional text color. + :param end: Include an ending newline to stdout or stderr. + """ + import colorama + from knack.output import format_json, format_table + + def color_output(msg, c): + enable_color = False + try: + # Color if tty stream available + enable_color = (self.color or c) and sys.stdin.isatty() + except AttributeError: + pass + + if enable_color: + try: + c = c or self.color + msg = "{}{}{}".format(c, obj, colorama.Style.RESET_ALL) + except KeyError: + pass + + return msg + + try: + if isinstance(obj, list): + obj = format_table(CommandResultItem(obj, is_query_active=True)) + elif isinstance(obj, dict) or isinstance(obj, OrderedDict): + obj = format_json(CommandResultItem(obj, is_query_active=True)) + else: # primitives + obj = str(obj) + + self.io.write(color_output(obj, color)) + except ValueError: + # -- pytest -- + sys.stdout.write(obj) + if end: + sys.stdout.write(end) + return + except UnicodeEncodeError: + # Fallback shim to ascii with replace with backslashed escape + # sequences + bytes_string = obj.encode(self.io.encoding, "backslashreplace") + if hasattr(self.io, "buffer"): + self.io.buffer.write(bytes_string) + else: + self.io.write(bytes_string.decode(self.io.encoding, "strict")) + if end: + self.io.write(end) + + self.io.flush() + + +class Stdout(StdIO): + def __new__(cls): + return super(Stdout, cls).__new__(cls, io=sys.stdout) + + +class Stderr(StdIO): + def __new__(cls): + from colorama import Fore + + return super(Stderr, cls).__new__(cls, io=sys.stderr, color=Fore.RED) diff --git a/src/arcdata/arcdata/azext_arcdata/core/prompt.py b/src/arcdata/arcdata/azext_arcdata/core/prompt.py new file mode 100644 index 00000000000..1f88ae5d7a6 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/prompt.py @@ -0,0 +1,92 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from knack.log import get_logger + +logger = get_logger(__name__) + + +def interactive(func): + """ + Decorator to wrap all promptable functions below + :param func: + :return: + """ + + def function_wrapper(*args, **kwargs): + # if os.get("AZURE_DISABLE_CONFIRM_PROMPT"): + # raise NoTTYException + return func(*args, **kwargs) + + return function_wrapper + + +@interactive +def prompt_y_n(msg): + """ + Prompts [y/n] to the user with the given message. + """ + from knack.prompting import prompt_y_n + + return prompt_y_n(msg) + + +@interactive +def prompt(msg): + """ + Basic prompt to the user with the given message. + """ + from knack.prompting import prompt + + return prompt(msg) + + +@interactive +def prompt_assert(msg): + """ + Prompts to the user with the given message and forces them to enter it. + """ + from knack.prompting import prompt + + while True: + result = prompt(msg) + if result: + return result + + +@interactive +def prompt_pass(msg, confirm=False, allow_empty=True): + """ + Prompts to the user with the given message and masks the input. + """ + from knack.prompting import prompt_pass + + while True: + password = prompt_pass(msg, confirm) + if password or allow_empty: + return password + logger.warn("Password must not be empty.") + + +@interactive +def prompt_for_input(question, default=None, padding=True, strip=True): + """ + More complex prompt to the user with default value and ability to control + white space. + """ + from humanfriendly.prompts import prompt_for_input + + return prompt_for_input(question, default, padding, strip) + + +@interactive +def prompt_for_choice(choices, default=None, padding=True): + """ + Gives the user choices in a prompt. + """ + from humanfriendly.prompts import prompt_for_choice + + return prompt_for_choice(choices, default, padding) diff --git a/src/arcdata/arcdata/azext_arcdata/core/serialization.py b/src/arcdata/arcdata/azext_arcdata/core/serialization.py new file mode 100644 index 00000000000..0e6bd76aff2 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/serialization.py @@ -0,0 +1,176 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +import pydash as _ +import re +from typing import List + +__all__ = ["Sanitizer"] + + +class SanitizerRule: + def __init__( + self, property_path_pattern="", filter=lambda property_path, value: None + ): + self._property_path_pattern = property_path_pattern + self._filter = filter + self._regex = re.compile(self._property_path_pattern) + + def is_property_match(self, property_path): + return self._regex.search(property_path) + + def sanitize_value(self, property_path, value): + if self.is_property_match(property_path): + return self._filter(property_path, value) + else: + return value + + +class Sanitizer(object): + """ + Object sanitizer allowing for properties to be excluded based on + configurable filters + """ + + def __init__(self, filters: List[SanitizerRule] = [], *args, **kwargs): + """ + Initializer with additional parameters for managing serialized content + + Keyword Arguments: + filters list(SanitizerRule) -- array of funcs that are called with + the property path/value must return true to include in the + sanitized output, or false to remove. + """ + super().__init__(*args, **kwargs) + self._serializedInstances = [] + self._filters = filters + + def sanitize_value(self, property_path, property_value): + for f in self._filters: + try: + return f.sanitize_value(property_path, property_value) + except Exception: + raise ValueError( + "Unable to sanitize property {0} failed to " + "call filter.".format(property_path) + ) + + return property_value + + def _array_sanitizer_aggregator(self, path, value, aggregator): + aggregator.append(self.sanitize(value, path)) + return aggregator + + def sanitize(self, obj, path=""): + """ + Sanitizes the given object and returns a new dict with properties that + are allowed to be serialized. + """ + if obj is None: + return None + + if isinstance(obj, list): + result = _.reduce_( + obj, + lambda agg, value: self._array_sanitizer_aggregator( + path, value, agg + ), + [], + ) + return result + + obj = _.get(obj, "__dict__", obj) + + if isinstance(obj, dict): + # if the object is a dict, we need to pass each property to each + # filter to determine if it should be serialized or not. And return + # the resulting dictionary + result = {} + for key in _.keys(obj): + result[key] = self.sanitize(obj[key], ".".join([path, key])) + + return result + else: + # if the object is not a dict by this point, it is going to be a + # simple type, so we can just return it. + return self.sanitize_value(path, obj) + + @staticmethod + def sanitize_object(obj, filters: List[SanitizerRule] = []): + """ + Convenience method allowing for an object and filters to be passed in. + The results will be the sanitized object + """ + sanitizer = Sanitizer(filters) + return sanitizer.sanitize(obj) + + @staticmethod + def replace_if_string( + text, + pattern, + repl, + ignore_case=False, + count=0, + escape=True, + from_start=False, + from_end=False, + ): + """ + Convenience method Replace occurrences of `pattern` with `repl` in ` + text` without the need to check for str type. Optionally, ignore case + when replacing. Optionally, set `count` to limit number of replacements. + + Args: + text (str): String to replace. + pattern (str): String pattern to find and replace. (this can be a + regex pattern) + repl (str): String to substitute `pattern` with. + ignore_clase (bool, optional): Whether to ignore case when + replacing. Defaults to ``False``. + count (int, optional): Maximum number of occurrences to replace. + Defaults to ``0`` which replaces all. + escape (bool, optional): Whether to escape `pattern` when searching. + This is needed if a literal replacement is desired when pattern + may contain special regular expression characters. Defaults to + ``True``. + from_start (bool, optional): Whether to limit replacement to start + of string. + from_end (bool, optional): Whether to limit replacement to end of + string. + + Returns: + str: Replaced string. + + Remarks: + If the value of text is not a string value, the value will be + returned unmodified. + + Example: + + >>> replace('aabbcc', 'b', 'X') + 'aaXXcc' + >>> replace('aabbcc', 'B', 'X', ignore_case=True) + 'aaXXcc' + >>> replace('aabbcc', 'b', 'X', count=1) + 'aaXbcc' + >>> replace('aabbcc', '[ab]', 'X') + 'aabbcc' + >>> replace('aabbcc', '[ab]', 'X', escape=False) + 'XXXXcc' + """ + if isinstance(text, str): + return _.replace( + text, + pattern, + repl, + ignore_case, + count, + escape, + from_start, + from_end, + ) + + return text diff --git a/src/arcdata/arcdata/azext_arcdata/core/services.py b/src/arcdata/arcdata/azext_arcdata/core/services.py new file mode 100644 index 00000000000..77b2e9c47da --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/services.py @@ -0,0 +1,1307 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +""" +Service interface to all data-sources: +- Cloud uses ARM apis +- Kubernetes-native apis +""" + +from azext_arcdata.core.output import OutputStream +from azext_arcdata.core.util import DeploymentConfigUtil +from azure.cli.core._profile import Profile +from abc import ABCMeta, abstractmethod +from knack.log import get_logger +from six import add_metaclass + +import os + +__all__ = ["beget_service"] + +logger = get_logger(__name__) + + +def beget_service(az_cli): + """ + The factory function used to handel common `service proxies` to the + different data sources for direct and indirect mode. + + commands's command group. + :return: A named tuple with dot notation to the service groups. + """ + + command = az_cli.data.get("command") + use_k8s = az_cli.data.get("arcdata_command_args").get("use_k8s", "noopt") + + # -- assemble base command group for runtime factory type -- + dispatch = " ".join(command.split(" ")[0:2]) + if use_k8s: + dispatch += " noopt" if use_k8s == "noopt" else " --use-k8s" + + logger.debug("Service dispatch key: '%s'", dispatch) + + service = { + "arcdata dc": ArmDataControllerServiceProxy, + "arcdata dc --use-k8s": KubernetesDataControllerServiceProxy, + "arcdata dc noopt": NoOptDataControllerServiceProxy, + "arcdata ad-connector": ArmActiveDirectoryConnectorServiceProxy, + "arcdata ad-connector --use-k8s": KubernetesActiveDirectoryConnectorServiceProxy, + "arcdata resource-kind noopt": KubernetesDataControllerServiceProxy, + "sql mi-arc": ArmManagedInstanceServiceProxy, + "sql mi-arc --use-k8s": KubernetesManagedInstanceServiceProxy, + "sql midb-arc": ArmManagedInstanceServiceProxy, + "sql midb-arc --use-k8s": KubernetesManagedInstanceServiceProxy, + "postgres server-arc": ArmPostgresServiceProxy, + "postgres server-arc --use-k8s": KubernetesPostgresServiceProxy, + "sql db-arc noopt": ArmDbArcServiceProxy, + "sql server-arc noopt": ArmDbArcServiceProxy, + "sql instance-failover-group-arc --use-k8s": KubernetesFailoverGroupServiceProxy, + "sql instance-failover-group-arc": ArmFailoverGroupServiceProxy, + }.get(dispatch)(az_cli) + + logger.debug("Runtime mode [--use-k8s]: %s", use_k8s) + logger.debug("Service proxy type: %s", type(service).__name__) + logger.debug("Public service handle name: %s", service.name) + + return service + + +# ============================================================================ # +# ============================================================================ # +# ============================================================================ # + + +@add_metaclass(ABCMeta) +class BaseServiceProxy(object): + def __init__(self, name): + self._name = name + + @property + def name(self): + return self._name + + @property + def stdout(self): + return OutputStream().stdout.write + + @property + def stderr(self): + return OutputStream().stderr.write + + @staticmethod + def get_crd_dict(): + import azext_arcdata.vendored_sdks.kubernetes_sdk.dc.constants as dc_constants + + return { + "PostgreSql": dc_constants.POSTGRES_CRD_NAME, + "PostgreSqlRestoreTask": dc_constants.POSTGRESQL_RESTORE_TASK_CRD_NAME, + "SqlManagedInstance": dc_constants.SQLMI_CRD_NAME, + "SqlManagedInstanceRestoreTask": dc_constants.SQLMI_RESTORE_TASK_CRD_NAME, + "SqlManagedInstanceReprovisionReplicaTask": dc_constants.SQLMI_REPROVISION_REPLICA_TASK_CRD_NAME, + "ExportTask": dc_constants.EXPORT_TASK_CRD_NAME, + "FailoverGroup": dc_constants.FOG_CRD_NAME, + "ActiveDirectoryConnector": dc_constants.ACTIVE_DIRECTORY_CONNECTOR_CRD_NAME, + "Monitor": dc_constants.MONITOR_CRD_NAME, + "TelemetryCollector": dc_constants.TELEMETRY_COLLECTOR_CRD_NAME, + "DataController": dc_constants.DATA_CONTROLLER_CRD_NAME, + } + + @staticmethod + def get_spec_file_dict(): + import azext_arcdata.vendored_sdks.kubernetes_sdk.dc.constants as dc_constants + + return { + "PostgreSql": dc_constants.POSTGRES_SPEC, + "PostgreSqlRestoreTask": dc_constants.POSTGRESQL_RESTORE_TASK_SPEC, + "SqlManagedInstance": dc_constants.SQLMI_SPEC, + "SqlManagedInstanceRestoreTask": dc_constants.SQLMI_RESTORE_TASK_SPEC, + "SqlManagedInstanceReprovisionReplicaTask": dc_constants.SQLMI_REPROVISION_REPLICA_TASK_SPEC, + "ExportTask": dc_constants.EXPORT_TASK_SPEC, + "FailoverGroup": dc_constants.FOG_SPEC, + "ActiveDirectoryConnector": dc_constants.AD_CONNECTOR_SPEC, + "Monitor": dc_constants.MONITOR_SPEC, + "DataController": dc_constants.DATA_CONTROLLER_SPEC, + } + + @staticmethod + def get_deployment_config_dir(): + from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.constants import CONFIG_DIR + + return CONFIG_DIR + + @staticmethod + def get_deployment_config_files(): + from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.constants import CONFIG_FILES + + return CONFIG_FILES + + @staticmethod + def list_configs(config_profile=None): + config_dir = BaseServiceProxy.get_deployment_config_dir() + configs = DeploymentConfigUtil.config_list(config_dir, config_profile) + return list(filter(lambda c: "test" not in c, configs)) # Filter test + + def __str__(self): + """ + Returns the base string representation of attributes. Sub-class should + override and implement. + """ + return "" + + def __repr__(self): + """For `print` and `pprint`. Sub-class should override and implement.""" + return self.__str__() + + +# ============================================================================ # +# ============================================================================ # +# ============================================================================ # + + +@add_metaclass(ABCMeta) +class BaseManagedInstanceServiceProxy(BaseServiceProxy): + def __init__(self): + super(BaseManagedInstanceServiceProxy, self).__init__("mi") + + @abstractmethod + def create(self): + pass + + @abstractmethod + def delete(self): + pass + + @abstractmethod + def update(self): + pass + + @abstractmethod + def list(self): + pass + + @abstractmethod + def restore(self): + pass + + +# ============================================================================ # +# ============================================================================ # +# ============================================================================ # + + +@add_metaclass(ABCMeta) +class BaseDataControllerServiceProxy(BaseServiceProxy): + def __init__(self): + super(BaseDataControllerServiceProxy, self).__init__("dc") + + @abstractmethod + def create(self, command_value_object: tuple): + pass + + @abstractmethod + def delete(self, command_value_object: tuple): + pass + + @abstractmethod + def upgrade(self, command_value_object: tuple): + pass + + @abstractmethod + def list_upgrades(self, command_value_object: tuple): + pass + + @abstractmethod + def get_status(self, command_value_object: tuple): + pass + + @abstractmethod + def get_config(self, command_value_object: tuple): + pass + + +# ============================================================================ # +# ============================================================================ # +# ============================================================================ # + + +@add_metaclass(ABCMeta) +class ArmMixin(object): + @staticmethod + def get_azure_credentials(az_cli): + from azure.common.credentials import get_cli_profile + + # Gets the azure subscription by attempting to gather it from: + # 1. global argument [--subscription] if provided + # 2. Otherwise active subscription in profile if available + # 3. Otherwise `None` + subscription = az_cli.data.get("subscription_id") + + if not subscription: + try: + profile = Profile(cli_ctx=az_cli.local_context.cli_ctx) + subscription = profile.get_subscription_id() + except Exception: # pylint:disable=broad-except + logger.debug("To not see this warning, first login to Azure.") + pass + else: + try: + profile = Profile(cli_ctx=az_cli.local_context.cli_ctx) + subscription = profile.get_subscription( + subscription=subscription + ).get("id") + except Exception: # pylint:disable=broad-except + logger.debug("To not see this warning, first login to Azure.") + + logger.debug("Using subscription: %s", subscription) + + (credentials, _, _) = get_cli_profile().get_login_credentials() + from azext_arcdata.core.identity import ArcDataCliCredential + + cred = ArcDataCliCredential(credentials) + return {"credentials": cred, "subscription": subscription} + + @staticmethod + def acquire_arm_client(az_cli): + from azext_arcdata.vendored_sdks.arm_sdk.client import ArmClient + + result = ArmMixin.get_azure_credentials(az_cli) + return ArmClient(result["credentials"], result["subscription"]) + + +# ============================================================================ # +# ============================================================================ # +# ============================================================================ # + + +@add_metaclass(ABCMeta) +class KubernetesMixin(object): + def __init__(self): + self.apply_context() + + @property + def namespace(self): + from azext_arcdata.core.prompt import prompt + from azext_arcdata.core.util import load_kube_config + + namespace = load_kube_config().get("namespace") + + if not namespace: + namespace = prompt("Kubernetes Namespace: ") + + logger.debug("Using Kubernetes namespace = {0}".format(namespace)) + + return namespace + + def apply_context(self): + from azext_arcdata.core.util import check_and_set_kubectl_context + + check_and_set_kubectl_context() + + +# ============================================================================ # +# ============================================================================ # +# ============================================================================ # + + +class ArmManagedInstanceServiceProxy(BaseManagedInstanceServiceProxy, ArmMixin): + def __init__(self, az_cli): + super(ArmManagedInstanceServiceProxy, self).__init__() + + def create(self, command_value_object: tuple): + pass + + def delete(self, command_value_object: tuple): + pass + + def update(self, command_value_object: tuple): + pass + + def list(self, command_value_object: tuple): + pass + + def restore(self, command_value_object: tuple): + pass + + +# ============================================================================ # +# ============================================================================ # +# ============================================================================ # + + +class ArmDataControllerServiceProxy(BaseDataControllerServiceProxy, ArmMixin): + def __init__(self, az_cli): + super(ArmDataControllerServiceProxy, self).__init__() + self._arm_client = self.acquire_arm_client(az_cli) + + def create(self, command_value_object: tuple): + polling = not command_value_object.no_wait + path = command_value_object.path + + if command_value_object.profile_name: + config_dir = self.get_deployment_config_dir() + path = os.path.join(config_dir, command_value_object.profile_name) + logger.debug("Using profile: %s", command_value_object.profile_name) + + if not os.path.exists(path): + raise NotADirectoryError(f"Profile not found:\n'{path}'") + + if command_value_object.cluster_name: + return self._arm_client.create_dc( + command_value_object.resource_group, + command_value_object.name, + command_value_object.custom_location, + command_value_object.connectivity_mode, + command_value_object.cluster_name, + command_value_object.namespace, + path, + storage_class=command_value_object.storage_class, + infrastructure=command_value_object.infrastructure, + image_tag=command_value_object.image_tag, + auto_upload_metrics=command_value_object.auto_upload_metrics, + auto_upload_logs=command_value_object.auto_upload_logs, + polling=polling, + least_privilege=command_value_object.least_privilege, + ) + else: + return self._arm_client.__create_depreciated_dc__( + command_value_object.resource_group, + command_value_object.name, + command_value_object.location, + command_value_object.custom_location, + command_value_object.connectivity_mode, + path=path, + storage_class=command_value_object.storage_class, + infrastructure=command_value_object.infrastructure, + image_tag=command_value_object.image_tag, + auto_upload_metrics=command_value_object.auto_upload_metrics, + auto_upload_logs=command_value_object.auto_upload_logs, + polling=polling, + ) + + def update(self, command_value_object: tuple): + polling = not command_value_object.no_wait + return self._arm_client.update_dc( + command_value_object.resource_group, + command_value_object.name, + polling=polling, + auto_upload_logs=command_value_object.auto_upload_logs, + auto_upload_metrics=command_value_object.auto_upload_metrics, + desired_version=command_value_object.desired_version, + ) + + def delete(self, command_value_object: tuple): + polling = not command_value_object.no_wait + return self._arm_client.delete_dc( + command_value_object.resource_group, + command_value_object.name, + polling=polling, + ) + + def upgrade(self, command_value_object: tuple): + polling = not command_value_object.no_wait + return self._arm_client.upgrade_dc( + command_value_object.resource_group, + command_value_object.name, + command_value_object.target, + command_value_object.dry_run, + polling=polling, + ) + + def list_upgrades(self, command_value_object: tuple): + pass + + def get_status(self, command_value_object: tuple): + resource_group = command_value_object.resource_group + name = command_value_object.name + return ( + self._arm_client.list_dc(resource_group=resource_group) + if not name + else self._arm_client.get_dc(resource_group, name) + ) + + def get_config(self, command_value_object: tuple): + pass + + +# ============================================================================ # +# ============================================================================ # +# ============================================================================ # + + +@add_metaclass(ABCMeta) +class NoOptDataControllerServiceProxy(BaseServiceProxy, ArmMixin): + def __init__(self, az_cli): + super(NoOptDataControllerServiceProxy, self).__init__("dc") + self._az_cli = az_cli + + @staticmethod + def export_upload_log_and_metrics(command_value_object: tuple): + from azext_arcdata.vendored_sdks.arm_sdk.client import ArmClient + + # TODO: build credentials here rather than deep into this call stack + class NoOptCred(object): + def get_token(self): + class NoOptAccessToken(object): + token = "noopt" + + return NoOptAccessToken() + + subscription = "noopt" + arm_client = ArmClient(NoOptCred(), subscription) + + arm_client.export_upload_log_and_metrics_dc(command_value_object.path) + + def list(self, command_value_object: tuple): + # List is supported/relevant only for direct mode + return self.acquire_arm_client(self._az_cli).list_dc( + command_value_object.resource_group + ) + + +# ============================================================================ # +# ============================================================================ # +# ============================================================================ # + + +class KubernetesManagedInstanceServiceProxy( + BaseManagedInstanceServiceProxy, KubernetesMixin +): + def __init__(self, az_cli): + super(KubernetesManagedInstanceServiceProxy, self).__init__() + + def create(self, command_value_object: tuple): + pass + + def delete(self, command_value_object: tuple): + pass + + def update(self, command_value_object: tuple): + pass + + def list(self, command_value_object: tuple): + pass + + def restore(self, command_value_object: tuple): + pass + + +# ============================================================================ # +# ============================================================================ # +# ============================================================================ # + + +class KubernetesDataControllerServiceProxy( + BaseDataControllerServiceProxy, KubernetesMixin +): + def __init__(self, az_cli): + from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.client import DataControllerClient + + self._client = DataControllerClient(self.stdout, self.stderr) + + super(KubernetesDataControllerServiceProxy, self).__init__() + + def create(self, command_value_object: tuple): + cvo = command_value_object + config_profile = cvo.path or cvo.profile_name + + return self._client.create( + cvo.subscription, + cvo.namespace or self.namespace, + cvo.name, + cvo.resource_group, + cvo.location, + config_profile, + storage_class=cvo.storage_class, + infrastructure=cvo.infrastructure, + image_tag=cvo.image_tag, + labels=cvo.labels, + annotations=cvo.annotations, + service_annotations=cvo.service_annotations, + service_labels=cvo.service_labels, + storage_labels=cvo.storage_labels, + storage_annotations=cvo.storage_annotations, + logs_ui_public_key_file=cvo.logs_ui_public_key_file, + logs_ui_private_key_file=cvo.logs_ui_private_key_file, + metrics_ui_public_key_file=cvo.metrics_ui_public_key_file, + metrics_ui_private_key_file=cvo.metrics_ui_private_key_file, + ) + + def upgrade(self, command_value_object: tuple): + return self._client.upgrade( + namespace=command_value_object.namespace or self.namespace, + target=command_value_object.target, + dry_run=command_value_object.dry_run, + no_wait=command_value_object.no_wait, + ) + + def update(self, cvo: tuple): + """ + Proxy call to pass the update command to the appropriate client. + """ + return self._client.update( + namespace=cvo.namespace or self.namespace, + no_wait=cvo.no_wait, + desired_version=cvo.desired_version, + maintenance_start=cvo.maintenance_start, + maintenance_duration=cvo.maintenance_duration, + maintenance_recurrence=cvo.maintenance_recurrence, + maintenance_time_zone=cvo.maintenance_time_zone, + maintenance_enabled=cvo.maintenance_enabled, + ) + + def delete(self, command_value_object: tuple): + return self._client.delete( + command_value_object.name, + command_value_object.namespace or self.namespace, + force=command_value_object.force, + ) + + def list_upgrades(self, command_value_object: tuple): + namespace = command_value_object.namespace or self.namespace + current_version, versions = self._client.list_upgrades(namespace) + + return current_version, versions + + def list_endpoints(self, command_value_object: tuple): + return self._client.monitor_endpoint_list( + command_value_object.namespace or self.namespace, + command_value_object.endpoint_name, + ) + + def get_status(self, command_value_object: tuple): + return self._client.get_status( + command_value_object.namespace or self.namespace + ) + + def get_config(self, command_value_object: tuple): + namespace = command_value_object.namespace or self.namespace + return self._client.get_config(namespace) + + ############################################################################ + # non abstract / indirect only functions (below) + ############################################################################ + + def export(self, namespace, export_type, path): + self._client.export(namespace, export_type, path) + + def controldb_cdc( + self, + namespace, + enable=None, + retention_hours=None, + ): + """ + Enables or disables Change Data Capture for 'controller' Database and supported system tables - requires kube config + """ + from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.debug import controldb_cdc + + namespace = namespace or self.namespace + + controldb_cdc( + namespace, + enable, + retention_hours, + ) + + def copy_logs( + self, + namespace, + target_folder=None, + pod=None, + container=None, + resource_kind=None, + resource_name=None, + timeout=0, + skip_compress=False, + exclude_dumps=False, + exclude_arcdata_logs=False, + exclude_system_logs=False, + exclude_controldb=False, + exclude_cluster_info=False, + ): + """ + Copy Logs commands - requires kube config + """ + from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.debug import copy_debug_logs + + namespace = namespace or self.namespace + + copy_debug_logs( + namespace, + target_folder, + pod, + container, + resource_kind, + resource_name, + timeout, + skip_compress, + exclude_dumps, + exclude_arcdata_logs, + exclude_system_logs, + exclude_controldb, + exclude_cluster_info, + ) + + def restore_controldb_snapshot( + self, + namespace, + backup_file=None, + ): + """ + Restore ControlDB from Local Backup File - requires kube config + """ + from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.debug import ( + restore_unique_controldb_from_backup, + ) + + namespace = namespace or self.namespace + + restore_unique_controldb_from_backup( + namespace, + backup_file, + ) + + def capture_debug_dump( + self, namespace, container="controller", target_folder="./output/dump" + ): + """ + Trigger dump for given container and copy out the dump file to given + output folder + """ + # The following error is misleading. All the framework, + # functions, + # etc. to perform dump are in place and were working at the + # time I + # wrote this comment--except they are not adjusted to the new + # non-root + # world, where CAP_SYS_PTRACE needs to be enabled in order to + # get a + # core dump. So the shell script that gets called in the + # controller + # pod does nothing useful. + # + # Therefore, disabling the dump call until we can figure out + # how we want to handle this. -safeitle, 07/21/2021 + # + raise NotImplementedError( + "'az arcdata dc debug dump' currently not " + "implemented in this release. " + ) + + # -- Check Kubectl Context -- + from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.debug import take_dump + + namespace = namespace or self.namespace + take_dump(namespace, container, target_folder) + + +# ============================================================================ # +# ============================================================================ # +# ============================================================================ # + + +@add_metaclass(ABCMeta) +class BasePostgresServiceProxy(BaseServiceProxy): + def __init__(self): + super(BasePostgresServiceProxy, self).__init__("pg") + + +class ArmPostgresServiceProxy(BasePostgresServiceProxy): + def __init__(self, az_cli): + super(ArmPostgresServiceProxy, self).__init__() + + +class KubernetesPostgresServiceProxy(BasePostgresServiceProxy, KubernetesMixin): + def __init__(self, az_cli): + from azext_arcdata.vendored_sdks.kubernetes_sdk.postgres.client import ( + PostgreSqlClient, + ) + + self._client = PostgreSqlClient(self.stdout, self.stderr) + super(KubernetesPostgresServiceProxy, self).__init__() + + def create(self, command_value_object: tuple): + return self._client.create( + command_value_object.name, + command_value_object.namespace or self.namespace, + command_value_object.path, + command_value_object.admin_login_secret, + command_value_object.certificate_private_key_file, + command_value_object.certificate_public_key_file, + command_value_object.cores_limit, + command_value_object.cores_request, + command_value_object.log_level, + command_value_object.memory_limit, + command_value_object.memory_request, + command_value_object.service_annotations, + command_value_object.service_certificate_secret, + command_value_object.service_labels, + command_value_object.service_type, + command_value_object.storage_class_data, + command_value_object.storage_class_logs, + command_value_object.storage_class_backups, + command_value_object.volume_size_data, + command_value_object.volume_size_logs, + command_value_object.volume_size_backups, + command_value_object.no_external_endpoint, + command_value_object.dev, + command_value_object.port, + command_value_object.nowait, + command_value_object.ad_connector_name, + command_value_object.ad_account_name, + command_value_object.keytab_secret, + command_value_object.dns_name, + command_value_object.extensions, + command_value_object.retention_days, + ) + + def update(self, command_value_object: tuple): + return self._client.update( + command_value_object.name, + command_value_object.namespace or self.namespace, + command_value_object.path, + command_value_object.certificate_private_key_file, + command_value_object.certificate_public_key_file, + command_value_object.cores_limit, + command_value_object.cores_request, + command_value_object.log_level, + command_value_object.memory_limit, + command_value_object.memory_request, + command_value_object.no_external_endpoint, + command_value_object.service_annotations, + command_value_object.service_certificate_secret, + command_value_object.service_labels, + command_value_object.service_type, + command_value_object.dev, + command_value_object.port, + command_value_object.nowait, + command_value_object.retention_days, + command_value_object.keytab_secret, + command_value_object.extensions, + ) + + def restore(self, command_value_object: tuple): + return self._client.restore( + command_value_object.name, + command_value_object.namespace, + command_value_object.source_name, + command_value_object.destination_name, + command_value_object.restore_point, + command_value_object.storage_class_data, + command_value_object.storage_class_logs, + command_value_object.storage_class_backups, + command_value_object.volume_size_data, + command_value_object.volume_size_logs, + command_value_object.volume_size_backups, + command_value_object.dry_run, + command_value_object.nowait, + ) + + def delete(self, command_value_object: tuple): + return self._client.delete( + command_value_object.name, + command_value_object.namespace, + command_value_object.force, + ) + + def show(self, command_value_object: tuple): + return self._client.show( + command_value_object.name, + command_value_object.namespace or self.namespace, + command_value_object.path, + ) + + def list(self, namespace): + return self._client.list(namespace or self.namespace) + + def endpoint_list(self, name, namespace): + return self._client.endpoint_list(name, namespace or self.namespace) + + +# ============================================================================ # +# ============================================================================ # +# ============================================================================ # + + +@add_metaclass(ABCMeta) +class BaseActiveDirectoryConnectorServiceProxy(BaseServiceProxy): + def __init__(self): + super(BaseActiveDirectoryConnectorServiceProxy, self).__init__( + "ad_connector" + ) + + @abstractmethod + def create(self, cvo: tuple): + pass + + @abstractmethod + def update(self, cvo: tuple): + pass + + @abstractmethod + def show(self, cvo: tuple): + pass + + @abstractmethod + def delete(self, cvo: tuple): + pass + + +class KubernetesActiveDirectoryConnectorServiceProxy( + BaseActiveDirectoryConnectorServiceProxy, KubernetesMixin +): + def __init__(self, az_cli): + from azext_arcdata.vendored_sdks.kubernetes_sdk.ad_connector.client import ( + ActiveDirectoryConnectorClient, + ) + + self._client = ActiveDirectoryConnectorClient(self.stdout, self.stderr) + super(KubernetesActiveDirectoryConnectorServiceProxy, self).__init__() + + def create(self, cvo: tuple): + """ + Proxy call to pass the create command to the appropriate client. + """ + return self._client.create( + name=cvo.name, + namespace=cvo.namespace or self.namespace, + realm=cvo.realm, + nameserver_addresses=cvo.nameserver_addresses, + account_provisioning=cvo.account_provisioning, + primary_domain_controller=cvo.primary_domain_controller, + secondary_domain_controllers=cvo.secondary_domain_controllers, + netbios_domain_name=cvo.netbios_domain_name, + dns_domain_name=cvo.dns_domain_name, + num_dns_replicas=cvo.num_dns_replicas, + prefer_k8s_dns=cvo.prefer_k8s_dns, + ou_distinguished_name=cvo.ou_distinguished_name, + domain_service_account_secret=cvo.domain_service_account_secret, + no_wait=cvo.no_wait, + ) + + def update(self, cvo: tuple): + """ + Proxy call to pass the update command to the appropriate client. + """ + return self._client.update( + name=cvo.name, + namespace=cvo.namespace or self.namespace, + nameserver_addresses=cvo.nameserver_addresses, + primary_domain_controller=cvo.primary_domain_controller, + secondary_domain_controllers=cvo.secondary_domain_controllers, + num_dns_replicas=cvo.num_dns_replicas, + prefer_k8s_dns=cvo.prefer_k8s_dns, + domain_service_account_secret=cvo.domain_service_account_secret, + no_wait=cvo.no_wait, + ) + + def show(self, cvo: tuple): + return self._client.show(cvo.name, cvo.namespace or self.namespace) + + def delete(self, cvo: tuple): + return self._client.delete( + cvo.name, cvo.namespace or self.namespace, cvo.no_wait + ) + + def list(self, cvo: tuple): + return self._client.list(cvo.namespace or self.namespace) + + +class ArmActiveDirectoryConnectorServiceProxy( + BaseActiveDirectoryConnectorServiceProxy, ArmMixin +): + def __init__(self, az_cli): + super(ArmActiveDirectoryConnectorServiceProxy, self).__init__() + self._arm_client = self.acquire_arm_client(az_cli) + + def create(self, cvo: tuple): + return self._arm_client.create_ad_connector( + name=cvo.name, + realm=cvo.realm, + nameserver_addresses=cvo.nameserver_addresses, + account_provisioning=cvo.account_provisioning, + primary_domain_controller=cvo.primary_domain_controller, + secondary_domain_controllers=cvo.secondary_domain_controllers, + netbios_domain_name=cvo.netbios_domain_name, + dns_domain_name=cvo.dns_domain_name, + num_dns_replicas=cvo.num_dns_replicas, + prefer_k8s_dns=cvo.prefer_k8s_dns, + ou_distinguished_name=cvo.ou_distinguished_name, + data_controller_name=cvo.data_controller_name, + resource_group=cvo.resource_group, + no_wait=cvo.no_wait, + ) + + def update(self, cvo: tuple): + return self._arm_client.update_ad_connector( + name=cvo.name, + nameserver_addresses=cvo.nameserver_addresses, + primary_domain_controller=cvo.primary_domain_controller, + secondary_domain_controllers=cvo.secondary_domain_controllers, + num_dns_replicas=cvo.num_dns_replicas, + prefer_k8s_dns=cvo.prefer_k8s_dns, + data_controller_name=cvo.data_controller_name, + resource_group=cvo.resource_group, + no_wait=cvo.no_wait, + ) + + def show(self, cvo: tuple): + return self._arm_client.get_ad_connector( + name=cvo.name, + data_controller_name=cvo.data_controller_name, + resource_group=cvo.resource_group, + ) + + def delete(self, cvo: tuple): + return self._arm_client.delete_ad_connector( + name=cvo.name, + data_controller_name=cvo.data_controller_name, + resource_group=cvo.resource_group, + no_wait=cvo.no_wait, + ) + + def list(self, cvo: tuple): + return self._arm_client.list_ad_connectors( + data_controller_name=cvo.data_controller_name, + resource_group=cvo.resource_group, + ) + + +# ============================================================================ # +# ============================================================================ # +# ============================================================================ # +@add_metaclass(ABCMeta) +class BaseArmDbArcServiceProxy(BaseServiceProxy): + def __init__(self): + super(BaseArmDbArcServiceProxy, self).__init__("sqlarc") + + @abstractmethod + def get_license_type(self, url): + pass + + @abstractmethod + def get_instance_config(self, resource_group, instance): + pass + + @abstractmethod + def put_instance_config(self, resource_group, instance, config): + pass + + @abstractmethod + def get_instance_host_name(self, resource_group, instance): + pass + + @abstractmethod + def create_sqlarc_database( + self, resource_group, instance, database_name, config + ): + pass + + @abstractmethod + def get_database_config(self, resource_group, instance, database_name): + pass + + @abstractmethod + def put_database_config( + self, resource_group, instance, database_name, config + ): + pass + + @abstractmethod + def get_server_config(self, resource_group, server_name): + pass + + @abstractmethod + def put_server_config(self, resource_group, server_name, config): + pass + + @abstractmethod + def get_ag_details( + self, + resource_group: str, + sql_server_instance_name: str, + availability_group_name: str, + ): + pass + + @abstractmethod + def create_ag( + self, + resource_group: str, + sql_server_instance_name: str, + availability_group_config: any, + no_wait: bool, + ): + pass + + @abstractmethod + def failover_ag( + self, + resource_group_name, + sql_server_instance_name, + availability_group_name, + ): + pass + + +class ArmDbArcServiceProxy(BaseArmDbArcServiceProxy, ArmMixin): + def __init__(self, az_cli): + super(ArmDbArcServiceProxy, self).__init__() + ServiceCredentials = ArmMixin.get_azure_credentials(az_cli) + from azext_arcdata.sqlarc.common.service import ( + AzureArcSqlWebService as ArcSQLService, + ) + + self._arc_client = ArcSQLService( + ServiceCredentials["credentials"], + ServiceCredentials["subscription"], + ) + + def get_license_type(self, url): + return self._arc_client.get_license_type(url) + + def get_instance_config(self, resource_group, instance): + return self._arc_client.get_sqlarc_instance_config( + resource_group, instance + ) + + def put_instance_config(self, resource_group, instance, config): + self._arc_client.put_sqlarc_instance_config( + resource_group, instance, config + ) + + def get_instance_host_name(self, resource_group, instance): + return self._arc_client.get_arc_server_name(resource_group, instance) + + def get_server_config(self, resource_group, server_name): + return self._arc_client.get_sqlarc_extension_details( + resource_group, server_name + ) + + def put_server_config(self, resource_group, server_name, config): + self._arc_client.put_sqlarc_extension_details( + resource_group, server_name, config + ) + + def create_sqlarc_database( + self, resource_group, instance, database_name, config + ): + self._arc_client.create_sqlarc_database( + resource_group, instance, database_name, config + ) + + def get_database_config(self, resource_group, instance, database_name): + return self._arc_client.get_sqlarc_database_config( + resource_group, instance, database_name + ) + + def put_database_config( + self, resource_group, instance, database_name, arm_model + ): + self._arc_client.put_sqlarc_database_config( + resource_group, instance, database_name, arm_model + ) + + def create_ag( + self, + resource_group: str, + sql_server_instance_name: str, + availability_group_config: any, + no_wait: bool, + ): + """ + Create a new SQL Availability Group. + :param resource_group: The name of the Azure resource group. + :type resource_group: str + :param sql_server_instance_name: The name of the SQL Server instance. + :type sql_server_instance_name: str + :param availability_group_config: The availability group configuration. + :type availability_group_config: any + """ + return self._arc_client.create_ag( + resource_group, + sql_server_instance_name, + availability_group_config, + no_wait, + ) + + def get_ag_details( + self, + resource_group: str, + sql_server_instance_name: str, + availability_group_name: str, + ): + """ + Get a SQL Availability Group. + :param resource_group: The name of the Azure resource group. + :type resource_group: str + :param sql_server_instance_name: The name of the SQL Server instance. + :type sql_server_instance_name: str + :param availability_group_name: The name of the availability group. + :type availability_group_name: str + """ + return self._arc_client.get_ag_details( + resource_group, + sql_server_instance_name, + availability_group_name, + ) + + def failover_ag( + self, + resource_group_name, + sql_server_instance_name, + availability_group_name, + ): + """ + Failover a SQL Availability Group. + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: The name of the SQL Server instance. + :type sql_server_instance_name: str + :param availability_group_name: The name of the availability group. + :type availability_group_name: str + """ + return self._arc_client.failover_ag( + resource_group_name, + sql_server_instance_name, + availability_group_name, + ) + + +# ============================================================================ # +# ============================================================================ # +# ============================================================================ # + + +@add_metaclass(ABCMeta) +class BaseFailoverGroupServiceProxy(BaseServiceProxy): + def __init__(self): + super(BaseFailoverGroupServiceProxy, self).__init__("failover_group") + + @abstractmethod + def create(self, cvo: tuple): + pass + + @abstractmethod + def update(self, cvo: tuple): + pass + + @abstractmethod + def show(self, cvo: tuple): + pass + + @abstractmethod + def delete(self, cvo: tuple): + pass + + @abstractmethod + def list(self, cvo: tuple): + pass + + +class KubernetesFailoverGroupServiceProxy( + BaseFailoverGroupServiceProxy, KubernetesMixin +): + def __init__(self, az_cli): + from azext_arcdata.vendored_sdks.kubernetes_sdk.failover_group.client import ( + FailoverGroupClient, + ) + + self._client = FailoverGroupClient(self.stdout, self.stderr) + super(KubernetesFailoverGroupServiceProxy, self).__init__() + + def create(self, command_value_object: tuple): + return self._client.create( + name=command_value_object.name, + namespace=command_value_object.namespace or self.namespace, + mi=command_value_object.mi, + partner_mi=command_value_object.partner_mi, + role=command_value_object.role, + partner_sync_mode=command_value_object.partner_sync_mode, + shared_name=command_value_object.shared_name, + partner_mirroring_url=command_value_object.partner_mirroring_url, + partner_mirroring_cert_file=command_value_object.partner_mirroring_cert_file, + no_wait=command_value_object.no_wait, + ) + + def update(self, command_value_object: tuple): + return self._client.update( + name=command_value_object.name, + namespace=command_value_object.namespace or self.namespace, + role=command_value_object.role, + partner_sync_mode=command_value_object.partner_sync_mode, + mi=command_value_object.mi, + no_wait=command_value_object.no_wait, + ) + + def show(self, command_value_object: tuple): + return self._client.show( + name=command_value_object.name, + namespace=command_value_object.namespace or self.namespace, + mi=command_value_object.mi, + ) + + def delete(self, command_value_object: tuple): + return self._client.delete( + name=command_value_object.name, + namespace=command_value_object.namespace or self.namespace, + mi=command_value_object.mi, + ) + + def list(self, command_value_object: tuple): + return self._client.list( + namespace=command_value_object.namespace or self.namespace, + ) + + +class ArmFailoverGroupServiceProxy(BaseFailoverGroupServiceProxy, ArmMixin): + def __init__(self, az_cli): + super(ArmFailoverGroupServiceProxy, self).__init__() + self._arm_client = self.acquire_arm_client(az_cli) + + def create(self, cvo: tuple): + return self._arm_client.create_failover_group( + name=cvo.name, + resource_group=cvo.resource_group, + mi=cvo.mi, + primary_mirroring_url=cvo.primary_mirroring_url, + partner_mirroring_url=cvo.partner_mirroring_url, + partner_mi=cvo.partner_mi, + partner_resource_group=cvo.partner_resource_group, + role=cvo.role, + partner_sync_mode=cvo.partner_sync_mode, + no_wait=cvo.no_wait, + ) + + def update(self, cvo: tuple): + return self._arm_client.update_failover_group( + name=cvo.name, + resource_group=cvo.resource_group, + mi=cvo.mi, + role=cvo.role, + partner_sync_mode=cvo.partner_sync_mode, + no_wait=cvo.no_wait, + ) + + def show(self, cvo: tuple): + return self._arm_client.get_failover_group( + name=cvo.name, + resource_group=cvo.resource_group, + mi=cvo.mi, + ) + + def delete(self, cvo: tuple): + return self._arm_client.delete_failover_group( + name=cvo.name, + resource_group=cvo.resource_group, + mi=cvo.mi, + ) + + def list(self, cvo: tuple): + return self._arm_client.list_failover_groups( + resource_group=cvo.resource_group, + mi=cvo.mi, + ) diff --git a/src/arcdata/arcdata/azext_arcdata/core/text.py b/src/arcdata/arcdata/azext_arcdata/core/text.py new file mode 100644 index 00000000000..1e4841698d7 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/text.py @@ -0,0 +1,54 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + + +class Text(object): + @staticmethod + def clear(): + import sys + import colorama + + try: + colorama.init() + sys.stderr.write("\x1b[2J\x1b[H") + finally: + print(colorama.Style.RESET_ALL) + + @staticmethod + def green(message): + from colorama import Fore, Style, init + + try: + init() + print("{}{}{}".format(Fore.GREEN, message, Style.RESET_ALL)) + finally: + print(Style.RESET_ALL) + + @staticmethod + def yellow(message): + from colorama import Fore, Style, init + + try: + init() + print("{}{}{}".format(Fore.YELLOW, message, Style.RESET_ALL)) + finally: + print(Style.RESET_ALL) + + @staticmethod + def red(message): + from colorama import Fore, Style, init + + try: + init() + print("{}{}{}".format(Fore.RED, message, Style.RESET_ALL)) + finally: + print(Style.RESET_ALL) + + @staticmethod + def warning(message): + Text.yellow(message) + + # NOTE: Add more colors when needed diff --git a/src/arcdata/arcdata/azext_arcdata/core/util.py b/src/arcdata/arcdata/azext_arcdata/core/util.py new file mode 100644 index 00000000000..7341b1f2d0d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/core/util.py @@ -0,0 +1,1547 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from OpenSSL import crypto +from typing import List, Tuple +from azext_arcdata.core.prompt import prompt, prompt_pass, prompt_for_input +from azext_arcdata.core.constants import ( + IO_DELIM, + KEY_VALUE_SPLIT, + AZDATA_USERNAME, + AZDATA_PASSWORD, + LOGSUI_USERNAME, + LOGSUI_PASSWORD, + METRICSUI_USERNAME, + METRICSUI_PASSWORD, + PASSWORD_MIN_LENGTH, + PASSWORD_REQUIRED_GROUPS, +) +from knack.log import get_logger +from knack.cli import CLIError +from kubernetes import config as kconfig +from kubernetes.config.config_exception import ConfigException +from jsonpatch import JsonPatch +from jsonpath_ng.ext import parse +from humanfriendly.terminal.spinners import AutomaticSpinner +from jinja2 import Template as JinjaTemplate +from pathlib import Path, PureWindowsPath +from string import Template +from functools import wraps + +import os +import time +import platform +import json +import re +import sys +import signal +import pydash as _ +import yaml +import pem + +logger = get_logger(__name__) + + +def BOOLEAN_STATES(x): + """ + Mapping of different common logical prepositions to boolean equivalent. + """ + return { + "1": True, + "yes": True, + "true": True, + "on": True, + "0": False, + "no": False, + "false": False, + "off": False, + None: False, + "none": False, + }.get(str(x).lower() if x else x, False) + + +def is_windows(): + """ + A common convenience function for windows environment check. + :return: `True` if windows otherwise `False`. + """ + return os.name == "nt" + + +def merge(dict_1, dict_2): + """ + Merge two dict's together. + :return: The merged dict + """ + + result = dict_1.copy() + result.update(dict_2) + return result + + +def traceback(): + """ + Get the exection stacktrace. + :return: The exception stacktrace. + """ + import traceback + import sys + + ex_t, ex_v, ex_tb = sys.exc_info() + return traceback.format_exception(ex_t, ex_v, ex_tb) + + +def color_wrapper(color): + import colorama + + def to_colored_msg(msg): + return color + msg + colorama.Style.RESET_ALL + + return to_colored_msg + + +def time_ns(): + """ + Returns time as an integer number of nanoseconds since the epoch. + """ + from datetime import datetime as dt + + return int(dt.now().timestamp() * 1e9) + + +def minutes_elapsed(num_intervals, retry_interval): + """ + Retrieve the number of minutes that have elapsed based on the number of + intervals. + """ + return num_intervals * retry_interval / 60 + + +def display(msg): + """ + Displays message to `stdout` and send the message to `logger.info()` for + debugging. + """ + logger.info(msg) + + +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # +def get_controller_env_list() -> List[str]: + """ + Get the list of environment variables required for the controller + """ + + return [AZDATA_USERNAME, AZDATA_PASSWORD] + + +def get_environment_list_by_target(target): + """ + Gets the required environment variable list for the given target + """ + active_directory_env_list = [ + "DOMAIN_SERVICE_ACCOUNT_USERNAME", + "DOMAIN_SERVICE_ACCOUNT_PASSWORD", + ] + + controller_env_list = get_controller_env_list() + env_list = [] + + if target == "arc": + env_list = controller_env_list + if target == "clean": + env_list = controller_env_list + elif target == "config": + env_list = controller_env_list + elif target == "controller": + env_list = controller_env_list + elif target == "cluster": + env_list = controller_env_list + elif target == "activeDirectory": + env_list = active_directory_env_list + elif target == "delete": + env_list = controller_env_list + elif target == "password": + env_list = controller_env_list + + return env_list + + +def read_environment_variables(target, arc=False): + """ + Reads environment variables for the given target + :param target: target to read environment variables + :param arc: boolean determining whether it is an arc deployment + """ + + def display_env_name(env): + """ + Provides a user friendly display name for environment variables + """ + return env.strip().replace("_", " ").capitalize() + + if ( + os.environ.get(LOGSUI_USERNAME) + and os.environ.get(LOGSUI_PASSWORD) + and os.environ.get(METRICSUI_USERNAME) + and os.environ.get(METRICSUI_PASSWORD) + ): + return + + for env in get_controller_env_list(): + msg = "{}:".format(display_env_name(env)) + if not os.environ.get(env): + if "PASSWORD" in env: + if arc and env == AZDATA_PASSWORD: + msg = "Monitoring administrator password:" + result = prompt_pass(msg, True) + else: + if arc and env == AZDATA_USERNAME: + msg = "Monitoring administrator username:" + result = prompt(msg) + + os.environ[env] = result.strip() + + +def is_set(env_var: str) -> bool: + """ + Checks if the given environment variable is set and not empty/whitespace + """ + var = os.getenv(env_var) + return var is not None and len(var.strip()) != 0 + + +def check_environment_variables(target): + """ + Check if all necessary environment variables are set. + """ + env_list = get_controller_env_list() + missing_env = list() + for env in env_list: + if not is_set(env): + missing_env.append(env) + + if len(missing_env) > 0: + logger.error( + "Please set the following environment variable(s): %s." + % missing_env + ) + sys.exit(1) + + +def env_vars_are_set(vars: List[str]) -> bool: + """ + Checks if the given list of environment variables are set or not. + :returns: True if all of the variables are set, false otherwise. + """ + for var in vars: + if not is_set(var): + return False + + return True + + +def read_config(config_profile, config_filename): + """ + Read selected profile into object + """ + + def substitute_env_variables(template_file): + """ + Substitute env variables in a file and return the string. + """ + with open(template_file, "r") as f: + template = f.read() + s = Template(template) + config = s.substitute(os.environ) + return config + + try: + config = os.path.join(config_profile, config_filename) + config_string = substitute_env_variables(config) + return json.loads(config_string) + except Exception as e: + raise ValueError("Failed to read config profile {0}".format(e)) + + +def check_missing(stdout, force, config_object, help_object, config_filename): + """ + Check for missing values and prompt user for them or raise an error in no + tty environments. + """ + + def parse_for_missing(cfg_object): + """ + Parses the config json object for missing/falsey values + Returns a list of json paths for the missing values + """ + try: + missing = [] + + def iterate(dictionary, root): + for key, value in dictionary.items(): + new_root = root + "." + key if root else key + if isinstance(value, dict): + iterate(value, new_root) + continue + elif isinstance(value, list): + for index, item in enumerate(value): + arr_root = new_root + "[" + str(index) + "]" + if isinstance(item, dict): + iterate(item, arr_root) + elif item == "": + missing.append(arr_root) + continue + if value == "": + missing.append(new_root) + + iterate(cfg_object, "") + return missing + except Exception as e: + raise ValueError( + "Failed to parse for missing values in config file: {}".format( + e + ) + ) + + missing_values = parse_for_missing(config_object) + if len(missing_values) > 0: + if not force: + stdout( + "\nNeeded Configuration Values in {0}".format(config_filename) + ) + try: + for key in missing_values: + expr = parse(key) + find_result = [ + match.value for match in expr.find(help_object) + ] + help_result = ( + find_result[0] if len(find_result) > 0 else None + ) + name = help_result["name"] if help_result else key + description = ( + help_result["description"] + if help_result + else "Please consult documentation: " + "https://aka.ms/bdc-deploy" + ) + stdout( + "\n{name}\n- Config Path: {key}\n- Description: {description}".format( + name=name, key=key, description=description + ) + ) + result = prompt_for_input( + "- Please provide a value: ", + "", + padding=False, + strip=True, + ) + expr.update(config_object, result) + except Exception: + raise ValueError( + "Failed to set needed configuration values, " + "please initialize your chosen config profile " + "with 'az arc config init' and edit manually. " + "Missing Configuration Values: {0}".format(missing_values) + ) + else: + raise ValueError( + "Missing Configuration Values: {0}".format(missing_values) + ) + + +def control_config_check(config_object): + """ + Checks if config is valid. + """ + + def is_active_directory_security_enabled(cfg_object): + """ + Returns if the active directory security is enabled by the config + object. + + Here is the layout of active directory configuration: + 1. security.activeDirectory subobject has configured members + 2. security has the obsolete members, which is used before CU1 release. + This is supporting the backward compatibility of the flat layout of + active directory configuration. + """ + + if "security" not in cfg_object or not cfg_object["security"]: + return False + + if "activeDirectory" in cfg_object["security"]: + return True + + # For backward compatibility, if any obsolete active directory members + # found, then we consider customer want the ad security with the + # obsolete flat layout configuration. + # + obsolete_active_directory_members = [ + "useInternalDomain", + "ouDistinguishedName", + "dnsIpAddresses", + "domainControllerFullyQualifiedDns", + "realm", + "domainDnsName", + "clusterAdmins", + "clusterUsers", + "appOwners", + "appReaders", + "kerberosDelegationMode", + ] + + for ( + obsolete_active_directory_member + ) in obsolete_active_directory_members: + if obsolete_active_directory_member in cfg_object["security"]: + return True + + return False + + if "endpoints" in config_object["spec"]: + ad_enabled = is_active_directory_security_enabled( + config_object + ) | is_active_directory_security_enabled(config_object["spec"]) + + if ad_enabled: + endpoints_no_dns = list( + filter( + lambda x: "dnsName" not in x, + config_object["spec"]["endpoints"], + ) + ) + + if endpoints_no_dns: + error_endpoints = map(lambda x: x["name"], endpoints_no_dns) + raise ValueError( + "dnsName required for endpoint(s): {0}".format( + ", ".join(error_endpoints) + ) + ) + + for endpoint in config_object["spec"]["endpoints"]: + if "dnsName" in endpoint: + if not re.match( + r"^[a-z]([-a-z0-9]*[a-z0-9])?(\.[a-z]([-a-z0-9]*[a-z0-9])?)+$", + endpoint["dnsName"], + ): + raise ValueError( + "dnsName {0} for endpoint {1} is not a valid " + "RFC-1035 DNS domain.".format( + endpoint["dnsName"], endpoint["name"] + ) + ) + + +def parse_labels(label_str): + labels = dict() + labels_split = label_str.split(",") + + for label_raw in labels_split: + label_kv = label_raw.split(":") + + if len(label_kv) != 2: + raise ValueError( + "Labels must be of form 'key1: value1, " "key2: value2,...'" + ) + + label_key, label_value = label_kv + + if label_key in labels.keys(): + raise ValueError("Duplicate label key {}".format(label_key)) + + labels[label_key.strip()] = label_value.strip() + + return labels + + +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # + + +def check_and_set_kubectl_context(): + """ + Check and set environment var for kubectl command context + """ + try: + if os.getenv("KUBERNETES_SERVICE_HOST"): + kconfig.load_incluster_config() + elif os.getenv("KUBECTL_CONTEXT") is None: + load_kube_config() + else: + load_kube_config(os.environ["KUBECTL_CONTEXT"]) + except Exception as e: + logger.debug(e) + logger.error("Failed to complete kube config setup.") + raise Exception("Failed to complete kube config setup.") + + +def load_kube_config(context=None): + """ + Loads the kube config. + :param context: + :return: + """ + + # This is a temporary workaround until this change gets checked in. + # Python Kubernetes Library does not handle cases where the KUBECONFIG + # environment variable can have multiple kubeconfig files listed. It's an + # open issue on github: + # https://github.com/kubernetes-client/python-base/pull/94 + FILE_SEPARATOR = ";" if platform.system() == "Windows" else ":" + kube_config_files = os.environ.get("KUBECONFIG") + kube_context_loaded = False + config_file = None + + if kube_config_files: + config_file = None + for config_file in kube_config_files.split(FILE_SEPARATOR): + if config_file: + # kubectl gives precedence to the order in which the files are + # listed. + try: + kconfig.load_kube_config( + config_file=config_file, context=context + ) + kube_context_loaded = True + break + except Exception: + raise ( + "Could not find context %s in file - %s" + % (context, config_file) + ) + if not kube_context_loaded: + raise ( + "Failed to load context %s from the listed kubeconfig files:" + " %s." % (context, kube_config_files.split(FILE_SEPARATOR)) + ) + else: + kconfig.load_kube_config(context=context) + + # set kubectl context to current context if not set + # + if context is None: + contexts, current_context = kconfig.list_kube_config_contexts( + config_file=config_file + ) + if current_context: + os.environ["KUBECTL_CONTEXT"] = current_context["name"] + else: + raise Exception("No active context is set in kubeconfig.") + + +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # + + +class FileUtil(object): + @staticmethod + def read_json(file_path): + """ + Deserialize file containing a JSON document into a Python dict. + :param file_path: The path to the JSON document. + :return: A `dict` of JSON otherwise `None` if file not found. + """ + from codecs import open + import json + + content = None + # for encoding in ['utf-8-sig', 'utf-8', 'utf-16', 'utf-16le', + # 'utf-16be']: + for encoding in ["utf-8"]: + try: + with open(file_path, encoding=encoding) as f: + content = f.read() + except (UnicodeError, UnicodeDecodeError): + pass + + if not content: + return None + else: + return json.loads(content) + + @staticmethod + def read_text_file(file_path): + """Helper to load text from a given file.""" + + with open(FileUtil.strip_path(file_path), "r") as file: + data = file.read() + + return data + + @staticmethod + def is_lnk_path(file_path): + """ + Helper to identify if file path contains the special lnk `@` prefix. + """ + return file_path.strip().startswith("@") + + @staticmethod + def strip_path(file_path): + """ + Helper to tidy up a file path and strip of any special lnk `@` prefix. + """ + return file_path.strip().lstrip("@") + + +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # + + +def log_error(error_message, error_detail): + """ + Log error messages + :param error_message : Error thrown + :param error_detail : Error info + """ + + logger.error(error_message + " : " + error_detail) + + +def retry_method( + retry_count: int, + retry_delay: int, + retry_method_description: str, + retry_on_exceptions: tuple, +): + def retry_method_wrapper(f): + """ + Decorator wraps the method with retry logic. See retry + """ + + @wraps(f) + def wrapper(*args, **kwargs): + return retry( + lambda: f(*args, **kwargs), + retry_count=retry_count, + retry_delay=retry_delay, + retry_method=retry_method_description, + retry_on_exceptions=retry_on_exceptions, + ) + + return wrapper + + return retry_method_wrapper + + +def retry(func, *func_args, **kwargs): + """ + Function retry until max limit + :param func : Function to retry + :param func_args : Arguments to func + :param int retry_count : Retry attempts + :param int retry_delay : Retry delay + :param string retry_method : func literal + :param tuple retry_on_exceptions : Exceptions to ignore while retrying func + """ + # Retry parameters for connection errors + connection_retry_interval_seconds = 5 + connection_retry_attempts = 12 + + retry_count = kwargs.get("retry_count", connection_retry_attempts) + retry_delay = kwargs.get("retry_delay", connection_retry_interval_seconds) + retry_method = kwargs.get("retry_method", None) + retry_on_exceptions = kwargs.get("retry_on_exceptions", None) + exception_caused = None + for i in range(retry_count): + try: + return_value = func(*func_args) + return return_value if return_value is not None else True + except retry_on_exceptions as e: + exception_caused = e + logger.debug( + "Waiting for %d seconds before trying to %s again" + % (retry_delay, retry_method) + ) + time.sleep(retry_delay) + continue + logger.debug(exception_caused) + log_error( + str( + _.get(exception_caused, ["reason", "__context__"], exception_caused) + ), + "Failed to %s after retrying for %d minute(s)." + % (retry_method, (retry_count * retry_delay) / 60), + ) + raise Exception( + "Failed to %s after retrying for %d minute(s)." + % (retry_method, (retry_count * retry_delay) / 60) + ) + + +class TimeoutError(Exception): + pass + + +def handle_timeout(signum, frame): + """throws timeout error""" + raise TimeoutError("Timeout occurred") + + +def with_timeout(timeout, function_to_run, *args, **kwargs): + """Runs a function with timeout + Args: + timeout: the number of seconds to wait before fail the function with + timeout error + function_to_run: the function to run with given timeout + """ + signal_handler = signal.signal(signal.SIGALRM, handle_timeout) + signal.alarm(timeout) + try: + function_to_run(*args, **kwargs) + finally: + signal.signal(signal.SIGALRM, signal_handler) + signal.alarm(0) + + +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # + + +def singleton(cls, *args, **kw): + instances = {} + + def _singleton(): + if cls not in instances: + instances[cls] = cls(*args, **kw) + return instances[cls] + + return _singleton + + +def name_meets_dns_requirements(n: str): + """ + Checks whether a given string constrains to dns requirements + :n: string to validate + :return: false if n does not match dns requirements, true otherwise + """ + if not n: + return False + + if not n[0].isalpha() or not n[-1].isalnum(): + return False + + if not n.islower(): + return False + + for c in n: + if not c.isalnum() and not c == "-": + return False + + return True + + +def is_valid_password(pw, user): + """ + Checks if the provided pw is a sufficiently complex password i.e. is at least + eight characters long and contains a char from at least three of these + groups + -Uppercase letters + -Lowercase letters + -Base 10 digits + -Non-alphanumeric characters + :param pw: the password + :param user: username for the sql instance + :return: True if pw meets requirements, False otherwise + """ + if not pw: + return False + + if user in pw: + return False + + if len(pw) < PASSWORD_MIN_LENGTH: + return False + + lower = 0 + upper = 0 + special = 0 + digit = 0 + + for c in pw: + if c.isdigit(): + digit = 1 + elif c.isalpha(): + if c.isupper(): + upper = 1 + else: + lower = 1 + else: + # Assume any other characters qualify as 'special' characters. + # Work item to implement stricter policies: #1282103 + # + special = 1 + + return (lower + upper + special + digit) >= PASSWORD_REQUIRED_GROUPS + + +def validate_creds_from_env(username_var: str, password_var: str): + """ + Ensures that both or neither of the username and password + environment variables are set and that passwords meet complexity + requirements + """ + username = os.environ.get(username_var) + password = os.environ.get(password_var) + if bool(username) ^ bool(password): + raise CLIError( + "Must specify both {0} and {1} or neither.".format( + username_var, password_var + ) + ) + elif username and password and not is_valid_password(password, username): + raise CLIError( + "Invalid password from " + password_var + ". Passwords must be at " + "least 8 characters long, cannot contain the " + "username, and must contain characters from " + "three of the following four sets: Uppercase " + "letters, Lowercase letters, Base 10 digits, " + "and Symbols. Please try again.\n" + ) + + +class ClearField: + """ + A class that represents a field that should be cleared. + """ + + def __bool__(self): + return False + + def __eq__(self, other): + return isinstance(other, ClearField) + + +def prune_dict(d): + """ + "Prunes" a dictionary by recursively removing all keys that do not result in + a Non-Null attribute i.e. if you modeled the dictionary (nested) as a tree + with the values as leaves, any branch with an "empty" attribute at the leaf + would be removed. "Empty" meaning an empty dict, empty list, or None value. + :param d: dict to prune: + :returns d: d, but pruned + """ + if d is None: + return None + + if type(d) is dict: + keys = list(d.keys()) + empty = True + for k in keys: + d[k] = prune_dict(d[k]) + if d[k] is None: + del d[k] + elif isinstance(d[k], ClearField): + d[k] = None + else: + empty = False + return None if empty else d + elif type(d) is list: + if len(d) == 0: + return None + else: + for obj in d: + prune_dict(obj) + + return d + + +def trim_dict_entries(d: dict): + """ + Trims any values in d that are of type str + :param d: The dict whose values to trim + :returns: d + """ + if type(d) is dict: + for k in d.keys(): + if type(d[k]) is str: + d[k] = d[k].strip() + else: + trim_dict_entries(d[k]) + + return d + + +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # + + +class DeploymentConfigUtil(object): + """ + Utility methods for handling deployment configuration files. + """ + + @staticmethod + def get_config_map(config_dir): + """ + Gets the available config profiles and returns them as a dictionary + where the key/value are the config profile name + :param config_dir: + :return dictionary of config profiles with directory name being the key: + """ + files = {} + for f in os.listdir(config_dir): + if f != "help": + files[f] = f + return files + + @staticmethod + def get_config_display_names(config_profile_dict): + """ + Returns a display friendly list of config profile names + :param config_profile_dict: + :return: + """ + display_list = list(config_profile_dict.keys()) + display_list.sort() + return display_list + + @staticmethod + def config_list(config_dir, config_profile=None, config_type="control"): + """ + Lists available configuration file choices. + :param config_dir: + :param config_profile: + :param config_type: + :return: + """ + try: + configs = DeploymentConfigUtil.get_config_map(config_dir) + if not config_profile: + config_names = DeploymentConfigUtil.get_config_display_names( + configs + ) + return config_names + elif config_profile in configs.keys(): + config_profile = os.path.join( + config_dir, configs[config_profile] + ) + config_file = os.path.join( + config_profile, config_type + ".json" + ) + + if os.path.isfile(config_file): + file = open(config_file, "r") + text = file.read() + return json.loads(text) + else: + raise ValueError( + "Invalid config type: `{0}`".format(config_type) + ) + else: + raise ValueError( + "Invalid default config profile, please consult [bdc " + "config list] for available types" + ) + except ValueError as e: + raise CLIError(e) + except Exception as e: + raise CLIError(e) + + @staticmethod + def save_config_profile( + path, source, config_dir, config_files, config_map, force + ): + """ + Saves the config profile from the source to the given target. + :param path: + :param source: + :param config_dir: + :param config_files: + :param config_map: + :param force: + :return: + """ + if not os.path.isdir(path): + os.makedirs(path) + + result_path = os.path.join(config_dir, config_map[source.lower()]) + + for config_filename in config_files: + target_cluster_config_file = os.path.join(path, config_filename) + if not force and os.path.isfile(target_cluster_config_file): + raise FileExistsError( + "Please specify a directory that is empty " + "or use the force flag: config init -p {0} --force".format( + path + ) + ) + + # Read the file and parse into Python dictionary + cluster_config_file = os.path.join(result_path, config_filename) + profile = FileUtil.read_json(cluster_config_file) + + if not is_windows(): + with AutomaticSpinner( + "Fetching {0} config".format(source), show_time=True + ): + with open(target_cluster_config_file, "w") as outfile: + json.dump(profile, outfile, indent=4) + else: + with open(target_cluster_config_file, "w") as outfile: + json.dump(profile, outfile, indent=4) + + return path + + @staticmethod + def write_config_file(filepath, config_object): + """ + Writes the config object at the given filepath + :param filepath: + :param config_object: + :return: + """ + # -- write config -- + if not is_windows(): + with AutomaticSpinner( + "Writing {0}".format(filepath), show_time=True + ): + with open(filepath, "w") as outfile: + json.dump(config_object, outfile, indent=4) + else: + with open(filepath, "w") as outfile: + json.dump(config_object, outfile, indent=4) + + @staticmethod + def config_add(config_file, json_values): + """ + Add new key and value to the given config file + :param config_file: + :param json_values: + :return: + """ + config_object = FileUtil.read_json(config_file) + DeploymentConfigUtil.inline_patch(config_object, json_values, "add") + return config_object + + @staticmethod + def config_replace(config_file, json_values): + """ + Replace the value of a given key in the given config file + :param config_file: + :param json_values: + :return: + """ + config_object = FileUtil.read_json(config_file) + DeploymentConfigUtil.inline_patch(config_object, json_values, "replace") + return config_object + + @staticmethod + def config_remove(config_file, json_path): + """ + Remove a key from the given config file + :param config_file: + :param json_path: + :return: + """ + config_object = FileUtil.read_json(config_file) + DeploymentConfigUtil.inline_patch(config_object, json_path, "remove") + return config_object + + @staticmethod + def config_patch(config_file, patch_file): + """ + Patch a given file against the given config file + :param config_file: + :param patch_file: + :return: + """ + config_object = FileUtil.read_json(config_file) + + if os.path.isfile(patch_file): + patch_json = FileUtil.read_json(patch_file) + patch = patch_json.get("patch") + if patch: + patches = JsonPatch(patch) + for p in patches: + path = p.get("path") + if not path: + raise ValueError( + "Please specify a 'path' for all patches" + ) + op = p.get("op") + if not op: + raise ValueError( + "Please specify an 'op' for all patches" + ) + value = p.get("value") + if value is None and op != "remove": + raise ValueError( + "Please specify a 'value' for all patches other " + "than 'remove' ops" + ) + DeploymentConfigUtil.patch_value( + config_object, path, value, op + ) + else: + raise ValueError( + "The patch file must be json and start with a key of " + "'patch' with its value as an array of patches." + ) + else: + raise ValueError( + "Please specify a file for the --patch-file argument. The " + "patch file must be json and start with a key of patch with " + "its value as an array of patches." + ) + + return config_object + + @staticmethod + def inline_patch(config_object, json_values, op): + """ + Values provided as an inline key=value comma separated list + :param config_object: + :param json_values: + :param op: + :return: + """ + json_values = re.split(IO_DELIM, json_values) + for param in json_values: + var = re.split(KEY_VALUE_SPLIT, param.strip()) + json_path = var[0] + value = None + if len(var) > 1: + if os.path.isfile(var[1].strip()): + value = FileUtil.read_json(var[1]) + else: + # Replace escaped commas and equality signs with normal + # symbols for the actual operation + value = var[1].replace("\\,", ",") + value = value.replace("\\=", "=") + try: + value = json.loads(value) + except Exception as e: + if value.startswith("{"): + raise ValueError(e) + DeploymentConfigUtil.patch_value( + config_object, json_path, value, op + ) + + @staticmethod + def patch_value(config_object, json_path, value, op): + """ + Patch the config_object with the value at the json_path with the given + op (operation) + :param config_object: + :param json_path: + :param value: + :param op: + :return: + """ + msg = "'{op}' at '{json_path}' with value of \n{val}\n".format( + op=op, json_path=json_path, val=json.dumps(value, indent=4) + ) + + # If doing a replace and using conditional subsetting, use the json + # path library + if op == "replace" and ("$" in json_path or "@" in json_path): + try: + json_path = DeploymentConfigUtil.replace_path( + json_path, ["/"], "." + ) + expr = parse(json_path) + find_result = [ + match.value for match in expr.find(config_object) + ] + if len(find_result) > 0: + expr.update(config_object, value) + else: + raise ValueError( + "Your given json path does not exist. Please give a " + "json path that exists." + ) + except Exception as e: + raise ValueError( + "{msg}\nDetails: {error}\n\nPlease consult: " + "https://jsonpath.com/".format(msg=msg, error=e) + ) + # Otherwise, use the patch library + else: + try: + # Replace jsonpath related characters from the path with json + # patch syntax + json_path = DeploymentConfigUtil.replace_path( + json_path, [".", "[", "]", "//"], "/" + ) + if json_path.startswith("$"): + json_path = json_path[1:] + if not json_path.startswith("/"): + json_path = "/" + json_path + if json_path.endswith("/"): + json_path = json_path[:-1] + patch = JsonPatch( + [{"op": op, "path": json_path, "value": value}] + ) + patch.apply(config_object, True) + except Exception as e: + raise ValueError( + "{msg}\nDetails: {error}\n\nPlease consult: " + "http://jsonpatch.com/".format(msg=msg, error=e) + ) + + @staticmethod + def set_config_value(config_object, json_path, value, op=None): + """ + Sets the given value at the json_path in the config_object + :param config_object: + :param json_path: + :param value: + :return: + """ + if not op or op == "replace": + json_path = DeploymentConfigUtil.replace_path(json_path, ["/"], ".") + # Attempt to update the path if it already exists + expr = parse(json_path) + find_result = [match.value for match in expr.find(config_object)] + if len(find_result) > 0: + expr.update(config_object, value) + return + elif "$" in json_path: + raise ValueError(json_path) + + # The path did not exist, so now try to patch it + json_path = DeploymentConfigUtil.replace_path( + json_path, [".", "[", "]", "//"], "/" + ) + if not json_path.startswith("/"): + json_path = "/" + json_path + if json_path.endswith("/"): + json_path = json_path[:-1] + if not op: + try: + # Attempt a replace + patch = JsonPatch( + [{"op": "replace", "path": json_path, "value": value}] + ) + patch.apply(config_object, True) + except: + # If replace did not work, attempt an add + patch = JsonPatch( + [{"op": "add", "path": json_path, "value": value}] + ) + patch.apply(config_object, True) + else: + patch = JsonPatch([{"op": op, "path": json_path, "value": value}]) + patch.apply(config_object, True) + + @staticmethod + def replace_path(json_path, old_sep, new_sep): + """ + Replaces jsonpath with slashes for jsonpatch library if given as periods + :param json_path: + :param old_sep: + :param new_sep: + :return: + """ + new_path = json_path.strip() + for sep in old_sep: + new_path = new_path.replace(sep, new_sep) + return new_path + + +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # + + +def check_and_set_kubectl_context(): + """ + Check and set environment var for kubectl command context + """ + try: + if os.getenv("KUBERNETES_SERVICE_HOST"): + try: + kconfig.load_incluster_config() + except ConfigException: + load_kube_config() + elif os.getenv("KUBECTL_CONTEXT") is None: + load_kube_config() + else: + load_kube_config(os.environ["KUBECTL_CONTEXT"]) + except Exception as e: + logger.debug(e) + raise CLIError("Failed to complete kube config setup.") + + +def load_kube_config(context=None): + # + # Python Kubernetes Library does not handle cases where the KUBECONFIG + # environment variable can have multiple + # kubeconfig files listed. It's an open issue on github - + # https://github.com/kubernetes-client/python-base/pull/94 + # This is a temporary workaround until this change gets checked in. + # + DEFAULT_KUBE_CONFIG_LOCATION = None + FILE_SEPARATOR = None + if platform.system() == "Windows": + DEFAULT_KUBE_CONFIG_LOCATION = str( + PureWindowsPath(str(Path.home()) + "/.kube/config") + ) + FILE_SEPARATOR = ";" + else: + DEFAULT_KUBE_CONFIG_LOCATION = str(Path.home()) + "/.kube/config" + FILE_SEPARATOR = ":" + kube_config_files = os.environ.get("KUBECONFIG") + kube_context_loaded = False + config_file = None + + if kube_config_files: + config_file = None + for config_file in kube_config_files.split(FILE_SEPARATOR): + if config_file and os.path.exists(config_file): + # kubectl gives precedence to the order in which the files + # are listed. + # + try: + kconfig.load_kube_config( + config_file=config_file, context=context + ) + kube_context_loaded = True + break + except Exception: + logger.debug( + "Could not find context %s in file - %s" + % (context, config_file) + ) + else: + msg = "No such file or directory '{}'".format(config_file) + logger.debug(msg) + + if not kube_context_loaded: + msg = ( + "Failed to load context '{0}' from the listed kubeconfig " + "files: \n{1}".format( + context, kube_config_files.split(FILE_SEPARATOR) + ) + ) + + logger.debug(msg) + raise Exception(msg) + else: + logger.debug("Loaded kube config from %s" % (config_file)) + else: + logger.debug( + "Loading default kube config from %s " + % DEFAULT_KUBE_CONFIG_LOCATION + ) + kconfig.load_kube_config(context=context) + + # set kubectl context to current context if not set + # + if context is None: + contexts, current_context = kconfig.list_kube_config_contexts( + config_file=config_file + ) + if current_context: + os.environ["KUBECTL_CONTEXT"] = current_context["name"] + else: + logger.debug("No active context is set in kubeconfig.") + raise Exception("No active context is set in kubeconfig.") + else: + contexts, current_context = kconfig.list_kube_config_contexts( + config_file=config_file + ) + logger.debug("Kubectl context set to %s" % os.environ["KUBECTL_CONTEXT"]) + + return current_context.get("context") + + +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # + + +def get_config_from_template(template_file, cluster_object): + """ + Get kubernetes config from template using environment variables. + """ + with open(template_file, "r") as f: + template = f.read() + return JinjaTemplate(template).render(model=cluster_object) + + +def get_yaml_from_template(template_file, model): + return yaml.safe_load( + get_config_from_template( + template_file, + model, + ) + ) + + +def parse_cert_files( + certificate_public_key_file: str, certificate_private_key_file: str +) -> Tuple[str, str]: + """ + parses certificate and private key files and returns the values. + """ + if not os.path.exists(certificate_public_key_file) or not os.path.isfile( + certificate_public_key_file + ): + raise ValueError( + "Certificate public key file '" + + certificate_public_key_file + + "' does not exist." + ) + + if not os.path.exists(certificate_private_key_file) or not os.path.isfile( + certificate_private_key_file + ): + raise ValueError( + "Certificate private key file '" + + certificate_private_key_file + + "' does not exist." + ) + + # Read certificate files. + # + with open(certificate_public_key_file) as f: + cert_public_key = f.read() + + with open(certificate_private_key_file) as f: + cert_private_key = f.read() + + # Validate PEM format. + # + try: + parsed_certificates = pem.parse(bytes(cert_public_key, "utf-8")) + except: + raise ValueError( + "Certificate public key does not have a valid PEM format." + ) + + if len(parsed_certificates) != 1: + raise ValueError( + "Certificate public key file '" + + certificate_public_key_file + + "' must contain one and only one valid PEM formatted certificate." + ) + + try: + parsed_privatekeys = pem.parse(bytes(cert_private_key, "utf-8")) + except: + raise ValueError( + "Certificate private key does not have a valid PEM format." + ) + + if len(parsed_privatekeys) != 1: + raise ValueError( + "Certificate private key file '" + + certificate_private_key_file + + "' must contain one and only one valid PEM formatted private key." + ) + + # Ensure that certificate is of type pem._core.Certificate and private key + # is of type pem._core.RSAPrivateKey. + # + if not isinstance(parsed_certificates[0], pem._core.Certificate): + raise ValueError( + "Certificate data in file '" + + certificate_public_key_file + + "' must have a valid PEM formatted certificate." + ) + + if not isinstance( + parsed_privatekeys[0], pem._core.RSAPrivateKey + ) and not isinstance(parsed_privatekeys[0], pem._core.PrivateKey): + raise ValueError( + "Private key data in file '" + + certificate_private_key_file + + "' must have a valid PEM formatted private key." + ) + + return cert_public_key, cert_private_key + + +def generate_certificate_and_key( + hostname: str, common_name: str, sans: List[str] = [] +) -> Tuple: + """ + Generates an RSA public/private key pair and uses them to create + a self-signed server certificate. + :returns: Tuple containing PEM formatted certificate and private key + """ + from cryptography.hazmat.primitives.asymmetric import rsa + from cryptography.hazmat.primitives import serialization, hashes + from cryptography.hazmat.backends import default_backend + from cryptography.x509.oid import NameOID + from cryptography import x509 + from datetime import datetime, timedelta + + # Generate public/private key pair + # + key_pair = rsa.generate_private_key( + backend=default_backend(), key_size=2048, public_exponent=65537 + ) + + cn = x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, common_name)]) + additional_sans = x509.SubjectAlternativeName( + [x509.DNSName(name) for name in sans] + ) + + cert = ( + x509.CertificateBuilder() + .subject_name(x509.Name(cn)) + .issuer_name(cn) + .serial_number(1001) + .not_valid_before(datetime.utcnow()) + .not_valid_after(datetime.now() + timedelta(days=5 * 365)) + .public_key(key_pair.public_key()) + .add_extension(additional_sans, False) + .sign(key_pair, hashes.SHA256(), default_backend()) + ) + + cert_pem = cert.public_bytes(encoding=serialization.Encoding.PEM) + key_pem = key_pair.private_bytes( + encoding=serialization.Encoding.PEM, + format=serialization.PrivateFormat.TraditionalOpenSSL, + encryption_algorithm=serialization.NoEncryption(), + ) + + return cert_pem, key_pem, cert.fingerprint(hashes.SHA256()) + + +def get_private_key_from_data( + private_key_data: bytes, private_key_password: str +): + """ + get machine private key from private key file. + """ + key = None + if not private_key_password: + key = crypto.load_privatekey(crypto.FILETYPE_PEM, private_key_data) + else: + key = crypto.load_privatekey( + crypto.FILETYPE_PEM, private_key_data, private_key_password + ) + + pemDataBytes = crypto.dump_privatekey(crypto.FILETYPE_PEM, key) + pem_data = pemDataBytes.decode() + pem_data = pem_data.replace("-----BEGIN PRIVATE KEY-----", "") + pem_data = pem_data.replace("-----END PRIVATE KEY-----", "") + base64Data = pem_data.replace("\n", "") + return base64Data + + +def get_private_key_from_file(private_key_file: str, private_key_password: str): + """ + get machine private key from private key file. + """ + key = None + with open(private_key_file, "rb") as key_file: + key_data = key_file.read() + # Dump the private key + key = get_private_key_from_data(key_data, private_key_password) + return key diff --git a/src/arcdata/arcdata/azext_arcdata/dc/__init__.py b/src/arcdata/arcdata/azext_arcdata/dc/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/dc/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/dc/arguments.py b/src/arcdata/arcdata/azext_arcdata/dc/arguments.py new file mode 100644 index 00000000000..158903d9d42 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/dc/arguments.py @@ -0,0 +1,904 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.vendored_sdks.arm_sdk.azure.constants import ( + INSTANCE_TYPE_DATA_CONTROLLER, + RESOURCE_PROVIDER_NAMESPACE, +) +from azure.cli.core.commands.parameters import get_resource_name_completion_list +from azext_arcdata.core.util import DeploymentConfigUtil +from azext_arcdata.core.constants import ( + USE_K8S_TEXT, + CLI_ARG_GROUP_DIRECT_TEXT, + CLI_ARG_GROUP_INDIRECT_TEXT, + CLI_ARG_RESOURCE_GROUP_TEXT, + CLI_ARG_GROUP_USE_K8S, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.constants import CONFIG_DIR +from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.common_util import ( + get_valid_dc_infrastructures, +) + + +def load_arguments(self, _): + from knack.arguments import ArgumentsContext + from argparse import SUPPRESS + + with ArgumentsContext(self, "arcdata dc create") as arg_context: + arg_context.argument( + "name", + options_list=["--name", "-n"], + help="The name for the data controller.", + ) + arg_context.argument( + "resource_group", + options_list=["--resource-group", "-g"], + help=CLI_ARG_RESOURCE_GROUP_TEXT, + ) + arg_context.argument( + "location", + options_list=["--location", "-l"], + help="The Azure location in which the data controller " + "metadata will be stored (e.g. eastus).", + ) + arg_context.argument( + "connectivity_mode", + options_list=["--connectivity-mode"], + help="The connectivity to Azure - direct - in which the " + "data controller should operate (indirect mode has been deprecated).", + ) + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + help="The Kubernetes namespace to deploy the data " + "controller into. If it exists already it will be used. If it " + "does not exist, an attempt will be made to create it first.", + ) + arg_context.argument( + "path", + options_list=["--path", "-p"], + help="The path to a directory containing a custom configuration " + "profile to use. Run `az arcdata dc config init` to create " + "a custom configuration profile.", + ) + arg_context.argument( + "profile_name", + options_list=["--profile-name"], + help="The name of an existing configuration profile. Run `az " + "arcdata dc config list` to see available " + "options. One of the following: {0}.".format( + _get_release_profiles() + ), + ), + arg_context.argument( + "storage_class", + options_list=["--storage-class"], + help="The storage class to be used for all data and logs " + "persistent volumes for all data controller pods that " + "require them.", + ) + arg_context.argument( + "infrastructure", + options_list=["--infrastructure"], + help="The infrastructure on which the data controller will be " + "running on. Allowed values: {}".format( + get_valid_dc_infrastructures() + ), + ) + arg_context.argument( + "image_tag", + options_list=["--image-tag"], + help="Arc data services image tag to use for the data controller.", + ) + # -- indirect ---------------------------------------------------------- + arg_context.argument( + "annotations", + options_list=["--annotations"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Comma-separated list of annotations to apply all data " + "controller resources.", + deprecate_info=arg_context.deprecate(hide=True), + ) + arg_context.argument( + "labels", + options_list=["--labels"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Comma-separated list of labels to apply to all data " + "controller resources.", + deprecate_info=arg_context.deprecate(hide=True), + ) + arg_context.argument( + "logs_ui_private_key_file", + options_list=["--logs-ui-private-key-file"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Path to the file containing a PEM formatted certificate " + "private key to be used for the Logs UI dashboard endpoint.", + deprecate_info=arg_context.deprecate(hide=True), + ), + arg_context.argument( + "logs_ui_public_key_file", + options_list=["--logs-ui-public-key-file"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Path to the file containing a PEM formatted certificate " + "to be used for the Logs UI dashboard endpoint.", + deprecate_info=arg_context.deprecate(hide=True), + ), + arg_context.argument( + "metrics_ui_private_key_file", + options_list=["--metrics-ui-private-key-file"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Path to the file containing a PEM formatted certificate " + "private key to be used for the Metrics UI dashboard endpoint.", + deprecate_info=arg_context.deprecate(hide=True), + ) + arg_context.argument( + "metrics_ui_public_key_file", + options_list=["--metrics-ui-public-key-file"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Path to the file containing a PEM formatted certificate " + "to be used for the Metrics UI dashboard endpoint.", + deprecate_info=arg_context.deprecate(hide=True), + ), + arg_context.argument( + "service_annotations", + options_list=["--service-annotations"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Comma-separated list of annotations to apply to all external " + "data controller services.", + deprecate_info=arg_context.deprecate(hide=True), + ) + arg_context.argument( + "service_labels", + options_list=["--service-labels"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Comma-separated list of labels to apply to all external " + "data controller services.", + deprecate_info=arg_context.deprecate(hide=True), + ) + arg_context.argument( + "storage_annotations", + options_list=["--storage-annotations"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Comma-separated list of annotations to apply to all PVCs " + "created by the data controller.", + deprecate_info=arg_context.deprecate(hide=True), + ) + arg_context.argument( + "storage_labels", + options_list=["--storage-labels"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Comma-separated list of labels to apply to all PVCs created " + "by the data controller.", + deprecate_info=arg_context.deprecate(hide=True), + ) + arg_context.argument( + "use_k8s", + options_list=["--use-k8s"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help="Create data controller using local Kubernetes APIs.", + deprecate_info=arg_context.deprecate(hide=True), + ) + # -- direct ------------------------------------------------------------ + arg_context.argument( + "auto_upload_logs", + options_list=["--auto-upload-logs"], + choices=["true", "false"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="Enable auto upload logs.", + ) + arg_context.argument( + "auto_upload_metrics", + options_list=["--auto-upload-metrics"], + choices=["true", "false"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="Enable auto upload metrics.", + ) + arg_context.argument( + "custom_location", + options_list=["--custom-location"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The name of the custom location.", + ) + arg_context.argument( + "cluster_name", + options_list=["--cluster-name"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="Name of the Kubernetes cluster.", + ) + arg_context.argument( + "least_privilege", + options_list=["--least-privilege"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + choices=["true", "false"], + is_preview=True, + # Suppress until Custom Location RP releases E2E support, ETA March '23 + help=SUPPRESS, + ) + + with ArgumentsContext(self, "arcdata dc update") as arg_context: + arg_context.argument( + "name", + options_list=["--name", "-n"], + help="Data controller name.", + completer=get_resource_name_completion_list( + f"{RESOURCE_PROVIDER_NAMESPACE}/{INSTANCE_TYPE_DATA_CONTROLLER}" + ), + ) + arg_context.argument( + "desired_version", + options_list=["--desired-version", "-v"], + help="The desired version tag to which the data controller will " + "be upgraded, or empty to use the latest valid version.", + ) + # -- direct ------------------------------------------------------------ + arg_context.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group in which the data controller exists.", + ) + arg_context.argument( + "auto_upload_logs", + options_list=["--auto-upload-logs"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="Enable auto upload logs.", + choices=["true", "false"], + ) + arg_context.argument( + "auto_upload_metrics", + options_list=["--auto-upload-metrics"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="Enable auto upload metrics.", + choices=["true", "false"], + ) + # -- indirect ---------------------------------------------------------- + arg_context.argument( + "use_k8s", + options_list=["--use-k8s"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help=USE_K8S_TEXT, + ) + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="The Kubernetes namespace with a deployed data controller.", + ) + arg_context.argument( + "maintenance_start", + options_list=["--maintenance-start"], + is_preview=True, + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Date time of the start of the first default maintenance window.", + ) + arg_context.argument( + "maintenance_duration", + options_list=["--maintenance-duration"], + is_preview=True, + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Duration of the default maintenance window.", + ) + arg_context.argument( + "maintenance_recurrence", + options_list=["--maintenance-recurrence"], + is_preview=True, + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Recurring interval for the default maintenance window.", + ) + arg_context.argument( + "maintenance_time_zone", + options_list=["--maintenance-time-zone"], + is_preview=True, + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Timezone used to calculate the default maintenance window.", + ) + arg_context.argument( + "maintenance_enabled", + options_list=["--maintenance-enabled"], + is_preview=True, + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Set the enabled flag on the default maintenance window.", + choices=["true", "false"], + ) + + with ArgumentsContext(self, "arcdata dc delete") as arg_context: + arg_context.argument( + "name", options_list=["--name", "-n"], help="Data controller name." + ) + arg_context.argument( + "yes", + options_list=["--yes", "-y"], + action="store_true", + help="Delete data controller without confirmation prompt.", + ) + arg_context.argument( + "force", + options_list=["--force", "-f"], + action="store_true", + help="Force delete data controller and all of its data services.", + ) + # -- indirect -- + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="The Kubernetes namespace in which the data controller exists.", + ) + arg_context.argument( + "use_k8s", + options_list=["--use-k8s"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help=USE_K8S_TEXT, + ) + # -- direct -- + arg_context.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group in which the data controller exists.", + ) + + with ArgumentsContext(self, "arcdata dc list") as c: + # -- direct -- + c.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group containing the Arc data controller(s).", + ) + + with ArgumentsContext(self, "arcdata dc status show") as arg_context: + arg_context.argument( + "name", + options_list=["--name", "-n"], + help="The name for the data controller.", + ) + # -- indirect -- + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="The Kubernetes namespace in which the data controller exists.", + ) + arg_context.argument( + "use_k8s", + options_list=["--use-k8s"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help=USE_K8S_TEXT, + ) + # -- direct -- + arg_context.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group in which the data controller exists.", + ) + + with ArgumentsContext(self, "arcdata dc endpoint list") as arg_context: + arg_context.argument( + "endpoint_name", + options_list=["--endpoint-name", "-e"], + help="Arc data controller endpoint name.", + ) + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + help="The Kubernetes namespace in which the data controller " + "exists.", + ) + arg_context.argument( + "use_k8s", + options_list=["--use-k8s"], + action="store_true", + help=USE_K8S_TEXT, + ) + + with ArgumentsContext(self, "arcdata dc config list") as arg_context: + arg_context.argument( + "config_profile", + options_list=["--config-profile", "-c"], + help="Default config profile: {0}".format( + list(DeploymentConfigUtil.get_config_map(CONFIG_DIR).keys()) + ), + ) + + arg_context.argument( + "config_type", + options_list=["--type", "-t"], + choices="control", + help="What config type you would like to see.", + ) + + with ArgumentsContext(self, "arcdata dc config show") as arg_context: + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + help="The Kubernetes namespace in which the data controller " + "exists.", + ) + arg_context.argument( + "use_k8s", + options_list=["--use-k8s"], + action="store_true", + help=USE_K8S_TEXT, + ) + + with ArgumentsContext(self, "arcdata dc config init") as arg_context: + arg_context.argument( + "source", + options_list=["--source", "-s"], + help="Config profile source: {0}".format( + list(DeploymentConfigUtil.get_config_map(CONFIG_DIR).keys()) + ), + ) + arg_context.argument( + "path", + options_list=[ + "--path", + "-p", + arg_context.deprecate(target="-t", redirect="-p", hide=False), + arg_context.deprecate( + target="--target", redirect="--path", hide=False + ), + ], + help="File path of where you would like the config profile placed, " + "defaults to cwd/custom.", + ) + arg_context.argument( + "force", + options_list=["--force", "-f"], + action="store_true", + help="Force overwrite of the target file.", + ) + + with ArgumentsContext(self, "arcdata dc config add") as arg_context: + arg_context.argument( + "config_file", + options_list=[ + "--path", + "-p", + arg_context.deprecate(target="-c", redirect="-p", hide=False), + arg_context.deprecate( + target="--config-file", redirect="--path", hide=False + ), + ], + help="Data controller config file path of the config you would " + "like to set, i.e. custom/control.json", + ) + + arg_context.argument( + "json_values", + options_list=("--json-values", "-j"), + help="A key value pair list of json paths to values: key1.subkey1=value1,key2.subkey2=value2. " + "You may provide inline json values such as: " + 'key=\'{"kind":"cluster","name":"test-cluster"}\' or provide a file path, such as' + " key=./values.json. The add command does NOT support conditionals. " + "If the inline value you are providing is a key " + 'value pair itself with "=" and "," escape those characters. ' + "See http://jsonpatch.com/ for " + "examples of how your path should look. If you would like to access an array, you must do so " + "by indicating the index, such as key.0=value", + ) + + with ArgumentsContext(self, "arcdata dc config replace") as arg_context: + arg_context.argument( + "config_file", + options_list=[ + "--path", + "-p", + arg_context.deprecate(target="-c", redirect="-p", hide=False), + arg_context.deprecate( + target="--config-file", redirect="--path", hide=False + ), + ], + help="Data controller config file path of the config you would " + "like to set, i.e. custom/control.json", + ) + + arg_context.argument( + "json_values", + options_list=("--json-values", "-j"), + help="A key value pair list of json paths to values: key1.subkey1=value1,key2.subkey2=value2. " + "You may provide inline json values such as: " + 'key=\'{"kind":"cluster","name":"test-cluster"}\' or provide a file path, such as' + " key=./values.json. The replace command supports conditionals through the jsonpath library. To use this, " + "start your path with a $. This will allow you to do a conditional " + 'such as -j $.key1.key2[?(@.key3=="someValue"].key4=value. ' + "If the inline value you are providing is a key " + 'value pair itself with "=" and "," escape those characters. ' + "You may see examples below. " + "For additional help, See: https://jsonpath.com/", + ) + + with ArgumentsContext(self, "arcdata dc config remove") as arg_context: + arg_context.argument( + "config_file", + options_list=[ + "--path", + "-p", + arg_context.deprecate(target="-c", redirect="-p", hide=False), + arg_context.deprecate( + target="--config-file", redirect="--path", hide=False + ), + ], + help="Data controller config file path of the config you would " + "like to set, i.e. custom/control.json", + ) + + arg_context.argument( + "json_path", + options_list=["--json-path", "-j"], + help="A list of json paths based on the jsonpatch library that indicates which values you would like " + "removed, such as: key1.subkey1,key2.subkey2. The remove command does NOT support conditionals. " + "See http://jsonpatch.com/ for " + "examples of how your path should look. If you would like to access an array, you must do so " + "by indicating the index, such as key.0=value", + ) + + with ArgumentsContext(self, "arcdata dc config patch") as arg_context: + arg_context.argument( + "config_file", + options_list=[ + "--path", + arg_context.deprecate( + target="-c", redirect="--path", hide=False + ), + arg_context.deprecate( + target="--config-file", redirect="--path", hide=False + ), + ], + help="Data controller config file path of the config you would " + "like to set, i.e. custom/control.json", + ) + + arg_context.argument( + "patch_file", + options_list=["--patch-file", "-p"], + help="Path to a patch json file that is based off the jsonpatch library: http://jsonpatch.com/. " + 'You must start your patch json file with a key called "patch", whose value is an array ' + "of patch operations you intend to make. " + "For the path of a patch operation, you may use dot notation, such as key1.key2 for most operations." + " If you would like to do a replace operation, and you are replacing a value in an array that " + "requires a conditional, please use the jsonpath notation by beginning your path with a $. " + 'This will allow you to do a conditional such as $.key1.key2[?(@.key3=="someValue"].key4. ' + "See the examples below. For additional help with conditionals, " + "See: https://jsonpath.com/.", + ) + + with ArgumentsContext(self, "arcdata dc debug copy-logs") as arg_context: + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + help="Kubernetes namespace of the data controller.", + ) + arg_context.argument( + "target_folder", + options_list=["--target-folder", "-d"], + help="Target folder path to copy logs to. Optional, by default " + "creates the result in the local folder. Cannot be specified " + "multiple times. If specified multiple times, last one will " + "be used", + ) + arg_context.argument( + "pod", + options_list=["--pod"], + help="Copy the logs for the pods with similar name. Optional, by " + "default copies logs for all pods. Cannot be specified " + "multiple times. If specified multiple times, last one will " + "be used", + ) + arg_context.argument( + "container", + options_list=["--container", "-c"], + help="Copy the logs for the containers with similar name, " + "Optional, by default copies logs for all containers. Cannot " + "be specified multiple times. If specified multiple times, " + "last one will be used", + ) + arg_context.argument( + "resource_kind", + options_list=["--resource-kind"], + help="Copy the logs for the resource of a particular kind. " + "Cannot specified multiple times. If specified multiple times, " + "last one will be used. If specified, --resource-name should " + "also be specified to identify the resource.", + ) + arg_context.argument( + "resource_name", + options_list=["--resource-name"], + help="Copy the logs for the resource of the specified name. " + "Cannot be specified multiple times. If specified multiple times, " + "last one will be used. If specified, --resource-kind should " + "also be specified to identify the resource.", + ) + arg_context.argument( + "timeout", + options_list=["--timeout", "-t"], + type=int, + default=0, + help="The number of seconds to wait for the command to complete. " + "The default value is 0 which is unlimited", + ) + arg_context.argument( + "skip_compress", + options_list=["--skip-compress"], + action="store_true", + default=False, + help="Whether or not to skip compressing the result folder. " + "The default value is False which compresses the result folder.", + ) + arg_context.argument( + "exclude_dumps", + options_list=["--exclude-dumps"], + action="store_true", + default=False, + help="Whether or not to exclude dumps from result folder. " + "The default value is False which includes dumps.", + ) + arg_context.argument( + "exclude_controldb", + options_list=["--exclude-controldb"], + action="store_true", + default=False, + help="Whether or not to exclude a backup of controldb from result folder. " + "The default value is False which includes a controldb backup.", + ) + arg_context.argument( + "exclude_cluster_info", + options_list=["--exclude-cluster-info"], + action="store_true", + default=False, + help="Whether or not to exclude kubernetes resource info from result folder per namespace. " + "The default value is False which includes namespaced resource info.", + ) + arg_context.argument( + "exclude_arcdata_logs", + options_list=["--exclude-arcdata-logs"], + action="store_true", + default=False, + help="Whether or not to exclude arc data services logs from result folder. " + "The default value is False which includes all arc data services container logs.", + ) + arg_context.argument( + "exclude_system_logs", + options_list=["--exclude-system-logs"], + action="store_true", + default=False, + help="Whether or not to exclude kube-system and azure-arc namespace logs from collection. " + "The default value is False which includes kube-system and connectedk8s logs, if accessible.", + ) + arg_context.argument( + "use_k8s", + options_list=["--use-k8s"], + # deprecate_info=arg_context.deprecate(hide=True), + action="store_true", + help=USE_K8S_TEXT, + ) + + with ArgumentsContext(self, "arcdata dc debug dump") as arg_context: + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + help="Kubernetes namespace of the data controller.", + ) + + arg_context.argument( + "container", + options_list=["--container", "-c"], + choices=["controller"], + default="controller", + help="The target container to be triggered for dumping the running " + "processes.", + ) + + arg_context.argument( + "target_folder", + options_list=["--target-folder", "-d"], + default="./output/dump", + help="Target folder to copy the dump out.", + ) + arg_context.argument( + "use_k8s", + options_list=["--use-k8s"], + # deprecate_info=arg_context.deprecate(hide=True), + action="store_true", + help=USE_K8S_TEXT, + ) + + with ArgumentsContext( + self, "arcdata dc debug restore-controldb-snapshot" + ) as arg_context: + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + help="Kubernetes namespace of the existing data controller.", + ) + arg_context.argument( + "backup_file", + options_list=["--backup-file", "-f"], + help="Existing Controller Database backup file - must end in '.bak', " + "will be restored under a unique database name based on execution " + "timestamp.", + ) + arg_context.argument( + "use_k8s", + options_list=["--use-k8s"], + # deprecate_info=arg_context.deprecate(hide=True), + action="store_true", + help=USE_K8S_TEXT, + ) + + with ArgumentsContext( + self, "arcdata dc debug controldb-cdc" + ) as arg_context: + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + help="Kubernetes namespace of the existing data controller.", + ) + arg_context.argument( + "enable", + options_list=["--enable"], + choices=["true", "false"], + help="Enable or disable change data capture.", + ) + arg_context.argument( + "retention_hours", + options_list=["--retention-hours"], + type=int, + default=8, + help="CDC retention period, specified in hours. " + "Allowed values are 1 to 24.", + ) + arg_context.argument( + "use_k8s", + options_list=["--use-k8s"], + # deprecate_info=arg_context.deprecate(hide=True), + action="store_true", + help=USE_K8S_TEXT, + ) + + with ArgumentsContext(self, "arcdata dc export") as arg_context: + arg_context.argument( + "export_type", + options_list=["--type", "-t"], + help="The type of data to be exported. Options: logs, metrics, " + "and usage.", + ) + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + help="The Kubernetes namespace in which the data controller exists.", + ) + arg_context.argument( + "path", + options_list=["--path", "-p"], + help="The full or relative path including the file name of the " + "file to be exported.", + ) + arg_context.argument( + "force", + options_list=["--force", "-f"], + action="store_true", + help="Force create output file. Overwrites any existing file at " + "the same path.", + ) + arg_context.argument( + "use_k8s", + options_list=["--use-k8s"], + # deprecate_info=arg_context.deprecate(hide=True), + action="store_true", + help=USE_K8S_TEXT, + ) + + with ArgumentsContext(self, "arcdata dc upload") as arg_context: + arg_context.argument( + "path", + options_list=["--path", "-p"], + help="The full or relative path including the file name of the " + "file to be uploaded.", + ) + + with ArgumentsContext(self, "arcdata resource-kind get") as arg_context: + arg_context.argument( + "kind", + options_list=["--kind", "-k"], + help="The kind of arc resource you want the template file for.", + ) + arg_context.argument( + "dest", + options_list=["--dest", "-d"], + help='The directory where you"d like to place the template files.', + ) + + with ArgumentsContext(self, "arc resource list") as arg_context: + arg_context.argument( + "kind", + options_list=["--kind", "-k"], + help="The kind of the Arc custom resource you would like to list.", + ) + + with ArgumentsContext(self, "arcdata dc upgrade") as arg_context: + arg_context.argument( + "desired_version", + options_list=[ + "--desired-version", + "-v", + arg_context.deprecate( + target="--target", redirect="--desired-version", hide=False + ), + ], + help="The desired version tag to which the data controller will " + "be upgraded, or empty to use the latest valid version.", + ) + arg_context.argument( + "dry_run", + options_list=["--dry-run", "-d"], + action="store_true", + help="Indicates which instance would be upgraded but does not " + "actually upgrade the instances.", + ) + arg_context.argument( + "no_wait", + options_list=["--no-wait"], + action="store_true", + help="If given, the command will start the upgrade, but will not " + "wait for the entire upgrade to complete. Upgrade will " + "continue in the background.", + ) + arg_context.argument( + "name", + options_list=["--name", "-n"], + help="The name of the data controller.", + ) + # -- native -- + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="The Kubernetes namespace in which the data controller " + "exists.", + ) + arg_context.argument( + "use_k8s", + options_list=["--use-k8s"], + action="store_true", + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Upgrade data controller using local Kubernetes APIs.", + ) + # -- direct -- + arg_context.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group in which the data controller exists.", + ) + + with ArgumentsContext(self, "arcdata dc list-upgrades") as arg_context: + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + help="The Kubernetes namespace in which the data controller exists.", + ) + arg_context.argument( + "use_k8s", + options_list=["--use-k8s"], + action="store_true", + help="List available data controller versions using local Kubernetes APIs.", + ) + + +def _get_release_profiles(): + return list( + filter( + lambda x: "dev-test" not in x, + DeploymentConfigUtil.get_config_map(CONFIG_DIR).keys(), + ) + ) diff --git a/src/arcdata/arcdata/azext_arcdata/dc/commands.py b/src/arcdata/arcdata/azext_arcdata/dc/commands.py new file mode 100644 index 00000000000..f4c5996f405 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/dc/commands.py @@ -0,0 +1,109 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.core.cli_client import beget +from azure.cli.core.commands import CliCommandType + +import azext_arcdata.dc.validators as validators + + +def load_commands(self, _): + operations = CliCommandType(operations_tmpl="azext_arcdata.dc.custom#{}") + + with self.command_group( + "arcdata dc", operations, client_factory=beget + ) as g: + g.command( + "endpoint list", + "dc_endpoint_list", + validator=validators.force_indirect, + ) # , output=format_table) + g.command( + "upload", + "dc_upload", + validator=validators.validate_upload, + deprecate_info=g.deprecate(redirect="", hide=True), + ) + g.command( + "update", + "dc_update", + supports_no_wait=True, + validator=validators.validate_update, + ) + + with self.command_group( + "arcdata dc", operations, client_factory=beget + ) as g: + g.command( + "create", + "dc_create", + supports_no_wait=True, + validator=validators.validate_create, + ) + g.command("config show", "dc_config_show") + g.command( + "status show", + "dc_status_show", + validator=validators.validate_status_show, + ) + g.command( + "upgrade", + "dc_upgrade", + validator=validators.validate_upgrade, + supports_no_wait=True, + ) + g.command( + "list-upgrades", + "dc_list_upgrade", + validator=validators.force_indirect, + ) + g.command( + "delete", + "dc_delete", + supports_no_wait=True, + validator=validators.validate_delete, + ) + g.command("list", "dc_list") + g.command( + "export", + "dc_export", + validator=validators.force_indirect, + deprecate_info=g.deprecate(redirect="", hide=True), + ) + + with self.command_group( + "arcdata dc config", operations, client_factory=beget + ) as g: + g.command("list", "dc_config_list") + g.command("init", "dc_config_init") + g.command("patch", "dc_config_patch") + g.command("add", "dc_config_add") + g.command("replace", "dc_config_replace") + g.command("remove", "dc_config_remove") + + with self.command_group( + "arcdata dc debug", operations, client_factory=beget + ) as g: + g.command( + "copy-logs", + "dc_debug_copy_logs", + validator=validators.validate_copy_logs, + ) + g.command("dump", "dc_debug_dump", validator=validators.force_indirect) + g.command( + "restore-controldb-snapshot", + "dc_debug_restore_controldb_snapshot", + validator=validators.force_indirect, + ) + g.command( + "controldb-cdc", + "dc_debug_controldb_cdc", + validator=validators.validate_controldb_cdc_retention, + ) + + with self.command_group("arcdata", operations, client_factory=beget) as g: + g.command("resource-kind list", "arc_resource_kind_list") + g.command("resource-kind get", "arc_resource_kind_get") diff --git a/src/arcdata/arcdata/azext_arcdata/dc/constants.py b/src/arcdata/arcdata/azext_arcdata/dc/constants.py new file mode 100644 index 00000000000..138cbe9d9de --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/dc/constants.py @@ -0,0 +1,40 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +################################################################################ +# Export +################################################################################ + +UID = "uid" +KIND = "kind" +INSTANCE_NAME = "instanceName" +NAMESPACE = "instanceNamespace" + +LAST_USAGE_UPLOAD_FLAG = "end_usage" +""" +Key of flag in usage file indicating last usage upload +""" + +DEFAULT_LOG_QUERY_WINDOW_IN_MINUTE = 14 * 24 * 60 +""" +Default log query window in minute +""" + +DEFAULT_USAGE_QUERY_WINDOW_IN_MINUTE = 62 * 24 * 60 +""" +Default usage query window in minute +""" + +DEFAULT_METRIC_QUERY_WINDOW_IN_MINUTE = 28 +""" +Default metric query window in minute +""" + +DEFAULT_QUERY_WINDOW = { + "metrics": DEFAULT_METRIC_QUERY_WINDOW_IN_MINUTE, + "logs": DEFAULT_LOG_QUERY_WINDOW_IN_MINUTE, + "usage": DEFAULT_USAGE_QUERY_WINDOW_IN_MINUTE, +} diff --git a/src/arcdata/arcdata/azext_arcdata/dc/custom.py b/src/arcdata/arcdata/azext_arcdata/dc/custom.py new file mode 100644 index 00000000000..f8c4127ef75 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/dc/custom.py @@ -0,0 +1,682 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +"""Command definitions for `data control`.""" + +from azext_arcdata.vendored_sdks.arm_sdk.azure.export_util import ( + ExportType, + check_prompt_export_output_file, +) +from src.arcdata.arcdata.azext_arcdata.vendored_sdks.kubernetes_sdk.json_serialization import ExtendedJsonEncoder + +from azext_arcdata.core.prompt import ( + prompt_for_input, + prompt_for_choice, + prompt_assert, + prompt_y_n, +) +from azext_arcdata.core.text import Text +from azext_arcdata.core.util import DeploymentConfigUtil +from azext_arcdata.vendored_sdks.kubernetes_sdk.arc_docker_image_service import ( + ArcDataImageService, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import KubernetesClient +from knack.prompting import NoTTYException +from knack.log import get_logger +from knack.cli import CLIError +from colorama import Fore + +import json +import os +import yaml +import shutil + +logger = get_logger(__name__) + + +def dc_create( + client, + connectivity_mode, + name, + resource_group, + location=None, + infrastructure=None, + no_wait=False, + path=None, + profile_name=None, + storage_class=None, + image_tag=None, + # -- direct -- + auto_upload_logs=None, + auto_upload_metrics=None, + custom_location=None, + cluster_name=None, + least_privilege=None, + # -- indirect -- + annotations=None, + namespace=None, + labels=None, + logs_ui_private_key_file=None, + logs_ui_public_key_file=None, + metrics_ui_private_key_file=None, + metrics_ui_public_key_file=None, + service_annotations=None, + service_labels=None, + storage_annotations=None, + storage_labels=None, + use_k8s=None, +): + try: + stdout = client.stdout + if not path and not profile_name: + from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.constants import CONFIG_DIR + + # Prompt the user for a choice between configs + stdout("Please choose a deployment configuration: ") + stdout( + "To see more information please exit and use command:\n " + "az arcdata dc config list -c " + ) + + config_dir = client.services.dc.get_deployment_config_dir() + choices = client.services.dc.list_configs() + profile = prompt_for_choice(choices).lower() + path = os.path.join(config_dir, profile) + logger.debug("Profile path: %s", path) + + # -- Apply Subscription -- + subscription = client.subscription or prompt_assert("Subscription: ") + stdout("\nUsing subscription '{}'.\n".format(subscription)) + + # -- Apply Configuration Directory -- + cvo = client.args_to_command_value_object( + { + "connectivity_mode": connectivity_mode, + "name": name, + "resource_group": resource_group, + "location": location, + "profile_name": profile_name, + "path": path, + "storage_class": storage_class, + "infrastructure": infrastructure, + "image_tag": image_tag, + "labels": labels, + "annotations": annotations, + "service_annotations": service_annotations, + "service_labels": service_labels, + "storage_labels": storage_labels, + "storage_annotations": storage_annotations, + "logs_ui_public_key_file": logs_ui_public_key_file, + "logs_ui_private_key_file": logs_ui_private_key_file, + "metrics_ui_public_key_file": metrics_ui_public_key_file, + "metrics_ui_private_key_file": metrics_ui_private_key_file, + "subscription": subscription, + "custom_location": custom_location, + "auto_upload_metrics": auto_upload_metrics, + "auto_upload_logs": auto_upload_logs, + "cluster_name": cluster_name, + "least_privilege": least_privilege, + "namespace": namespace, + "no_wait": no_wait, + } + ) + + dc = client.services.dc.create(cvo) + if no_wait: + stdout( + f"The data controller '{name}' is being created in the " + f"background, to check status run:\n\naz arcdata dc status " + f"show -n {name} -g {resource_group} --query properties." + f"k8SRaw.status" + ) + return dc + except (NoTTYException, ValueError, Exception) as e: + raise CLIError(e) + + +def dc_update( + client, + name=None, + no_wait=False, + desired_version=None, + # -- direct -- + resource_group=None, + auto_upload_logs=None, + auto_upload_metrics=None, + # -- indirect -- + use_k8s=None, + namespace=None, + maintenance_start=None, + maintenance_duration=None, + maintenance_recurrence=None, + maintenance_time_zone=None, + maintenance_enabled=None, +): + """ + Update data controller properties. + """ + try: + cvo = client.args_to_command_value_object() + return client.services.dc.update(cvo) + except Exception as e: + raise CLIError(e) + + +def dc_upgrade( + client, + namespace=None, + desired_version=None, + dry_run=None, + use_k8s=None, + resource_group=None, + name=None, + no_wait=False, +): + try: + cvo = client.args_to_command_value_object( + { + "namespace": namespace, + "target": desired_version, + "dry_run": dry_run, + "no_wait": no_wait, + "name": name, + "resource_group": resource_group, + } + ) + client.services.dc.upgrade(cvo) + except Exception as e: + raise CLIError(e) + + +def mw_update( + client, + namespace=None, + desired_version=None, + use_k8s=None, + maintenance_start=None, + maintenance_duration=None, + maintenance_recurrence=None, + maintenance_time_zone=None, +): + """ + Pass-through maintenance window update command + """ + try: + cvo = client.args_to_command_value_object() + client.services.dc.update_maintenance_window(cvo) + except Exception as e: + raise CLIError(e) + + +def dc_list_upgrade(client, namespace, use_k8s=None): + stdout = client.stdout + try: + cvo = client.args_to_command_value_object( + {"namespace": namespace, "use_k8s": use_k8s} + ) + current_version, versions = client.services.dc.list_upgrades(cvo) + # - Only current version + later versions are valid + valid_versions = [ + version + for version in versions + if ArcDataImageService.compare_version_tag( + version, current_version, ignore_label=True + ) + >= 0 + ] + + stdout( + "Found {0} valid versions. The current datacontroller version is " + "{1}.".format(len(valid_versions), current_version) + ) + + for version in valid_versions: + if version == current_version: + stdout( + "{0} << current version".format(version), + color=Fore.LIGHTGREEN_EX, + ) + else: + stdout(version) + except Exception as e: + raise CLIError(e) + + +def dc_endpoint_list(client, namespace, endpoint_name=None, use_k8s=None): + """ + Retrieves the endpoints of the cluster + """ + try: + cvo = client.args_to_command_value_object( + {"namespace": namespace, "endpoint_name": endpoint_name} + ) + return client.services.dc.list_endpoints(cvo) + except Exception as e: + raise CLIError(e) + + +def dc_status_show( + client, name=None, resource_group=None, namespace=None, use_k8s=None +): + """ + Return the status of the data controller custom resource. + """ + try: + cvo = client.args_to_command_value_object( + { + "name": name, + "resource_group": resource_group, + "namespace": namespace, + } + ) + state = client.services.dc.get_status(cvo) + + if use_k8s: + client.stdout(state.lower().capitalize()) + else: + return state + except (ValueError, Exception) as e: + raise CLIError(e) + + +def dc_config_show(client, namespace=None, use_k8s=None): + """ + Return the config of the data controller custom resource. + """ + try: + cvo = client.args_to_command_value_object({"namespace": namespace}) + return client.services.dc.get_config(cvo) + except Exception as e: + raise CLIError(e) + + +def dc_delete( + client, + name, + namespace=None, + resource_group=None, + force=None, + yes=None, + use_k8s=None, + no_wait=False, +): + """ + Deletes the data controller. + """ + try: + stdout = client.stdout + + if not yes: + stdout("") + stdout( + "This operation will delete everything inside of data " + "controller `{}` which includes the Kubernetes " + "secrets and services, etc.".format(name) + ) + stdout( + "Data stored on persistent volumes will get deleted if the " + "storage class reclaim policy is set to " + "delete/recycle." + ) + stdout("") + + yes = prompt_y_n( + "Do you want to continue with deleting " + "the data controller `{}`?".format(name) + ) + + if yes != "yes" and yes is not True: + stdout("Data controller not deleted. Exiting...") + return + + cvo = client.args_to_command_value_object( + { + "name": name, + "resource_group": resource_group, + "namespace": namespace, + "force": force, + "no_wait": no_wait, + } + ) + client.services.dc.delete(cvo) + + stdout("Data controller `{}` deleted successfully.".format(name)) + except NoTTYException: + raise CLIError("Please specify `--yes` in non-interactive mode.") + except Exception as e: + raise CLIError(e) + + +def dc_list( + client, + resource_group=None, +): + """ + Lists all the data controllers in the subscription or in the resource group. + """ + try: + cvo = client.args_to_command_value_object( + { + "resource_group": resource_group, + } + ) + return client.services.dc.list(cvo) + except Exception as e: + raise CLIError(e) + + +def dc_config_list(client, config_profile=None): + """ + Lists available configuration file choices. + """ + try: + return client.services.dc.list_configs(config_profile) + except (ValueError, Exception) as e: + raise CLIError(e) + + +def dc_config_init(client, path=None, source=None, force=None): + """ + Initializes a cluster configuration file for the user. + """ + try: + stdout = client.stdout + config_dir = client.services.dc.get_deployment_config_dir() + config_files = client.services.dc.get_deployment_config_files() + + try: + if not path: + path = prompt_for_input( + "Custom Config Profile Path:", "custom", False, False + ) + except NoTTYException: + # If non-interactive, default to custom directory + path = "custom" + + # Read the available configs by name + config_map = DeploymentConfigUtil.get_config_map(config_dir) + + if source: + if source not in config_map.keys(): + raise ValueError( + "Invalid config source, please consult [dc " + "config list] for available sources" + ) + elif not source: + choices = DeploymentConfigUtil.get_config_display_names(config_map) + + # Filter out test profiles + filtered_choices = list(filter(lambda c: "test" not in c, choices)) + + # Prompt the user for a choice between configs + stdout("Please choose a config:") + source = prompt_for_choice(filtered_choices, choices[8]) + + if os.path.isfile(path): + raise FileExistsError( + "Please specify a directory path. Path is a file: {0}".format( + path + ) + ) + + result = DeploymentConfigUtil.save_config_profile( + path, source, config_dir, config_files, config_map, force + ) + + client.stdout("Created configuration profile in {}".format(result)) + except NoTTYException: + raise CLIError("Please specify path and source in non-interactive mode") + except (ValueError, Exception) as e: + raise CLIError(e) + + +def dc_config_add(client, config_file, json_values): + """ + Add new key and value to the given config file + """ + try: + config_object = DeploymentConfigUtil.config_add( + config_file, json_values + ) + DeploymentConfigUtil.write_config_file(config_file, config_object) + except Exception as e: + raise CLIError(e) + + +def dc_config_replace(client, config_file, json_values): + """ + Replace the value of a given key in the given config file + """ + try: + config_object = DeploymentConfigUtil.config_replace( + config_file, json_values + ) + DeploymentConfigUtil.write_config_file(config_file, config_object) + except Exception as e: + raise CLIError(e) + + +def dc_config_remove(client, config_file, json_path): + """ + Remove a key from the given config file + """ + try: + config_object = DeploymentConfigUtil.config_remove( + config_file, json_path + ) + DeploymentConfigUtil.write_config_file(config_file, config_object) + except Exception as e: + raise CLIError(e) + + +def dc_config_patch(client, config_file, patch_file): + """ + Patch a given file against the given config file + """ + try: + config_object = DeploymentConfigUtil.config_patch( + config_file, patch_file + ) + DeploymentConfigUtil.write_config_file(config_file, config_object) + except Exception as e: + raise CLIError(e) + + +def dc_debug_copy_logs( + client, + namespace, + container=None, + target_folder=None, + pod=None, + resource_kind=None, + resource_name=None, + timeout=0, + skip_compress=False, + exclude_dumps=False, + exclude_arcdata_logs=False, + exclude_system_logs=False, + exclude_controldb=False, + exclude_cluster_info=False, + use_k8s=None, # not used +): + """ + Copy Logs commands - requires kube config + """ + try: + client.services.dc.copy_logs( + namespace, + target_folder=target_folder, + pod=pod, + container=container, + resource_kind=resource_kind, + resource_name=resource_name, + timeout=timeout, + skip_compress=skip_compress, + exclude_dumps=exclude_dumps, + exclude_arcdata_logs=exclude_arcdata_logs, + exclude_system_logs=exclude_system_logs, + exclude_controldb=exclude_controldb, + exclude_cluster_info=exclude_cluster_info, + ) + except Exception as e: + raise CLIError(e) + + +def dc_debug_dump( + client, + namespace, + container="controller", + target_folder="./output/dump", + use_k8s=None, # not used +): + """ + Trigger dump for given container and copy out the dump file to given + output folder + """ + try: + client.services.dc.capture_debug_dump( + namespace, container, target_folder + ) + except (NotImplementedError, Exception) as e: + raise CLIError(e) + + +def dc_debug_restore_controldb_snapshot( + client, + namespace, + backup_file, + use_k8s=None, # not used +): + """ + Restores ControlDB from existing backup file under a unique database name - requires kube config + """ + try: + client.services.dc.restore_controldb_snapshot( + namespace, + backup_file, + ) + except Exception as e: + raise CLIError(e) + + +def dc_debug_controldb_cdc( + client, + namespace, + enable=None, + retention_hours=None, + use_k8s=None, # not used +): + """ + Enables or Disables Change Data Capture for 'controller' Database and supported system tables - requires kube config + """ + try: + client.services.dc.controldb_cdc( + namespace, + enable, + retention_hours, + ) + except Exception as e: + raise CLIError(e) + + +def dc_export(client, export_type, path, namespace, force=None, use_k8s=None): + """ + Export metrics, logs or usage to a file. + """ + try: + if export_type.lower() not in ExportType.list(): + raise ValueError( + "{} is not a supported type. " + "Please specify one of the following: {}".format( + export_type, ExportType.list() + ) + ) + + path = check_prompt_export_output_file(path, force) + + client.services.dc.export(namespace, export_type, path) + except NoTTYException: + raise CLIError("Please specify `--force` in non-interactive mode.") + except Exception as e: + raise CLIError(e) + + +def arc_resource_kind_list(client): + """ + Returns the list of available arc resource kinds which can be created in + the cluster. + """ + try: + return list(client.services.dc.get_crd_dict().keys()) + except Exception as e: + raise CLIError(e) + + +def arc_resource_kind_get(client, kind, dest="template"): + """ + Returns a package of crd.json and spec-template.json based on the given + kind. + """ + try: + if not os.path.isdir(dest): + os.makedirs(dest, exist_ok=True) + + crd_dict = client.services.dc.get_crd_dict() + spec_file_dict = client.services.dc.get_spec_file_dict() + + # Make the resource name case insensitive + local_crd_dict = {k.lower(): v for k, v in crd_dict.items()} + local_spec_file_dict = {k.lower(): v for k, v in spec_file_dict.items()} + kind_lower_case = kind.lower() + + if ( + kind_lower_case not in local_crd_dict + or kind_lower_case not in local_spec_file_dict + ): + raise ValueError( + "Invalid input kind. Please check resource kind list." + ) + + # Create the control plane CRD for the input kind. + crd_name = local_crd_dict[kind_lower_case] + crd = KubernetesClient.get_crd(crd_name).to_dict() + + # clean up fields not needed + crd["metadata"].pop("managed_fields", None) + crd.pop("status", None) + + with open(os.path.join(dest, "crd.json"), "w") as output: + json.dump( + crd, + output, + check_circular=False, + cls=ExtendedJsonEncoder, + indent=4, + ) + + # Copy spec.json template to the new path + spec_file_path = local_spec_file_dict[kind_lower_case] + shutil.copy(spec_file_path, os.path.join(dest, "spec.json")) + + client.stdout( + "{0} template created in directory: {1}".format(kind, dest) + ) + + except (ValueError, Exception) as e: + raise CLIError(e) + + +def dc_upload(client, path): + """ + Upload data file exported from a data controller to Azure (indirect only). + """ + try: + cvo = client.args_to_command_value_object() + return client.services.dc.export_upload_log_and_metrics(cvo) + except ValueError as e: + raise CLIError(e) + except Exception as e: + raise CLIError(e) diff --git a/src/arcdata/arcdata/azext_arcdata/dc/exceptions.py b/src/arcdata/arcdata/azext_arcdata/dc/exceptions.py new file mode 100644 index 00000000000..d4a0b3cc8f9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/dc/exceptions.py @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from requests.exceptions import HTTPError + + +class RequestTimeoutError(HTTPError): + """HTTP 408 Requet Timeout error while calling APIs.""" + + pass + + +class ServerError(HTTPError): + """HTTP 5xx errors while calling APIs.""" + + pass diff --git a/src/arcdata/arcdata/azext_arcdata/dc/help.py b/src/arcdata/arcdata/azext_arcdata/dc/help.py new file mode 100644 index 00000000000..128b6efaca5 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/dc/help.py @@ -0,0 +1,517 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from knack.help_files import helps +from azext_arcdata.core.util import get_environment_list_by_target + +# Help documentation for `control` commands. + + +helps["arcdata"] = ( + """ + type: group + short-summary: {short} +""".format( + short="Commands for using Azure Arc-enabled data services." + ) +) + +helps["arcdata dc"] = ( + """ + type: group + short-summary: {short} +""".format( + short="Create, delete, and manage data controllers." + ) +) + +helps["arcdata dc create"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az arcdata dc create --name dc-name + --connectivity-mode direct --resource-group rg-name + --location eastasia --subscription subscription + --custom-location arc-cl + - name: {ex2} + text: > + az arcdata dc create --name dc-name + --subscription subscription --resource-group rg-name + --cluster-name arc-cluster --connectivity-mode direct + --custom-location arc-cl +""".format( + short="Create data controller.", + long="Create data controller - kube config is required on your system " + "along with credentials for the monitoring dashboards provided by the " + "following environment variables - AZDATA_LOGSUI_USERNAME and " + "AZDATA_LOGSUI_PASSWORD for Logs Dashboard, and " + "AZDATA_METRICSUI_USERNAME and AZDATA_METRICSUI_PASSWORD for Metrics " + "Dashboard. Alternatively AZDATA_USERNAME and AZDATA_PASSWORD will be " + "used as a fallback if either sets of environment variables are " + "missing. When using ARM-targeted arguments, the following optional environment variables are " + "also possible - WORKSPACE_ID for Log Analytics Workspace ID and " + "WORKSPACE_SHARED_KEY for the Log Analytics Primary Key.", + ex1="Deploy an Arc data controller through Azure Resource Manager (direct connectivity mode only).", + ex2="Deploy an Arc data controller to a given Arc-enabled Kubernetes cluster through ARM " + "(direct connectivity mode only). This command will deploy the Arc data services extension " + "and custom location if they do not exist already.", + ) +) + +helps["arcdata dc upgrade"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az arcdata dc upgrade --k8s-namespace arc --use-k8s +""".format( + short="Upgrade data controller.", + long="Upgrade data controller to the desired-version specified. If desired-version is not specified, " + "an attempt to upgrade to the latest version will be made. If you are unsure of the desired version, " + "you may use the list-upgrades command to view available versions, " + "or use the --dry-run argument to show which version would be used", + ex1="Data controller upgrade.", + ) +) + +helps["arcdata dc update"] = ( + """ + type: group + short-summary: {short} +""".format( + short="Update data controller properties." + ) +) + +helps["arcdata dc update"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az arcdata dc update --auto-upload-logs true --name dc-name --resource-group rg-name + - name: {ex2} + text: > + az arcdata dc update --auto-upload-metrics true --name dc-name --resource-group rg-name +""".format( + short="Update data controller.", + long="Updates the datacontroller to enable/disable auto-uploading logs and metrics", + ex1="Enable auto-uploading of logs through Azure Resource Manager (ARM).", + ex2="Enable auto-uploading of metrics through ARM.", + ) +) + + +helps["arcdata dc list-upgrades"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az arcdata dc list-upgrades --k8s-namespace namespace --use-k8s +""".format( + short="List available upgrade versions.", + long="Attempts to list versions that are available in the docker image registry for upgrade. " + "- kube config is required on your system " + "along with the following environment variables {0}.".format( + get_environment_list_by_target("cluster") + ), + ex1="Data controller upgrade list.", + ) +) + +helps["arcdata dc delete"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az arcdata dc delete --name dc-name --k8s-namespace arc --use-k8s + - name: {ex2} + text: > + az arcdata dc delete --name dc-name --resource-group rg-name +""".format( + short="Delete data controller.", + long="Delete data controller - kube config is required on your system.", + ex1="Delete a data controller through the Kubernetes API.", + ex2="Delete a data controller through Azure Resource Manager (ARM).", + ) +) + +helps["arcdata dc list"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az arcdata dc list --resource-group rg-name + - name: {ex2} + text: > + az arcdata dc list --subscription subscriptionId +""".format( + short="List Azure Arc data controllers by resource group or subscription.", + ex1="Lists all Arc data controllers in the given resource group.", + ex2="Lists all Arc data controllers in the given subscription.", + ) +) + +helps["arcdata dc endpoint"] = ( + """ + type: group + short-summary: {short} +""".format( + short="Endpoint commands." + ) +) + +helps["arcdata dc endpoint list"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az arcdata dc endpoint list --k8s-namespace namespace +""".format( + short="List the data controller endpoint.", + long="List the data controller endpoint.", + ex1="Lists all available data controller endpoints.", + ) +) + +helps["arcdata dc status"] = ( + """ + type: group + short-summary: {short} +""".format( + short="Status commands." + ) +) + +helps["arcdata dc status show"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az arcdata dc status show --k8s-namespace namespace --use-k8s + - name: {ex2} + text: > + az arcdata dc status show --resource-group resource-group +""".format( + short="Show the status of the data controller.", + long="Show the status of the data controller.", + ex1="Show the status of the data controller in a particular kubernetes " + "namespace.", + ex2="Show the status of a directly connected data controller in a " + "particular resource group.", + ) +) + +helps["arcdata dc config"] = ( + """ + type: group + short-summary: {short} +""".format( + short="Configuration commands." + ) +) + +helps["arcdata dc config init"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az arcdata dc config init + - name: {ex2} + text: > + az arcdata dc config init --source azure-arc-kubeadm --path custom +""".format( + short="Initialize a data controller configuration profile that can be used with `az arcdata dc create`.", + long="Initialize a data controller configuration profile that can be used with `az arcdata dc create`. " + "The specific source of the configuration profile can be specified in the arguments.", + ex1="Guided data controller config init experience - you will receive prompts for needed values.", + ex2="arcdata dc config init with arguments, creates a configuration profile of aks-dev-test in ./custom.", + ) +) + +helps["arcdata dc config list"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az arcdata dc config list + - name: {ex2} + text: > + az arcdata dc config list --config-profile aks-dev-test +""".format( + short="List available configuration profile choices.", + long="List available configuration profile choices for use in `arcdata dc config init`", + ex1="Shows all available configuration profile names.", + ex2="Shows json of a specific configuration profile.", + ) +) + +helps["arcdata dc config add"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az arcdata dc config add --path custom/control.json + --json-values 'spec.storage={val1}' +""".format( + short="Add a value for a json path in a config file.", + long="Add the value at the json path in the config file. All examples " + "below are given in Bash. If using another command line, you may need to escape" + "quotations appropriately. Alternatively, you may use the patch file functionality.", + ex1="Add data controller storage.", + val1='{"accessMode":"ReadWriteOnce","className":"managed-premium","size":"10Gi"}', + ) +) + +helps["arcdata dc config remove"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az arcdata dc config remove --path custom/control.json + --json-path '.spec.storage' +""".format( + short="Remove a value for a json path in a config file.", + long="Remove the value at the json path in the config file. All examples " + "below are given in Bash. If using another command line, you may need to escape" + "quotations appropriately. Alternatively, you may use the patch file functionality.", + ex1="Ex 1 - Remove data controller storage.", + ) +) + +helps["arcdata dc config replace"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az arcdata dc config replace --path custom/control.json + --json-values '$.spec.endpoints[?(@.name=="Controller")].port=30080' + - name: {ex2} + text: > + az arcdata dc config replace --path custom/control.json + --json-values '{val2}' +""".format( + short="Replace a value for a json path in a config file.", + long="Replace the value at the json path in the config file. All examples" + "below are given in Bash. If using another command line, you may need to escape" + "quotations appropriately. Alternatively, you may use the patch file functionality.", + ex1="Ex 1 - Replace the port of a single endpoint (Data Controller Endpoint).", + ex2="Ex 2 - Replace data controller storage.", + val2='spec.storage={"accessMode":"ReadWriteOnce","className":"managed-premium","size":"10Gi"}', + ) +) + +helps["arcdata dc config patch"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az arcdata dc config patch --path custom/control.json --patch ./patch.json + + Patch File Example (patch.json): + {patch1} + - name: {ex2} + text: > + az arcdata dc config patch --path custom/control.json --patch ./patch.json + + Patch File Example (patch.json): + {patch2} +""".format( + short="Patch a config file based on a json patch file.", + long="Patch the config file according to the given patch file. " + "Consult http://jsonpatch.com/ for a better understanding of how the paths should be composed. " + "The replace operation can use conditionals in its path due to the jsonpath library https://jsonpath.com/. " + 'All patch json files must start with a key of "patch" that has an array of patches with their ' + "corresponding op (add, replace, remove), path, and value. " + 'The "remove" op does not require a value, just a path. ' + "See the examples below.", + ex1="Ex 1 - Replace the port of a single endpoint (Data Controller Endpoint) with patch file.", + patch1='{"patch":[{"op":"replace","path":"$.spec.endpoints[?(@.name==\'Controller\')].port",' + '"value":30080}]}', + ex2="Ex 2 - Replace data controller storage with patch file.", + patch2='{"patch":[{"op":"replace","path":".spec.storage",' + '"value":{"accessMode":"ReadWriteMany","className":"managed-premium","size":"10Gi"}}]}', + ) +) + +helps["arcdata dc debug"] = ( + """ + type: group + short-summary: {short}. +""".format( + short="Debug data controller." + ) +) + +helps["arcdata dc debug copy-logs"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} +""".format( + short="Copy logs.", + long="Copy the debug logs from the data controller - Kubernetes configuration is required on your system.", + ) +) + +helps["arcdata dc debug dump"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} +""".format( + short="Trigger memory dump.", + long="Trigger memory dump and copy it out from container - " + "Kubernetes configuration is required on your system.", + ) +) + +helps["arcdata dc debug restore-controldb-snapshot"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az arcdata dc debug restore-controldb-snapshot -k arc-data-services + -f /path/to/backup/controller-1675653451.bak + - name: {ex2} + text: > + az arcdata dc debug restore-controldb-snapshot -k arc-data-services + -f C:\\path\\to\\backup\\controller-1675653451.bak +""".format( + short="Restores a unique copy of ControlDB from backup - for troubleshooting purposes only.", + long="Restores a COPY_ONLY backup of ControlDB under a unique name for troubleshooting - " + "Kubernetes configuration is required on your system.", + ex1="Linux - Restore a backup taken from a previously run 'arcdata dc debug copy-logs' command.", + ex2="Windows - Restore a backup taken from a previously run 'arcdata dc debug copy-logs' command.", + ) +) + +helps["arcdata dc debug controldb-cdc"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az arcdata dc debug controldb-cdc -k arc-data-services --enable true --retention-hours 4 + - name: {ex2} + text: > + az arcdata dc debug controldb-cdc -k arc-data-services --enable false +""".format( + short="Enable/disable CDC on Data Controller Database and Tables - for troubleshooting purposes only.", + long="Enable/Disable Change Data Capture for 'controller' Database and " + "supported tables with configurable retention hours.", + ex1="Enables Change Data Capture with 4 hours of retention.", + ex2="Disables Change Data Capture.", + ) +) + +helps["arcdata dc export"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} +""".format( + short="Export metrics, logs or usage.", + long="Export metrics, logs or usage to a file.", + ) +) + +helps["arcdata dc upload"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} +""".format( + short="Upload exported data file.", + long="Upload data file exported from a data controller to Azure.", + ) +) + +helps["arcdata resource-kind"] = ( + """ + type: group + short-summary: {short} +""".format( + short="Resource-kind commands to define and template custom resources on your cluster." + ) +) + +helps["arcdata resource-kind list"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az arcdata resource-kind list +""".format( + short="List the available custom resource kinds for Arc that can be defined and created.", + long="List the available custom resource kinds for Arc that can be defined and created. After listing, you" + " can proceed to getting the template file needed to define or create that custom resource.", + ex1="Example command for listing the available custom resource kinds for Arc.", + ) +) + +helps["arcdata resource-kind get"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az arcdata resource-kind get --kind SqlManagedInstance +""".format( + short="Get the Arc resource-kind's template file.", + ex1="Example command for getting an Arc resource-kind's CRD template file.", + ) +) diff --git a/src/arcdata/arcdata/azext_arcdata/dc/util.py b/src/arcdata/arcdata/azext_arcdata/dc/util.py new file mode 100644 index 00000000000..2f78e555426 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/dc/util.py @@ -0,0 +1,123 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +import json +import os + +import azext_arcdata.dc.constants as instance_properties +from azext_arcdata.core.configuration import Configuration +from azext_arcdata.core.prompt import prompt, prompt_y_n +from azext_arcdata.core.util import display +from azext_arcdata.vendored_sdks.arm_sdk.azure import constants as azure_constants +from knack.log import get_logger +from knack.prompting import NoTTYException + +logger = get_logger(__name__) + + +def get_config_file_path(filename): + logger.debug("get_config_file_path: %s", filename) + logger.debug( + os.path.join( + Configuration().extension_dir, + "{}-{}".format(Configuration().EXT_NAME, filename), + ) + ) + + return os.path.join( + Configuration().extension_dir, + "{}-{}".format(Configuration().EXT_NAME, filename), + ) + + +def get_config_file(filename, throw_exception=True): + query_file = get_config_file_path(filename) + query_file_exists = os.path.exists(query_file) + + if not query_file_exists and throw_exception: + raise ValueError('Please make sure "{}" exists'.format(query_file)) + return query_file + + +# ############################################################################## +# Metric/log common functions +# ############################################################################## + + +def get_resource_uri(resource, data_controller): + resource_kind = resource[instance_properties.KIND] + + if resource_kind in azure_constants.RESOURCE_TYPE_FOR_KIND: + return azure_constants.RESOURCE_URI.format( + data_controller[instance_properties.SUBSCRIPTION_ID], + data_controller[instance_properties.RESOURCE_GROUP], + azure_constants.RESOURCE_TYPE_FOR_KIND[resource_kind], + resource[instance_properties.INSTANCE_NAME], + ) + else: + display( + '"{}" instance type "{}" is not supported.'.format( + resource[instance_properties.INSTANCE_NAME], resource_kind + ) + ) + return None + + +def get_output_file(file_path, force): + # Check export file exists or not + msg = "Please provide a file name with the path: " + export_file_exists = True + overwritten = False + + while export_file_exists and not overwritten: + export_file_exists = os.path.exists(file_path) + if not force and export_file_exists: + try: + yes = prompt_y_n( + "{} exists already, do you want to overwrite it?".format( + file_path + ) + ) + except NoTTYException as e: + raise NoTTYException( + "{} Please make sure the file does not exist in a " + "non-interactive environment".format(e) + ) + + overwritten = True if yes else False + + if not overwritten: + file_path = prompt(msg) + export_file_exists = True + overwritten = False + else: + os.remove(file_path) + elif force: + overwritten = True + if export_file_exists: + os.remove(file_path) + + return file_path + + +def write_file(file_path, data, export_type, data_timestamp=None): + result = { + "exportType": export_type, + "dataTimestamp": data_timestamp, + "data": data, + } + with open(file_path, "w", encoding="utf-8") as json_file: + json.dump(result, json_file, indent=4) + + output_type = export_type + display( + "\t\t{} are exported to {}.".format(output_type.capitalize(), file_path) + ) + + +def write_output_file(file_path, content): + with open(file_path, "w", encoding="utf-8") as json_file: + json.dump(content, json_file, indent=4) diff --git a/src/arcdata/arcdata/azext_arcdata/dc/validators.py b/src/arcdata/arcdata/azext_arcdata/dc/validators.py new file mode 100644 index 00000000000..f722164dc9b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/dc/validators.py @@ -0,0 +1,225 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azure.cli.core.azclierror import ( + ArgumentUsageError, + ValidationError, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.arc_docker_image_service import ( + ArcDataImageService, +) +import azext_arcdata.core.common_validators as validators +import os +import pydash as _ + + +def force_indirect(namespace): + namespace.use_k8s = True + + +def validate_copy_logs(namespace): + if (namespace.resource_kind is None) ^ (namespace.resource_name is None): + raise ValidationError( + "Either --resource-kind or --resource-name is not specified. They " + "need to be provided or omitted at the same time." + ) + force_indirect(namespace) + + +def validate_create(namespace): + arm_only = [ + "auto_upload_logs", + "auto_upload_metrics", + "custom_location", + "cluster_name", + "least_privilege", + ] + kubernetes_only = [ + "annotations", + "labels", + "logs_ui_private_key_file", + "logs_ui_public_key_file", + "metrics_ui_private_key_file", + "metrics_ui_public_key_file", + "service-annotations", + "service_labels", + "storage_annotations", + "storage_labels", + "use_k8s", + ] + + if namespace.profile_name and namespace.path: + raise ArgumentUsageError( + "Cannot specify both '[--profile-name]' and '[--path]'. " + "Specify only one." + ) + + if not namespace.use_k8s: + # -- monitoring specific messages -- + monitoring_cert_keys = [ + "logs_ui_public_key_file", + "logs_ui_private_key_file", + "metrics_ui_public_key_file", + "metrics_ui_private_key_file", + ] + for key in monitoring_cert_keys: + if getattr(namespace, key, None): + raise ArgumentUsageError( + "Cannot specify {0} in direct mode. Monitoring endpoint " + "certificate arguments are for indirect mode only.".format( + "--" + "-".join(key.split("_")) + ) + ) + + validators.validate_mutually_exclusive_arm_kubernetes( + namespace, kubernetes_only, arm_only + ) + + +def validate_delete(namespace): + validators.validate_mutually_exclusive_direct_indirect(namespace) + + +def validate_controldb_cdc_retention(namespace): + min_hrs = 1 + max_hrs = 24 + if not (min_hrs <= namespace.retention_hours <= max_hrs): + raise ArgumentUsageError( + f"ControlDB Change Data Capture retention hours must be between {min_hrs} and {max_hrs}." + ) + force_indirect(namespace) + + +def validate_status_show(namespace): + validators.validate_mutually_exclusive_direct_indirect(namespace) + + +def validate_update(namespace): + """ + Validates the supplied arguments for 'arc dc update' command + """ + direct_only = [] + + common_args = ["desired_version"] + + maintenance_window_args = [ + "maintenance_start", + "maintenance_duration", + "maintenance_recurrence", + "maintenance_time_zone", + "maintenance_enabled", + ] + + valid_update = False + + # -- indirect -- + if namespace.use_k8s: + if namespace.auto_upload_logs: + direct_only.append("--auto-upload-logs") + if namespace.auto_upload_metrics: + direct_only.append("--auto-upload-metrics") + + indirect_update_args = common_args + maintenance_window_args + + # make sure at least one property is being updated + for key in indirect_update_args: + if getattr(namespace, key, None): + valid_update = True + + if not valid_update: + args = [ + "--" + "-".join(arg.split("_")) for arg in indirect_update_args + ] + raise ArgumentUsageError( + "Atleast one of the following is required when " + "running this command with Kubernetes API-targeted arguments: [{args}]".format( + args=", ".join(args) + ) + ) + + if not namespace.use_k8s: + for key in maintenance_window_args: + if getattr(namespace, key, None): + raise ArgumentUsageError( + "Cannot specify '{0}' without '--use-k8s'. " + "Maintenance window arguments are only available for commands using the Kubernetes API.".format( + "--" + "-".join(key.split("_")) + ) + ) + + direct_update_args = common_args + [ + "auto_upload_logs", + "auto_upload_metrics", + ] + + # make sure at least one property is being updated + for key in direct_update_args: + if getattr(namespace, key, None): + valid_update = True + + if not valid_update: + args = [ + "--" + "-".join(arg.split("_")) for arg in direct_update_args + ] + raise ArgumentUsageError( + "Atleast one of the following is required when " + "running this command with ARM-targeted arguments: [{args}]".format( + args=", ".join(args) + ) + ) + + validators.validate_mutually_exclusive_direct_indirect( + namespace, direct_only=direct_only + ) + + +def validate_upgrade(namespace): + required_for_direct = [] + + # -- direct -- + if not namespace.use_k8s: + if hasattr(namespace, "desired_version"): + if not namespace.desired_version: + required_for_direct.append("--desired-version") + + if not namespace.name: + required_for_direct.append("--name") + + # -- assert common indirect/direct argument combos -- + validators.validate_mutually_exclusive_direct_indirect( + namespace, required_direct=required_for_direct + ) + + validate_client_version_for_upgrade(command_values=namespace) + + +def validate_upload(namespace): + if not os.path.exists(namespace.path): + raise FileNotFoundError( + 'Cannot find file: "{}". Please provide the correct file name ' + "and try again".format(namespace.path) + ) + + +def validate_client_version_for_upgrade(command_values): + """ + Upgrading beyond the current version in the CLI is not currently supported. + We need to provide an error to the user indicating that the version selected is not + allowed. + """ + + if not command_values.desired_version: + # in this case, we expect later code to select the correct version. + return + + if not ArcDataImageService.is_image_version_supported_by_cli( + command_values.desired_version + ): + raise ValueError( + f"The desired version {command_values.desired_version} is not supported by this version of the " + "ArcData CLI extension. Please upgrade the extension using the following command and try again: " + "\naz extension update -n arcdata" + ) diff --git a/src/arcdata/arcdata/azext_arcdata/failover_group/__init__.py b/src/arcdata/arcdata/azext_arcdata/failover_group/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/failover_group/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/failover_group/arguments.py b/src/arcdata/arcdata/azext_arcdata/failover_group/arguments.py new file mode 100644 index 00000000000..4f48a3561e9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/failover_group/arguments.py @@ -0,0 +1,258 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.core.constants import ( + USE_K8S_TEXT, + CLI_ARG_GROUP_DIRECT_TEXT, + CLI_ARG_GROUP_INDIRECT_TEXT, +) +from azext_arcdata.failover_group.constants import ( + DAG_PARTNER_SYNC_MODE, + DAG_ROLES_CREATE, + DAG_ROLES_UPDATE, +) + + +def load_arguments(self, _): + from knack.arguments import ArgumentsContext + + with ArgumentsContext(self, "sql instance-failover-group-arc create") as c: + c.argument( + "name", + options_list=["--name", "-n"], + help="The name of the failover group resource.", + ) + c.argument( + "partner_sync_mode", + options_list=["--partner-sync-mode", "-m"], + help="The partner synchronization mode of the Arc-enabled SQL managed instance.", + choices=DAG_PARTNER_SYNC_MODE, + ) + c.argument( + "mi", + options_list=["--mi"], + help="The name of the primary SQL managed instance.", + ) + c.argument( + "partner_mi", + options_list=["--partner-mi"], + help="The name of the partner SQL managed instance or remote SQL instance. " + "When using ARM-targeted arguments, this refers to the Disaster Recovery (DR) " + "instance name.", + ) + c.argument( + "role", + options_list=["--role"], + choices=DAG_ROLES_CREATE, + help="The requested role of the failover group. The role can be changed.", + ) + c.argument( + "partner_mirroring_url", + options_list=["--partner-mirroring-url", "-u"], + help="The mirroring endpoint URL of the partner SQL managed instance.", + ) + # -- indirect -- + c.argument( + "shared_name", + options_list=["--shared-name"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="The shared name of the failover group for this SQL " + "managed instance. Both the primary SQL managed instance " + "and its partner must use the same shared name.", + ) + c.argument( + "partner_mirroring_cert_file", + options_list=["--partner-mirroring-cert-file", "-f"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="The filename of mirroring endpoint public certificate for " + "the partner SQL managed instance or availability group on remote SQL " + "instance. Only PEM format is supported.", + ) + c.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Namespace where the failover group is to be deployed. " + "If no namespace is specified, then the namespace defined " + "in the kubeconfig will be used.", + ) + c.argument( + "use_k8s", + options_list=["--use-k8s"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help="Create the Arc-enabled SQL managed instance failover group using local Kubernetes APIs.", + ) + # -- direct -- + c.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group of the primary Arc-enabled SQL managed instance.", + ) + c.argument( + "partner_resource_group", + options_list=["--partner-resource-group"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group of the DR partner Arc-enabled SQL managed instance.", + ) + c.argument( + "primary_mirroring_url", + options_list=["--primary-mirroring-url"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The mirroring endpoint URL of the primary SQL managed instance.", + ) + + with ArgumentsContext(self, "sql instance-failover-group-arc update") as c: + c.argument( + "name", + options_list=["--name", "-n"], + help="The name of the failover group resource.", + ) + c.argument( + "partner_sync_mode", + options_list=["--partner-sync-mode", "-m"], + choices=DAG_PARTNER_SYNC_MODE, + help="The partner synchronization mode of the SQL managed instance.", + ) + c.argument( + "role", + options_list=["--role"], + choices=DAG_ROLES_UPDATE, + help="The requested role of the failover group.", + ) + # -- indirect -- + c.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Namespace where the failover group exists. " + "If no namespace is specified, then the namespace defined " + "in the kubeconfig will be used.", + ) + c.argument( + "use_k8s", + options_list=["--use-k8s"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help=USE_K8S_TEXT, + ) + # -- direct -- + c.argument( + "mi", + options_list=["--mi"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The name of the Arc-enabled SQL managed instance to update.", + ) + c.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group of the primary Arc-enabled SQL managed instance.", + ) + + with ArgumentsContext(self, "sql instance-failover-group-arc delete") as c: + c.argument( + "name", + options_list=["--name", "-n"], + help="The name of the failover group resource to delete.", + ) + # -- indirect -- + c.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Namespace where the failover group is deployed. " + "If no namespace is specified, then the namespace defined " + "in the kubeconfig will be used.", + ) + c.argument( + "use_k8s", + options_list=["--use-k8s"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help=USE_K8S_TEXT, + ) + # -- direct -- + c.argument( + "mi", + options_list=["--mi"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The name of the primary Arc-enabled SQL managed instance.", + ) + c.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group of the primary Arc-enabled SQL managed instance.", + ) + + with ArgumentsContext(self, "sql instance-failover-group-arc show") as c: + c.argument( + "name", + options_list=["--name", "-n"], + help="The name of the failover group resource.", + ) + # -- indirect -- + c.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Namespace where the failover group is deployed. " + "If no namespace is specified, then the namespace defined " + "in the kubeconfig will be used.", + ) + c.argument( + "use_k8s", + options_list=["--use-k8s"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help=USE_K8S_TEXT, + ) + # -- direct -- + c.argument( + "mi", + options_list=["--mi"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The name of the primary Arc-enabled SQL managed instance.", + ) + c.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group of the primary Arc-enabled SQL managed instance.", + ) + + with ArgumentsContext(self, "sql instance-failover-group-arc list") as c: + # -- indirect -- + c.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Namespace where the failover groups are deployed. " + "If no namespace is specified, then the namespace defined " + "in the kubeconfig will be used.", + ) + c.argument( + "use_k8s", + options_list=["--use-k8s"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help=USE_K8S_TEXT, + ) + # -- direct -- + c.argument( + "mi", + options_list=["--mi"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The name of the Arc-enabled SQL managed instance.", + ) + c.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group of the Arc-enabled SQL managed instance.", + ) diff --git a/src/arcdata/arcdata/azext_arcdata/failover_group/commands.py b/src/arcdata/arcdata/azext_arcdata/failover_group/commands.py new file mode 100644 index 00000000000..d1c2c2df6ec --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/failover_group/commands.py @@ -0,0 +1,42 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azure.cli.core.commands import CliCommandType +from azext_arcdata.core.cli_client import beget +import azext_arcdata.failover_group.validators as validators + + +def load_commands(self, _): + operations = CliCommandType( + operations_tmpl="azext_arcdata.failover_group.custom#{}" + ) + + with self.command_group( + "sql instance-failover-group-arc", operations, client_factory=beget + ) as g: + g.command( + "create", + "arc_sql_mi_fog_create", + supports_no_wait=True, + validator=validators.validate_create, + ) + g.command( + "update", + "arc_sql_mi_fog_update", + supports_no_wait=True, + validator=validators.validate_update, + ) + g.command( + "delete", + "arc_sql_mi_fog_delete", + validator=validators.validate_delete, + ) + g.show_command( + "show", "arc_sql_mi_fog_show", validator=validators.validate_show + ) + g.show_command( + "list", "arc_sql_mi_fog_list", validator=validators.validate_list + ) diff --git a/src/arcdata/arcdata/azext_arcdata/failover_group/constants.py b/src/arcdata/arcdata/azext_arcdata/failover_group/constants.py new file mode 100644 index 00000000000..310e6c934b8 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/failover_group/constants.py @@ -0,0 +1,135 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +import os + +from azext_arcdata.core.constants import ARC_API_V2 + +RESOURCE_KIND = "SqlManagedInstance" +""" +Defines the Kubernetes custom resource kind. +""" + +RESOURCE_KIND_PLURAL = "sqlmanagedinstances" +""" +Defines the plural name. +""" + +API_GROUP = "sql.arcdata.microsoft.com" +""" +Defines the API group. +""" + +TASK_API_GROUP = "tasks.sql.arcdata.microsoft.com" +""" +The Kubernetes group for SQL MI task crd. +""" + +FOG_RESOURCE_KIND = "FailoverGroup" + +FOG_RESOURCE_KIND_PLURAL = "failovergroups" + +FOG_API_GROUP = "sql.arcdata.microsoft.com" + +FOG_API_VERSION = ARC_API_V2 + +BASE = os.path.dirname(os.path.realpath(__file__)) +""" +Base directory +""" + +TEMPLATE_DIR = os.path.join(BASE, "templates") +""" +Custom resource definition directory +""" + +SQLMI_SPEC = os.path.join(TEMPLATE_DIR, "sqlmi_spec.json") +""" +File location for sqlmi SPEC. +""" + +FOG_SPEC = os.path.join(TEMPLATE_DIR, "fog_spec.json") +""" +File location for fog SPEC. +""" + +SQLMI_DIRECT_MODE_SPEC_MERGE = os.path.join( + TEMPLATE_DIR, "sqlmi_default_properties_merge.json" +) +""" +File location for sqlmi direct mode SPEC output. +""" + +SQLMI_DIRECT_MODE_OUTPUT_SPEC = os.path.join( + TEMPLATE_DIR, "sqlmi_default_properties_output.json" +) +""" +File location for sqlmi direct mode SPEC output. +""" + + +DAG_ROLE_PRIMARY = "primary" +DAG_ROLE_SECONDARY = "secondary" +DAG_ROLE_FORCE_PRIMARY = "force-primary-allow-data-loss" +DAG_ROLE_FORCE_SECONDARY = "force-secondary" + +DAG_ROLES_ALL = set( + [ + DAG_ROLE_PRIMARY, + DAG_ROLE_SECONDARY, + DAG_ROLE_FORCE_PRIMARY, + DAG_ROLE_FORCE_SECONDARY, + ] +) + +DAG_ROLES_CREATE = set( + [ + DAG_ROLE_PRIMARY, + DAG_ROLE_SECONDARY, + ] +) + +DAG_ROLES_UPDATE = set( + [ + DAG_ROLE_SECONDARY, + DAG_ROLE_FORCE_PRIMARY, + DAG_ROLE_FORCE_SECONDARY, + ] +) + +DAG_ROLES_ALLOWED_VALUES_MSG_CREATE = ( + "Allowed values are: {0}, {1}. " + "Role can be changed.".format( + DAG_ROLE_PRIMARY, + DAG_ROLE_SECONDARY, + ) +) + +DAG_ROLES_ALLOWED_VALUES_MSG_UPDATE = ( + "Role can only be changed to: {0}, {1}, {2}. ".format( + DAG_ROLE_SECONDARY, + DAG_ROLE_FORCE_PRIMARY, + DAG_ROLE_FORCE_SECONDARY, + ) +) + +DAG_PARTNER_SYNC_MODE_ASYNC = "async" +DAG_PARTNER_SYNC_MODE_SYNC = "sync" + +DAG_PARTNER_SYNC_MODE = set( + [ + DAG_PARTNER_SYNC_MODE_ASYNC, + DAG_PARTNER_SYNC_MODE_SYNC, + ] +) + +DAG_RPARTNER_SYNC_MODE_ALLOWED_MSG = ( + "Allowed values are: {0}, {1}. " + "Partner sync mode can be changed.".format( + DAG_PARTNER_SYNC_MODE_ASYNC, + DAG_PARTNER_SYNC_MODE_SYNC, + ) +) diff --git a/src/arcdata/arcdata/azext_arcdata/failover_group/custom.py b/src/arcdata/arcdata/azext_arcdata/failover_group/custom.py new file mode 100644 index 00000000000..9e8e7856bbf --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/failover_group/custom.py @@ -0,0 +1,109 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +from azext_arcdata.failover_group.exceptions import FailoverGroupError +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import ( + KubernetesError, +) +from knack.cli import CLIError +from knack.log import get_logger + +logger = get_logger(__name__) + + +def arc_sql_mi_fog_create( + client, + name, + mi, + partner_mi, + role=None, + primary_mirroring_url=None, + partner_mirroring_url=None, + partner_mirroring_cert_file=None, + partner_sync_mode=None, + shared_name=None, + namespace=None, + use_k8s=None, + resource_group=None, + partner_resource_group=None, + no_wait=False, +): + try: + cvo = client.args_to_command_value_object() + return client.services.failover_group.create(cvo) + except KubernetesError as e: + raise FailoverGroupError(e.message) + except Exception as e: + raise CLIError(e) + + +def arc_sql_mi_fog_update( + client, + name, + role=None, + partner_sync_mode=None, + namespace=None, + use_k8s=None, + mi=None, + resource_group=None, + no_wait=False, +): + try: + cvo = client.args_to_command_value_object() + return client.services.failover_group.update(cvo) + except KubernetesError as e: + raise FailoverGroupError(e.message) + except Exception as e: + raise CLIError(e) + + +def arc_sql_mi_fog_delete( + client, + name, + namespace=None, + use_k8s=None, + mi=None, + resource_group=None, +): + try: + cvo = client.args_to_command_value_object() + return client.services.failover_group.delete(cvo) + except KubernetesError as e: + raise FailoverGroupError(e.message) + except Exception as e: + raise CLIError(e) + + +def arc_sql_mi_fog_show( + client, + name, + namespace=None, + use_k8s=None, + mi=None, + resource_group=None, +): + try: + cvo = client.args_to_command_value_object() + return client.services.failover_group.show(cvo) + except KubernetesError as e: + raise FailoverGroupError(e.message) + except Exception as e: + raise CLIError(e) + + +def arc_sql_mi_fog_list( + client, + namespace=None, + use_k8s=None, + mi=None, + resource_group=None, +): + try: + cvo = client.args_to_command_value_object() + return client.services.failover_group.list(cvo) + except KubernetesError as e: + raise FailoverGroupError(e.message) + except Exception as e: + raise CLIError(e) diff --git a/src/arcdata/arcdata/azext_arcdata/failover_group/exceptions.py b/src/arcdata/arcdata/azext_arcdata/failover_group/exceptions.py new file mode 100644 index 00000000000..fb13786a8ca --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/failover_group/exceptions.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from knack.cli import CLIError + + +class FailoverGroupError(CLIError): + """ + All errors related to sqlmi failover group API calls. + """ diff --git a/src/arcdata/arcdata/azext_arcdata/failover_group/help.py b/src/arcdata/arcdata/azext_arcdata/failover_group/help.py new file mode 100644 index 00000000000..eb748d8fae0 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/failover_group/help.py @@ -0,0 +1,133 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from knack.help_files import helps + +# pylint: disable=line-too-long +helps["sql instance-failover-group-arc"] = ( + """ + type: group + short-summary: {short} +""".format( + short="Manage Arc-enabled SQL managed instance Failover Groups." + ) +) + +# pylint: disable=line-too-long +helps["sql instance-failover-group-arc create"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az sql instance-failover-group-arc create --name fogcr --shared-name sharedname1 + --mi sqlmi1 --role primary --partner-mi sqlmi2 + --partner-mirroring-url 10.20.5.20:970 + --partner-mirroring-cert-file ./sqlmi2.cer --use-k8s + - name: {ex2} + text: > + az sql instance-failover-group-arc create --name fogcr + --mi sqlmi1 --resource-group primary-rg-name + --partner-mi sqlmi2 --partner-resource-group partner-rg-name + --partner-sync-mode async + - name: {ex3} + text: > + az sql instance-failover-group-arc create --name fogcr + --mi sqlmi1 --resource-group primary-rg-name + --partner-mi sqlmi2 --partner-resource-group partner-rg-name + --partner-sync-mode async --primary-mirroring-url 21.10.6.30:6603 + --partner-mirroring-url 10.20.5.20:970 +""".format( + short="Create a failover group resource", + long="Create an Arc-enabled SQL Managed Instance failover group resource to set up a " + "distributed availability group.", + ex1="Use the Kubernetes API to create a failover group resource between " + "primary SQL managed instance sqlmi1 and partner SQL managed instance sqlmi2." + "The partner mirroring endpoint and cert file are required.", + ex2="Use Azure Resource Manager (ARM) to create a failover group resource.", + ex3="Use ARM to create a failover group with custom mirroring URLs.", + ) +) + +# pylint: disable=line-too-long +helps["sql instance-failover-group-arc update"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az sql instance-failover-group-arc update --name fogcr --role secondary --use-k8s + - name: {ex2} + text: > + az sql instance-failover-group-arc update --name fogcr + --role secondary --mi sqlmi1 --resource-group rg-name +""".format( + short="Update a failover group resource", + long="Update an Arc-enabled SQL Managed Instance failover group resource to " + "change the role of the distributed availability group.", + ex1="Update a failover group resource to the secondary role from primary using the Kubernetes API.", + ex2="Update a failover group resource using Azure Resource Manager.", + ) +) + +# pylint: disable=line-too-long +helps["sql instance-failover-group-arc delete"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az sql instance-failover-group-arc delete --name fogcr --use-k8s + - name: {ex2} + text: > + az sql instance-failover-group-arc delete --name fogcr --mi sqlmi1 -g rg-name +""".format( + short="Delete an Arc-enabled SQL Managed Instance failover group.", + ex1="Delete a failover group resource using the Kubernetes API.", + ex2="Delete a failover group resource using Azure Resource Manager.", + ) +) + +helps["sql instance-failover-group-arc show"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az sql instance-failover-group-arc show --name fogcr --use-k8s + - name: {ex2} + text: > + az sql instance-failover-group-arc show --name fogcr1 --mi sqlmi1 -g rg-name +""".format( + short="Show the details of a failover group resource.", + ex1="Show the details of a failover group using the Kubernetes API.", + ex2="Show the details of a failover group by querying Azure Resource Manager (ARM).", + ) +) + +helps["sql instance-failover-group-arc list"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az sql instance-failover-group-arc list --k8s-namespace arcdata --use-k8s + - name: {ex2} + text: > + az sql instance-failover-group-arc list --mi sqlmi1 -g rg-name +""".format( + short="List all failover groups.", + ex1="List all failover groups in a namespace using the Kubernetes API.", + ex2="List all failover groups by querying Azure Resource Manager (ARM).", + ) +) diff --git a/src/arcdata/arcdata/azext_arcdata/failover_group/models/__init__.py b/src/arcdata/arcdata/azext_arcdata/failover_group/models/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/failover_group/models/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/failover_group/templates/fog_spec.json b/src/arcdata/arcdata/azext_arcdata/failover_group/templates/fog_spec.json new file mode 100644 index 00000000000..66517c36dfa --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/failover_group/templates/fog_spec.json @@ -0,0 +1,15 @@ +{ + "apiVersion": "sql.arcdata.microsoft.com/v2", + "kind": "FailoverGroup", + "metadata": { + "name": "FailoverGroup1" + }, + "spec": { + "sharedName": "fogTest", + "sourceMI": "mytest10", + "partnerMI": "mytest11", + "partnerMirroringURL": "10.193.5.33:16037", + "partnerMirroringCert": "-----BEGIN CERTIFICATE-----\nMIIC+zCCAeOgAwIBAgIIEset3CxpaFswDQYJKoZIhvcNAQELBQAwKDEmMCQGA1UEAxMdQ2x1c3Rl\nciBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMjEwNjE0MjE1NTMyWhcNMjYwNjEzMjE1NTMyWjAd\nMRswGQYDVQQDExJkYXRhYmFzZS1taXJyb3JpbmcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK\nAoIBAQCxW72dqLLOAU4SsklSn3OPAFU6C0VltxDohar1UI9IMfT1j3LJv+cL6wiKGHoMMjhBzuTQ\ne5kPfCLJ3SJx574q8sMq9YZoAWRlKHQU+HaQVr5SV7pZ7FMnmYX+EBCTgXJPN3vCCfeRS2GgsuxL\nffpqAHQK13QC3qiAKkCeUmFVdkArKuaSIhURzOzVk2xzc+iTv3LPjrDpPzeYQkKpgJs2hbhi41Rf\ny0UT4a4a8HAFMNuQBmIValE62S/Hr6oBaNUHHqFnTZJaFMwl0bhRwvRXg9WgNohhP4OFQ959u4Cl\nL0H+DL+1LNoF/LC7o8fDU6KrcAxRAyKmY5BxBm1EEnKFAgMBAAGjNDAyMCAGA1UdJQEB/wQWMBQG\nCCsGAQUFBwMCBggrBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwDQYJKoZIhvcNAQELBQADggEBAEFo\n97V3/j7AOoCMMM6kPPk8Zd3cH3e0CRe6u3c45KDbZ3bR6PH06wogIkeh2o+xFZWbvkwTl+HQyic7\n0od6smL7QZFJp01V64dXEEW3nVuT+sdaM9ZmUvPaSSoFkHj8z1kTlEvFX8n+8tPUfWTqdcUHZTkJ\nx2ooSYypCtHuS/cHK2Jv8ySVoiWHwV0z8dwQvc2WTef/3Z/ejD/I5rCiUcPFAhsTiLQfaXsk5zwU\noOrKSP4rAQGxS/puNPD+NvYMK5jYm5HMJPH9CasmuiHX7s0Np4uuQoX8H3DXeksFLBS5+7vqOZK6\nf4Gus/ntSoXSjnp8QwLi/LH3qKBNBOkfU2U=\n-----END CERTIFICATE-----\n", + "role": "primary" + } +} diff --git a/src/arcdata/arcdata/azext_arcdata/failover_group/util.py b/src/arcdata/arcdata/azext_arcdata/failover_group/util.py new file mode 100644 index 00000000000..95de399a86d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/failover_group/util.py @@ -0,0 +1,214 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + + +import time +from azext_arcdata.core.util import retry +from src.arcdata.arcdata.azext_arcdata.vendored_sdks.kubernetes_sdk.models.fog_cr import FogCustomResource +from azext_arcdata.vendored_sdks.kubernetes_sdk.models.custom_resource import CustomResource +from azext_arcdata.core.constants import ARC_API_V1BETA2 +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import ( + K8sApiException, + KubernetesClient, + KubernetesError, + http_status_codes, +) +from azext_arcdata.failover_group.constants import ( + DAG_ROLES_CREATE, + DAG_ROLES_UPDATE, + DAG_PARTNER_SYNC_MODE, + FOG_API_GROUP, + FOG_API_VERSION, + FOG_RESOURCE_KIND_PLURAL, +) +from urllib3.exceptions import MaxRetryError, NewConnectionError + +CONNECTION_RETRY_ATTEMPTS = 12 +RETRY_INTERVAL = 5 + + +def get_valid_dag_roles(for_create): + """ + Get the valid dag roles + """ + if for_create: + return DAG_ROLES_CREATE + else: + return DAG_ROLES_UPDATE + + +def validate_dag_roles(role_value, for_create): + """ + returns True if role_value is valid + """ + if role_value is None: + return False + if role_value.lower() in ( + t.lower() for t in get_valid_dag_roles(for_create) + ): + return True + + return False + + +def validate_dag_partner_sync_mode(mode_value): + """ + returns True if mode_value is valid + """ + if mode_value is None: + return True + if mode_value.lower() in (t.lower() for t in DAG_PARTNER_SYNC_MODE): + return True + + return False + + +DAG_RESOURCE_KIND = "Dag" +DAG_RESOURCE_KIND_PLURAL = "dags" +DAG_API_GROUP = "sql.arcdata.microsoft.com" +DAG_API_VERSION = ARC_API_V1BETA2 + + +def resolve_old_dag_items(namespace) -> list: + + client = KubernetesClient.resolve_k8s_client().CustomObjectsApi() + + try: + response = client.list_namespaced_custom_object( + namespace=namespace, + group=DAG_API_GROUP, + version=DAG_API_VERSION, + plural=DAG_RESOURCE_KIND_PLURAL, + ) + items = response.get("items") + return items + except K8sApiException as e: + if e.status == http_status_codes.not_found: + return [] + else: + raise e + + +def get_failover_group_custom_resource( + client: KubernetesClient, name, namespace, mi=None +): + """ + Queries the kubernetes cluster and returns the custom resource for a Failover Group + with the given name in the specified namespace + :param client: KubernetesClient + :param name: The name of the SQL Managed Instance + :param namespace: Namespace where the SQL Managed Instance is deployed. + :param mi: The name of the SQL Managed Instance (optional) + :return: The k8s custom resource if one is found. + An error will be raised if the instance is not found. + """ + + try: + if mi: + response = retry( + lambda: client.list_namespaced_custom_object( + namespace, + group=FOG_API_GROUP, + version=FOG_API_VERSION, + plural=FOG_RESOURCE_KIND_PLURAL, + ), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="list namespaced custom object", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + KubernetesError, + ), + ) + items = response.get("items") + for item in items: + if item["spec"]["sourceMI"] == mi: + cr = CustomResource.decode(FogCustomResource, item) + cr.metadata.namespace = namespace + return cr + else: + response = retry( + lambda: client.get_namespaced_custom_object( + name, + namespace, + group=FOG_API_GROUP, + version=FOG_API_VERSION, + plural=FOG_RESOURCE_KIND_PLURAL, + ), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="get namespaced custom object", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + KubernetesError, + ), + ) + cr = CustomResource.decode(FogCustomResource, response) + cr.metadata.namespace = namespace + return cr + + except K8sApiException as e: + if e.status == http_status_codes.not_found: + raise ValueError( + "SQL managed instance failover group `{}` was not found in namespace `{}`.".format( + name, namespace + ) + ) + + +def poll_failover_group_state(client, name, namespace): + """ + Queries the kubernetes cluster and returns state of the given Failover Group + custom resource in the specified namespace + :param client: KubernetesClient + :param name: The name of the SQL Managed Instance + :param namespace: Namespace where the SQL Managed Instance is deployed. + :return: The k8s custom resource if one is found. + An error will be raised if the instance is not found. + """ + state = None + while state != "succeeded" and state != "failed" or state is None: + time.sleep(5) + deployed_cr = get_failover_group_custom_resource( + client, name, namespace + ) + state = deployed_cr.status.state + results = deployed_cr.status.results + + if state is not None: + state = state.lower() + + return state, results + + +def _is_dag_ready(cr): + """ + Verify that the SQL Mi DAG is ready + :param cr: Instance to check the readiness of + :return: True if the instance is ready, False otherwise + """ + return ( + cr.status.state is not None and cr.status.state.lower() == "succeeded" + ) + + +def _is_dag_in_error(cr): + """ + Check that the SQL Mi instance is in error state + :param cr: Instance to check the readiness of + :return: True if the instance is in error, False otherwise + """ + return cr.status.state is not None and cr.status.state.lower() == "failed" + + +def _get_error_message(cr): + """ + Get error message from the status of custom resource + :param cr: Instance to get error message. + """ + return cr.status.message diff --git a/src/arcdata/arcdata/azext_arcdata/failover_group/validators.py b/src/arcdata/arcdata/azext_arcdata/failover_group/validators.py new file mode 100644 index 00000000000..73dd81aa09a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/failover_group/validators.py @@ -0,0 +1,86 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +import azext_arcdata.core.common_validators as validators +from azext_arcdata.core.constants import DNS_NAME_REQUIREMENTS +from azext_arcdata.core.util import name_meets_dns_requirements + + +def validate_create(namespace): + _validate_failover_group_name(namespace.name) + + validators.validate_mutually_exclusive_direct_indirect(namespace) + + if namespace.use_k8s: + required_for_kubernetes = [] + if not namespace.namespace: + required_for_kubernetes.append("--k8s-namespace/-k") + + if not namespace.shared_name: + required_for_kubernetes.append("--shared-name") + + if not namespace.partner_mirroring_cert_file: + required_for_kubernetes.append("--partner-mirroring-cert-file/-f") + + if not namespace.partner_mirroring_url: + required_for_kubernetes.append("--partner-mirroring-url/-u") + + if required_for_kubernetes: + msg = "The following arguments are required with '--use-k8s': {missing}" + raise ValueError( + msg.format(missing=", ".join(required_for_kubernetes)) + ) + else: + required_for_arm = [] + + if not namespace.partner_resource_group: + required_for_arm.append("--partner-resource-group") + + if required_for_arm: + msg = "The following arguments are required when using ARM targeted arguments: {missing}" + raise ValueError(msg.format(missing=", ".join(required_for_arm))) + + +def validate_update(namespace): + validators.validate_mutually_exclusive_direct_indirect(namespace) + + if not namespace.partner_sync_mode and not namespace.role: + raise ValueError( + "Atleast one setting must be specified to update: [--role, --partner-sync-mode]" + ) + + +def validate_show(namespace): + validators.validate_mutually_exclusive_direct_indirect(namespace) + + +def validate_delete(namespace): + validators.validate_mutually_exclusive_direct_indirect(namespace) + + +def validate_list(namespace): + validators.validate_mutually_exclusive_direct_indirect(namespace) + + +def _validate_failover_group_name(name): + failover_group_name_max_length = 40 + + if not name: + raise ValueError("Failover group name cannot be empty") + + if len(name) > failover_group_name_max_length: + raise ValueError( + "Failover group name exceeds {} character length limit".format( + failover_group_name_max_length + ) + ) + + if not name_meets_dns_requirements(name): + raise ValueError( + "Failover group name does not follow DNS requirements: {}".format( + DNS_NAME_REQUIREMENTS + ) + ) diff --git a/src/arcdata/arcdata/azext_arcdata/postgres/__init__.py b/src/arcdata/arcdata/azext_arcdata/postgres/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/postgres/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/postgres/arguments.py b/src/arcdata/arcdata/azext_arcdata/postgres/arguments.py new file mode 100644 index 00000000000..6fe05a94ac1 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/postgres/arguments.py @@ -0,0 +1,551 @@ +# ----------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ----------------------------------------------------------------------------- + +from azext_arcdata.core.constants import USE_K8S_TEXT + + +def load_arguments(self, _): + from knack.arguments import ArgumentsContext + + # ------------------------------------------------------------------------- + # Server Commands + # ------------------------------------------------------------------------- + + with ArgumentsContext(self, "postgres server-arc create") as arg_context: + arg_context.argument( + "path", + options_list=["--path"], + help="The path to the source json file for the Azure Arc enabled " + "PostgreSQL server. This is optional.", + ) + arg_context.argument( + "name", + options_list=["--name", "-n"], + help="Name of the Azure Arc enabled PostgreSQL server.", + ) + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + help="The Kubernetes namespace where the Azure Arc enabled " + "PostgreSQL server is deployed. If no namespace is specified," + " then the namespace defined in the kubeconfig will be used.", + ) + arg_context.argument( + "admin-login-secret", + options_list=["--admin-login-secret"], + help="Name of the Kubernetes secret to generate that hosts or " + "will host user admin login account credential.", + ) + arg_context.argument( + "certificate_public_key_file", + options_list=["--cert-public-key-file"], + help="Path to the file containing a PEM formatted certificate " + "public key to be used for client SSL connections.", + ) + arg_context.argument( + "certificate_private_key_file", + options_list=["--cert-private-key-file"], + help="Path to the file containing a PEM formatted certificate " + "private key to be used for client SSL connections.", + ) + arg_context.argument( + "cores_limit", + options_list=["--cores-limit"], + help="The maximum number of CPU cores that can be used for Azure " + "Arc enabled PostgreSQL server.", + ) + arg_context.argument( + "cores_request", + options_list=["--cores-request"], + help="The minimum number of CPU cores that must be available per " + "node to schedule the service.", + ) + arg_context.argument( + "log_level", + options_list=["--log-level"], + help="Sets the log_min_messages setting for the PostgreSQL engine." + " Valid values are: DEBUG5, DEBUG4, DEBUG3, DEBUG2, DEBUG1, INFO, " + "NOTICE, WARNING, ERROR, LOG, FATAL, PANIC.", + ) + arg_context.argument( + "memory_limit", + options_list=["--memory-limit"], + help="The memory limit of the Azure Arc enabled PostgreSQL server " + "as a number followed by Ki (kilobytes), Mi (megabytes), or Gi " + "(gigabytes).", + ) + arg_context.argument( + "memory_request", + options_list=["--memory-request"], + help="The memory request of the Azure Arc enabled PostgreSQL " + "server as a number followed by Ki (kilobytes), Mi (megabytes), or" + " Gi (gigabytes).", + ) + arg_context.argument( + "retention_days", + options_list=["--retention-days"], + type=int, + help="Backup retention period, specified in days. " + "Allowed values are 0 to 35. Default is 7. Setting " + "the retention period to 0 will turn off automatic " + "backups for Azure Arc enabled PostgreSql.", + ) + arg_context.argument( + "service-annotations", + options_list=["--service-annotations"], + help="Comma-separated list of annotations to apply to all " + "external services.", + ) + arg_context.argument( + "service_certificate_secret", + options_list=["--service-cert-secret"], + help="Name of the Kubernetes secret to generate that hosts the SSL" + " certificate.", + ) + arg_context.argument( + "service-labels", + options_list=["--service-labels"], + help="Comma-separated list of labels to apply to all external " + "services.", + ) + arg_context.argument( + "storage_class_data", + options_list=["--storage-class-data"], + help="The storage class to be used for data persistent volumes.", + ) + arg_context.argument( + "storage_class_logs", + options_list=["--storage-class-logs"], + help="The storage class to be used for logs persistent volumes.", + ) + arg_context.argument( + "storage_class_backups", + options_list=["--storage-class-backups"], + help="The storage class to be used for backup persistent volumes.", + ) + arg_context.argument( + "volume_size_data", + options_list=["--volume-size-data"], + help="The size of the storage volume to be used for data as a " + "positive number followed by Ki (kilobytes), Mi (megabytes), or " + "Gi (gigabytes).", + ) + arg_context.argument( + "volume_size_logs", + options_list=["--volume-size-logs"], + help="The size of the storage volume to be used for logs as a " + "positive number followed by Ki (kilobytes), Mi (megabytes), or " + "Gi (gigabytes).", + ) + arg_context.argument( + "volume_size_backups", + options_list=["--volume-size-backups"], + help="The size of the storage volume to be used for backups as a " + "positive number followed by Ki (kilobytes), Mi (megabytes), or " + "Gi (gigabytes).", + ) + arg_context.argument( + "no_external_endpoint", + options_list=["--no-external-endpoint"], + action="store_true", + help="If specified, no external service will be created. " + "Otherwise, an external service will be created using either the " + "type given with the --service-type argument or the same " + "service type as the data controller.", + ) + arg_context.argument( + "use_k8s", + options_list=("--use-k8s"), + action="store_true", + help=USE_K8S_TEXT, + ) + arg_context.argument( + "dev", + options_list=["--dev"], + action="store_true", + help="If this is specified, then it is considered a dev instance " + "and will not be billed for.", + ) + arg_context.argument( + "port", + options_list=["--port"], + help="The port number on which the primary service is exposed to " + "the end-users.", + ) + arg_context.argument( + "nowait", + options_list=["--no-wait"], + action="store_true", + help="Do not wait for deployment to be ready before returning.", + ) + arg_context.argument( + "extensions", + options_list=["--extensions"], + help="Comma seperated list of extensions to be enabled. " + "Once enabled, extension can be installed via 'CREATE EXTENSION' command.", + ) + # -- Active Directory -- + arg_context.argument( + "ad_connector_name", + options_list=["--ad-connector-name"], + help="The name of the Active Directory Connector. This parameter " + "indicates an intent to deploy with AD support.", + ) + arg_context.argument( + "ad_account_name", + options_list=["--ad-account-name"], + help="The Active Directory account name for this Azure Arc enabled " + "PostgreSQL server. This account needs to be created prior to " + "the deployment of this instance.", + ) + arg_context.argument( + "keytab_secret", + options_list=["--keytab-secret"], + help="The name of the Kubernetes secret that contains the keytab " + "file for this Azure Arc enabled PostgreSQL server.", + ) + arg_context.argument( + "dns_name", + options_list=["--dns-name"], + help="The service DNS name exposed to the end-users to " + "connect to this Azure Arc enabled PostgreSQL server (e.g. " + "pginstancename.contoso.com).", + ) + + with ArgumentsContext(self, "postgres server-arc restore") as arg_context: + arg_context.argument( + "source-server", + options_list=["--source-server"], + help="Name of the source Azure Arc enabled PostgreSQL server " + " from where the backups should be retrieved.", + ) + arg_context.argument( + "name", + options_list=["--name", "-n"], + help="Name of the Azure Arc enabled PostgreSQL server to be " + "created.", + ) + arg_context.argument( + "time", + options_list=["--time", "-t"], + help="The point in time of the source server that will be " + "restored to create the new Azure Arc enabled PostgreSQL server" + ". Must be greater than or equal" + " to the source database's earliest restore date/time value. " + "Time should be in following format: 'YYYY-MM-DDTHH:MM:SSZ'. " + "If no time is provided, the most recent backup will be restored.", + ) + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + help="The Kubernetes namespace that contains the Azure Arc enabled " + "PostgreSql. If no namespace is specified, then the " + "namespace defined in the kubeconfig will be used.", + ) + arg_context.argument( + "storage_class_data", + options_list=["--storage-class-data"], + help="The storage class to be used for data persistent volumes.", + ) + arg_context.argument( + "storage_class_logs", + options_list=["--storage-class-logs"], + help="The storage class to be used for logs persistent volumes.", + ) + arg_context.argument( + "storage_class_backups", + options_list=["--storage-class-backups"], + help="The storage class to be used for backup persistent volumes.", + ) + arg_context.argument( + "volume_size_data", + options_list=["--volume-size-data"], + help="The size of the storage volume to be used for data as a " + "positive number followed by Ki (kilobytes), Mi (megabytes), or " + "Gi (gigabytes).", + ) + arg_context.argument( + "volume_size_logs", + options_list=["--volume-size-logs"], + help="The size of the storage volume to be used for logs as a " + "positive number followed by Ki (kilobytes), Mi (megabytes), or " + "Gi (gigabytes).", + ) + arg_context.argument( + "volume_size_backups", + options_list=["--volume-size-backups"], + help="The size of the storage volume to be used for backups as a " + "positive number followed by Ki (kilobytes), Mi (megabytes), or " + "Gi (gigabytes).", + ) + arg_context.argument( + "use_k8s", + options_list=("--use-k8s"), + action="store_true", + help=USE_K8S_TEXT, + ) + arg_context.argument( + "nowait", + options_list=["--no-wait"], + action="store_true", + help="Do not wait for deployment to be ready before returning.", + ) + arg_context.argument( + "dev", + options_list=["--dev"], + action="store_true", + help="If this is specified, then it is considered a dev instance " + "and will not be billed for.", + ) + arg_context.argument( + "dry_run", + options_list=["--dry-run"], + action="store_true", + help="If set, validates the source and destination resources and " + "the time, without performing the restore. The earliest and latest " + "possible restore times are returned in the status of the restore " + "task.", + ) + + with ArgumentsContext(self, "postgres server-arc update") as arg_context: + arg_context.argument( + "path", + options_list=["--path"], + help="The path to the source json file for the Azure Arc enabled " + "PostgreSQL server. This is optional.", + ) + arg_context.argument( + "name", + options_list=["--name", "-n"], + help="Name of the Azure Arc enabled PostgreSQL server that is " + "being updated. The name under which your instance is deployed " + "cannot be changed.", + ) + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + help="The Kubernetes namespace where the Azure Arc enabled " + "PostgreSQL server is deployed. If no namespace is specified, " + "then the namespace defined in the kubeconfig will be used.", + ) + arg_context.argument( + "certificate_public_key_file", + options_list=["--cert-public-key-file"], + help="Path to the file containing a PEM formatted certificate " + "public key to be used for client SSL connections.", + ) + arg_context.argument( + "certificate_private_key_file", + options_list=["--cert-private-key-file"], + help="Path to the file containing a PEM formatted certificate " + "private key to be used for client SSL connections.", + ) + arg_context.argument( + "cores_limit", + options_list=["--cores-limit"], + help="The maximum number of CPU cores for Azure Arc enabled " + "PostgreSQL server that can be used per node. To remove the " + "cores_limit, specify its value as empty string.", + ) + arg_context.argument( + "cores_request", + options_list=["--cores-request"], + help="The minimum number of CPU cores that must be available " + "per node to schedule the service. To remove the cores_request, " + "specify its value as empty string.", + ) + arg_context.argument( + "log_level", + options_list=["--log-level"], + help="Sets the log_min_messages setting for the PostgreSQL engine." + " Valid values are: DEBUG5, DEBUG4, DEBUG3, DEBUG2, DEBUG1, INFO, " + "NOTICE, WARNING, ERROR, LOG, FATAL, PANIC.", + ) + arg_context.argument( + "memory_limit", + options_list=["--memory-limit"], + help="The memory limit for Azure Arc enabled PostgreSQL server " + "as a number followed by Ki (kilobytes), Mi (megabytes), or Gi " + "(gigabytes). To remove the memory_limit, specify its value as " + "empty string.", + ) + arg_context.argument( + "memory_request", + options_list=["--memory-request"], + help="The memory request for Azure Arc enabled PostgreSQL server " + "as a number followed by Ki (kilobytes), Mi (megabytes), or Gi " + "(gigabytes). To remove the memory_request, specify its value as " + "empty string.", + ) + arg_context.argument( + "no_external_endpoint", + options_list=["--no-external-endpoint"], + action="store_true", + help="If specified, no external service will be created. " + "Otherwise, an external service will be created using either the " + "type given with the --service-type argument or the same " + "service type as the data controller.", + ) + arg_context.argument( + "retention_days", + options_list=["--retention-days"], + type=int, + help="Backup retention period, specified in days. " + "Allowed values are 0 to 35. Default is 7. Setting " + "the retention period to 0 will turn off automatic " + "backups for Azure Arc enabled PostgreSql.", + ) + arg_context.argument( + "service-annotations", + options_list=["--service-annotations"], + help="Comma-separated list of annotations to apply to all " + "external services.", + ) + arg_context.argument( + "service_certificate_secret", + options_list=["--service-cert-secret"], + help="Name of the Kubernetes secret to generate that hosts the SSL" + " certificate.", + ) + arg_context.argument( + "service-labels", + options_list=["--service-labels"], + help="Comma-separated list of labels to apply to all external " + "services.", + ) + arg_context.argument( + "service-type", + options_list=["--service-type"], + help="The type for the primary service.", + ) + arg_context.argument( + "dev", + options_list=["--dev"], + action="store_true", + help="If this is specified, then it is considered a dev instance " + "and will not be billed for.", + ) + arg_context.argument( + "port", + options_list=["--port"], + help="The port number on which the primary service is exposed to " + "the end-users.", + ) + arg_context.argument( + "nowait", + options_list=["--no-wait"], + action="store_true", + help="Do not wait for deployment to be ready before returning.", + ) + arg_context.argument( + "use_k8s", + options_list=["--use-k8s"], + action="store_true", + help=USE_K8S_TEXT, + ) + arg_context.argument( + "keytab_secret", + options_list=["--keytab-secret"], + help="The name of the Kubernetes secret that contains the keytab " + "file for this Azure Arc enabled PostgreSQL server.", + ) + arg_context.argument( + "extensions", + options_list=["--extensions"], + help="Comma seperated list of extensions to be enabled. To Add " + "or remove a new extension update the existing list of extensions. " + "Once enabled, extension can be installed via 'CREATE EXTENSION' command.", + ) + + with ArgumentsContext(self, "postgres server-arc delete") as arg_context: + arg_context.argument( + "name", + options_list=["--name", "-n"], + help="Name of the Azure Arc enabled PostgreSQL server.", + ) + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + help="The Kubernetes namespace where the Azure Arc enabled " + "PostgreSQL server is deployed. If no namespace is specified, " + "then the namespace defined in the kubeconfig will be used.", + ) + arg_context.argument( + "force", + options_list=["--force", "-f"], + action="store_true", + help="Delete the Azure Arc enabled PostgreSQL server without confirmation.", + ) + arg_context.argument( + "use_k8s", + options_list=["--use-k8s"], + action="store_true", + help=USE_K8S_TEXT, + ) + + with ArgumentsContext(self, "postgres server-arc show") as arg_context: + arg_context.argument( + "name", + options_list=["--name", "-n"], + help="Name of the Azure Arc enabled PostgreSQL server.", + ) + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + help="The Kubernetes namespace where the Azure Arc enabled " + "PostgreSQL server is deployed. If no namespace is specified, " + "then the namespace defined in the kubeconfig will be used.", + ) + arg_context.argument( + "path", + options_list=["--path"], + help="A path where the full specification for the Azure Arc " + "enabled PostgreSQL server should be written. If omitted, the " + "specification will be written to standard output.", + ) + arg_context.argument( + "use_k8s", + options_list=["--use-k8s"], + action="store_true", + help=USE_K8S_TEXT, + ) + + with ArgumentsContext(self, "postgres server-arc list") as arg_context: + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + help="The Kubernetes namespace where the Azure Arc enabled " + "PostgreSQL servers are deployed. If no namespace is specified, " + "then the namespace defined in the kubeconfig will be used.", + ) + arg_context.argument( + "use_k8s", + options_list=["--use-k8s"], + action="store_true", + help=USE_K8S_TEXT, + ) + + with ArgumentsContext( + self, "postgres server-arc endpoint list" + ) as arg_context: + arg_context.argument( + "name", + options_list=["--name", "-n"], + help="Name of the Azure Arc enabled PostgreSQL server.", + ) + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + help="The Kubernetes namespace where the Azure Arc enabled " + "PostgreSQL server is deployed. If no namespace is specified, " + "then the namespace defined in the kubeconfig will be used.", + ) + arg_context.argument( + "use_k8s", + options_list=["--use-k8s"], + action="store_true", + help=USE_K8S_TEXT, + ) diff --git a/src/arcdata/arcdata/azext_arcdata/postgres/client.py b/src/arcdata/arcdata/azext_arcdata/postgres/client.py new file mode 100644 index 00000000000..ebb2892930f --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/postgres/client.py @@ -0,0 +1,42 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ----------------------------------------------------------------------------- + +from azext_arcdata.core.cli_client import CliClient +from azext_arcdata.core.util import DeploymentConfigUtil + +__all__ = ["beget"] + + +def beget(az_cli, kwargs): + """Client factory""" + return PostgreSqlClientMixin(az_cli, kwargs) + + +def beget_no_check_auth(az_cli, kwargs): + """Client factory - no check on authentication""" + return PostgreSqlClientMixin(az_cli, kwargs, check_namespace=False) + + +class PostgreSqlClientMixin(CliClient): + def __init__(self, az_cli, kwargs, check_namespace=True): + super(PostgreSqlClientMixin, self).__init__( + az_cli, kwargs, check_namespace=check_namespace + ) + + @staticmethod + def add_configuration(path, json_values): + config_object = DeploymentConfigUtil.config_add(path, json_values) + DeploymentConfigUtil.write_config_file(path, config_object) + + @staticmethod + def replace_configuration(path, json_values): + config_object = DeploymentConfigUtil.config_replace(path, json_values) + DeploymentConfigUtil.write_config_file(path, config_object) + + @staticmethod + def remove_configuration(path, json_path): + config_object = DeploymentConfigUtil.config_remove(path, json_path) + DeploymentConfigUtil.write_config_file(path, config_object) diff --git a/src/arcdata/arcdata/azext_arcdata/postgres/commands.py b/src/arcdata/arcdata/azext_arcdata/postgres/commands.py new file mode 100644 index 00000000000..dc5b70aab99 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/postgres/commands.py @@ -0,0 +1,76 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ----------------------------------------------------------------------------- + +from azext_arcdata.core.cli_client import beget +from azure.cli.core.commands import CliCommandType + + +def load_commands(self, _): + operations = CliCommandType( + operations_tmpl="azext_arcdata.postgres.custom#{}" + ) + # -------------------------------------------------------------------------- + # Server Commands + # -------------------------------------------------------------------------- + with self.command_group( + "postgres server-arc", + operations, + client_factory=beget, + deprecate_info=self.deprecate(redirect="", hide=True), + ) as g: + # pylint: disable=E5001 + g.command( + "create", + "postgres_server_arc_create", + deprecate_info=g.deprecate(redirect="", hide=True), + ) + g.command( + "delete", + "postgres_server_arc_delete", + deprecate_info=g.deprecate(hide=True), + ) + g.command( + "restore", + "postgres_server_arc_restore", + deprecate_info=g.deprecate(hide=True), + ) + g.command( + "show", + "postgres_server_arc_show", + deprecate_info=g.deprecate(hide=True), + ) + g.command( + "list", + "postgres_server_arc_list", + deprecate_info=g.deprecate(hide=True), + ) + g.command( + "update", + "postgres_server_arc_update", + deprecate_info=g.deprecate(hide=True), + ) + + # -------------------------------------------------------------------------- + # Endpoint Commands + # -------------------------------------------------------------------------- + with self.command_group( + "postgres server-arc endpoint", + operations, + client_factory=beget, + deprecate_info=self.deprecate(hide=True), + ) as g: + g.command( + "list", + "arc_postgres_endpoint_list", + deprecate_info=g.deprecate(hide=True), + ) + + with self.command_group( + "postgres server-arc", + is_preview=True, + deprecate_info=self.deprecate(hide=True), + ): + pass diff --git a/src/arcdata/arcdata/azext_arcdata/postgres/constants.py b/src/arcdata/arcdata/azext_arcdata/postgres/constants.py new file mode 100644 index 00000000000..a09605cc518 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/postgres/constants.py @@ -0,0 +1,90 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ----------------------------------------------------------------------------- + +from azext_arcdata.vendored_sdks.kubernetes_sdk.models.kube_quantity import KubeQuantity +from azext_arcdata.core.constants import ( + ARC_API_V1BETA1, + ARC_API_V1BETA6, +) +import os + +RESOURCE_KIND = "PostgreSql" +""" +Kubernetes resource kind for PostgreSQL. +""" + +RESOURCE_KIND_PLURAL = "postgresqls" +""" +Kubernetes plural resource kind for PostgreSQL. +""" + +API_GROUP = "arcdata.microsoft.com" +""" +Defines the API group. +""" + +API_VERSION = ARC_API_V1BETA6 +""" +Defines the API version. +""" + +RESTORE_TASK_KIND = "PostgreSqlRestoreTask" +""" +Kubernetes resource kind for the PostgreSQL Restore Task. +""" + +RESTORE_TASK_PLURAL = "postgresqlrestoretasks" +""" +Kubernetes plural resource kind for the PostgreSQL Restore Task. +""" + +RESTORE_TASK_API_GROUP = "tasks.postgresql.arcdata.microsoft.com" +""" +Defines the API group for the PostgreSQL Restore Task. +""" + +RESTORE_TASK_API_VERSION = ARC_API_V1BETA1 +""" +Defines the API version for the PostgreSQL Restore Task. +""" + +COMMAND_UNIMPLEMENTED = "This command is currently unimplemented." +""" +Unimplemented response. +""" + +DEFAULT_ENGINE_VERSION = 14 +""" +Default engine versions. +""" + +# ------------------------------------------------------------------------------ +# Postgres resource constants +# ------------------------------------------------------------------------------ +POSTGRES_MIN_MEMORY_SIZE = KubeQuantity("256Mi") +POSTGRES_MIN_CORES_SIZE = KubeQuantity("1") + +BASE = os.path.dirname(os.path.realpath(__file__)) +""" +Base directory +""" + +TEMPLATE_DIR = os.path.join(BASE, "templates") +""" +Custom resource definition directory +""" + +POSTGRES_SPEC = os.path.join(TEMPLATE_DIR, "postgresql-spec.json") +""" +File location for PostgreSQL spec. +""" + +POSTGRESQL_RESTORE_TASK_SPEC = os.path.join( + TEMPLATE_DIR, "postgresql-restore-task-spec.json" +) +""" +File location for postgres restore task spec. +""" diff --git a/src/arcdata/arcdata/azext_arcdata/postgres/custom.py b/src/arcdata/arcdata/azext_arcdata/postgres/custom.py new file mode 100644 index 00000000000..ff80f45f55b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/postgres/custom.py @@ -0,0 +1,365 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ----------------------------------------------------------------------------- +from datetime import datetime, timezone +from enum import Enum + +from knack.cli import CLIError +from knack.log import get_logger + +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import ( + KubernetesError, +) +from azext_arcdata.core.constants import ( + USE_K8S_EXCEPTION_TEXT, +) +from dateutil import parser, tz + +CONNECTION_RETRY_ATTEMPTS = 12 +RETRY_INTERVAL = 5 + +logger = get_logger(__name__) + + +class progress_state(str, Enum): + active = "active" + done = "done" + failed = "failed" + pending = "pending" + + +# ------------------------------------------------------------------------------ +# Server Commands +# ------------------------------------------------------------------------------ + + +def postgres_server_arc_create( + client, + use_k8s=None, + **kwargs +): + """ + Create an Azure Arc enabled PostgreSQL server. + :param client: + :param name: The name of the Azure Arc enabled PostgreSQL server. + :param path: The src filepath of the postgres resource. + :param namespace: Namespace where the Azure Arc enabled PostgreSQL server is deployed. + :param admin_login_secret: Name of the Kubernetes secret to generate that hosts or will host + user admin login account credential. + :param certificate_private_key_file: Path to the file containing a PEM formatted certificate + private key to be used for client SSL connections. + :param certificate_public_key_file: Path to the file containing a PEM formatted certificate + public key to be used for client SSL connections. + :param cores_limit: The limit of cores of the managed instance in integer number of vCores. + :param cores_request: The request for cores of the managed instance in integer number of + vCores. + :param extensions: Comma seperated list of PostgreSql extensions to be configured. + :param log_level: Sets the log_min_messages setting for the PostgreSQL engine. + :param memory_limit: The limit of the capacity of the managed instance in integer amount of + memory in GBs. + :param memory_request: The request for the capacity of the managed instance in integer amount + of memory in GBs. + :param retention_days: Backup retention period, specified in days. Allowed values are 0 to 35. + Default is 7 + :param service_annotations: Comma-separated list of annotations to apply to all external + services. + :param service_certificate_secret: Name of the Kubernetes secret to generate that hosts + the SSL certificate. + :param service_labels: Comma-separated list of labels to apply to all external services. + :param service_type: The type for the primary service. + :param storage_class_data: The storage classes to be used for data persistent volumes. + :param storage_class_logs: The storage classes to be used for logs persistent volumes. + :param storage_class_backups: The storage classes to be used for backups persistent volumes. + :param volume_size_data: The volume size for the storage classes to be used for data. + :param volume_size_logs: The volume size for the storage classes to be used for logs. + :param volume_size_backups: The volume size for the storage classes to be used for backups. + :param no_external_endpoint: If not specified, an external service is created using the + same service type as the data controller. + :param dev: If this is specified, then it is considered a dev instance and will not be billed + for. + :param port: Optional parameter for the service port. + :param nowait: Do not wait for deployment to be ready before returning. + :param use_k8s: Use the current kubeconfig to perform this action. + :param ad_connector_name: the name of the Active Directory Connector resource. This parameter + indicates an intent to deploy with AD support. + :param ad_account_name: Active Directory account name for this Azure Arc enabled PostgreSQL + server. + :param keytab_secret: The name of the Kubernetes secret that contains the keytab + file for this Azure Arc enabled PostgreSQL server. + :param dns_name: The primary service DNS name exposed to the end-users to + connect to this Azure Arc enabled PostgreSQL server. + :param extensions: Command seperated list of postgresql extensions. + :param retention_days: Retention period in days, ranging from 0 to 35. + :return: + """ + if not use_k8s: + raise ValueError(USE_K8S_EXCEPTION_TEXT) + + if not kwargs.get("name"): + raise ValueError("Please provide a name for the PostgreSQL server.") + + cvo = client.args_to_command_value_object(locals()) + try: + client.services.pg.create(cvo) + except KubernetesError as e: + raise CLIError(e.message) from e + except Exception as e: + raise CLIError(e) from e + + +def postgres_server_arc_restore( + client, + name, + namespace, + source_server, + time=None, + storage_class_data=None, + storage_class_logs=None, + storage_class_backups=None, + volume_size_data=None, + volume_size_logs=None, + volume_size_backups=None, + dry_run=False, + nowait=False, + use_k8s=None, +): + """ + Create an Azure Arc enabled PostgreSQL server. + :param client: + :param name: The name of the Azure Arc enabled PostgreSQL server. + :param namespace: Namespace where the Azure Arc enabled PostgreSQL server + is deployed. + :param source_server: The name of the Azure Arc enabled PostgreSQL server + to restore from. + :param time: Restore time. + :param storage_class_data: The storage classes to be used for data + persistent volumes. + :param storage_class_logs: The storage classes to be used for logs + persistent volumes. + :param storage_class_backups: The storage classes to be used for backups + persistent volumes. + :param volume_size_data: The volume size for the storage classes to be used + for data. + :param volume_size_logs: The volume size for the storage classes to be used + or logs. + :param volume_size_backups: The volume size for the storage classes to be + used for backups. + :param dry_run: If set, validates the source and destination resources, and + the restore time. + :param nowait: Do not wait for deployment to be ready before returning. + :param use_k8s: Use the current kubeconfig to perform this action. + :return: + """ + if not use_k8s: + raise ValueError(USE_K8S_EXCEPTION_TEXT) + + if time is None: + time = _parse_restore_time( + str(datetime(1, 1, 1, 0, 0, 0, tzinfo=timezone.utc)) + ) + elif len(time) > 27: + raise ValueError( + "Nanosecond precision not supported, please specify timestamp in" + + " the format: YYYY-MM-DDTHH:MM:SS.FFFFFFZ" + ) + + task_name = "postgresql-restore-" + str(datetime.timestamp(datetime.now())) + + cvo = client.args_to_command_value_object( + { + "name": task_name, + "namespace": namespace, + "source_name": source_server, + "destination_name": name, + "restore_point": time, + "storage_class_data": storage_class_data, + "storage_class_logs": storage_class_logs, + "storage_class_backups": storage_class_backups, + "volume_size_data": volume_size_data, + "volume_size_logs": volume_size_logs, + "volume_size_backups": volume_size_backups, + "dry_run": dry_run, + "nowait": nowait, + } + ) + try: + client.services.pg.restore(cvo) + except KubernetesError as err: + raise CLIError(err.message) from err + except Exception as err: + raise CLIError(err) from err + + +def postgres_server_arc_update( + client, + use_k8s=None, + **kwargs +): + """ + Update the configuration of an Azure Arc enabled PostgreSQL server. + :param client: + :param name: The name of the Azure Arc enabled PostgreSQL server you would like to update. + :param namespace: Namespace where the Azure Arc enabled PostgreSQL server is deployed. + :param path: The path to the source json file for the Azure Arc enabled PostgreSQL server. + This is optional. + :param certificate_private_key_file: Path to the file containing a PEM formatted certificate + private key to be used for client SSL connections. + :param certificate_public_key_file: Path to the file containing a PEM formatted certificate + public key to be used for client SSL connections. + :param cores_limit: The limit of cores of the managed instance in integer number of vCores. + :param cores_request: The request for cores of the managed instance in integer number of + vCores. + :param extensions: Comma seperated list of PostgreSql extensions to be configured. + :param log_level: Sets the log_min_messages setting for the PostgreSQL engine. + :param memory_limit: The limit of the capacity of the managed instance in integer amount of + memory in GBs. + :param memory_request: The request for the capacity of the managed instance in integer amount + of memory in GBs. + :param retention_days: "Backup retention period, specified in days. Allowed values are 0 to 35. + Default is 7. + :param no_external_endpoint: If not specified, an external service is created using the + same service type as the data controller. + :param service_annotations: Comma-separated list of annotations to apply to all external + services. + :param service_certificate_secret: Name of the Kubernetes secret to generate that hosts + the SSL certificate. + :param service_labels: Comma-separated list of labels to apply to all external services. + :param service_type: The type for the primary service. + :param dev: If this is specified, then it is considered a dev instance and will not be billed + for. + :param port: Optional parameter for the service port. + :param nowait: Do not wait for deployment to be ready before returning. + :param use_k8s: Use the current kubeconfig to perform this action. + :param keytab_secret: The name of the Kubernetes secret that contains the keytab + file for this Azure Arc enabled PostgreSQL server. + :param extensions: Command seperated list of postgresql extensions. + :param retention_days: Retention period in days, ranging from 0 to 35. + :return: + """ + if not use_k8s: + raise ValueError(USE_K8S_EXCEPTION_TEXT) + + if not kwargs.get("name"): + raise ValueError("Please provide a name for the PostgreSQL server.") + + cvo = client.args_to_command_value_object(locals()) + try: + client.services.pg.update(cvo) + except KubernetesError as e: + raise CLIError(e.message) from e + except Exception as e: + raise CLIError(e) from e + + +def postgres_server_arc_delete( + client, use_k8s=None, **kwargs +): + """ + Delete an Azure Arc enabled PostgreSQL server. + :param client: + :param name: Name of the Azure Arc enabled PostgreSQL server. + :param namespace: Namespace where the Azure Arc enabled PostgreSQL server is deployed. + :param force: Delete the Azure Arc enabled PostgreSQL server without confirmation. + :param use_k8s: Use the current kubeconfig to perform this action. + :return: + """ + if not use_k8s: + raise ValueError(USE_K8S_EXCEPTION_TEXT) + if not kwargs.get("name"): + raise ValueError("Please provide a name for the PostgreSQL server.") + + cvo = client.args_to_command_value_object(locals()) + try: + client.services.pg.delete(cvo) + except KubernetesError as e: + raise CLIError(e.message) + except Exception as e: + raise CLIError(e) + + +def postgres_server_arc_show( + client, name, namespace=None, path=None, use_k8s=None +): + """ + Show the details of an Azure Arc enabled PostgreSQL server. + :param client: + :param name: Name of the Azure Arc enabled PostgreSQL server. + :param namespace: Namespace where the Azure Arc enabled PostgreSQL server is deployed. + :param path: A path to a json file where the full specification for the Azure Arc enabled + PostgreSQL server should be written. + :param use_k8s: Use the current kubeconfig to perform this action. + :return: + """ + if not use_k8s: + raise ValueError(USE_K8S_EXCEPTION_TEXT) + if not name: + raise ValueError("Please provide a name for the PostgreSQL server.") + if not namespace: + raise ValueError("Please provide a namespace for the PostgreSQL server.") + + cvo = client.args_to_command_value_object(locals()) + try: + result = client.services.pg.show(cvo) + if not path: + return result + except KubernetesError as e: + raise CLIError(e.message) + except Exception as e: + raise CLIError(e) + + +def postgres_server_arc_list(client, namespace=None, use_k8s=None): + """ + List Azure Arc enabled PostgreSQL servers. + :param client: + :param namespace: Namespace where the Azure Arc enabled PostgreSQL server is deployed. + :param use_k8s: Use the current kubeconfig to perform this action. + :return: + """ + if not use_k8s: + raise ValueError(USE_K8S_EXCEPTION_TEXT) + + try: + return client.services.pg.list(namespace) + except KubernetesError as e: + raise CLIError(e.message) + except Exception as e: + raise CLIError(e) + + +def arc_postgres_endpoint_list(client, name=None, namespace=None, use_k8s=None): + """ + List Azure Arc enabled PostgreSQL server endpoints. + :param client: + :param name: Name of the Azure Arc enabled PostgreSQL server. + :param namespace: Namespace where the Azure Arc enabled PostgreSQL server is deployed. + :param use_k8s: Use the current kubeconfig to perform this action. + :return: + """ + if not use_k8s: + raise ValueError(USE_K8S_EXCEPTION_TEXT) + + try: + return client.services.pg.endpoint_list(name, namespace) + except KubernetesError as e: + raise CLIError(e.message) + except Exception as e: + raise CLIError(e) + + +def _parse_restore_time(time): + t = parser.parse(time) + if t.tzinfo is None: + t = datetime( + t.year, + t.month, + t.day, + t.hour, + t.minute, + t.second, + t.microsecond, + tz.tzlocal(), + ) + return t.astimezone(tz.tzutc()) diff --git a/src/arcdata/arcdata/azext_arcdata/postgres/exceptions.py b/src/arcdata/arcdata/azext_arcdata/postgres/exceptions.py new file mode 100644 index 00000000000..a3270cc6173 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/postgres/exceptions.py @@ -0,0 +1,10 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + + +from azext_arcdata.core.exceptions import CLIError + + +class PostgresError(CLIError): + """All errors related to postgres API calls.""" diff --git a/src/arcdata/arcdata/azext_arcdata/postgres/help.py b/src/arcdata/arcdata/azext_arcdata/postgres/help.py new file mode 100644 index 00000000000..5af93fa1be2 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/postgres/help.py @@ -0,0 +1,141 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ----------------------------------------------------------------------------- + +from knack.help_files import helps + +# ------------------------------------------------------------------------------ +# Server Commands +# ------------------------------------------------------------------------------ + +# pylint: disable=line-too-long +helps["postgres server-arc"] = ( + """ + type: group + short-summary: {short} +""".format( + short="Manage Azure Arc enabled PostgreSQL servers." + ) +) + +helps["postgres server-arc create"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az postgres server-arc create -n pg1 --k8s-namespace namespace --use-k8s +""".format( + short="Create an Azure Arc enabled PostgreSQL server.", + long="To set the password of the server, please set the environment variable AZDATA_PASSWORD", + ex1="Create an Azure Arc enabled PostgreSQL server.", + ) +) + +helps["postgres server-arc restore"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az postgres server-arc restore -n --source-server --k8s-namespace namespace --use-k8s +""".format( + short="Restore an Azure Arc enabled PostgreSQL server from backup from another server.", + long="To set the password of the server, please set the environment variable AZDATA_PASSWORD", + ex1="Restore an Azure Arc enabled PostgreSQL server.", + ) +) + +helps["postgres server-arc update"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az postgres server-arc update --path ./spec.json -n pg1 --k8s-namespace namespace --use-k8s + - name: {ex2} + text: > + az postgres server-arc update -n pg1 --extensions 'pgaudit,pg_partman' --k8s-namespace namespace --use-k8s + - name: {ex3} + text: > + az postgres server-arc update -n pg1 --extensions "''" --k8s-namespace namespace --use-k8s +""".format( + short="Update the configuration of an Azure Arc enabled PostgreSQL server.", + ex1="Update the configuration of an Azure Arc enabled PostgreSQL server.", + ex2="Enable extensions for an existing Azure Arc enabled PostgreSQL server.", + ex3="Remove extensions from an Azure Arc enabled PostgreSQL server.", + ) +) + +helps["postgres server-arc delete"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az postgres server-arc delete -n pg1 --k8s-namespace namespace --use-k8s +""".format( + short="Delete an Azure Arc enabled PostgreSQL server.", + ex1="Delete an Azure Arc enabled PostgreSQL server.", + ) +) + +helps["postgres server-arc show"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az postgres server-arc show -n pg1 --k8s-namespace namespace --use-k8s +""".format( + short="Show the details of an Azure Arc enabled PostgreSQL server.", + ex1="Show the details of an Azure Arc enabled PostgreSQL server.", + ) +) + +helps["postgres server-arc list"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az postgres server-arc list --k8s-namespace namespace --use-k8s +""".format( + short="List Azure Arc enabled PostgreSQL server.", + ex1="List Azure Arc enabled PostgreSQL server.", + ) +) + +helps["postgres server-arc endpoint"] = ( + """ + type: group + short-summary: {short} +""".format( + short="Manage Azure Arc enabled PostgreSQL server endpoints." + ) +) + +helps["postgres server-arc endpoint list"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az postgres server-arc endpoint list --name postgres01 + --k8s-namespace namespace --use-k8s +""".format( + short="List Azure Arc enabled PostgreSQL server endpoints.", + ex1="List Azure Arc enabled PostgreSQL server endpoints.", + ) +) diff --git a/src/arcdata/arcdata/azext_arcdata/postgres/postgres_utilities.py b/src/arcdata/arcdata/azext_arcdata/postgres/postgres_utilities.py new file mode 100644 index 00000000000..6417d4cf9bc --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/postgres/postgres_utilities.py @@ -0,0 +1,41 @@ +import pydash as _ +import re +from azext_arcdata.postgres.constants import ( + API_GROUP, + RESOURCE_KIND_PLURAL, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import KubernetesClient +from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.constants import POSTGRES_CRD_NAME +from azext_arcdata.vendored_sdks.kubernetes_sdk.models._models import ( + ComMicrosoftArcdataV1Beta6PostgreSql as PostgresCustomResource, +) + + +def resolve_postgres_instances( + namespace, + name=None, + field_filter=None, + label_filter=None, +) -> list: + + client = KubernetesClient.resolve_k8s_client().CustomObjectsApi() + + response = client.list_namespaced_custom_object( + namespace=namespace, + field_selector=field_filter, + label_selector=label_filter, + group=API_GROUP, + version=KubernetesClient.get_crd_version(POSTGRES_CRD_NAME), + plural=RESOURCE_KIND_PLURAL, + ) + + items = response.get("items") + + instances = _.map_(items, PostgresCustomResource.from_dict) + + if name is not None: + def name_matches(instance): + return re.match(name, instance.metadata.name) + instances = _.filter_(instances, name_matches) + + return instances diff --git a/src/arcdata/arcdata/azext_arcdata/postgres/templates/postgresql-restore-task-spec.json b/src/arcdata/arcdata/azext_arcdata/postgres/templates/postgresql-restore-task-spec.json new file mode 100644 index 00000000000..51d32ec6017 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/postgres/templates/postgresql-restore-task-spec.json @@ -0,0 +1,13 @@ +{ + "apiVersion": "tasks.postgresql.arcdata.microsoft.com/v1beta1", + "kind": "PostgreSqlRestoreTask", + "metadata": { + "name": "postgres-restore-test1", + "namespace": "test" + }, + "spec": { + "sourceName": "pg01", + "destinationName": "pg02", + "restorePoint": "2022-10-18T00:30:00+00:00" + } +} \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/postgres/util.py b/src/arcdata/arcdata/azext_arcdata/postgres/util.py new file mode 100644 index 00000000000..d92a7dc8444 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/postgres/util.py @@ -0,0 +1,95 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ----------------------------------------------------------------------------- + +from collections import OrderedDict + + +def order_endpoints(): + """ + Order postgres server instance `dict` sections to the same order the server API handed us. + NOTE: This is redundant in Python 3.7 however needed for earlier versions. + + :return: A well defined `OrderedDict` of the given SQL instance endpoints. + """ + + def get_endpoints(endpoints): + """ + Creates ordered dictionaries for the given endpoints to be used in the BoxLayout. + :param endpoints: + :return: + """ + + def new_endpoint(e): + return OrderedDict( + [ + ("description", e["description"]), + ("endpoint", e["endpoint"]), + ("options", []), + ] + ) + + return [new_endpoint(endpoint) for endpoint in endpoints] + + def get_instances(obj): + """ + Returns all instances and their endpoints. + :param obj: + :return: + """ + obj = obj if obj else [] + return [ + OrderedDict( + [ + ("instanceName", instance["name"]), + ("engine", instance["engine"]), + ("endpoints", get_endpoints(instance.get("endpoints"))), + ] + ) + for instance in obj + ] + + def get_arc_postgres_endpoints(obj): + """ + Retrieves all postgres server endpoints in an ordered dictionary to be used in the BoxLayout. + :param obj: + :return: + """ + return ( + None + if "namespace" not in obj + else OrderedDict( + [ + ("clusterName", obj["namespace"]), + ("instance", get_instances(obj["instances"])), + ] + ) + ) + + return get_arc_postgres_endpoints + + +def hierarchical_output(command_result): + """ + Callback for formatting complex custom-output. + :parm_am command_result: The command's high-level result object. + :return: Complex BoxLayout otherwise flat json. + """ + from azext_arcdata.core.layout import BoxLayout + + raw_result = command_result.result + result = order_endpoints()(raw_result) + + return BoxLayout( + result, + config={ + "headers": { + "left": {"label": "", "id": None}, + "right": {"label": "", "id": None}, + }, + "identifiers": [], + }, + bdc_config=True, + ) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/__init__.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/common/__init__.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/common/argument_dicts.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/argument_dicts.py new file mode 100644 index 00000000000..aadcb17e6d0 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/argument_dicts.py @@ -0,0 +1,152 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from typing import List + + +def getFeatureNameArgument(featurename_required_override=None): + """ + Returns feature name argument. + If featurename_required_override is not None, it will override the required value in the featureName dict. + Default value of required is True. + """ + featureName = feature_name + featureName["required"] = True + if featurename_required_override is not None: + featureName["required"] = featurename_required_override + return featureName + + +def getNameArgument(name_help_override=None): + """ + Returns name argument. + If name_help_override is not None, it will override the help value in the name dict. + """ + nameArg = name + if name_help_override is not None: + nameArg["help"] = name_help_override + return nameArg + + +def getResourceGroupArgument(rg_help_override=None): + """ + Returns resource group argument. + If rg_help_override is not None, it will override the help value in the resource group dict. + """ + rgArg = resource_group + if rg_help_override is not None: + rgArg["help"] = rg_help_override + return rgArg + + +def get_machine_name_argument(machineName_required_override=None): + """ + Returns machine name argument. + If machineName_required_override is not None, it will override the required value in the machine name dict. + """ + machineName = machine_name + machineName["required"] = True + if machineName_required_override is not None: + machineName["required"] = machineName_required_override + return machineName + + +def parse_skip_instances(value: str) -> List[str]: + """ + Parses the input of skip-instances parameter. + """ + return value.split(",") + + +# These are Reusable argument dicts for all Sqlarc command groups, if the argument you are adding can not be used by 2 or more command groups do not add them here +name = { + "argument_dest": "name", + "options_list": ["--name", "-n"], + "required": True, + # Must add the help for this argument in the def that loads it as it is different in almost every context +} +resource_group = { + "argument_dest": "resource_group", + "options_list": ["--resource-group", "-g"], + "help": "Name of the resource group where the Arc-enabled SQL Server instance is located.", + "required": True, +} +yes = { + "argument_dest": "yes", + "options_list": ["--yes", "-y"], + "help": "Do not prompt for confirmation.", + "default": False, + "action": "store_true", +} +backups_full_backup_days = { + "argument_dest": "backups_full_backup_days", + "options_list": ["--full-backup-days"], + "help": "Interval, in days, at which a new full backup should be performed. Valid values – 0-7.", + "type": int, +} +backups_diff_backup_hours = { + "argument_dest": "backups_diff_backup_hours", + "options_list": ["--diff-backup-hours"], + "help": "Interval, in hours, at which differential backups should be performed. Valid values – 12 or 24.", + "type": int, +} +backups_tlog_backup_mins = { + "argument_dest": "backups_tlog_backup_mins", + "options_list": ["--tlog-backup-mins"], + "help": "Interval, in minutes, at which transactional backups should be performed. Valid values – 0 to 60.", + "type": int, +} +backups_default_policy = { + "argument_dest": "backups_default_policy", + "options_list": ["--default-policy"], + "help": "Set the default policy of weekly retention period, weekly full, daily differential, and 5 min transaction log backups.", + "default": False, + "action": "store_true", +} +backups_retention_days = { + "argument_dest": "backups_retention_days", + "options_list": ["--retention-days"], + "help": "Number of days to keep the backups for. Valid values 0-35.", + "type": int, +} +feature_name = { + "argument_dest": "name", + "options_list": ["--name", "-n"], + "help": "Name of the feature.", +} +feature_flag_value = { + "argument_dest": "enable", + "options_list": ["--enable"], + "help": "Set true to enable and false to disable.", + "required": True, +} +machine_name = { + "argument_dest": "machine_name", + "options_list": ["--machine-name", "-m"], + "help": "Name of the connected machine.", + "required": True, +} +sql_server_arc_name = { + "argument_dest": "sql_server_arc_name", + "options_list": ["--sql-server-arc-name"], + "help": "Name of the sql server instance.", +} +skip_instances = { + "argument_dest": "skip_instances", + "options_list": ["--skip-instances"], + "type": parse_skip_instances, + "help": "Comma separated string of instances that are excluded from arc onboarding operations.", +} +esu_enabled = { + "argument_dest": "esu_enabled", + "options_list": ["--esu-enabled"], + "help": "Status of extended security updates.", +} +license_type = { + "argument_dest": "license_type", + "options_list": ["--license-type"], + "help": "License type of the arc server.", +} diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/common/argument_loading_defs.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/argument_loading_defs.py new file mode 100644 index 00000000000..041f5bdd752 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/argument_loading_defs.py @@ -0,0 +1,41 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +from azext_arcdata.sqlarc.common.argument_dicts import ( + backups_default_policy, + backups_diff_backup_hours, + backups_full_backup_days, + backups_retention_days, + backups_tlog_backup_mins, + yes +) + +# Place reusable argument loading functions here + + +def arguments(arg_context, argument_list): + for argument in argument_list: + arg_context.argument(**argument) + + +# Custom Schedule TODO: Renable parameters for custom +def load_backups_policy_set_arguments(arg_context): + arguments( + arg_context, + [ + backups_full_backup_days, + backups_diff_backup_hours, + backups_tlog_backup_mins, + backups_default_policy, + backups_retention_days, + ], + ) + + +def load_confirmation_argument(arg_context): + arguments( + arg_context, + [yes], + ) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/common/command_defs/__init__.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/command_defs/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/command_defs/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/common/command_defs/backups_policy_defs.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/command_defs/backups_policy_defs.py new file mode 100644 index 00000000000..ef289811ccd --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/command_defs/backups_policy_defs.py @@ -0,0 +1,226 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +from knack.log import get_logger +from azext_arcdata.sqlarc.common.validators import ( + validate_fci_is_inactive, + validate_license_type, +) +from azext_arcdata.sqlarc.common.command_defs.backups_policy_helpers import ( + apply_policy_changes_to_backups_policy, + create_backups_policy_config, + delete_backups_policy_config, + displayable_backups_policy_config +) +from azext_arcdata.core.exceptions import CLIError + +logger = get_logger(__name__) + + +def backups_policy_set(client, instance=None, database_name=None): + try: + # Get Values from given arguments + cvo = client.args_to_command_value_object() + + full_instance_name = instance.replace("/", "_") + + # Make Get Request to Get Instance Config if we are targeting an Instance + # and Request a databse if targeting a Database + if not database_name: + # Make Get Request to get Instance + arm_model = client.services.sqlarc.get_instance_config( + cvo.resource_group, full_instance_name + ) + instance_arm_model = arm_model + else: + instance_arm_model = client.services.sqlarc.get_instance_config( + cvo.resource_group, full_instance_name + ) + arm_model = client.services.sqlarc.get_database_config( + cvo.resource_group, full_instance_name, database_name + ) + # note: The arm_model can be either a Database or Instance model, for our purposes + # it does not matter which we are working with as they shapped the exact same way + # Verify the user has the appropriate licensce type to execute this command + license = client.services.sqlarc.get_license_type( + instance_arm_model.properties.container_resource_id + ) + validate_license_type(license) + + validate_fci_is_inactive(instance_arm_model) + + # Creates a New Backup Policy and replaced the existing one with it + create_backups_policy_config(arm_model) + apply_policy_changes_to_backups_policy(cvo, arm_model) + + if not database_name: + client.services.sqlarc.put_instance_config( + cvo.resource_group, full_instance_name, arm_model + ) + else: + arm_model = client.services.sqlarc.put_database_config( + cvo.resource_group, full_instance_name, database_name, arm_model + ) + + # Display Success message :) + success_message = ( + "The policy has successfully been sent to the Sql {0}." + ) + if not database_name: + client.stdout(success_message.format("Server instance")) + else: + client.stdout(success_message.format("Server database")) + + except Exception as e: + logger.info(e) + raise CLIError(e) + + +def backups_policy_show(client, instance=None, database_name=None): + try: + # Get Values from given arguments + cvo = client.args_to_command_value_object() + + full_instance_name = instance.replace("/", "_") + # Make Get Request to Get Instance Config if we are targeting an Instance + # and Request a databse if targeting a Database + if not database_name: + # Make Get Request to get Instance + arm_model = client.services.sqlarc.get_instance_config( + cvo.resource_group, full_instance_name + ) + instance_arm_model = arm_model + policy_level = "Instance" + else: + instance_arm_model = client.services.sqlarc.get_instance_config( + cvo.resource_group, full_instance_name + ) + arm_model = client.services.sqlarc.get_database_config( + cvo.resource_group, full_instance_name, database_name + ) + policy_level = "Database" + # note: The arm_model can be either a Database or Instance model, for our purposes + # it does not matter which we are working with as they shapped the exact same way + # Verify the user has the appropriate licensce type to execute this command + license = client.services.sqlarc.get_license_type( + instance_arm_model.properties.container_resource_id + ) + validate_license_type(license) + + validate_fci_is_inactive(instance_arm_model) + + if not arm_model.properties.backup_policy and database_name: + arm_model = instance_arm_model + policy_level = "Instance" + + if not arm_model.properties.backup_policy: + no_policy_message = ( + "No backup policy has been set for this Sql {0}." + ) + if not database_name: + client.stdout(no_policy_message.format("Server instance")) + else: + client.stdout( + no_policy_message.format( + "Server database or its corresponding Server instance" + ) + ) + return + + instance_name = instance_arm_model.properties.instance_name + if instance_name == "MSSQLSERVER": + instance_name = full_instance_name + + return displayable_backups_policy_config( + arm_model, instance_name, database_name, policy_level + ) + + except Exception as e: + logger.info(e) + raise CLIError(e) + + +def backups_policy_delete(client, instance=None, database_name=None): + try: + # Get Values from given arguments + cvo = client.args_to_command_value_object() + + full_instance_name = instance.replace("/", "_") + + # Make Get Request to Get Instance Config if we are targeting an Instance + # and Request a databse if targeting a Database + if not database_name: + # Make Get Request to get Instance + arm_model = client.services.sqlarc.get_instance_config( + cvo.resource_group, full_instance_name + ) + instance_arm_model = arm_model + else: + instance_arm_model = client.services.sqlarc.get_instance_config( + cvo.resource_group, full_instance_name + ) + arm_model = client.services.sqlarc.get_database_config( + cvo.resource_group, full_instance_name, database_name + ) + # note: The arm_model can be either a Database or Instance model, for our purposes + # it does not matter which we are working with as they shapped the exact same way + # Verify the user has the appropriate licensce type to execute this command + license = client.services.sqlarc.get_license_type( + instance_arm_model.properties.container_resource_id + ) + validate_license_type(license) + validate_fci_is_inactive(instance_arm_model) + if not arm_model.properties.backup_policy: + fail_message = ( + "There is no policy currently active on this Sql {0}." + ) + if not database_name: + client.stdout(fail_message.format("Server instance")) + else: + client.stdout(fail_message.format("Server database")) + return + + if not cvo.yes: + instance_name = instance_arm_model.properties.instance_name + if not database_name: + confirmation_dialogue = f"Deleting the backup policy for the instance will cause all databases in this instance that do not have their own database level backup policy set, to stop taking automated backups. Are you sure you want to delete the backup policy for the instance '{instance_name}'? [Y/N] " + else: + confirmation_dialogue = f"Deleting the backup policy for a the database will cause the database to use the instance's backup policy. If there is no instance backup policy set, there will no longer be any automated backups taken for the database. Are you sure you want to delete the backup policy for the database '{database_name}' on the instance '{instance_name}'? [Y/N] " + + validAnswer = False + user_input = input(confirmation_dialogue) + while not validAnswer: + answer = user_input.lower().strip() + if answer == "n" or answer == "no": + client.stdout("Delete operation canceled.") + return + elif answer == "y" or answer == "yes": + validAnswer = True + else: + user_input = input("Please enter 'Y' or 'N': ") + + delete_backups_policy_config(arm_model) + + if not database_name: + client.services.sqlarc.put_instance_config( + cvo.resource_group, full_instance_name, arm_model + ) + else: + arm_model = client.services.sqlarc.put_database_config( + cvo.resource_group, full_instance_name, database_name, arm_model + ) + + # Display Success message :) + success_message = ( + "The policy has successfully been deleted from the Sql {0}." + ) + if not database_name: + client.stdout(success_message.format("Server instance")) + else: + client.stdout(success_message.format("Server database")) + + except Exception as e: + logger.info(e) + raise CLIError(e) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/common/command_defs/backups_policy_helpers.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/command_defs/backups_policy_helpers.py new file mode 100644 index 00000000000..b13463b058c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/command_defs/backups_policy_helpers.py @@ -0,0 +1,90 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +import pydash as _ +from azext_arcdata.vendored_sdks.arm_sdk.swagger.swagger_latest.models import BackupPolicy + + +# Reads the Backup Policy and checks if it is enabled +def is_backups_enabled(arm_model): + return arm_model.properties.backup_policy.retention_period_days == 0 + + +# Resets all values to harcoded default values +def setup_default_values(arm_model): + arm_model.properties.backup_policy.retention_period_days = 7 + arm_model.properties.backup_policy.full_backup_days = 7 + arm_model.properties.backup_policy.differential_backup_hours = 24 + arm_model.properties.backup_policy.transaction_log_backup_minutes = 5 + + +# Takes a Backups policy and applies changes to it based on user input +def apply_policy_changes_to_backups_policy(cvo, arm_model): + if cvo.backups_default_policy: + setup_default_values(arm_model) + + if cvo.backups_full_backup_days is not None: + arm_model.properties.backup_policy.full_backup_days = ( + cvo.backups_full_backup_days + ) + + if cvo.backups_diff_backup_hours is not None: + arm_model.properties.backup_policy.differential_backup_hours = ( + cvo.backups_diff_backup_hours + ) + + if cvo.backups_tlog_backup_mins is not None: + arm_model.properties.backup_policy.transaction_log_backup_minutes = ( + cvo.backups_tlog_backup_mins + ) + + if cvo.backups_retention_days is not None: + arm_model.properties.backup_policy.retention_period_days = ( + cvo.backups_retention_days + ) + + +# Make a Displayable version of the backups policy, In essence it hides certain Null values from the user and any other information not intented to be for the user. +def displayable_backups_policy_config( + arm_model, instance_name, database_name="", policy_level="" +): + backups_policy_config = {} + if database_name: + backups_policy_config["databaseName"] = database_name + backups_policy_config["backupPolicyLevel"] = policy_level + + backups_policy_config["instanceName"] = instance_name + + backups_policy_config["retentionPeriodDays"] = ( + arm_model.properties.backup_policy.retention_period_days + ) + + backups_policy_config["fullBackupDays"] = ( + arm_model.properties.backup_policy.full_backup_days + ) + + backups_policy_config["differentialBackupHours"] = ( + arm_model.properties.backup_policy.differential_backup_hours + ) + + backups_policy_config["transactionLogBackupMinutes"] = ( + arm_model.properties.backup_policy.transaction_log_backup_minutes + ) + + return backups_policy_config + + +def create_backups_policy_config(arm_model): + arm_model.properties.backup_policy = BackupPolicy() + setup_default_values(arm_model) + + +def delete_backups_policy_config(arm_model): + arm_model.properties.backup_policy = None + + +# This function is not exposed to the user; it is can be used for quickly changing license types for manual testing reasons. +def delete_backups_policy(arm_model): + arm_model.properties.backup_policy = None diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/common/help_formats.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/help_formats.py new file mode 100644 index 00000000000..356b063113a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/help_formats.py @@ -0,0 +1,68 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +help_format_short = """ + type: {type} + short-summary: {short} +""" +help_format_long = """ + type: {type} + short-summary: {short} + long-summary: {long} +""" +help_format_example = """ + type: {type} + short-summary: {short} + examples: + - name: {exName} + text: > + {example} + +""" +help_format_examples_2 = """ + type: {type} + short-summary: {short} + examples: + - name: {exName} + text: > + {example} + - name: {exName2} + text: > + {example2} + +""" +help_format_examples_3 = """ + type: {type} + short-summary: {short} + examples: + - name: {exName} + text: > + {example} + - name: {exName2} + text: > + {example2} + - name: {exName3} + text: > + {example3} + +""" +help_format_examples_4 = """ + type: {type} + short-summary: {short} + examples: + - name: {exName} + text: > + {example} + - name: {exName2} + text: > + {example2} + - name: {exName3} + text: > + {example3} + - name: {exName4} + text: > + {example4} + +""" diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/common/help_strings.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/help_strings.py new file mode 100644 index 00000000000..59b0dd36cf6 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/help_strings.py @@ -0,0 +1,33 @@ +from azext_arcdata.sqlarc.common.help_formats import ( + help_format_example, + help_format_examples_3, + help_format_short +) + +HELP_BACKUPS_POLICY = help_format_short.format( + type="group", + short="Manage backups policy", +) + +HELP_BACKUPS_POLICY_SET = help_format_examples_3.format( + type="command", + short="Set your backups policy", + exName="Ex 1 - Enabling a backups policy with a custom backups policy", + example="{example}", + exName2="Ex 2 - Enabling a backups policy with the default backups policy", + example2="{example2}", + exName3="Ex 3 - Disabling a backups policy", + example3="{example3}", +) +HELP_BACKUPS_POLICY_SHOW = help_format_example.format( + type="command", + short="See your current backups policy", + exName="Ex 1 - Displaying a backups policy", + example="{example}", +) +HELP_BACKUPS_POLICY_DELETE = help_format_example.format( + type="command", + short="Delete your current backups policy", + exName="Ex 1 - Deleting a backups policy", + example="{example}", +) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/common/helpers.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/helpers.py new file mode 100644 index 00000000000..7ea44782472 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/helpers.py @@ -0,0 +1,40 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + + +def convert_string_to_bool(s): + """ + Converts a string to a boolean value. + """ + + if s.casefold() == "true": + return True + elif s.casefold() == "false": + return False + + +def get_machine_name(client): + """ + Returns the arc server machine name of the client. + """ + + cvo = client.args_to_command_value_object() + + if cvo.sql_server_arc_name and cvo.machine_name: + calculated_machine_name = client.services.sqlarc.get_instance_host_name( + cvo.resource_group, cvo.sql_server_arc_name + ) + + if calculated_machine_name != cvo.machine_name: + raise ValueError( + "Values provided for 'sql-server-arc-name' and 'machine-name' does not match." + ) + + if not cvo.machine_name: + return client.services.sqlarc.get_instance_host_name( + cvo.resource_group, cvo.sql_server_arc_name + ) + return cvo.machine_name diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/common/service.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/service.py new file mode 100644 index 00000000000..41221136a2d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/service.py @@ -0,0 +1,306 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +import json +import re +import requests +from knack.log import get_logger +from azext_arcdata.vendored_sdks.arm_sdk.swagger.swagger_latest import ( + AzureArcDataManagementClient, +) +from azext_arcdata.vendored_sdks.arm_sdk.swagger.swagger_latest.models import ( + AvailabilityGroupCreateUpdateConfiguration, + SqlServerAvailabilityGroupResource, +) + +__all__ = ["AzureArcSqlWebService"] +logger = get_logger(__name__) + + +class AzureArcSqlWebService(object): + logger = get_logger(__name__) + + # initialize the service for making Http Requests to ARM + def __init__(self, azure_credential, subscription): + self._azure_credential = azure_credential + self._bearer = azure_credential.get_token().token + self._subscription_id = subscription + self._headers = { + "Authorization": "Bearer {}".format(self._bearer), + "Content-Type": "application/json", + } + self._client = AzureArcDataManagementClient( + self._azure_credential, self._subscription_id, headers=self._headers + ) + + self._api_version_instance = "2023-12-01-preview" + self._api_version_server = "2023-03-15-preview" + self._server_config_url = ( + "https://management.azure.com/{0}/extensions/{1}{2}" + ) + self._instance_config_url = "https://management.azure.com/{0}/{1}" + self._server_resource_id = "/subscriptions/{0}/resourceGroups/{1}/providers/Microsoft.HybridCompute/machines/{2}" + self._instance_resource_id = "/subscriptions/{0}/resourceGroups/{1}/providers/Microsoft.AzureArcData/sqlServerInstances/{2}" + + def get_sqlarc_server_config_url(self, url_path): + return self._server_config_url.format( + url_path, + "WindowsAgent.SqlServer", + "?api-version={0}".format(self._api_version_server), + ) + + def get_sqlarc_server_config(self, url_path): + url = self.get_sqlarc_server_config_url(url_path) + response = requests.get(url=url, headers=self._headers) + self.response_error_checking_with_status_code( + response, + 404, + "Error: Could not find SQL Server at '{0}'".format(url_path), + ) + self.response_pass_checking( + response, + "Error: An Error has occurred while looking for the SQL Arc Server. Check logs for more information.", + ) + return response.json() + + def get_sqlarc_instance_resource_url(self, url_path): + return self._instance_config_url.format( + url_path, + "?api-version={0}".format(self._api_version_instance), + ) + + def get_sqlarc_instance_response_json(self, url_path): + url = self.get_sqlarc_instance_resource_url(url_path) + response = requests.get(url=url, headers=self._headers) + self.response_error_checking_with_status_code( + response, + 404, + "Error: Could not find SQL Server - Azure Arc at '{0}'".format( + url_path + ), + ) + self.response_pass_checking( + response, + "Error: An Error has occurred while looking for the SQL Server - Azure Arc. Check logs for more information.", + ) + return response.json() + + def get_sqlarc_extension_details(self, resource_group, server_name): + """ + This function gets current extension details for a given arc server. + """ + resource_id = self._server_resource_id.format( + self._subscription_id, resource_group, server_name + ) + return self.get_sqlarc_server_config(resource_id) + + def put_sqlarc_extension_details(self, resource_group, server_name, config): + """ + This function updates the extension details for a given arc server. + """ + resource_id = self._server_resource_id.format( + self._subscription_id, resource_group, server_name + ) + url = self.get_sqlarc_server_config_url(resource_id) + payload = json.dumps(config) + response = requests.put(url=url, headers=self._headers, data=payload) + + # Raise exception if http request was not successful. + if response.status_code < 200 or response.status_code > 299: + if response.status_code == 409: + raise Exception( + '{"code":"HCRP409","message":"An extension of type WindowsAgent.SqlServer is still processing. Only one instance of an extension may be in progress at a time for the same resource. Please retry after sometime."}' + ) + else: + raise Exception(response.text) + + def get_license_type(self, url): + config = self.get_sqlarc_server_config(url) + try: + return config["properties"]["settings"]["LicenseType"] + except Exception as e: + logger.info(e) + raise RuntimeError( + "LicenseType could not be found at the expected location. Please visit: https://learn.microsoft.com/en-us/sql/sql-server/azure-arc/manage-license-type?view=sql-server-ver16&tabs=azure#modify-license-type to fix this issue!" + ) + + # Gets the Config of an instance + def get_sqlarc_instance_config(self, resource_group, instance_name): + try: + response = self._client.sql_server_instances.get( + resource_group, instance_name + ) + return response + except Exception as e: + logger.info(e) + self.generic_raise_exception(e, resource_group, instance_name) + + # Executes a Puts on the Instance Config + def put_sqlarc_instance_config(self, resource_group, instance, config): + try: + response = self._client.sql_server_instances.begin_create( + resource_group, instance, config + ) + return response + except Exception as e: + logger.info(e) + self.generic_raise_exception(e, resource_group, instance) + + # Returns arc server host name for a sql instance. + def get_arc_server_name(self, resource_group, instance_name): + try: + resource_id = self._instance_resource_id.format( + self._subscription_id, resource_group, instance_name + ) + + response = self.get_sqlarc_instance_response_json(resource_id) + container_resource_id = response["properties"][ + "containerResourceId" + ] + + match = re.search(r"/machines/(.+)$", container_resource_id) + host_name = match.group(1) + return host_name + + except Exception as e: + logger.info(e) + raise Exception( + "Unable to find a arc server resource for the arc sql instance name provided." + ) + + def get_sqlarc_database_config(self, resource_group, instance, database): + try: + response = self._client.sql_server_databases.get( + resource_group, instance, database + ) + return response + except Exception as e: + logger.info(e) + self.generic_raise_exception(e, resource_group, instance, database) + + # Executes a Puts on an Azure Database Arm Manifest + def put_sqlarc_database_config( + self, resource_group, instance, database, config + ): + try: + response = self._client.sql_server_databases.create( + resource_group, instance, database, config + ) + return response + except Exception as e: + logger.info(e) + self.generic_raise_exception(e, resource_group, instance) + + def create_sqlarc_database( + self, resource_group, instance, database, config + ): + try: + response = self._client.sql_server_databases.create( + resource_group, instance, database, config + ) + return response + except Exception as e: + logger.info(e) + self.generic_raise_exception(e, resource_group, instance, database) + + def response_error_checking_with_status_code( + self, response, status_code, error_message + ): + if response.status_code == status_code: + logger.info(response.text) + raise Exception(error_message) + + def response_pass_checking(self, response, error_message): + if not (response.status_code >= 200 and response.status_code < 300): + logger.info(response.text) + raise Exception(error_message) + + def get_ag_details( + self, + resource_group: str, + sql_server_instance_name: str, + availability_group_name: str, + ) -> SqlServerAvailabilityGroupResource: + """ + Get a SQL Availability Group. + :param resource_group: The name of the Azure resource group. + :type resource_group: str + :param sql_server_instance_name: The name of the SQL Server instance. + :type sql_server_instance_name: str + :param availability_group_name: The name of the SQL Availability Group. + :type availability_group_name: str""" + return self._client.sql_server_availability_groups.detail_view( + resource_group_name=resource_group, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + ) + + def create_ag( + self, + resource_group: str, + sql_server_instance_name: str, + availability_group_config: AvailabilityGroupCreateUpdateConfiguration, + no_wait: bool, + ): + """ + Create a new SQL Availability Group. + :param resource_group: The name of the Azure resource group. + :type resource_group: str + :param sql_server_instance_name: The name of the SQL Server instance. + :type sql_server_instance_name: str + :param availability_group_config: The availability group configuration. + :type availability_group_config: AvailabilityGroupCreateUpdateConfiguration + """ + polling = not no_wait + return self._client.sql_server_availability_groups.begin_create_availability_group( + resource_group_name=resource_group, + sql_server_instance_name=sql_server_instance_name, + create_ag_configuration=availability_group_config, + polling=polling, + ) + + def failover_ag( + self, + resource_group_name: str, + sql_server_instance_name: str, + availability_group_name: str, + ) -> SqlServerAvailabilityGroupResource: + """ + Request manual failover of the availability group to the given server. + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param availability_group_name: Name of SQL Availability Group. + :type availability_group_name: str + """ + return self._client.sql_server_availability_groups.failover( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + ) + + def generic_raise_exception( + self, e, resource_group, instance_name, database_name=None + ): + if "(ResourceGroupNotFound)" in str(e): + raise Exception( + 'Could not find resource group "{0}".'.format(resource_group) + ) + if "(ResourceNotFound)" in str(e) and "/Databases/" not in str(e): + raise Exception( + 'Could not find Sql Server instance "{0}" in the resource group "{1}". For more details please go to https://aka.ms/ARMResourceNotFoundFix'.format( + instance_name, resource_group + ) + ) + if "(ResourceNotFound)" in str(e) and "/Databases/" in str(e): + raise Exception( + 'Could not find a database called "{0}" in the Sql Server Instance "{1}" in the resource group "{2}". For more details please go to https://aka.ms/ARMResourceNotFoundFix'.format( + database_name, instance_name, resource_group + ) + ) + raise Exception( + f"An error has occured: {e} \nPlease look at the logs for more information." + ) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/common/validators.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/validators.py new file mode 100644 index 00000000000..9e1d58ee145 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/common/validators.py @@ -0,0 +1,271 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +import re as reg +import pydash as _ +from azext_arcdata.core.exceptions import CLIError +from azext_arcdata.sqlarc.server.constants import ( + allowed_feature_flags +) +from knack.log import get_logger + +logger = get_logger(__name__) + +invalid_value = ( + "Value Error: {0} is an invalid value for argument {1}, it must be {2}" +) + +invalid_value_type2 = "Value Error: {0} is an invalid value for argument {1}" + + +def validate_backups_policy_set_arguments(namespace): + + # Phase 2 TODO: when Enable gets added change the <0 to <=0 and add enable check here 0 and enable true are mutually exlcusivve + if namespace.backups_full_backup_days and ( + namespace.backups_full_backup_days < 0 + or namespace.backups_full_backup_days > 7 + ): + raise ValueError( + invalid_value.format( + namespace.backups_full_backup_days, "full-backup-days", " 0-7" + ) + ) + + if namespace.backups_diff_backup_hours and ( + namespace.backups_diff_backup_hours != 12 + and namespace.backups_diff_backup_hours != 24 + ): + raise ValueError( + invalid_value.format( + namespace.backups_diff_backup_hours, + "diff-backup-hours", + "12 or 24", + ) + ) + + if namespace.backups_tlog_backup_mins and ( + namespace.backups_tlog_backup_mins < 0 + or namespace.backups_tlog_backup_mins > 60 + ): + raise ValueError( + invalid_value.format( + namespace.backups_tlog_backup_mins, "tlog-backup-mins", "0-60" + ) + ) + if namespace.backups_retention_days and ( + namespace.backups_retention_days < 0 + or namespace.backups_retention_days > 35 + ): + raise CLIError( + invalid_value.format( + namespace.backups_retention_days, "retention-days", "0-35" + ) + ) + is_a_disable_arguement = ( + namespace.backups_full_backup_days is None + and namespace.backups_diff_backup_hours is None + and namespace.backups_tlog_backup_mins is None + and namespace.backups_retention_days == 0 + and not namespace.backups_default_policy + ) + all_values_are_entered = ( + namespace.backups_full_backup_days is not None + and namespace.backups_diff_backup_hours is not None + and namespace.backups_tlog_backup_mins is not None + and namespace.backups_retention_days is not None + ) + atleast_one_value_is_entered = ( + namespace.backups_full_backup_days is not None + or namespace.backups_diff_backup_hours is not None + or namespace.backups_tlog_backup_mins is not None + or namespace.backups_retention_days is not None + ) + if is_a_disable_arguement: + return + if atleast_one_value_is_entered and namespace.backups_default_policy: + error_msg = "You can either do --default-policy to use the default policy or setup a custom policy using --full-backup-days, --diff-backup-hours, --tlog-backup-mins, and --retention-days but you can not do both." + raise CLIError(error_msg) + + if not all_values_are_entered and not namespace.backups_default_policy: + error_msg = "Please enter all the following parameter(s): {0}. Or you can do --default-policy to use the default policy." + error_list = "" + if namespace.backups_full_backup_days is None: + error_list += "--full-backup-days," + if namespace.backups_diff_backup_hours is None: + error_list += "--diff-backup-hours," + if namespace.backups_tlog_backup_mins is None: + error_list += "--tlog-backup-mins," + if namespace.backups_retention_days is None: + error_list += "--retention-days," + raise CLIError(error_msg.format(error_list[:-1])) + + +def validate_license_type(license, allowed_licenses_list=["paid", "payg"]): + if license is None: + raise CLIError( + "LicenseType could not be found at the expected location. Please visit: https://learn.microsoft.com/en-us/sql/sql-server/azure-arc/manage-license-type?view=sql-server-ver16&tabs=azure#modify-license-type to fix this issue!" + ) + license = license.lower() + if license in allowed_licenses_list: + return + formatted_licenses_list = format_license_list(allowed_licenses_list) + raise CLIError( + "LicenseType : {0} is not a valid license Type for this command, you must have {1} license type to use this command. Please visit: https://learn.microsoft.com/en-us/sql/sql-server/azure-arc/manage-license-type?view=sql-server-ver16&tabs=azure#modify-license-type to learn more.".format( + license, formatted_licenses_list + ) + ) + + +def format_license_list(allowed_licenses_list): + if len(allowed_licenses_list) == 1: + return allowed_licenses_list[0] + + if len(allowed_licenses_list) == 2: + return allowed_licenses_list[0] + " or " + allowed_licenses_list[1] + response = "" + for i in range(len(allowed_licenses_list) - 1): + response += allowed_licenses_list[i] + ", " + response += "or " + allowed_licenses_list[-1] + return response + + +always_on_role = { + "FailoverClusterInstance": "FailoverClusterInstance", + "FailoverClusterNode": "FailoverClusterNode", + "AvailabilityGroupReplica": "AvailabilityGroupReplica", +} + + +def validate_fci_is_inactive(instance_model): + is_fci_enabled = False + is_fci_enabled = is_fci_enabled or is_instance_a_failover_cluster_node( + instance_model + ) + is_fci_enabled = is_fci_enabled or is_instance_a_failover_cluster_instance( + instance_model + ) + is_fci_enabled = ( + is_fci_enabled + or is_instance_an_availability_group_replica(instance_model) + ) + if is_fci_enabled: + raise CLIError( + "FCI is enabled on this instance. Backups and restore are currently not compatible with FCI. Please turn off FCI if you want to use backups or restore functionality." + ) + + +def is_instance_a_failover_cluster_node(instance_model): + return ( + instance_model.properties.always_on_role + == always_on_role["FailoverClusterNode"] + ) + + +def is_instance_a_failover_cluster_instance(instance_model): + return ( + instance_model.properties.always_on_role + == always_on_role["FailoverClusterInstance"] + ) + + +def is_instance_an_availability_group_replica(instance_model): + return ( + instance_model.properties.always_on_role + == always_on_role["AvailabilityGroupReplica"] + ) + + +def validate_feature_flag_set_arguments(namespace): + """ + This function validates the arguments of the feature flag set command. + """ + + validate_args_required_for_computing_server_name(namespace) + flag_value = namespace.enable.lower().strip() + + if flag_value != "true" and flag_value != "false": + raise ValueError( + invalid_value.format(namespace.enable, "enable", "True/False") + ) + + feature_name = namespace.name.lower().strip() + + if not any( + feature_name.lower() == s.lower() for s in allowed_feature_flags + ): + raise ValueError(invalid_value_type2.format(namespace.name, "name")) + + +def validate_feature_flag_show_arguments(namespace): + """ + This function validates the arguments of the feature flag show command. + """ + + validate_args_required_for_computing_server_name(namespace) + + +def validate_feature_flag_delete_arguments(namespace): + """ + This function validates the arguments of the feature flag delete command. + """ + + validate_args_required_for_computing_server_name(namespace) + + +def validate_host_properties_set_arguments(namespace): + """ + This function validates the arguments that are required to set common host level properties of arc server. + """ + + validate_args_required_for_computing_server_name(namespace) + + if ( + not namespace.license_type + and not namespace.esu_enabled + and not namespace.skip_instances + ): + raise ValueError( + "Either 'license-type' or 'esu-enabled' or 'skip-instances' must be provided." + ) + + +def validate_host_properties_show_arguments(namespace): + """ + This function validates the arguments that are required to show common host level properties of arc server. + """ + + validate_args_required_for_computing_server_name(namespace) + + +def validate_args_required_for_computing_server_name(namespace): + """ + This function validates the arguments that are required to compte arc server name. + """ + + if not namespace.sql_server_arc_name and not namespace.machine_name: + raise ValueError( + "Either 'sql-server-arc-name' or 'machine-name' must be provided." + ) + + +def validate_availability_group_create_arguments(namespace): + """ + Validates the arguments for create AG. + """ + + if ( + int(namespace.mirroring_port) < 0 + or int(namespace.mirroring_port) > 65535 + ): + raise ValueError( + "--mirroring-port must be a positive integer between 0 - 65535." + ) + + replica_id_list = namespace.replica_ids.split() + pattern = r"/subscriptions/[^/]+/resourceGroups/[^/]+/providers/Microsoft\.AzureArcData/sqlServerInstances/[^/]+" + + for replica_id in replica_id_list: + if not reg.match(pattern, replica_id, reg.IGNORECASE): + raise ValueError(f"Invalid replica id: {replica_id}") diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/database/__init__.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/database/argument_dicts.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/argument_dicts.py new file mode 100644 index 00000000000..e54b026e10d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/argument_dicts.py @@ -0,0 +1,52 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# Put any arguments dicts that are exclusively for SQL Arc Database here, +# if the argument can be reused for other SQL Arc commands put it in +# Common/argument_dicts instead of here +import datetime +from azext_arcdata.sqlarc.common.argument_loading_defs import ( + name +) + + +def getNameArg(name_help_override=None): + namedatabase = name + namedatabase["help"] = "Name of the SQL database" + if name_help_override: + namedatabase["help"] = name_help_override + return namedatabase + + +server = { + "argument_dest": "server", + "options_list": ["--server", "-s"], + "help": "Name of the Arc-enabled SQL Server instance.", + "required": True, +} +dest_name = { + "argument_dest": "dest_name", + "options_list": ["--dest-name "], + "help": "Name of the database that will be created as the restore destination. ", + "required": True, +} +time = { + "argument_dest": "time", + "options_list": ["--time", "-t"], + "help": "The point in time of the source database that will be restored to create the new database. Must be more recent than or equal to the source database's earliest restore date/time value. Time should be in following format: YYYY-MM-DDTHH:MM:SSZ . The given time value must be in UTC. If no time is provided, the most recent backup will be restored. The given time value must be in UTC.", +} +dry_run = { + "argument_dest": "dry_run", + "options_list": ["--dry-run"], + "help": "Validates if the restore operation can be successful or not by returning earliest and latest restore time window. ", + "action": "store_true", +} +no_wait = { + "argument_dest": "no_wait", + "options_list": ["--no-wait"], + "help": "Enabling this will make it so the command does not wait for completion", + "action": "store_true", +} diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/database/arguments.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/arguments.py new file mode 100644 index 00000000000..8b015222926 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/arguments.py @@ -0,0 +1,58 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +from azext_arcdata.sqlarc.database.argument_dicts import ( + arguments, + getNameArg, + load_backups_policy_set_arguments, + load_confirmation_argument, + dest_name, + dry_run, + resource_group, + server, + time +) + + +# These arguments should be neccessary for all commands in this file +def load_common_arc_database_arguments( + arg_context, name_help_override="Name of the database." +): + arguments( + arg_context, [getNameArg(name_help_override), server, resource_group] + ) + + +def load_restore_arc_database_arguments(arg_context): + arguments(arg_context, [dest_name, dry_run, time]) + + +def load_arguments(self, _): + from knack.arguments import ArgumentsContext + + # Disabled until GNU has been added to Arcee + with ArgumentsContext(self, "sql db-arc restore") as arg_context: + load_common_arc_database_arguments( + arg_context, + "Name of the source database from where the backups should be retrieved.", + ) + load_restore_arc_database_arguments(arg_context) + + with ArgumentsContext(self, "sql db-arc backups-policy set") as arg_context: + load_common_arc_database_arguments(arg_context) + load_backups_policy_set_arguments(arg_context) + + with ArgumentsContext( + self, "sql db-arc backups-policy delete" + ) as arg_context: + load_common_arc_database_arguments(arg_context) + load_confirmation_argument(arg_context) + + with ArgumentsContext( + self, "sql db-arc backups-policy show" + ) as arg_context: + load_common_arc_database_arguments( + arg_context, + ) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/database/client.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/client.py new file mode 100644 index 00000000000..fac716f75ec --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/client.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.core.cli_client import CliClient + +__all__ = ["beget"] + + +def beget(az_cli, kwargs): + """Client factory""" + return SqlArcDbClientMixin(az_cli, kwargs) + + +class SqlArcDbClientMixin(CliClient): + def __init__(self, az_cli, kwargs): + super(SqlArcDbClientMixin, self).__init__( + az_cli, kwargs, check_namespace=None + ) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/database/command_defs/__init__.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/command_defs/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/command_defs/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/database/command_defs/restore_defs.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/command_defs/restore_defs.py new file mode 100644 index 00000000000..463ebe7875b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/command_defs/restore_defs.py @@ -0,0 +1,91 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +from knack.log import get_logger +from azext_arcdata.sqlarc.common.validators import ( + validate_fci_is_inactive, + validate_license_type, +) +from azext_arcdata.sqlarc.database.command_defs.restore_helpers import ( + create_new_database_model_to_restore_to, + poll_restore_status +) +from azext_arcdata.sqlarc.database.validators import ( + validate_backups_are_active, + validate_time +) +from azext_arcdata.core.exceptions import CLIError +from datetime import datetime, timezone + +now_utc = datetime.now(timezone.utc) +logger = get_logger(__name__) + + +def restore(client): + try: + # Get Values from given arguments + cvo = client.args_to_command_value_object() + + # Create a datetime object representing the current date and time if not time was given + pitr_time = datetime.now(timezone.utc) if cvo.time is None else cvo.time + + full_instance_name = cvo.server.replace("/", "_") + + # Need to get Instance model to find the Server model to get the license type + instance_arm_model = client.services.sqlarc.get_instance_config( + cvo.resource_group, full_instance_name + ) + # Verify the user has the appropriate license type to execute this command + license = client.services.sqlarc.get_license_type( + instance_arm_model.properties.container_resource_id + ) + validate_license_type(license) + + validate_fci_is_inactive(instance_arm_model) + + # We want to get a 404 Error here as it means the database does not exist, and if it does exist we want to create an error saying that the database already exists. + try: + arm_model = client.services.sqlarc.get_database_config( + cvo.resource_group, full_instance_name, cvo.dest_name + ) + raise Exception( + "Destination database already exists, please select a new destination database name." + ) + except Exception as e: + if ( + "Destination database already exists, please select a new destination database name." + == str(e) + ): + raise (e) + + arm_model = client.services.sqlarc.get_database_config( + cvo.resource_group, full_instance_name, cvo.name + ) + + validate_backups_are_active( + instance_arm_model.properties.backup_policy, + arm_model.properties.backup_policy, + ) + + validate_time(arm_model.properties.backup_information, cvo.time) + + new_database = create_new_database_model_to_restore_to( + arm_model, cvo.name, pitr_time, cvo.dest_name + ) + client.services.sqlarc.create_sqlarc_database( + cvo.resource_group, full_instance_name, cvo.dest_name, new_database + ) + + # Poll the Status of the Restore + poll_restore_status( + client, cvo.resource_group, full_instance_name, cvo.dest_name + ) + client.stdout( + "The restore request has successfully been sent to the Sql Database." + ) + + except Exception as e: + logger.info(e) + raise CLIError(e) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/database/command_defs/restore_helpers.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/command_defs/restore_helpers.py new file mode 100644 index 00000000000..5ba2ec26d13 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/command_defs/restore_helpers.py @@ -0,0 +1,67 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +import pydash as _ +import copy +import time + +from azext_arcdata.core.exceptions import CLIError + + +def create_new_database_model_to_restore_to(arm_model, source, time, name): + new_database = copy.deepcopy(arm_model) + new_database.properties.create_mode = "restorePointInTime" + new_database.properties.source_database_id = source + new_database.properties.restore_point_in_time = time + new_database.id = generate_new_id_from_new_name(arm_model.id, name) + new_database.name = name + new_database.properties.backup_information = None + new_database.system_data = None + new_database.properties.provisioning_state = None + new_database.properties.database_creation_date = None + return new_database + + +def generate_new_id_from_new_name(id, name): + segments = id.split("/") + segments[-1] = name + return "/".join(segments) + + +# Returns an Error if it failed, False if it is not complete, True if the Restore is complete +def poll_restore_status(client, resource_group, full_instance_name, dest_name): + poll_count = 0 + arm_model = client.services.sqlarc.get_database_config( + resource_group, full_instance_name, dest_name + ) + while ( + poll_count < 10 + and arm_model.properties.provisioning_state != "Succeeded" + ): + time.sleep(6) + arm_model = client.services.sqlarc.get_database_config( + resource_group, full_instance_name, dest_name + ) + state = arm_model.properties.provisioning_state + if state == "Succeeded" or state == "Processing": + return True + elif state == "Canceled" or state == "Failed": + break + else: + poll_count += 1 + if poll_count % 3 == 0: + client.stdout( + "The restore request has been made, waiting for status of the request..." + ) + if ( + arm_model.properties.provisioning_state == "Succeeded" + or state == "Processing" + ): + return + raise CLIError( + 'Status of restore request is: "{0}". Please look at logs for more information.'.format( + arm_model.properties.provisioning_state + ) + ) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/database/commands.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/commands.py new file mode 100644 index 00000000000..3d11c83f636 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/commands.py @@ -0,0 +1,41 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.sqlarc.database.validators import ( + validate_backups_policy_set_arguments, + validate_restore_arguments +) +from azext_arcdata.sqlarc.database.client import beget +from azure.cli.core.commands import CliCommandType + + +def load_commands(self, _): + operations = CliCommandType( + operations_tmpl="azext_arcdata.sqlarc.database.custom#{}" + ) + # ------------Backup Policy Commands---------------- + with self.command_group( + "sql db-arc backups-policy", + operations, + client_factory=beget, + is_preview=True, + ) as g: + g.command( + "set", + "db_backups_policy_set", + validator=validate_backups_policy_set_arguments, + ) + g.show_command("show", "db_backups_policy_show") + g.command("delete", "db_backups_policy_delete") + + # ------------Restore Commands---------------- + with self.command_group( + "sql db-arc", + operations, + client_factory=beget, + is_preview=True, + ) as g: + g.command("restore", "db_restore", validator=validate_restore_arguments) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/database/custom.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/custom.py new file mode 100644 index 00000000000..c1f2d87a13a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/custom.py @@ -0,0 +1,86 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +from knack.log import get_logger +from azext_arcdata.sqlarc.common.command_defs.backups_policy_defs import ( + backups_policy_delete, + backups_policy_set, + backups_policy_show +) +from azext_arcdata.sqlarc.database.command_defs.restore_defs import ( + restore +) + +logger = get_logger(__name__) + + +# ------------Backup Policy Commands---------------- +def db_backups_policy_set( + client, + name=None, + server=None, + resource_group=None, + backups_full_backup_days=None, + backups_diff_backup_hours=None, + backups_tlog_backup_mins=None, + backups_default_policy=None, + backups_retention_days=None, +): + """ + Sets the Backups + :param client: + :param name: The name of the database + :param server: The Server Name for the SQL Server, this is also overloaded to handle instances so [server name]/[instnace name] can be used for an instance in a server + :param resource_group: The resource group for the SQL Server + :param backups_retention_days: The length of retention days for the backups policy. 0-35 are the only valid values. + :return: No Return + """ + backups_policy_set(client, server, name) + + +def db_backups_policy_show(client, name=None, server=None, resource_group=None): + """ + Show the backups policy + :param client: + :param name: The name of the database + :param server: The Server Name for the SQL Server, this is also overloaded to handle instances so [server name]/[instnace name] can be used for an instance in a server + :param resource_group: The resource group for the SQL Server + :return: JSON/Dict of the backups policy + """ + + return backups_policy_show(client, server, name) + + +def db_backups_policy_delete( + client, name=None, server=None, resource_group=None, yes=False +): + """ + Delete the backups policy + :param client: + :param name: The name of the database + :param server: The Server Name for the SQL Server, this is also overloaded to handle instances so [server name]/[instnace name] can be used for an instance in a server + :param resource_group: The resource group for the SQL Server + :return: JSON/Dict of the backups policy + """ + + return backups_policy_delete(client, server, name) + + +# ------------Restore Commands---------------- +def db_restore( + client, + resource_group=None, + dest_name=None, + # dry_run=None, + time=None, + name=None, + server=None, +): + """ + Restore a database from the built-in automatic backups. + :param client: + :return: JSON of the Restore response + """ + return restore(client) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/database/help.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/help.py new file mode 100644 index 00000000000..0fa9f4d61f3 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/help.py @@ -0,0 +1,60 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +from azext_arcdata.sqlarc.common.help_formats import ( + help_format_example, + help_format_short +) +from azext_arcdata.sqlarc.common.help_strings import ( + HELP_BACKUPS_POLICY, + HELP_BACKUPS_POLICY_DELETE, + HELP_BACKUPS_POLICY_SET, + HELP_BACKUPS_POLICY_SHOW +) +from knack.help_files import helps + +helps["sql db-arc"] = help_format_short.format( + type="group", + short="Manage databases for Azure Arc-enabled SQL Server instance.", +) + +# ------------Backup Policy Commands---------------- +helps["sql db-arc backups-policy"] = HELP_BACKUPS_POLICY + +helps["sql db-arc backups-policy set"] = HELP_BACKUPS_POLICY_SET.format( + example=( + "az sql db-arc backups-policy set --name myDatabase --server myInstance --resource-group myResourceGroup", + " --retention-days 7 --full-backup-days 7 --diff-backup-hours 12 --tlog-backup-mins 5" + ), + example2=( + "az sql db-arc backups-policy set --name myDatabase --server myInstance --resource-group myResourceGroup", + " --default-policy" + ), + example3=( + "az sql db-arc backups-policy set --name myDatabase --server myInstance --resource-group myResourceGroup", + " --retention-days 0" + ), +) +helps["sql db-arc backups-policy show"] = HELP_BACKUPS_POLICY_SHOW.format( + example=( + "az sql db-arc backups-policy show --name myDatabase --server myInstance --resource-group myResourceGroup" + ), +) +helps["sql db-arc backups-policy delete"] = HELP_BACKUPS_POLICY_DELETE.format( + example=( + "az sql db-arc backups-policy delete --name myDatabase --server myInstance --resource-group myResourceGroup" + ), +) + +# ------------Restore Commands---------------- +helps["sql db-arc restore"] = help_format_example.format( + type="command", + short="Restore a database from the built-in automatic backups", + exName="Ex 1 - Restoring a database", + example=( + 'az sql db-arc restore --server myInstance --resource-group myResourceGroup --name mySourceDb ', + '--dest-name myNewDb --time "2021-10-20T05:34:22Z"' + ), +) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/database/help_strings.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/help_strings.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/database/validators.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/validators.py new file mode 100644 index 00000000000..8a710473577 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/database/validators.py @@ -0,0 +1,104 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +import pydash as _ +import regex as re +from azext_arcdata.core.exceptions import CLIError +from datetime import datetime, timezone, timedelta +from knack.log import get_logger + +logger = get_logger(__name__) + + +def validate_database_name(database_name): + # Define the regular expression pattern + pattern = ( + r"^(?!.*--)(?!.*__$)[\p{L}\p{N}][\p{L}\p{N}_-]{0,126}[\p{L}\p{N}]$" + ) + regex = re.compile(pattern) + + if regex.match(database_name): + pass + else: + raise CLIError( + 'The database name "{0}" is invalid. We support the regular identifiers found at https://learn.microsoft.com/en-us/sql/relational-databases/databases/database-identifiers?view=sql-server-ver16#rules-for-regular-identifiers with the exclusion of the following characters[@,#,$]'.format( + database_name + ) + ) + + +def validate_restore_arguments(namespace): + validate_database_name(namespace.dest_name) + partially_validate_time(namespace.time) + + +# We do not have the Restore Window, but we can check that the date is not in the future which is 1 of the 2 bounds for the restore window. And we can check it is in the correct format. +def partially_validate_time(given_time): + if given_time is None: + return + current_time = datetime.now(timezone.utc) + try: + time_format = "%Y-%m-%dT%H:%M:%SZ" + given_time = datetime.strptime(given_time, time_format) + except Exception: + raise CLIError( + "The given time '{0}' does not follow the following format 'YYYY-MM-DDTHH:MM:SSZ'".format( + given_time + ) + ) + + # Specify the desired timezone as an offset + desired_timezone = timezone(timedelta(hours=0)) + + # Add the timezone information to the datetime object + given_time = given_time.replace(tzinfo=desired_timezone) + + if given_time is not None and given_time > current_time: + raise CLIError( + "The selected time is invalid as it is currently set for the future. Given time: '{0}' Current time: '{1}'".format( + given_time, current_time + ) + ) + + +def validate_time(backup_information, given_time): + if ( + backup_information is None + or backup_information.last_full_backup is None + ): + raise ValueError("There are no backups available for this database.") + if given_time is None: + return + last_full_backup_time = backup_information.last_full_backup + time_format = "%Y-%m-%dT%H:%M:%SZ" + desired_timezone = timezone(timedelta(hours=0)) + given_time = datetime.strptime(given_time, time_format).replace( + tzinfo=desired_timezone + ) + if given_time < last_full_backup_time: + raise ValueError( + "The selected time is invalid as it is prior to the Last Full Backup. Given time: '{0}' Last Full Backup time: '{1}'".format( + given_time, last_full_backup_time + ) + ) + + +def validate_backups_are_active( + instance_backups_policy, database_backups_policy +): + if instance_backups_policy is None and database_backups_policy is None: + raise ValueError( + "There is no backups policy currently set for this SQL database or SQL Server instance." + ) + elif database_backups_policy is None and instance_backups_policy is not None: + if instance_backups_policy.retention_period_days == 0: + raise ValueError( + "The backups policy for this database is currently disabled by the SQL Server instance's backup policy." + ) + elif database_backups_policy is not None: + if database_backups_policy.retention_period_days == 0: + raise ValueError( + "The backups policy is currently disabled on this SQL database." + ) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/server/__init__.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/server/argument_dicts.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/argument_dicts.py new file mode 100644 index 00000000000..3e643f5ece6 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/argument_dicts.py @@ -0,0 +1,186 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# Put any arguments dicts that are exclusively for SQL Arc Database here, +# if the argument can be reused for other SQL Arc commands put it in +# Common/argument_dicts instead of here + +from azext_arcdata.sqlarc.common.argument_loading_defs import ( + name +) + + +def getNameArg(name_help_override=None): + namedatabase = name + namedatabase["help"] = "Name of the Arc-enabled SQL Server instance" + if name_help_override: + namedatabase["help"] = name_help_override + return namedatabase + + +availability_group_name = { + "argument_dest": "name", + "options_list": ["--name", "-n"], + "help": "Name of the availability group.", + "required": True, +} +availability_group_server_name = { + "argument_dest": "server_name", + "options_list": ["--server-name"], + "help": "Name of the failover target Arc-enabled SQL Server.", + "required": True, +} +availability_group_replica_ids = { + "argument_dest": "replica_ids", + "options_list": ["--replica-ids"], + "help": "One or more SQL Server Instance resource IDs (space-delimited). " + "The first ID will be the initial primary replica.", + "required": True, +} +availability_group_mirroring_port = { + "argument_dest": "mirroring_port", + "options_list": ["--mirroring-port"], + "help": "The port number for the database mirroring endpoint.", + "required": True, +} +availability_group_databases = { + "argument_dest": "databases", + "options_list": ["--databases"], + "help": "Database names (space-delimited).", + "required": False, +} +availability_group_endpoint_login = { + "argument_dest": "endpoint_login", + "options_list": ["--endpoint-login"], + "help": "The login to grant connect permissions on the mirroring endpoint.", + "required": False, +} +availability_group_endpoint_auth_mode = { + "argument_dest": "endpoint_auth_mode", + "options_list": ["--endpoint-auth-mode"], + "help": "The authentication mode for connecting to the mirroring endpoint.", + "required": False, +} +availability_group_certificate_name = { + "argument_dest": "certificate_name", + "options_list": ["--certificate-name"], + "help": "The name of the certificate for authenticating connections to " + "the mirroring endpoint.", + "required": False, +} +availability_group_listener_name = { + "argument_dest": "listener_name", + "options_list": ["--listener-name"], + "help": "The name of the availability group listener.", + "required": False, +} +availability_group_listener_port = { + "argument_dest": "listener_port", + "options_list": ["--listener-port"], + "help": "The port number for the availability group listener.", + "required": False, +} +availability_group_listener_ipv4_addresses = { + "argument_dest": "listener_ipv4_addresses", + "options_list": ["--listener-ipv4-addresses"], + "help": "One or more IPv4 addresses (space-delimited) for the " + "availability group listener.", + "required": False, +} +availability_group_listener_ipv4_masks = { + "argument_dest": "listener_ipv4_masks", + "options_list": ["--listener-ipv4-masks"], + "help": "One or more subnet masks for the IPv4 addresses of the " + "availability group listener. Must match the order and number " + "of IPv4 addresses.", + "required": False, +} +availability_group_listener_ipv6_addresses = { + "argument_dest": "listener_ipv6_addresses", + "options_list": ["--listener-ipv6-addresses"], + "help": "One or more IPv6 addresses (space-delimited) for the " + "availability group listener.", + "required": False, +} +availability_group_availability_mode = { + "argument_dest": "availability_mode", + "options_list": ["--availability-mode"], + "help": "The availability mode for the availability group " + "(SYNCHRONOUS_COMMIT | ASYNCHRONOUS_COMMIT).", + "required": False, +} +availability_group_failover_mode = { + "argument_dest": "failover_mode", + "options_list": ["--failover-mode"], + "help": "The failover mode for the availability group " + "(AUTOMATIC | MANUAL | EXTERNAL).", + "required": False, +} +availability_group_seeding_mode = { + "argument_dest": "seeding_mode", + "options_list": ["--seeding-mode"], + "help": "The seeding mode for the availability group (AUTOMATIC | MANUAL).", + "required": False, +} +availability_group_automated_backup_preference = { + "argument_dest": "automated_backup_preference", + "options_list": ["--automated-backup-preference"], + "help": "The automated backup preference for the availability group " + "(PRIMARY | SECONDARY_ONLY | SECONDARY | NONE).", + "required": False, +} +availability_group_failure_condition_level = { + "argument_dest": "failure_condition_level", + "options_list": ["--failure-condition-level"], + "help": "The failure condition level for the availability group " + "(1 | 2 | 3 | 4 | 5).", + "required": False, +} +availability_group_health_check_timeout = { + "argument_dest": "health_check_timeout", + "options_list": ["--health-check-timeout"], + "help": "The health check timeout (in milliseconds) for the availability " + "group. The minimum value is 15000", + "required": False, +} +availability_group_db_failover = { + "argument_dest": "db_failover", + "options_list": ["--db-failover"], + "help": "Turns on database level failover for the availability group " + "(ON | OFF).", + "required": False, +} +availability_group_dtc_support = { + "argument_dest": "dtc_support", + "options_list": ["--dtc-support"], + "help": "Turns on support for cross-database transactions through the " + "distributed transaction coordinator for the availability group " + "(PER_DB | OFF).", + "required": False, +} +availability_group_required_synchronized_secondaries = { + "argument_dest": "required_synchronized_secondaries", + "options_list": ["--required-synchronized-secondaries"], + "help": "Specifies the minimum number of synchronous secondaries required " + "to commit before the primary commits a transaction (min 0 max " + "num replicas - 1).", + "required": False, +} +availability_group_cluster_type = { + "argument_dest": "cluster_type", + "options_list": ["--cluster-type"], + "help": "The cluster type for the availability group (WSFC | NONE).", + "required": False, +} +availability_group_no_wait = { + "argument_dest": "no_wait", + "options_list": ["--no-wait"], + "help": "If given, the command will return once the create request has " + "been submitted. It will not wait until the availability group " + "has been created.", + "required": False, + "action": "store_true", +} diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/server/arguments.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/arguments.py new file mode 100644 index 00000000000..0643480689c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/arguments.py @@ -0,0 +1,223 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.sqlarc.server.argument_dicts import ( + availability_group_automated_backup_preference, + availability_group_availability_mode, + availability_group_certificate_name, + availability_group_cluster_type, + availability_group_databases, + availability_group_db_failover, + availability_group_dtc_support, + availability_group_endpoint_auth_mode, + availability_group_endpoint_login, + availability_group_failover_mode, + availability_group_failure_condition_level, + availability_group_health_check_timeout, + availability_group_listener_ipv4_addresses, + availability_group_listener_ipv4_masks, + availability_group_listener_ipv6_addresses, + availability_group_listener_name, + availability_group_listener_port, + availability_group_mirroring_port, + availability_group_name, + availability_group_no_wait, + availability_group_replica_ids, + availability_group_required_synchronized_secondaries, + availability_group_seeding_mode, + availability_group_server_name, + esu_enabled, + feature_flag_value, + license_type, + resource_group, + skip_instances, + sql_server_arc_name, + arguments, + load_backups_policy_set_arguments, + load_confirmation_argument, + get_machine_name_argument, + getFeatureNameArgument, + getNameArgument, + getResourceGroupArgument +) +from azext_arcdata.sqlarc.server.help_strings import ( + HELP_RG_ARC_SERVER +) + + +# These arguments are necessary for all commands in this file +def load_common_arc_server_arguments( + arg_context, + name_help_override="Name of the Arc-enabled SQL Server instance.", +): + arguments( + arg_context, [getNameArgument(name_help_override), resource_group] + ) + + +def load_host_featureflag_set_arguments(arg_context): + arguments( + arg_context, + [ + getFeatureNameArgument(), + feature_flag_value, + getResourceGroupArgument(HELP_RG_ARC_SERVER), + sql_server_arc_name, + ], + ) + + +def load_host_featureflag_delete_arguments(arg_context): + arguments( + arg_context, + [ + getFeatureNameArgument(), + getResourceGroupArgument(HELP_RG_ARC_SERVER), + sql_server_arc_name, + ], + ) + + +def load_host_featureflag_show_arguments(arg_context): + arguments( + arg_context, + [ + getFeatureNameArgument(False), + getResourceGroupArgument(HELP_RG_ARC_SERVER), + sql_server_arc_name, + ], + ) + + +def load_host_properties_set_arguments(arg_context): + arguments( + arg_context, + [ + getResourceGroupArgument(HELP_RG_ARC_SERVER), + get_machine_name_argument(False), + sql_server_arc_name, + license_type, + esu_enabled, + skip_instances, + ], + ) + + +def load_host_properties_show_arguments(arg_context): + arguments( + arg_context, + [ + getResourceGroupArgument(HELP_RG_ARC_SERVER), + get_machine_name_argument(False), + sql_server_arc_name, + ], + ) + + +def load_availability_group_failover_arguments(arg_context): + """ + Loads arguments for the availability group failover command. + :param arg_context: The argument context. + :type arg_context: ArgumentContext + """ + arguments( + arg_context, + [ + availability_group_name, + availability_group_server_name, + ], + ) + + +def load_availability_group_create_arguments(arg_context): + """ + Loads arguments for the availability group create command. + :param arg_context: The argument context. + :type arg_context: ArgumentContext + """ + arguments( + arg_context, + [ + availability_group_name, + availability_group_replica_ids, + availability_group_databases, + availability_group_mirroring_port, + availability_group_endpoint_login, + availability_group_endpoint_auth_mode, + availability_group_certificate_name, + availability_group_listener_name, + availability_group_listener_port, + availability_group_listener_ipv4_addresses, + availability_group_listener_ipv4_masks, + availability_group_listener_ipv6_addresses, + availability_group_availability_mode, + availability_group_failover_mode, + availability_group_seeding_mode, + availability_group_automated_backup_preference, + availability_group_failure_condition_level, + availability_group_health_check_timeout, + availability_group_db_failover, + availability_group_dtc_support, + availability_group_required_synchronized_secondaries, + availability_group_cluster_type, + availability_group_no_wait, + ], + ) + + +def load_arguments(self, _): + from knack.arguments import ArgumentsContext + + # Please create a new function to load arguments and follow the below pattern, Thanks :). + with ArgumentsContext( + self, "sql server-arc backups-policy set" + ) as arg_context: + load_common_arc_server_arguments(arg_context) + load_backups_policy_set_arguments(arg_context) + + with ArgumentsContext( + self, "sql server-arc backups-policy show" + ) as arg_context: + load_common_arc_server_arguments(arg_context) + + with ArgumentsContext( + self, "sql server-arc backups-policy delete" + ) as arg_context: + load_common_arc_server_arguments(arg_context) + load_confirmation_argument(arg_context) + + with ArgumentsContext( + self, "sql server-arc availability-group failover" + ) as arg_context: + load_common_arc_server_arguments(arg_context) + load_availability_group_failover_arguments(arg_context) + + with ArgumentsContext( + self, "sql server-arc availability-group create" + ) as arg_context: + load_common_arc_server_arguments(arg_context) + load_availability_group_create_arguments(arg_context) + + with ArgumentsContext( + self, "sql server-arc extension feature-flag set" + ) as arg_context: + load_host_featureflag_set_arguments(arg_context) + + with ArgumentsContext( + self, "sql server-arc extension feature-flag delete" + ) as arg_context: + load_host_featureflag_delete_arguments(arg_context) + + with ArgumentsContext( + self, "sql server-arc extension feature-flag show" + ) as arg_context: + load_host_featureflag_show_arguments(arg_context) + + with ArgumentsContext(self, "sql server-arc extension set") as arg_context: + load_host_properties_set_arguments(arg_context) + + with ArgumentsContext(self, "sql server-arc extension show") as arg_context: + load_host_properties_show_arguments(arg_context) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/server/client.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/client.py new file mode 100644 index 00000000000..47b2708b6af --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/client.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.core.cli_client import CliClient + +__all__ = ["beget"] + + +def beget(az_cli, kwargs): + """Client factory""" + return SqlArcServerClientMixin(az_cli, kwargs) + + +class SqlArcServerClientMixin(CliClient): + def __init__(self, az_cli, kwargs): + super(SqlArcServerClientMixin, self).__init__( + az_cli, kwargs, check_namespace=None + ) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/server/command_defs/__init__.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/command_defs/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/command_defs/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/server/command_defs/availability_group_defs.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/command_defs/availability_group_defs.py new file mode 100644 index 00000000000..29588055ca3 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/command_defs/availability_group_defs.py @@ -0,0 +1,272 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +import re + +from knack.log import get_logger +from azext_arcdata.vendored_sdks.arm_sdk.swagger.swagger_latest.models import ( + ArcSqlServerAvailabilityMode, + ArcSqlServerFailoverMode, + AvailabilityGroupCreateUpdateConfiguration, + AvailabilityGroupCreateUpdateReplicaConfiguration, + DbFailover, + DtcSupport, + PrimaryAllowConnections, + SeedingMode, + SecondaryAllowConnections, + SqlAvailabilityGroupIpV4AddressesAndMasksPropertiesItem, + SqlAvailabilityGroupStaticIPListenerProperties, +) +from azext_arcdata.core.exceptions import CLIError +from azure.core.polling import LROPoller + +BACKUP_PRIORITY = 50 +SESSION_TIMEOUT = 10 +DEFAULT_FAILURE_CONDITION_LEVEL = 3 +DEFAULT_HEALTH_CHECK_TIMEOUT = 30000 + +logger = get_logger(__name__) + + +def get_ag_details( + client, + resource_group: str, + sql_server_instance_name: str, + availability_group_name: str, +): + """ + Get a SQL Availability Group. + :param client: The CLI Client. + :type client: any + :param resource_group: The name of the Azure resource group. + :type resource_group: str + :param sql_server_instance_name: The name of the SQL Server Instance. + :type sql_server_instance_name: str + :param availability_group_name: The name of the SQL Availability Group. + :type availability_group_name: str + """ + try: + return client.services.sqlarc.get_ag_details( + resource_group=resource_group, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + ) + except Exception as err: + logger.error(err) + raise CLIError(err) from err + + +def create_ag(client): + """ + Create a new SQL Availability Group. + :param client: The CLI Client. + :type client: any + """ + cvo = client.args_to_command_value_object() + ag_name = cvo.name + + try: + availability_mode = cvo.availability_mode + if not availability_mode: + availability_mode = ArcSqlServerAvailabilityMode.SYNCHRONOUS_COMMIT + + failover_mode = cvo.failover_mode + if not failover_mode: + failover_mode = ArcSqlServerFailoverMode.MANUAL + + seeding_mode = cvo.seeding_mode + if not seeding_mode: + seeding_mode = SeedingMode.AUTOMATIC + + failure_condition_level = cvo.failure_condition_level + if not failure_condition_level: + failure_condition_level = DEFAULT_FAILURE_CONDITION_LEVEL + + health_check_timeout = cvo.health_check_timeout + if not health_check_timeout: + health_check_timeout = DEFAULT_HEALTH_CHECK_TIMEOUT + + db_failover_val = DbFailover.ON if cvo.db_failover else DbFailover.OFF + dtc_support_val = ( + DtcSupport.PER_DB if cvo.dtc_support else DtcSupport.NONE + ) + + replica_id_list = cvo.replica_ids.split() + databases_list = [] + listener_ipv4_addresses_list = [] + listener_ipv4_masks_list = [] + listener_ipv6_addresses_list = [] + + if cvo.databases: + databases_list = cvo.databases.split() + + if cvo.listener_ipv4_addresses: + listener_ipv4_addresses_list = cvo.listener_ipv4_addresses.split() + + if cvo.listener_ipv4_masks: + listener_ipv4_masks_list = cvo.listener_ipv4_masks.split() + + if cvo.listener_ipv6_addresses: + listener_ipv6_addresses_list = cvo.listener_ipv6_addresses.split() + + replicas = _get_replica_configs( + replica_ids=replica_id_list, + mirroring_port=cvo.mirroring_port, + endpoint_login=cvo.endpoint_login, + availability_mode=availability_mode, + failover_mode=failover_mode, + seeding_mode=seeding_mode, + ) + + listener = _get_listener_config( + listener_name=cvo.listener_name, + listener_port=cvo.listener_port, + listener_ipv4_addresses=listener_ipv4_addresses_list, + listener_ipv4_masks=listener_ipv4_masks_list, + listener_ipv6_addresses=listener_ipv6_addresses_list, + ) + + config = AvailabilityGroupCreateUpdateConfiguration( + availability_group_name=ag_name, + replicas=replicas, + databases=databases_list, + automated_backup_preference=cvo.automated_backup_preference, + failure_condition_level=failure_condition_level, + health_check_timeout=health_check_timeout, + db_failover=db_failover_val, + dtc_support=dtc_support_val, + required_synchronized_secondaries_to_commit=( + cvo.required_synchronized_secondaries + ), + cluster_type=cvo.cluster_type, + listener=listener, + ) + + initial_primary = replicas[0] + match = re.search( + r"/sqlServerInstances/(.+)$", + initial_primary.server_instance, + re.IGNORECASE, + ) + instance_name = match.group(1) + + poller: LROPoller = client.services.sqlarc.create_ag( + resource_group=cvo.resource_group, + sql_server_instance_name=instance_name, + availability_group_config=config, + no_wait=cvo.no_wait, + ) + + if cvo.no_wait: + client.stdout( + f"Initiated creation of availability group {ag_name}.", + f"Status: {poller.status()}", + ) + else: + result = poller.result() + + if result.additional_properties["status"].lower() == "succeeded": + client.stdout( + f"Successfully created/altered availability group {ag_name}." + ) + else: + client.stdout( + f"Failed to create/alter availability group {ag_name}. {result.error.message}" + ) + except Exception as err: + logger.error( + "Failed to create/alter availability group %s: %s", + ag_name, + err.error.message, + ) + raise CLIError(err) from err + + +def _get_replica_configs( + replica_ids: list, + mirroring_port: int, + endpoint_login: str, + availability_mode: str, + failover_mode: str, + seeding_mode: str, +): + replicas = [] + + for replica_id in replica_ids: + replica = AvailabilityGroupCreateUpdateReplicaConfiguration( + server_instance=replica_id, + endpoint_name="", + endpoint_url=f"tcp://ALL:{mirroring_port}", + endpoint_connect_login=endpoint_login, + availability_mode=availability_mode, + failover_mode=failover_mode, + seeding_mode=seeding_mode, + backup_priority=BACKUP_PRIORITY, + secondary_role_allow_connections=SecondaryAllowConnections.NO, + primary_role_allow_connections=PrimaryAllowConnections.ALL, + session_timeout=SESSION_TIMEOUT, + ) + replicas.append(replica) + + return replicas + + +def _get_listener_config( + listener_name: str, + listener_port: int, + listener_ipv4_addresses: list, + listener_ipv4_masks: list, + listener_ipv6_addresses: list, +): + if not listener_name: + return None + else: + _validate_listener_config( + listener_name=listener_name, + listener_port=listener_port, + listener_ipv4_addresses=listener_ipv4_addresses, + listener_ipv4_masks=listener_ipv4_masks, + listener_ipv6_addresses=listener_ipv6_addresses, + ) + + ipv4_addresses = [] + + for i, address in enumerate(listener_ipv4_addresses): + ipv4_addresses.append( + SqlAvailabilityGroupIpV4AddressesAndMasksPropertiesItem( + ip_address=address, mask=listener_ipv4_masks[i] + ) + ) + + listener = SqlAvailabilityGroupStaticIPListenerProperties( + dns_name=listener_name, + ip_v4_addresses_and_masks=ipv4_addresses, + ip_v6_addresses=listener_ipv6_addresses, + port=listener_port, + ) + return listener + + +def _validate_listener_config( + listener_name: str, + listener_port: int, + listener_ipv4_addresses: list, + listener_ipv4_masks: list, + listener_ipv6_addresses: list, +): + if listener_name: + if not listener_port: + raise CLIError("You must provide a listener port.") + + if ( + len(listener_ipv4_addresses) == 0 + and len(listener_ipv6_addresses) == 0 + ): + raise CLIError("You must provide at least one listener IP address.") + + if len(listener_ipv4_addresses) != len(listener_ipv4_masks): + raise CLIError( + "The number of IPv4 addresses and masks must be the same." + ) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/server/command_defs/host_feature_flag_defs.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/command_defs/host_feature_flag_defs.py new file mode 100644 index 00000000000..3bc02c2a496 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/command_defs/host_feature_flag_defs.py @@ -0,0 +1,104 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +from knack.log import get_logger +from azext_arcdata.sqlarc.server.command_defs.host_feature_flag_helpers import ( + is_feature_flag_present, + delete_feature_flag, + show_feature_flag, + update_feature_flag +) +from azext_arcdata.sqlarc.common.helpers import get_machine_name +from azext_arcdata.core.exceptions import CLIError + +logger = get_logger(__name__) + + +def feature_flag_set(client, server=None): + """ + This function is responsible for settings feature flag. + """ + try: + # Get Values from given arguments + + cvo = client.args_to_command_value_object() + machineName = get_machine_name(client) + current_config = client.services.sqlarc.get_server_config( + cvo.resource_group, machineName + ) + + updated_config = update_feature_flag( + current_config, cvo.name, cvo.enable + ) + + client.services.sqlarc.put_server_config( + cvo.resource_group, machineName, updated_config + ) + + message = "{0} feature flag successfully updated to {1}" + client.stdout(message.format(cvo.name, cvo.enable)) + + except Exception as e: + logger.info(e) + raise CLIError(e) + + +def feature_flag_delete(client, server=None): + """ + This function is responsible for deleting feature flag. + """ + try: + # Get Values from given arguments + cvo = client.args_to_command_value_object() + machineName = get_machine_name(client) + current_config = client.services.sqlarc.get_server_config( + cvo.resource_group, machineName + ) + + if not is_feature_flag_present(current_config, cvo.name): + message = "Feature flag not found for {0}." + client.stdout(message.format(cvo.name)) + return + + updated_config = delete_feature_flag(current_config, cvo.name) + client.services.sqlarc.put_server_config( + cvo.resource_group, machineName, updated_config + ) + + message = "{0} feature flag deleted successfully." + client.stdout(message.format(cvo.name)) + + except Exception as e: + logger.info(e) + raise CLIError(e) + + +def feature_flag_show(client, server=None): + """ + This function is responsible for displaying feature flag. + """ + try: + # Get Values from given arguments + cvo = client.args_to_command_value_object() + machineName = get_machine_name(client) + current_config = client.services.sqlarc.get_server_config( + cvo.resource_group, machineName + ) + + feature_flag = show_feature_flag(current_config, cvo.name) + if feature_flag is None or not feature_flag: + if cvo.name is None: + client.stdout("No feature flags are set for this machine.") + else: + message = "Feature flag not found for {0}." + client.stdout(message.format(cvo.name)) + + return None + + return feature_flag + + except Exception as e: + logger.info(e) + raise CLIError(e) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/server/command_defs/host_feature_flag_helpers.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/command_defs/host_feature_flag_helpers.py new file mode 100644 index 00000000000..449c0d6f721 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/command_defs/host_feature_flag_helpers.py @@ -0,0 +1,77 @@ +import json + +from azext_arcdata.sqlarc.common.helpers import convert_string_to_bool +from azext_arcdata.sqlarc.common.validators import ( + validate_args_required_for_computing_server_name, +) + + +def update_feature_flag(config, feature_name, feature_flag_value): + """ + This function updates extension config with passed feature flag name and value. + """ + feature_flag_value = convert_string_to_bool(feature_flag_value) + + # Initialize FeatureFlags if not present in settings + config["properties"]["settings"].setdefault("FeatureFlags", []) + + # Check if feature_name is already present in FeatureFlags + for flag in config["properties"]["settings"]["FeatureFlags"]: + if flag.get("Name").casefold() == feature_name.casefold(): + # Update the feature flag value and return + flag["Enable"] = feature_flag_value + return config + + # If feature_name is not found, add a new JSON object + new_flag = {"Name": feature_name.lower(), "Enable": feature_flag_value} + config["properties"]["settings"]["FeatureFlags"].append(new_flag) + + return config + + +def delete_feature_flag(config, feature_name): + """ + This function deletes feature flag from given feature name from extension config. + """ + # Check if "FeatureFlags" key is present in settings + if "FeatureFlags" in config["properties"]["settings"]: + feature_flags = config["properties"]["settings"]["FeatureFlags"] + + # Use list comprehension to filter out the JSON object with the specified feature_name + config["properties"]["settings"]["FeatureFlags"] = [ + flag + for flag in feature_flags + if flag.get("Name").casefold() != feature_name.casefold() + ] + + return config + + +def is_feature_flag_present(config, feature_name): + """ + This function checks if feature flag is present in extension config. + Returns true of present else false. + """ + # Check if "FeatureFlags" key is present in settings + if "FeatureFlags" in config["properties"]["settings"]: + # Check if the feature_name is present in any JSON object in FeatureFlags array + for flag in config["properties"]["settings"]["FeatureFlags"]: + if flag.get("Name").casefold() == feature_name.casefold(): + return True + + return False + + +def show_feature_flag(config, feature_name): + """ + This function returns feature flag for given feature name from extension config. + If feature_name is null then it returns complete FeatureFlags array. + """ + if "FeatureFlags" in config["properties"]["settings"]: + if feature_name is None: + return config["properties"]["settings"]["FeatureFlags"] + else: + for flag in config["properties"]["settings"]["FeatureFlags"]: + if flag.get("Name").casefold() == feature_name.casefold(): + return flag + return None diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/server/command_defs/host_properties_defs.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/command_defs/host_properties_defs.py new file mode 100644 index 00000000000..3de865545d3 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/command_defs/host_properties_defs.py @@ -0,0 +1,79 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +from knack.log import get_logger +from azext_arcdata.sqlarc.server.command_defs.host_properties_helpers import ( + is_settings_empty, + update_esu_enabled, + update_excluded_instances_list, + update_license_type +) +from azext_arcdata.sqlarc.common.helpers import get_machine_name +from azext_arcdata.core.exceptions import CLIError + +logger = get_logger(__name__) + + +def host_properties_set(client): + """ + This function is responsible for setting common host level properties. + """ + try: + # Get Values from given arguments + cvo = client.args_to_command_value_object() + machineName = get_machine_name(client) + current_config = client.services.sqlarc.get_server_config( + cvo.resource_group, machineName + ) + + if is_settings_empty(current_config): + raise ValueError( + "Settings file is empty. Arc resource is in bad state." + ) + + if cvo.license_type: + updated_config = update_license_type( + current_config, cvo.license_type + ) + + if cvo.esu_enabled: + updated_config = update_esu_enabled(current_config, cvo.esu_enabled) + + if cvo.skip_instances: + updated_config = update_excluded_instances_list( + current_config, cvo.skip_instances + ) + + client.services.sqlarc.put_server_config( + cvo.resource_group, machineName, updated_config + ) + + message = "Host level properties successfully updated" + client.stdout(message) + + except Exception as e: + logger.info(e) + raise CLIError(e) + + +def host_properties_show(client): + """ + This function is responsible for displaying public settings of arc server. + """ + try: + # Get Values from given arguments + cvo = client.args_to_command_value_object() + machineName = get_machine_name(client) + current_config = client.services.sqlarc.get_server_config( + cvo.resource_group, machineName + ) + + # Print the value + message = str(current_config["properties"]["settings"]) + client.stdout(message) + + except Exception as e: + logger.info(e) + raise CLIError(e) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/server/command_defs/host_properties_helpers.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/command_defs/host_properties_helpers.py new file mode 100644 index 00000000000..8ce095e235b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/command_defs/host_properties_helpers.py @@ -0,0 +1,129 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +import json +from azext_arcdata.sqlarc.common.helpers import convert_string_to_bool +from azext_arcdata.sqlarc.server.constants import ( + valid_license_types +) + + +def update_license_type(config, value): + """ + This function updates extension config for license type. + """ + # Validate the provided license type value + if value not in valid_license_types: + valid_license_types_str = ", ".join(valid_license_types) + raise ValueError( + f"Invalid license type. The valid license types are: {valid_license_types_str}." + ) + + if not is_host_property_present(config, "LicenseType"): + config["properties"]["settings"]["LicenseType"] = "" + + # Update the license type in the configuration + config["properties"]["settings"]["LicenseType"] = value + + # Checking for esu and license type compatibility + check_license_type_and_esu_compatible(config) + + return config + + +def update_esu_enabled(config, value): + """ + This function updates extension config for esu. + """ + value = value.lower().strip() + + if value != "true" and value != "false": + raise ValueError("ESU value must be 'true' or 'false'.") + + if not is_host_property_present(config, "enableExtendedSecurityUpdates"): + config["properties"]["settings"][ + "enableExtendedSecurityUpdates" + ] = False + + # Update the value of esu enabled in the configuration + value = convert_string_to_bool(value) + config["properties"]["settings"]["enableExtendedSecurityUpdates"] = value + + # Checking for esu and license type compatibility + check_license_type_and_esu_compatible(config) + + return config + + +def update_excluded_instances_list(config, value): + """ + This function updates extension config for excluded instances list. + """ + # Ensure the skip_instances field exists in the config + if not is_host_property_present(config, "ExcludedSqlInstances"): + config["properties"]["settings"]["ExcludedSqlInstances"] = [] + + # Append new instances to the existing list, avoiding duplicates + for instance in value: + if ( + instance + not in config["properties"]["settings"]["ExcludedSqlInstances"] + ): + config["properties"]["settings"]["ExcludedSqlInstances"].append( + instance + ) + + return config + + +def check_license_type_and_esu_compatible(config): + """ + This function checks if the provided license type is compatible with the ESU setting. + """ + license_type = "Undefined" + esu_enabled = False + + # Check if the LicenseType property is present in the settings + if is_host_property_present(config, "LicenseType"): + license_type = config["properties"]["settings"]["LicenseType"] + + # Check if ESU is enabled + if is_host_property_present(config, "enableExtendedSecurityUpdates"): + esu_enabled = config["properties"]["settings"][ + "enableExtendedSecurityUpdates" + ] + + # If ESU is enabled and license type is LicenseOnly, raise an error + if esu_enabled and license_type == "LicenseOnly": + raise ValueError( + "LicenseType 'LicenseOnly' does not support enabling Extended Security Updates (ESU)." + ) + else: + # If LicenseType property is not present, raise an error + raise ValueError( + "LicenseType property is not present in the extension configuration." + ) + + +def is_host_property_present(config, property_name): + """ + This function checks if host property is present in extension config. + Returns true of present else false. + """ + if property_name in config["properties"]["settings"]: + return True + + return False + + +def is_settings_empty(config): + """ + This function checks if settings object is present in extension config. + """ + if "settings" in config["properties"]: + return False + + return True diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/server/commands.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/commands.py new file mode 100644 index 00000000000..48a0d84ffcc --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/commands.py @@ -0,0 +1,92 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +from azext_arcdata.sqlarc.common.validators import ( + validate_backups_policy_set_arguments, + validate_feature_flag_set_arguments, + validate_feature_flag_delete_arguments, + validate_feature_flag_show_arguments, + validate_host_properties_set_arguments, + validate_host_properties_show_arguments, + validate_availability_group_create_arguments, +) +from azext_arcdata.sqlarc.server.client import beget +from azure.cli.core.commands import CliCommandType + + +def load_commands(self, _): + operations = CliCommandType( + operations_tmpl="azext_arcdata.sqlarc.server.custom#{}" + ) + # ------------Backup Policy Commands---------------- + with self.command_group( + "sql server-arc backups-policy", + operations, + client_factory=beget, + is_preview=True, + ) as g: + g.command( + "set", + "server_backups_policy_set", + validator=validate_backups_policy_set_arguments, + ) + g.show_command("show", "server_backups_policy_show") + g.command("delete", "server_backups_policy_delete") + # ------------AG Commands---------------- + with self.command_group( + "sql server-arc availability-group", + operations, + client_factory=beget, + is_preview=True, + ) as g: + g.command( + "failover", + "server_failover_ag", + ) + g.command( + "create", + "server_create_ag", + validator=validate_availability_group_create_arguments, + supports_no_wait=True, + ) + # ------------Extension Commands---------------- + with self.command_group( + "sql server-arc extension feature-flag", + operations, + client_factory=beget, + is_preview=True, + ) as g: + g.command( + "set", + "server_host_featureflag_set", + validator=validate_feature_flag_set_arguments, + ) + g.command( + "delete", + "server_host_featureflag_delete", + validator=validate_feature_flag_delete_arguments, + ) + g.show_command( + "show", + "server_host_featureflag_show", + validator=validate_feature_flag_show_arguments, + ) + + with self.command_group( + "sql server-arc extension", + operations, + client_factory=beget, + is_preview=True, + ) as g: + g.command( + "set", + "server_host_properties_set", + validator=validate_host_properties_set_arguments, + ) + g.show_command( + "show", + "server_host_properties_show", + validator=validate_host_properties_show_arguments, + ) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/server/constants.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/constants.py new file mode 100644 index 00000000000..16dd9b85f12 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/constants.py @@ -0,0 +1,13 @@ +allowed_feature_flags = [ + "AvailabilityGroupDiscovery", + "SqlFailoverClusterInstanceDiscovery", + "LeastPrivilege", + "RestApiManagementServices", + "BackgroundJobServices", + "MigrationAssessment", + "AvailabilityGroupConfiguration", + "ClientConnections", + "InstalledFeaturesDiscovery", +] + +valid_license_types = ["PAYG", "Paid", "LicenseOnly"] diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/server/custom.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/custom.py new file mode 100644 index 00000000000..e934022d605 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/custom.py @@ -0,0 +1,291 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +from knack.log import get_logger +from azext_arcdata.sqlarc.server.command_defs.availability_group_defs import ( + create_ag, +) +from azext_arcdata.sqlarc.common.command_defs.backups_policy_defs import ( + backups_policy_set, + backups_policy_show, + backups_policy_delete, +) +from azext_arcdata.sqlarc.server.command_defs.host_feature_flag_defs import ( + feature_flag_set, + feature_flag_delete, + feature_flag_show, +) +from azext_arcdata.sqlarc.server.command_defs.host_properties_defs import ( + host_properties_set, + host_properties_show, +) +from azext_arcdata.core.exceptions import CLIError + +logger = get_logger(__name__) + + +# ------------Backup Policy Commands---------------- +def server_backups_policy_set( + client, + name=None, + resource_group=None, + backups_full_backup_days=None, + backups_diff_backup_hours=None, + backups_tlog_backup_mins=None, + backups_default_policy=None, + backups_retention_days=None, +): + """ + Sets the Backups + :param client: + :param name: The Server Name for the SQL Server, this is also overloaded to handle instances + so [server name]/[instance name] can be used for an instance in a server + :param resource_group: The resource group for the SQL Server + :param backups_retention_days: The length of retention days for the backups policy. + 0-35 are the only valid values. + + :return: + """ + backups_policy_set(client, name) + + +def server_backups_policy_show(client, name=None, resource_group=None): + """ + Show the Backups + :param client: + :param name: The Server Name for the SQL Server, this is also overloaded to handle instances + so [server name]/[instance name] can be used for an instance in a server + :param resource_group: The resource group for the SQL Server + :return: JSON/Dict of the backups policy + """ + return backups_policy_show(client, name) + + +def server_backups_policy_delete( + client, name=None, resource_group=None, yes=False +): + """ + Show the Backups + :param client: + :param name: The Server Name for the SQL Server, this is also overloaded to handle instances + so [server name]/[instance name] can be used for an instance in a server + :param resource_group: The resource group for the SQL Server + :return: JSON/Dict of the backups policy + """ + return backups_policy_delete(client, name) + + +# ------------AG Commands---------------- +def server_failover_ag( + client, resource_group: str, name: str, server_name: str +): + """ + Request manual failover of the availability group to the given server. + :param resource_group: The name of the Azure resource group. + :type resource_group: str + :param name: Name of the SQL Availability Group. + :type name: str + :param server_name: Name of the SQL Server Instance. + :type server_name: str + """ + try: + client.services.sqlarc.failover_ag( + resource_group_name=resource_group, + sql_server_instance_name=server_name, + availability_group_name=name, + ) + client.stdout( + f"Successfully requested availability group {name} failover to {server_name}." + ) + except Exception as err: + raise CLIError( + f"Unable to request availability group {name} failover to {server_name}." + ) from err + + +def server_create_ag( + client, + resource_group: str, + name: str, + replica_ids: str, + databases: str, + mirroring_port: int, + endpoint_login: str, + endpoint_auth_mode: str, + certificate_name: str, + listener_name: str, + listener_port: int, + listener_ipv4_addresses: str, + listener_ipv4_masks: str, + listener_ipv6_addresses: str, + availability_mode: str, + failover_mode: str, + seeding_mode: str, + automated_backup_preference: str, + failure_condition_level: int, + health_check_timeout: int, + db_failover: bool, + dtc_support: bool, + required_synchronized_secondaries: int, + cluster_type: str, + no_wait: bool = False, +): + """ + Create a new SQL Availability Group. + :param resource_group: The name of the Azure resource group. + :type resource_group: str + :param name: Name of the SQL Availability Group. + :type name: str + :param replica_ids: List of replica IDs. + :type replica_ids: str + :param databases: List of databases. + :type databases: str + :param mirroring_port: Mirroring port. + :type mirroring_port: int + :param endpoint_login: Endpoint login. + :type endpoint_login: str + :param endpoint_auth_mode: Endpoint authentication mode. + :type endpoint_auth_mode: str + :param certificate_name: Certificate name. + :type certificate_name: str + :param listener_name: Listener name. + :type listener_name: str + :param listener_port: Listener port. + :type listener_port: int + :param listener_ipv4_addresses: Listener IPv4 addresses. + :type listener_ipv4_addresses: str + :param listener_ipv4_masks: Listener IPv4 masks. + :type listener_ipv4_masks: str + :param listener_ipv6_addresses: Listener IPv6 addresses. + :type listener_ipv6_addresses: str + :param availability_mode: Availability mode. + :type availability_mode: str + :param failover_mode: Failover mode. + :type failover_mode: str + :param seeding_mode: Seeding mode. + :type seeding_mode: str + :param automated_backup_preference: Automated backup preference. + :type automated_backup_preference: str + :param failure_condition_level: Failure condition level. + :type failure_condition_level: int + :param health_check_timeout: Health check timeout. + :type health_check_timeout: int + :param db_failover: Database failover. + :type db_failover: bool + :param dtc_support: DTC support. + :type dtc_support: bool + :param required_synchronized_secondaries: Required synchronized secondaries. + :type required_synchronized_secondaries: int + :param cluster_type: Cluster type. + :type cluster_type: str + :param no_wait: Do not wait for the long-running operation to finish. + :type no_wait: bool + """ + return create_ag(client=client) + + +# ------------Extension Commands---------------- +def server_host_featureflag_set( + client, + name=None, + enable=None, + resource_group=None, + machine_name=None, + sql_server_arc_name=None, +): + """ + Sets the feature flag. + :param client: + :param name: The feature name for which feature flag needs to modified. + :param enable: Feature flag value for the feature flag. True if feature needs to be enabled, False otherwise. + :param resource_group: The resource group for the SQL Server + :param machine_name: Name of the connected machine. + :param sql-server-arc-name: Name of the sql instance name. + + :return: + """ + feature_flag_set(client, name) + + +def server_host_featureflag_delete( + client, + name=None, + resource_group=None, + machine_name=None, + sql_server_arc_name=None, +): + """ + Deletes the feature flag. + :param client: + :param name: The feature name for which feature flag needs to modified. + :param resource_group: The resource group for the SQL Server + :param machine_name: Name of the connected machine. + :param sql-server-arc-name: Name of the sql instance name. + + :return: + """ + feature_flag_delete(client, name) + + +def server_host_featureflag_show( + client, + name=None, + resource_group=None, + machine_name=None, + sql_server_arc_name=None, +): + """ + Shows the feature flag. + :param client: + :param name: The feature name for which feature flag needs to modified. + :param resource_group: The resource group for the SQL Server + :param machine_name: Name of the connected machine. + :param sql-server-arc-name: Name of the sql instance name. + + :return: + """ + return feature_flag_show(client, name) + + +def server_host_properties_set( + client, + resource_group=None, + machine_name=None, + sql_server_arc_name=None, + license_type=None, + esu_enabled=None, + skip_instances=None, +): + """ + Sets common host properties. + :param client: + :param resource_group: The resource group for the SQL Server + :param machine_name: Name of the connected machine. + :param sql-server-arc-name: Name of the sql instance name. + :param license-type: License type of the arc server. + :param esu-enabled: Status of extended security updates. + :param: List of instances that are excluded from arc onboarding operations. + + :return: + """ + return host_properties_set(client) + + +def server_host_properties_show( + client, + resource_group=None, + machine_name=None, + sql_server_arc_name=None, +): + """ + Shows the host properties. + :param client: + :param resource_group: The resource group for the SQL Server + :param machine_name: Name of the connected machine. + :param sql-server-arc-name: Name of the sql instance name. + + :return: + """ + return host_properties_show(client) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/server/help.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/help.py new file mode 100644 index 00000000000..282495d572a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/help.py @@ -0,0 +1,84 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +from azext_arcdata.sqlarc.common.help_formats import ( + help_format_short +) +from azext_arcdata.sqlarc.common.help_strings import ( + HELP_BACKUPS_POLICY_DELETE, + HELP_BACKUPS_POLICY, + HELP_BACKUPS_POLICY_SET, + HELP_BACKUPS_POLICY_SHOW +) +from knack.help_files import helps +from azext_arcdata.sqlarc.server.help_strings import ( + HELP_AVAILABILITY_GROUP, + HELP_AVAILABILITY_GROUP_CREATE, + HELP_AVAILABILITY_GROUP_FAILOVER, + HELP_HOST, + HELP_HOST_FEATURE_FLAG, + HELP_HOST_FEATURE_FLAG_DELETE, + HELP_HOST_FEATURE_FLAG_SET, + HELP_HOST_FEATURE_FLAG_SHOW, + HELP_HOST_SET, + HELP_HOST_SHOW +) + +helps["sql server-arc"] = help_format_short.format( + type="group", short="Manage SQL Server enabled by Azure Arc." +) +# ------------backups policy Command Group---------------- +helps["sql server-arc backups-policy"] = HELP_BACKUPS_POLICY + +helps["sql server-arc backups-policy set"] = HELP_BACKUPS_POLICY_SET.format( + example="az sql server-arc backups-policy set --name myServerName --resource-group myResourceGroup --retention-days 7 --full-backup-days 7 --diff-backup-hours 12 --tlog-backup-mins 5", + example2="az sql server-arc backups-policy set --name myServerName --resource-group myResourceGroup --default-policy", + example3="az sql server-arc backups-policy set --name myServerName --resource-group myResourceGroup --retention-days 0", +) +helps["sql server-arc backups-policy show"] = HELP_BACKUPS_POLICY_SHOW.format( + example="az sql server-arc backups-policy show --name myServerName --resource-group myResourceGroup", +) +helps["sql server-arc backups-policy delete"] = ( + HELP_BACKUPS_POLICY_DELETE.format( + example="az sql server-arc backups-policy delete --name myServerName --resource-group myResourceGroup", + ) +) +# ------------AG Command Group---------------- +helps["sql server-arc availability-group"] = HELP_AVAILABILITY_GROUP +helps["sql server-arc availability-group create"] = ( + HELP_AVAILABILITY_GROUP_CREATE.format( + example=( + "az sql server-arc availability-group create --name " + "myAvailabilityGroupName --resource-group myResourceGroup " + '--replica-ids "/subscriptions/.../resourceGroups/.../providers' + '/Microsoft.AzureArcData/sqlServerInstances/mySqlServerInstance" ' + "--mirroring-port 5022" + ) + ) +) +helps["sql server-arc availability-group failover"] = ( + HELP_AVAILABILITY_GROUP_FAILOVER.format( + example="az sql server-arc availability-group failover --name myAvailabilityGroupName --resource-group myResourceGroup --server-name myServerName " + ) +) + +# ------------Extension Command Group---------------- +helps["sql server-arc extension"] = HELP_HOST + +helps["sql server-arc extension feature-flag"] = HELP_HOST_FEATURE_FLAG + +helps["sql server-arc extension feature-flag set"] = HELP_HOST_FEATURE_FLAG_SET + +helps["sql server-arc extension feature-flag show"] = ( + HELP_HOST_FEATURE_FLAG_SHOW +) + +helps["sql server-arc extension feature-flag delete"] = ( + HELP_HOST_FEATURE_FLAG_DELETE +) + +helps["sql server-arc extension show"] = HELP_HOST_SHOW + +helps["sql server-arc extension set"] = HELP_HOST_SET diff --git a/src/arcdata/arcdata/azext_arcdata/sqlarc/server/help_strings.py b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/help_strings.py new file mode 100644 index 00000000000..ae1a179250d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlarc/server/help_strings.py @@ -0,0 +1,88 @@ +from azext_arcdata.sqlarc.common.help_formats import ( + help_format_example, + help_format_examples_2, + help_format_examples_3, + help_format_examples_4, + help_format_short +) + +HELP_HOST = help_format_short.format( + type="group", + short="Manage extension level properties", +) +HELP_HOST_FEATURE_FLAG = help_format_short.format( + type="group", + short="Manage extension level feature flags", +) +HELP_HOST_FEATURE_FLAG_SET = help_format_examples_4.format( + type="command", + short="Set feature flag", + exName="Ex 1 - Enabling a feature flag", + example="az sql server-arc extension feature-flag set --name FeatureName --enable true --resource-group MyResourceGroup --machine-name MyArcServerName", + exName2="Ex 2 - Enabling a feature flag using arc sql instance resource name", + example2="az sql server-arc extension feature-flag set --name FeatureName --enable true --resource-group MyResourceGroup --sql-server-arc-name MyArcSqlInstanceName", + exName3="Ex 3 - Disabling a feature flag", + example3="az sql server-arc extension feature-flag set --name FeatureName --enable false --resource-group MyResourceGroup --machine-name MyArcServerName", + exName4="Ex 4 - Disabling a feature flag using arc sql instance resource name", + example4="az sql server-arc extension feature-flag set --name FeatureName --enable false --resource-group MyResourceGroup --sql-server-arc-name MyArcSqlInstanceName", +) +HELP_HOST_FEATURE_FLAG_DELETE = help_format_examples_2.format( + type="command", + short="Delete feature flag", + exName="Ex 1 - Deleting a feature flag", + example="az sql server-arc extension feature-flag delete --name FeatureName --resource-group MyResourceGroup --machine-name MyArcServerName", + exName2="Ex 2 - Deleting a feature flag using arc sql instance resource name", + example2="az sql server-arc extension feature-flag delete --name FeatureName --resource-group MyResourceGroup --sql-server-arc-name MyArcSqlInstanceName", +) +HELP_HOST_FEATURE_FLAG_SHOW = help_format_examples_4.format( + type="command", + short="Show feature flag", + exName="Ex 1 - Displaying feature flag for a feature", + example="az sql server-arc extension feature-flag show --name FeatureName --resource-group MyResourceGroup --machine-name MyArcServerName", + exName2="Ex 2 - Displaying feature flag for a feature using arc sql instance resource name", + example2="az sql server-arc extension feature-flag show --name FeatureName --resource-group MyResourceGroup --sql-server-arc-name MyArcSqlInstanceName", + exName3="Ex 3 - Displaying all feature flags", + example3="az sql server-arc extension feature-flag show --resource-group MyResourceGroup --machine-name MyArcServerName", + exName4="Ex 4 - Displaying all feature flags using arc sql instance resource name", + example4="az sql server-arc extension feature-flag show --resource-group MyResourceGroup --sql-server-arc-name MyArcSqlInstanceName", +) +HELP_HOST_SHOW = help_format_examples_2.format( + type="command", + short="Show host properties", + exName="Ex 1 - Displaying host level properties", + example="az sql server-arc extension show --resource-group MyResourceGroup --machine-name MyArcServerName", + exName2="Ex 2 - Displaying host level properties using Arc Sql instance resource name", + example2="az sql server-arc extension show --resource-group MyResourceGroup --sql-server-arc-name MyArcSqlInstanceName", +) +HELP_HOST_SET = help_format_examples_3.format( + type="command", + short="Update common host properties", + exName="Ex 1 - Updating LicenseType value", + example="az sql server-arc extension set --resource-group MyResourceGroup --machine-name MyArcServerName --license-type LicenseTypeValue", + exName2="Ex 2 - Updating status of extended security updates", + example2="az sql server-arc extension set --resource-group MyResourceGroup --machine-name MyArcServerName --esu-enabled True", + exName3="Ex 2 - Updating list of excluded sql instances", + example3='az sql server-arc extension set --resource-group MyResourceGroup --machine-name MyArcServerName --skip-instances "InstanceName1, InstanceName2"', +) +HELP_AVAILABILITY_GROUP = help_format_short.format( + type="group", + short="Manage availability groups", +) +HELP_AVAILABILITY_GROUP_FAILOVER = help_format_example.format( + type="command", + short="Request manual failover of an availability group", + exName="Ex 1 - Request manual failover of an availability group", + example="{example}", +) +HELP_AVAILABILITY_GROUP_CREATE = help_format_example.format( + type="command", + short="Create an availability group", + exName="Ex 1 - Create an availability group", + example="{example}", +) + +HELP_NAME_ARC_SERVER = "Name of the connected machine" + +HELP_RG_ARC_SERVER = ( + "Name of the resource group where the connected machine is located" +) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmi/__init__.py b/src/arcdata/arcdata/azext_arcdata/sqlmi/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmi/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmi/arguments.py b/src/arcdata/arcdata/azext_arcdata/sqlmi/arguments.py new file mode 100644 index 00000000000..c09a956d769 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmi/arguments.py @@ -0,0 +1,1171 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.core.constants import ( + USE_K8S_TEXT, + CLI_ARG_GROUP_DIRECT_TEXT, + CLI_ARG_GROUP_INDIRECT_TEXT, +) +from azext_arcdata.sqlmi.constants import ( + SQLMI_AUTO_UPGRADE_DOCS_LINK, + SQLMI_LICENSE_TYPE_ALLOWED_VALUES_MSG_CREATE, + SQLMI_LICENSE_TYPE_ALLOWED_VALUES_MSG, + SQLMI_REPLICAS_ALLOWED_VALUES, + SQLMI_TIER_ALLOWED_VALUES_MSG_CREATE, + SYNC_SECONDARY_COMMIT_ALLOWED_VALUES, +) + + +def load_arguments(self, _): + from knack.arguments import ArgumentsContext + + with ArgumentsContext(self, "sql mi-arc create") as c: + c.argument( + "path", + options_list=["--path"], + help="The path to the azext_arcdata file for the SQL managed " + "instance json file.", + ) + c.argument( + "name", + options_list=["--name", "-n"], + help="The name of the SQL managed instance.", + ) + c.argument( + "dev", + options_list=["--dev"], + action="store_true", + help="If this is specified, then it is considered a dev instance " + "and will not be billed for.", + ) + c.argument( + "replicas", + options_list=["--replicas"], + choices=SQLMI_REPLICAS_ALLOWED_VALUES, + help="This option specifies the number of SQL Managed Instance " + "replicas that will be deployed in your Kubernetes cluster " + "for high availability purposes. Default is 1 replica for General " + "Purpose, 3 replicas for Business Critical.", + ) + c.argument( + "orchestrator_replicas", + options_list=["--orchestrator-replicas"], + help="The number of high availability orchestrator replicas. " + "Value must be between 1 and 3.", + ) + c.argument( + "readable_secondaries", + options_list=["--readable-secondaries"], + help="Number of replicas to be made readable. Applies only to " + "Business Critical tier. Value must be between 0 and the " + "number of replicas minus 1.", + ) + c.argument( + "cores_limit", + options_list=["--cores-limit", "-c"], + help="The cores limit of the managed instance as an integer.", + ) + c.argument( + "cores_request", + options_list=["--cores-request"], + help="The request for cores of the managed instance as an " + "integer.", + ) + c.argument( + "memory_limit", + options_list=["--memory-limit", "-m"], + help="The limit of the capacity of the managed instance as an " + "integer number followed by Gi (gigabytes). Example: 4Gi", + ) + c.argument( + "memory_request", + options_list=["--memory-request"], + help="The request for the capacity of the managed instance as an " + "integer number followed by Gi (gigabytes). Example: 4Gi", + ) + c.argument( + "storage_class_data", + options_list=["--storage-class-data", "-d"], + help="The storage class to be used for data files (.mdf, .ndf). " + "If no value is specified, then no storage class will be " + "specified, which will result in Kubernetes using the " + "default storage class.", + ) + c.argument( + "storage_class_datalogs", + options_list=["--storage-class-datalogs"], + help="The storage class to be used for database logs (.ldf). If " + "no value is specified, then no storage class will be " + "specified, which will result in Kubernetes using the " + "default storage class.", + ) + c.argument( + "storage_class_logs", + options_list=["--storage-class-logs"], + help="The storage class to be used for logs (/var/log). If no " + "value is specified, then no storage class will be " + "specified, which will result in Kubernetes using the " + "default storage class.", + ) + c.argument( + "storage_class_backups", + options_list=["--storage-class-backups"], + help="A ReadWriteMany (RWX) capable storage class to be used for " + "backups (/var/opt/mssql/backups). If no value is specified, " + "the default storage class will be used.", + ) + c.argument( + "storage_class_orchestrator_logs", + options_list=["--storage-class-orchestrator-logs"], + help="The storage class to be used for orchestrator logs (/var/log). If no " + "value is specified, then no storage class will be " + "specified, which will result in Kubernetes using the " + "default storage class.", + ) + c.argument( + "volume_size_data", + options_list=["--volume-size-data"], + help="The size of the storage volume to be used for data as a " + "positive number followed by Ki (kilobytes)," + " Mi (megabytes), or Gi (gigabytes).", + ) + c.argument( + "volume_size_datalogs", + options_list=["--volume-size-datalogs"], + help="The size of the storage volume to be used for data logs as " + "a positive number followed by Ki (kilobytes), " + "Mi (megabytes), or Gi (gigabytes).", + ) + c.argument( + "volume_size_logs", + options_list=["--volume-size-logs"], + help="The size of the storage volume to be used for logs as a " + "positive number followed by Ki (kilobytes), " + "Mi (megabytes), or Gi (gigabytes).", + ) + c.argument( + "volume_size_backups", + options_list=["--volume-size-backups"], + help="The size of the storage volume to be used for backups as " + "a positive number followed by Ki (kilobytes), " + "Mi (megabytes), or Gi (gigabytes).", + ) + c.argument( + "volume_size_orchestrator_logs", + options_list=["--volume-size-orchestrator-logs"], + help="The size of the storage volume to be used for orchestrator logs as a " + "positive number followed by Ki (kilobytes), " + "Mi (megabytes), or Gi (gigabytes).", + ) + c.argument( + "license_type", + options_list=["--license-type", "-l"], + help="The license type to apply for this managed instance " + "{}.".format(SQLMI_LICENSE_TYPE_ALLOWED_VALUES_MSG_CREATE), + ) + c.argument( + "tier", + options_list=["--tier", "-t"], + help="The pricing tier for the instance. {}".format( + SQLMI_TIER_ALLOWED_VALUES_MSG_CREATE + ), + ) + c.argument( + "sync_secondary_to_commit", + options_list=["--sync-secondary-to-commit"], + choices=SYNC_SECONDARY_COMMIT_ALLOWED_VALUES, + default=-1, + help="Number of secondary replicas that must be synchronized to commit. " + "Setting this value to -1 will set the number of required " + "synchronized secondaries to '(# of replicas - 1) / 2', rounded down.", + ) + c.argument( + "retention_days", + options_list=["--retention-days"], + type=int, + help="Backup retention period, specified in days. " + "Allowed values are 0 to 35. Default is 7. Setting " + "the retention period to 0 will turn off automatic " + "backups for all the databases on the SQL managed " + "instance and any prior backups will be deleted.", + ) + c.argument( + "service_type", + options_list=["--service-type"], + choices=["NodePort", "LoadBalancer"], + help="The type for the primary service.", + ) + c.argument( + "trace_flags", + options_list=["--trace-flags"], + help="Comma separated list of traceflags. No flags by default.", + ) + c.argument( + "private_key_file", + options_list=["--private-key-file"], + help="Private Key File generated by openSSL to use as instance id.", + ) + c.argument( + "primary_dns_name", + options_list=["--primary-dns-name"], + help="The primary service DNS name exposed to the end-users to " + "connect to this Arc-enabled SQL Managed Instance (e.g. " + "sqlinstancename.contoso.com).", + ) + c.argument( + "primary_port_number", + options_list=["--primary-port-number"], + help="The port number on which the primary service is exposed to the end-users (e.g. 31433).", + ) + c.argument( + "secondary_dns_name", + options_list=["--secondary-dns-name"], + help="The secondary service DNS name exposed to the end-users to connect to this Arc-enabled " + "SQL Managed Instance (e.g. sqlinstancename2.contoso.com).", + ) + c.argument( + "secondary_port_number", + options_list=["--secondary-port-number"], + help="The port number on which the secondary service is exposed to the end-users (e.g. 31434).", + ) + # -- indirect -- + c.argument( + "labels", + options_list=["--labels"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Comma-separated list of labels of the SQL managed instance.", + ) + c.argument( + "annotations", + options_list=["--annotations"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Comma-separated list of annotations of the SQL " + "managed instance.", + ) + c.argument( + "service_labels", + options_list=["--service-labels"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Comma-separated list of labels to apply to all external " + "services.", + ) + c.argument( + "service_annotations", + options_list=["--service-annotations"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Comma-separated list of annotations to apply to all " + "external services.", + ) + c.argument( + "storage_labels", + options_list=["--storage-labels"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Comma-separated list of labels to apply to all PVCs.", + ) + c.argument( + "storage_annotations", + options_list=["--storage-annotations"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Comma-separated list of annotations to apply to all PVCs.", + ) + c.argument( + "noexternal_endpoint", + options_list=["--no-external-endpoint"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help="If specified, no external service will be created. " + "Otherwise, an external service will be created using the " + "same service type as the data controller.", + ) + c.argument( + "certificate_public_key_file", + options_list=["--cert-public-key-file"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Path to the file containing a PEM formatted certificate " + "public key to be used for SQL Server.", + ) + c.argument( + "certificate_private_key_file", + options_list=["--cert-private-key-file"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Path to the file containing a PEM formatted certificate " + "private key to be used for SQL Server.", + ) + c.argument( + "service_certificate_secret", + options_list=["--service-cert-secret"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Name of the Kubernetes secret to generate that hosts or " + "will host SQL service certificate.", + ) + c.argument( + "admin_login_secret", + options_list=["--admin-login-secret"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Name of the Kubernetes secret to generate that hosts or " + "will host user admin login account credential.", + ) + c.argument( + "collation", + options_list=["--collation"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="The SQL Server collation for the instance.", + ) + c.argument( + "language", + options_list=["--language"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="The SQL Server locale to any supported language identifier " + "(LCID) for the instance.", + ) + c.argument( + "agent_enabled", + options_list=["--agent-enabled"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Enable SQL Server agent for the instance. Default is " + "disabled. Allowed values are 'true' or 'false'.", + ) + c.argument( + "time_zone", + options_list=["--time-zone"], + help="The SQL Server time zone for the instance.", + ) + c.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Namespace where the SQL managed instance is to be deployed. " + "If no namespace is specified, then the namespace defined " + "in the kubeconfig will be used.", + ) + c.argument( + "use_k8s", + options_list=["--use-k8s"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help="Create SQL managed instance using local Kubernetes APIs.", + ) + # -- direct -- + c.argument( + "custom_location", + options_list=["--custom-location"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The custom location for this instance.", + ) + c.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group to which the Arc-enabled SQL Managed Instance should be added.", + ) + # -- Active Directory -- + c.argument( + "ad_connector_name", + options_list=["--ad-connector-name"], + help="The name of the Active Directory Connector. This parameter " + "indicates an intent to deploy with AD support.", + ) + c.argument( + "ad_account_name", + options_list=["--ad-account-name"], + help="The Active Directory account name for this Arc-enabled SQL " + "Managed Instance. This account needs to be created prior to " + "the deployment of this instance.", + ) + c.argument( + "keytab_secret", + options_list=["--keytab-secret"], + help="The name of the Kubernetes secret that contains the keytab " + "file for this Arc-enabled SQL Managed Instance.", + ) + c.argument( + "ad_encryption_types", + options_list=["--ad-encryption-types"], + help="A comma-separated list of supported Active Directory encryption types. " + "Must be a subset of the following values: RC4, AES128, AES256", + ) + # -- Transparent Data Encryption -- + c.argument( + "tde_mode", + options_list=["--tde-mode"], + help="The Transparent Data Encryption (TDE) mode for this Arc-enabled SQL Managed Instance. " + "Allowed values: ServiceManaged, CustomerManaged, or Disabled. " + "Default is Disabled.", + ) + c.argument( + "tde_protector_secret", + options_list=["--tde-protector-secret"], + help="The name of the Kubernetes secret that contains the TDE protector certificate and private " + "key for this Arc-enabled SQL Managed Instance. Can only be specified for CustomerManaged TDE mode.", + ) + c.argument( + "tde_protector_public_key_file", + options_list=["--tde-protector-public-key-file"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Path to the file containing a PEM formatted certificate " + "public key to be used for TDE.", + ) + c.argument( + "tde_protector_private_key_file", + options_list=["--tde-protector-private-key-file"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Path to the file containing a PEM formatted certificate " + "private key to be used for TDE.", + ) + + with ArgumentsContext(self, "sql mi-arc upgrade") as c: + c.argument( + "path", + options_list=["--path"], + help="The path to the azext_arcdata file for the SQL managed " + "instance json file.", + ) + c.argument( + "name", + options_list=["--name", "-n"], + help="The name of the SQL managed instance.", + ) + c.argument( + "field_filter", + options_list=["--field-filter", "-f"], + help="Filter to select instances to upgrade based on resource " + "properties.", + ) + c.argument( + "label_filter", + options_list=["--label-filter", "-l"], + help="Filter to select instance to upgrade based on labels.", + ) + c.argument( + "dry_run", + options_list=["--dry-run", "-d"], + action="store_true", + help="Indicates which instance would be upgraded but does not " + "actually upgrade the instances.", + ) + c.argument( + "desired_version", + options_list=[ + "--desired-version", + "-v", + c.deprecate( + target="--target", redirect="--desired-version", hide=False + ), + ], + help="The latest valid version to upgrade to. Optional, if no " + "version is specified, the data controller version will be used. " + "Specify 'auto' to automatically upgrade to the latest valid version. " + "Learn more about automatic upgrades at: {}".format( + SQLMI_AUTO_UPGRADE_DOCS_LINK + ), + ) + c.argument( + "force", + options_list=["--force"], + help="Overrides all policies that may be applied to the instance, " + "and attempts the upgrade.", + action="store_true", + ) + c.argument( + "nowait", + options_list=["--no-wait"], + action="store_true", + help="If given, the command will not wait for the instance to be " + "in a ready state before returning.", + ) + # -- indirect -- + c.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Namespace where the SQL managed instance is to be deployed. " + "If no namespace is specified, then the namespace defined " + "in the kubeconfig will be used.", + ) + c.argument( + "use_k8s", + options_list=["--use-k8s"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help=USE_K8S_TEXT, + ) + # -- direct -- + c.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group in which the target Arc-enabled SQL Managed Instance exists.", + ) + + with ArgumentsContext(self, "sql mi-arc update") as c: + c.argument( + "path", + options_list=["--path"], + help="The path to the azext_arcdata file for the SQL managed " + "instance json file.", + ) + c.argument( + "name", + options_list=["--name", "-n"], + help="The name of the SQL managed instance that is being edited. " + "The name under which your instance is deployed cannot be " + "changed.", + ) + c.argument( + "time_zone", + options_list=["--time-zone"], + help="The SQL Server time zone for the instance.", + ) + c.argument( + "cores_limit", + options_list=["--cores-limit", "-c"], + help="The cores limit of the managed instance as an integer.", + ) + c.argument( + "cores_request", + options_list=["--cores-request"], + help="The request for cores of the managed instance as " + "an integer.", + ) + c.argument( + "memory_limit", + options_list=["--memory-limit", "-m"], + help="The limit of the capacity of the managed instance as an " + "integer number followed by Gi (gigabytes). Example: 4Gi", + ) + c.argument( + "memory_request", + options_list=["--memory-request"], + help="The request for the capacity of the managed instance as an " + "integer number followed by Gi (gigabytes). Example: 4Gi", + ) + c.argument( + "license_type", + options_list=["--license-type", "-l"], + help="The license type to apply for this managed instance " + "{}.".format(SQLMI_LICENSE_TYPE_ALLOWED_VALUES_MSG_CREATE), + ) + c.argument( + "tier", + options_list=["--tier", "-t"], + help="The pricing tier for the instance. {}".format( + SQLMI_TIER_ALLOWED_VALUES_MSG_CREATE + ), + ) + c.argument( + "labels", + options_list=["--labels"], + help="Comma-separated list of labels of the SQL managed instance.", + ) + c.argument( + "annotations", + options_list=["--annotations"], + help="Comma-separated list of annotations of the SQL managed " + "instance.", + ) + c.argument( + "service_labels", + options_list=["--service-labels"], + help="Comma-separated list of labels to apply to all external " + "services.", + ) + c.argument( + "service_annotations", + options_list=["--service-annotations"], + help="Comma-separated list of annotations to apply to all " + "external services.", + ) + c.argument( + "agent_enabled", + options_list=["--agent-enabled"], + help="Enable SQL Server agent for the instance. Default is " + "disabled.", + ) + c.argument( + "trace_flags", + options_list=["--trace-flags"], + help="Comma separated list of traceflags. No flags by default.", + ) + c.argument( + "retention_days", + options_list=["--retention-days"], + type=int, + help="Backup retention period, specified in days. " + "Allowed values are 0 to 35. Default is 7. Setting " + "the retention period to 0 will turn off automatic " + "backups for all the databases on the SQL managed " + "instance and any prior backups will be deleted.", + ) + c.argument( + "preferred_primary_replica", + options_list=["--preferred-primary-replica"], + help="", + ) + c.argument( + "replicas", + options_list=["--replicas"], + choices=SQLMI_REPLICAS_ALLOWED_VALUES, + help="This option specifies the number of SQL Managed Instance " + "replicas that will be deployed in your Kubernetes cluster " + "for high availability purposes.", + ) + c.argument( + "orchestrator_replicas", + options_list=["--orchestrator-replicas"], + help="The number of high availability orchestrator replicas. " + "Value must be between 1 and 3.", + ) + c.argument( + "readable_secondaries", + options_list=["--readable-secondaries"], + help="Number of replicas to be made readable. Applies only to " + "Business Critical tier. Value must be between 0 and the " + "number of replicas minus 1.", + ) + c.argument( + "sync_secondary_to_commit", + options_list=["--sync-secondary-to-commit"], + choices=SYNC_SECONDARY_COMMIT_ALLOWED_VALUES, + help="Number of secondary replicas that must be synchronized to commit. " + "Setting this value to -1 will set the number of required synchronized " + "secondaries to '(# of replicas - 1) / 2', rounded down.", + ) + # -- indirect -- + c.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Namespace where the SQL managed instance is to be " + "deployed. If no namespace is specified, then the namespace " + "defined in the kubeconfig will be used.", + ) + c.argument( + "use_k8s", + options_list=["--use-k8s"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help=USE_K8S_TEXT, + ) + c.argument( + "certificate_public_key_file", + options_list=["--cert-public-key-file"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Path to the file containing a PEM formatted certificate " + "public key to be used for SQL Server.", + ) + c.argument( + "certificate_private_key_file", + options_list=["--cert-private-key-file"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Path to the file containing a PEM formatted certificate " + "private key to be used for SQL Server.", + ) + c.argument( + "service_certificate_secret", + options_list=["--service-cert-secret"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Name of the Kubernetes secret to generate that hosts or " + "will host SQL service certificate.", + ) + c.argument( + "preferred_primary_replica", + options_list=["--preferred-primary-replica"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="The preferred primary replica to be updated.", + ) + # -- direct -- + c.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group in which the Arc-enabled SQL Managed Instance exists.", + ) + # -- Active Directory -- + c.argument( + "keytab_secret", + options_list=["--keytab-secret"], + help="The name of the Kubernetes secret that contains the keytab " + "file for this Arc-enabled SQL Managed Instance.", + ) + c.argument( + "ad_encryption_types", + options_list=["--ad-encryption-types"], + help="A comma-separated list of supported Active Directory encryption types. " + "Must be a subset of the following values: RC4, AES128, AES256", + ) + # -- Transparent Data Encryption -- + c.argument( + "tde_mode", + options_list=["--tde-mode"], + help="The Transparent Data Encryption (TDE) mode for this Arc-enabled SQL Managed Instance. " + "Allowed values: ServiceManaged, CustomerManaged, or Disabled. " + "Default is Disabled.", + ) + c.argument( + "tde_protector_secret", + options_list=["--tde-protector-secret"], + help="The name of the Kubernetes secret that contains the TDE protector certificate and private " + "key for this Arc-enabled SQL Managed Instance. Can only be specified for CustomerManaged TDE mode.", + ) + c.argument( + "tde_protector_public_key_file", + options_list=["--tde-protector-public-key-file"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Path to the file containing a PEM formatted certificate " + "public key to be used for TDE.", + ) + c.argument( + "tde_protector_private_key_file", + options_list=["--tde-protector-private-key-file"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Path to the file containing a PEM formatted certificate " + "private key to be used for TDE.", + ) + + with ArgumentsContext(self, "sql mi-arc edit") as c: + c.argument( + "path", + options_list=["--path"], + help="The path to the azext_arcdata file for the SQL managed " + "instance json file.", + ) + c.argument( + "name", + options_list=["--name", "-n"], + help="The name of the SQL managed instance that is being edited. " + "The name under which your instance is deployed cannot be " + "changed.", + ) + c.argument( + "time_zone", + options_list=["--time-zone"], + help="The SQL Server time zone for the instance.", + ) + c.argument( + "dev", + options_list=["--dev"], + action="store_true", + help="If this is specified, then it is considered a dev instance " + "and will not be billed for.", + ) + c.argument( + "cores_limit", + options_list=["--cores-limit", "-c"], + help="The cores limit of the managed instance as an integer.", + ) + c.argument( + "cores_request", + options_list=["--cores-request"], + help="The request for cores of the managed instance as " + "an integer.", + ) + c.argument( + "memory_limit", + options_list=["--memory-limit", "-m"], + help="The limit of the capacity of the managed instance as an " + "integer number followed by Gi (gigabytes). Example: 4Gi", + ) + c.argument( + "memory_request", + options_list=["--memory-request"], + help="The request for the capacity of the managed instance as an " + "integer number followed by Gi (gigabytes). Example: 4Gi", + ) + c.argument( + "nowait", + options_list=["--no-wait"], + action="store_true", + help="If given, the command will not wait for the instance to be " + "in a ready state before returning.", + ) + c.argument( + "labels", + options_list=["--labels"], + help="Comma-separated list of labels of the SQL managed instance.", + ) + c.argument( + "license_type", + options_list=["--license-type"], + help="The license type to update for this managed instance " + "{}".format(SQLMI_LICENSE_TYPE_ALLOWED_VALUES_MSG), + ) + c.argument( + "tier", + options_list=["--tier", "-t"], + help="The pricing tier for the instance. {}".format( + SQLMI_TIER_ALLOWED_VALUES_MSG_CREATE + ), + ) + c.argument( + "annotations", + options_list=["--annotations"], + help="Comma-separated list of annotations of the SQL managed " + "instance.", + ) + c.argument( + "service_labels", + options_list=["--service-labels"], + help="Comma-separated list of labels to apply to all external " + "services.", + ) + c.argument( + "service_annotations", + options_list=["--service-annotations"], + help="Comma-separated list of annotations to apply to all " + "external services.", + ) + c.argument( + "agent_enabled", + options_list=["--agent-enabled"], + help="Enable SQL Server agent for the instance. Default is " + "disabled.", + ) + c.argument( + "trace_flags", + options_list=["--trace-flags"], + help="Comma separated list of traceflags. No flags by default.", + ) + c.argument( + "retention_days", + options_list=["--retention-days"], + type=int, + help="Backup retention period, specified in days. " + "Allowed values are 0 to 35. Default is 7. Setting " + "the retention period to 0 will turn off automatic " + "backups for all the databases on the SQL managed " + "instance and any prior backups will be deleted.", + ) + # -- indirect -- + c.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Namespace where the SQL managed instance is to be " + "deployed. If no namespace is specified, then the namespace " + "defined in the kubeconfig will be used.", + ) + c.argument( + "use_k8s", + options_list=["--use-k8s"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help=USE_K8S_TEXT, + ) + # -- direct -- + c.argument( + "location", + options_list=["--location"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure location in which the sqlmi metadata " + "will be stored (e.g. eastus).", + ) + c.argument( + "custom_location", + options_list=["--custom-location"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The custom location for this instance.", + ) + c.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group in which the Arc-enabled SQL Managed Instance exists.", + ) + c.argument( + "tag_name", + options_list=["--tag-name"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The tag name of the SQL managed instance.", + ) + c.argument( + "tag_value", + options_list=["--tag-value"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The tag value of the SQL managed instance.", + ) + + with ArgumentsContext(self, "sql mi-arc delete") as c: + c.argument( + "name", + options_list=["--name", "-n"], + help="The name of the SQL managed instance to be deleted.", + ) + # -- indirect -- + c.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Namespace where the SQL managed instance is to be deployed. " + "If no namespace is specified, then the namespace defined " + "in the kubeconfig will be used.", + ) + c.argument( + "use_k8s", + options_list=["--use-k8s"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help=USE_K8S_TEXT, + ) + # -- direct -- + c.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group in which the Arc-enabled SQL Managed Instance exists.", + ) + + with ArgumentsContext(self, "sql mi-arc show") as c: + c.argument( + "name", + options_list=["--name", "-n"], + help="The name of the SQL managed instance to be shown.", + ) + c.argument( + "path", + options_list=["--path", "-p"], + help="A path where the full specification for the SQL managed " + "instance should be written. If omitted, the specification " + "will be written to standard output.", + ) + # -- indirect -- + c.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Namespace where the SQL managed instance is to be deployed. " + "If no namespace is specified, then the namespace defined " + "in the kubeconfig will be used.", + ) + c.argument( + "use_k8s", + options_list=["--use-k8s"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help=USE_K8S_TEXT, + ) + # -- direct -- + c.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group in which the Arc-enabled SQL Managed Instance exists.", + ) + + with ArgumentsContext(self, "sql mi-arc list") as c: + # -- indirect -- + c.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="The Kubernetes namespace containing the Arc-enabled " + "SQL Managed Instances. If no namespace is specified, then " + "the namespace defined in the kubeconfig will be used.", + ) + c.argument( + "use_k8s", + options_list=["--use-k8s"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help=USE_K8S_TEXT, + ) + # -- direct -- + c.argument( + "resource_group", + options_list=["--resource-group", "-g"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The Azure resource group containing the Arc-enabled SQL Managed Instances.", + ) + c.argument( + "custom_location", + options_list=["--custom-location"], + arg_group=CLI_ARG_GROUP_DIRECT_TEXT, + help="The custom location in which the Arc-enabled SQL Managed Instances " + "are deployed. If not specified, all instances in the resource group will be listed.", + ) + + with ArgumentsContext(self, "sql mi-arc endpoint list") as c: + c.argument( + "name", + options_list=["--name", "-n"], + help="The name of the SQL instance to be shown. If omitted, all" + " endpoints for all instances will be shown.", + ) + c.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + help="Namespace where the SQL managed instances exist. " + "If no namespace is specified, then the namespace defined " + "in the kubeconfig will be used.", + ) + c.argument( + "use_k8s", + options_list=["--use-k8s"], + # deprecate_info=c.deprecate(hide=True), + action="store_true", + help=USE_K8S_TEXT, + ) + + with ArgumentsContext(self, "sql mi-arc config init") as c: + c.argument( + "path", + options_list=["--path", "-p"], + help="A path where the CRD and specification for the SQL managed " + "instance should be written.", + ) + + with ArgumentsContext(self, "sql mi-arc config add") as c: + c.argument( + "path", + options_list=["--path", "-p"], + help="Path to the custom resource specification, i.e. " + "custom/spec.json", + ) + + ex1 = '`key=\'{"kind":"cluster","name":"test-cluster"}\'`' + ex2 = r"`key1=\"key2\=val2\,key3\=val3\"`" + c.argument( + "json_values", + options_list=["--json-values", "-j"], + help="A key value pair list of json paths to values: " + "`key1.subkey1=value1,key2.subkey2=value2`. " + "You may provide inline json values such as: " + "{0} " + "or provide a file path, such as `key=./values.json`. " + "The add command does NOT support conditionals. If the inline " + "value you are providing is a key value pair itself with `=` " + "and `,` please escape those characters. For example: " + "{1}. Please see " + "http://jsonpatch.com/ for examples of how your path should " + "look. If you would like to access an array, you must do so " + "by indicating the index, such as `key.0=value`.".format(ex1, ex2), + ) + + with ArgumentsContext(self, "sql mi-arc config replace") as c: + c.argument( + "path", + options_list=["--path", "-p"], + help="Path to the custom resource specification, i.e. " + "`custom/spec.json`", + ) + + ex1 = '`key={"kind":"cluster","name":"test-cluster"}`' + ex2 = r"`key1=\"key2\=val2\,key3\=val3\"`" + + c.argument( + "json_values", + options_list=["--json-values", "-j"], + help="A key value pair list of json paths to values: " + "`key1.subkey1=value1,key2.subkey2=value2`. You may provide " + "inline json values such as: {0} or provide a file path, such " + "as `key=./values.json`. The replace command supports " + "conditionals through the jsonpath library. To use this, " + "start your path with a $. This will allow you to do a " + "conditional such as " + '`-j $.key1.key2[?(@.key3=="someValue"].key4=value`. If the ' + "inline value you are providing is a key value pair itself " + "with `=` and `,` please escape those characters. For example, " + "{1}. You may see examples below. For additional help, " + "see: https://jsonpath.com/".format(ex1, ex2), + ) + + with ArgumentsContext(self, "sql mi-arc config remove") as c: + c.argument( + "path", + options_list=["--path", "-p"], + help="Path to the custom resource specification, i.e. " + "`custom/spec.json`.", + ) + + c.argument( + "json_path", + options_list=["--json-path", "-j"], + help="A list of json paths based on the jsonpatch library that " + "indicates which values you would like removed, " + "such as: `key1.subkey1,key2.subkey2`. The remove command " + "does NOT support conditionals. Please see " + "http://jsonpatch.com/ for examples of how your path should " + "look. If you would like to access an array, you must do so " + "by indicating the index, such as `key.0=value`.", + ) + + with ArgumentsContext(self, "sql mi-arc config patch") as c: + c.argument( + "path", + options_list=["--path", "-p"], + help="Path to the custom resource specification, i.e. " + "`custom/spec.json`", + ) + c.argument( + "patch_file", + options_list=["--patch-file"], + help="Path to a patch json file that is based off the jsonpatch " + "library: http://jsonpatch.com/. You must start your patch " + "json file with a key called `patch`, whose value is an " + "array of patch operations you intend to make. " + "For the path of a patch operation, you may use dot " + "notation, such as `key1.key2` for most operations. If you " + "would like to do a replace operation, and you are " + "replacing a value in an array that requires a conditional, " + "please use the jsonpath notation by beginning your path " + "with a $. This will allow you to do a conditional such " + 'as `$.key1.key2[?(@.key3=="someValue"].key4`.' + "See the " + "examples below. For additional help with conditionals, " + "see: https://jsonpath.com/.", + ) + + with ArgumentsContext(self, "sql mi-arc get-mirroring-cert") as c: + c.argument( + "name", + options_list=["--name", "-n"], + help="The name of the SQL managed instance.", + ) + c.argument( + "cert_file", + options_list=["--cert-file"], + help="The local filename to store the retrieved certificate in " + "PEM format.", + ) + # -- indirect -- + c.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Namespace where the SQL managed instance is to be deployed. " + "If no namespace is specified, then the namespace defined " + "in the kubeconfig will be used.", + ) + c.argument( + "use_k8s", + options_list=["--use-k8s"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + # deprecate_info=c.deprecate(hide=True), + action="store_true", + help=USE_K8S_TEXT, + ) + + with ArgumentsContext(self, "sql mi-arc reprovision-replica") as c: + c.argument( + "name", + options_list=["--name", "-n"], + help="The name of the SQL managed instance replica to be reprovisioned.", + ) + # -- indirect -- + c.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + help="Namespace where the SQL managed instance replica is deployed. " + "If no namespace is specified, then the namespace defined " + "in the kubeconfig will be used.", + ) + c.argument( + "use_k8s", + options_list=["--use-k8s"], + arg_group=CLI_ARG_GROUP_INDIRECT_TEXT, + action="store_true", + help="Reprovision SQL managed instance replica using local Kubernetes APIs.", + ) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmi/client.py b/src/arcdata/arcdata/azext_arcdata/sqlmi/client.py new file mode 100644 index 00000000000..374be52f5da --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmi/client.py @@ -0,0 +1,51 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.core.cli_client import CliClient +from azext_arcdata.core.util import DeploymentConfigUtil + +__all__ = ["beget"] + + +def beget(az_cli, kwargs): + """ + Client factory + """ + return SqlmiClientMixin(az_cli, kwargs) + + +def beget_no_namespace(az_cli, kwargs): + """ + Client factory - no check on namespace + """ + return SqlmiClientMixin(az_cli, kwargs, check_namespace=False) + + +class SqlmiClientMixin(CliClient): + def __init__(self, az_cli, kwargs, check_namespace=True): + super(SqlmiClientMixin, self).__init__( + az_cli, kwargs, check_namespace=check_namespace + ) + + @staticmethod + def add_configuration(path, json_values): + config_object = DeploymentConfigUtil.config_add(path, json_values) + DeploymentConfigUtil.write_config_file(path, config_object) + + @staticmethod + def replace_configuration(path, json_values): + config_object = DeploymentConfigUtil.config_replace(path, json_values) + DeploymentConfigUtil.write_config_file(path, config_object) + + @staticmethod + def remove_configuration(path, json_path): + config_object = DeploymentConfigUtil.config_remove(path, json_path) + DeploymentConfigUtil.write_config_file(path, config_object) + + @staticmethod + def patch_configuration(path, patch_file): + config_object = DeploymentConfigUtil.config_patch(path, patch_file) + DeploymentConfigUtil.write_config_file(path, config_object) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmi/commands.py b/src/arcdata/arcdata/azext_arcdata/sqlmi/commands.py new file mode 100644 index 00000000000..5ccd24dcae4 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmi/commands.py @@ -0,0 +1,104 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from collections import OrderedDict +from azure.cli.core.commands import CliCommandType +from azext_arcdata.sqlmi.client import beget, beget_no_namespace +from azext_arcdata.sqlmi import validators + + +def load_commands(self, _): + operations = CliCommandType(operations_tmpl="azext_arcdata.sqlmi.custom#{}") + + def sqlmi_table_transformer(result): + items = [] + + for item in result: + if "resourceGroup" in item: + return result # ARM object already transformed + + items.append( + OrderedDict( + [ + ("name", item["name"]), + ("primaryEndpoint", item["primaryEndpoint"]), + ("replicas", item["replicas"]), + ("state", item["state"]), + ("desiredVersion", item["desiredVersion"]), + ("runningVersion", item["runningVersion"]), + ] + ) + ) + + return items + + with self.command_group( + "sql mi-arc", operations, client_factory=beget + ) as g: + g.command( + "create", + "arc_sql_mi_create", + supports_no_wait=True, + validator=validators.validate_create, + ) + g.command( + "upgrade", + "arc_sql_mi_upgrade", + supports_no_wait=True, + validator=validators.validate_upgrade, + ) + + g.command( + "delete", + "arc_sql_mi_delete", + supports_no_wait=True, + validator=validators.validate_delete, + ) + g.show_command( + "show", "arc_sql_mi_show", validator=validators.validate_show + ) + g.command("get-mirroring-cert", "arc_sql_mi_getmirroringcert") + g.command( + "list", + "arc_sql_mi_list", + validator=validators.validate_list, + table_transformer=sqlmi_table_transformer, + ) + g.command( + "update", + "arc_sql_mi_update", + supports_no_wait=True, + validator=validators.validate_update, + ) + + g.command( + "edit", + "arc_sql_mi_edit", + deprecate_info=g.deprecate( + target="edit", redirect="update", hide=True + ), + validator=validators.validate_edit, + ) + + g.command( + "reprovision-replica", + "arc_sql_mi_reprovision_replica", + supports_no_wait=True, + ) + + with self.command_group( + "sql mi-arc endpoint", operations, client_factory=beget + ) as g: + g.command("list", "arc_sql_endpoint_list") + + with self.command_group( + "sql mi-arc config", operations, client_factory=beget_no_namespace + ) as g: + g.command("init", "arc_sql_mi_config_init") + g.command("patch", "arc_sql_mi_config_patch") + g.command("add", "arc_sql_mi_config_add") + g.command("replace", "arc_sql_mi_config_replace") + g.command("remove", "arc_sql_mi_config_remove") diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmi/constants.py b/src/arcdata/arcdata/azext_arcdata/sqlmi/constants.py new file mode 100644 index 00000000000..3b58140eda1 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmi/constants.py @@ -0,0 +1,236 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +import os + +from azext_arcdata.core.constants import ARC_API_V1BETA1 + +RESOURCE_KIND = "SqlManagedInstance" +""" +Defines the Kubernetes custom resource kind. +""" + +RESOURCE_KIND_PLURAL = "sqlmanagedinstances" +""" +Defines the plural name. +""" + +API_GROUP = "sql.arcdata.microsoft.com" +""" +Defines the API group. +""" + +TASK_API_GROUP = "tasks.sql.arcdata.microsoft.com" +""" +The Kubernetes group for SQL MI task crd. +""" + +REPROVISION_REPLICA_TASK_CRD_API_VERSION = ARC_API_V1BETA1 +""" +Defines the API version. +""" + +# ------------------------------------------------------------------------------ +# SQL server related constants +# ------------------------------------------------------------------------------ +SQLMI_PASSWORD_MIN_LENGTH = 8 +SQLMI_PASSWORD_REQUIRED_GROUPS = 3 + +# ------------------------------------------------------------------------------ +# SQL MI license type constansts +# ------------------------------------------------------------------------------ +SQLMI_LICENSE_TYPE_BASE_PRICE = "BasePrice" +SQLMI_LICENSE_TYPE_BASE_PRICE_AZURE = ( + SQLMI_LICENSE_TYPE_BASE_PRICE # the format expected by ARM RP +) +SQLMI_LICENSE_TYPE_LICENSE_INCLUDED = "LicenseIncluded" +SQLMI_LICENSE_TYPE_LICENSE_INCLUDED_AZURE = ( + SQLMI_LICENSE_TYPE_LICENSE_INCLUDED # the format expected by ARM RP +) +SQLMI_LICENSE_TYPE_DISASTER_RECOVERY = "DisasterRecovery" +SQLMI_LICENSE_TYPE_DISASTER_RECOVERY_AZURE = ( + SQLMI_LICENSE_TYPE_DISASTER_RECOVERY # the format expected by ARM RP +) +SQLMI_LICENSE_TYPES = set( + [ + SQLMI_LICENSE_TYPE_BASE_PRICE, + SQLMI_LICENSE_TYPE_LICENSE_INCLUDED, + SQLMI_LICENSE_TYPE_DISASTER_RECOVERY, + ] +) + +# message to display allowed values when creating an instance +SQLMI_LICENSE_TYPE_ALLOWED_VALUES_MSG_CREATE = ( + "Allowed values are: {0}, {1}, {2}." + "Default is {3}. The license " + "type can be changed.".format( + SQLMI_LICENSE_TYPE_BASE_PRICE, + SQLMI_LICENSE_TYPE_LICENSE_INCLUDED, + SQLMI_LICENSE_TYPE_DISASTER_RECOVERY, + SQLMI_LICENSE_TYPE_LICENSE_INCLUDED_AZURE, + ) +) + +# generic message to display allowed values +SQLMI_LICENSE_TYPE_ALLOWED_VALUES_MSG = ( + "Allowed values are: {0}, {1}, {2}. " + "Default is {1}.".format( + SQLMI_LICENSE_TYPE_BASE_PRICE, + SQLMI_LICENSE_TYPE_LICENSE_INCLUDED, + SQLMI_LICENSE_TYPE_DISASTER_RECOVERY, + ) +) +SQLMI_LICENSE_TYPE_DEFAULT = SQLMI_LICENSE_TYPE_LICENSE_INCLUDED + +# ------------------------------------------------------------------------------ +# SQL MI tier constansts +# ------------------------------------------------------------------------------ +SQLMI_TIER_GENERAL_PURPOSE = "GeneralPurpose" +SQLMI_TIER_GENERAL_PURPOSE_SHORT = "gp" +SQLMI_TIER_GENERAL_PURPOSE_AZURE = ( + SQLMI_TIER_GENERAL_PURPOSE # the format exptected by ARM RP +) +SQLMI_TIER_GENERAL_PURPOSE_ALL = set( + [SQLMI_TIER_GENERAL_PURPOSE, SQLMI_TIER_GENERAL_PURPOSE_SHORT] +) +SQLMI_TIER_BUSINESS_CRITICAL = "BusinessCritical" +SQLMI_TIER_BUSINESS_CRITICAL_AZURE = ( + SQLMI_TIER_BUSINESS_CRITICAL # the format expected by ARM RP +) +SQLMI_TIER_BUSINESS_CRITICAL_SHORT = "bc" +SQLMI_TIER_BUSINESS_CRITICAL_ALL = set( + [SQLMI_TIER_BUSINESS_CRITICAL, SQLMI_TIER_BUSINESS_CRITICAL_SHORT] +) +SQLMI_TIERS = set( + [ + SQLMI_TIER_GENERAL_PURPOSE, + SQLMI_TIER_BUSINESS_CRITICAL, + SQLMI_TIER_GENERAL_PURPOSE_SHORT, + SQLMI_TIER_BUSINESS_CRITICAL_SHORT, + ] +) + +SQLMI_TIERS_MAP = { + SQLMI_TIER_GENERAL_PURPOSE: SQLMI_TIER_GENERAL_PURPOSE, + SQLMI_TIER_GENERAL_PURPOSE_SHORT: SQLMI_TIER_GENERAL_PURPOSE, + SQLMI_TIER_BUSINESS_CRITICAL: SQLMI_TIER_BUSINESS_CRITICAL, + SQLMI_TIER_BUSINESS_CRITICAL_SHORT: SQLMI_TIER_BUSINESS_CRITICAL, +} + +# message to display allowed values when creating an instance +SQLMI_TIER_ALLOWED_VALUES_MSG_CREATE = ( + "Allowed values: {0} ({1} for short) " + "or {2} ({3} for short). Default is " + "{2}.".format( + SQLMI_TIER_BUSINESS_CRITICAL, + SQLMI_TIER_BUSINESS_CRITICAL_SHORT, + SQLMI_TIER_GENERAL_PURPOSE, + SQLMI_TIER_GENERAL_PURPOSE_SHORT, + ) +) + +# generic message to display allowed values +SQLMI_TIER_ALLOWED_VALUES_MSG = ( + "Allowed values: {0} ({1} for short) or " + "{2} ({3} for short). Default is {2}.".format( + SQLMI_TIER_BUSINESS_CRITICAL, + SQLMI_TIER_BUSINESS_CRITICAL_SHORT, + SQLMI_TIER_GENERAL_PURPOSE, + SQLMI_TIER_GENERAL_PURPOSE_SHORT, + ) +) + + +SQLMI_TIER_DEFAULT = SQLMI_TIER_GENERAL_PURPOSE + +SQLMI_GP_DEFAULT_REPLICAS = 1 +SQLMI_BC_DEFAULT_REPLICAS = 3 + +SQLMI_REPLICAS_ALLOWED_VALUES = ["1", "2", "3"] + +# ------------------------------------------------------------------------------ +# SQL MI sku constansts +# ------------------------------------------------------------------------------ +SQL_MI_SKU_NAME_VCORE = "vCore" + +# ------------------------------------------------------------------------------ +# SQL MI settings constansts +# ------------------------------------------------------------------------------ +SQLMI_AGENT_ENABLED = "sqlagent.enabled" +SQLMI_COLLATION = "collation" +SQLMI_LANGUAGE_LCID = "language.lcid" +SQLMI_TRACEFLAGS = "traceflags" +SQLMI_MEMORYLIMIT = "memorymemorylimitmb" +SQLMI_SETTINGS = "settings" +SQLMI_TIMEZONE = "timezone" + +BASE = os.path.dirname(os.path.realpath(__file__)) +""" +Base directory +""" + +TEMPLATE_DIR = os.path.join(BASE, "templates") +""" +Custom resource definition directory +""" + +SQLMI_SPEC = os.path.join(TEMPLATE_DIR, "sqlmi_spec.json") +""" +File location for sqlmi SPEC. +""" + +SQLMI_RESTORE_TASK_SPEC = os.path.join(TEMPLATE_DIR, "sqlmi_restore_task.json") +""" +File location for sqlmi restore task SPEC. +""" + +SQLMI_REPROVISION_REPLICA_TASK_SPEC = os.path.join( + TEMPLATE_DIR, "sqlmi_reprovision_replica_task.json" +) +""" +File location for sqlmi reprovision replica task SPEC. +""" + +REPROVISION_REPLICA_TASK_RESOURCE_KIND = ( + "SqlManagedInstanceReprovisionReplicaTask" +) +""" +Defines the Kubernetes custom resource kind for sql mi reprovision replica task +""" + +REPROVISION_REPLICA_TASK_RESOURCE_KIND_PLURAL = ( + "sqlmanagedinstancereprovisionreplicatasks" +) +""" +Defines the Kubernetes custom resource kind for sql mi reprovision replica task +""" + +SQLMI_DIRECT_MODE_SPEC_MERGE = os.path.join( + TEMPLATE_DIR, "sqlmi_default_properties_merge.json" +) +""" +File location for sqlmi direct mode SPEC output. +""" + +SQLMI_DIRECT_MODE_OUTPUT_SPEC = os.path.join( + TEMPLATE_DIR, "sqlmi_default_properties_output.json" +) +""" +File location for sqlmi direct mode SPEC output. +""" + +SYNC_SECONDARY_COMMIT_ALLOWED_VALUES = ["-1", "0", "1", "2"] + +AD_SUPPORTED_ENCRYPTION_TYPES = ["RC4", "AES128", "AES256"] + +TDE_MODE_TYPES = ["Disabled", "ServiceManaged", "CustomerManaged"] +""" +Different types of TDE modes supported by SQL MI and CLI +""" + +SQLMI_AUTO_UPGRADE_DOCS_LINK = "https://aka.ms/arc-sqlmi-auto-upgrade" + +AZDATA_SQLMI_ID = "AZDATA_SQLMI_ID" diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmi/custom.py b/src/arcdata/arcdata/azext_arcdata/sqlmi/custom.py new file mode 100644 index 00000000000..b7945891a1b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmi/custom.py @@ -0,0 +1,1941 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +import base64 +import json +import os +import re +import shutil +import sys +import time +from datetime import datetime +from src.arcdata.arcdata.azext_arcdata.vendored_sdks.kubernetes_sdk.json_serialization import ExtendedJsonEncoder + +import azext_arcdata.core.kubernetes as kubernetes_util +import yaml + +from azext_arcdata.core.identity import ArcDataCliCredential +from azext_arcdata.core.constants import ( + ARC_GROUP, + AZDATA_PASSWORD, + AZDATA_USERNAME, + CERT_ARGUMENT_ERROR_TEMPLATE, + DATA_CONTROLLER_PLURAL, + USE_K8S_EXCEPTION_TEXT, +) +from azext_arcdata.core.prompt import prompt, prompt_pass +from azext_arcdata.core.util import ( + ClearField, + FileUtil, + check_and_set_kubectl_context, + get_config_from_template, + is_windows, + retry, + parse_cert_files, + get_private_key_from_data, + get_private_key_from_file, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.util import ( + validate_certificate_secret, + create_certificate_secret, + check_secret_exists_with_retries, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.constants import ( + DATA_CONTROLLER_CRD_NAME, + SQLMI_CRD_NAME, + SQLMI_REPROVISION_REPLICA_TASK_CRD_NAME, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import ( + K8sApiException, + KubernetesClient, + KubernetesError, + http_status_codes, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.models import CustomResourceDefinition +from azext_arcdata.vendored_sdks.kubernetes_sdk.models.custom_resource import CustomResource +from azext_arcdata.vendored_sdks.kubernetes_sdk.models.data_controller_custom_resource import ( + DataControllerCustomResource, +) +from azext_arcdata.sqlmi.constants import ( + API_GROUP, + AZDATA_SQLMI_ID, + RESOURCE_KIND, + RESOURCE_KIND_PLURAL, + SQLMI_LICENSE_TYPE_DEFAULT, + SQLMI_SPEC, + SQLMI_TIER_BUSINESS_CRITICAL, + SQLMI_TIER_BUSINESS_CRITICAL_SHORT, + SQLMI_TIER_DEFAULT, + SQLMI_TIER_GENERAL_PURPOSE, + TASK_API_GROUP, +) +from azext_arcdata.sqlmi.exceptions import SqlmiError +from src.arcdata.arcdata.azext_arcdata.vendored_sdks.kubernetes_sdk.models.reprovision_replica_cr_model import ( + SqlmiReprovisionReplicaTaskCustomResource, +) +from src.arcdata.arcdata.azext_arcdata.vendored_sdks.kubernetes_sdk.models.sqlmi_cr_model import SqlmiCustomResource +from azext_arcdata.sqlmi.sqlmi_utilities import ( + get_sqlmi_custom_resource, + upgrade_sqlmi_instances, +) +from azext_arcdata.sqlmi.util import ( + CONNECTION_RETRY_ATTEMPTS, + RETRY_INTERVAL, + _parse_supported_ad_encryption_types, + is_valid_sql_password, + validate_ad_connector, + validate_admin_login_secret, + validate_keytab_secret, + validate_labels_and_annotations, + validate_sqlmi_name, +) +from humanfriendly.terminal.spinners import AutomaticSpinner +from knack.cli import CLIError +from knack.log import get_logger +from urllib3.exceptions import MaxRetryError, NewConnectionError + +logger = get_logger(__name__) + + +def arc_sql_mi_create( + client, + name, + path=None, + replicas=None, + orchestrator_replicas=None, + readable_secondaries=None, + sync_secondary_to_commit=None, + cores_limit=None, + cores_request=None, + memory_limit=None, + memory_request=None, + storage_class_data=None, + storage_class_logs=None, + storage_class_datalogs=None, + storage_class_backups=None, + storage_class_orchestrator_logs=None, + volume_size_data=None, + volume_size_logs=None, + volume_size_datalogs=None, + volume_size_backups=None, + volume_size_orchestrator_logs=None, + no_wait=False, + license_type=None, + tier=None, + dev=None, + time_zone=None, + retention_days=None, + service_type=None, + primary_dns_name=None, + primary_port_number=None, + secondary_dns_name=None, + secondary_port_number=None, + # -- indirect -- + namespace=None, + use_k8s=None, + noexternal_endpoint=None, + certificate_public_key_file=None, + certificate_private_key_file=None, + service_certificate_secret=None, + admin_login_secret=None, + labels=None, + annotations=None, + service_labels=None, + service_annotations=None, + storage_labels=None, + storage_annotations=None, + collation=None, + language=None, + agent_enabled=None, + trace_flags=None, + private_key_file=None, + # -- direct -- + custom_location=None, + resource_group=None, + # -- Active Directory -- + ad_connector_name=None, + ad_account_name=None, + keytab_secret=None, + ad_encryption_types=None, + # -- Transparent Data Encryption -- + tde_mode=None, + tde_protector_secret=None, + tde_protector_public_key_file=None, + tde_protector_private_key_file=None, +): + """ + Create a SQL managed instance. + """ + + args = locals() + + try: + if not use_k8s: + validate_sqlmi_name(name) + + from azext_arcdata.vendored_sdks.arm_sdk.client import ArmClient + + cred = ArcDataCliCredential() + subscription = client.subscription + armclient = ArmClient(cred, subscription) + sqlmi_namespace = ( + armclient._arm_clients.dc.get_custom_location_namespace( + custom_location, resource_group + ) + ) + azure_location = ( + armclient._arm_clients.dc.get_custom_location_region( + custom_location, resource_group + ) + ) + + # Note: might not be equal in a cross-namespace scenario + # + ad_connector_namespace = sqlmi_namespace + + return armclient.create_sqlmi( + name=name, + path=path, + replicas=replicas, + orchestrator_replicas=orchestrator_replicas, + readable_secondaries=readable_secondaries, + sync_secondary_to_commit=sync_secondary_to_commit, + cores_limit=cores_limit, + cores_request=cores_request, + memory_limit=memory_limit, + memory_request=memory_request, + storage_class_data=storage_class_data, + storage_class_logs=storage_class_logs, + storage_class_datalogs=storage_class_datalogs, + storage_class_backups=storage_class_backups, + storage_class_orchestrator_logs=storage_class_orchestrator_logs, + volume_size_data=volume_size_data, + volume_size_logs=volume_size_logs, + volume_size_datalogs=volume_size_datalogs, + volume_size_backups=volume_size_backups, + volume_size_orchestrator_logs=volume_size_orchestrator_logs, + license_type=license_type, + tier=tier, + dev=dev, + location=azure_location, + custom_location=custom_location, + resource_group=resource_group, + ad_connector_name=ad_connector_name, + ad_connector_namespace=ad_connector_namespace, + ad_account_name=ad_account_name, + keytab_secret=keytab_secret, + ad_encryption_types=ad_encryption_types, + tde_mode=tde_mode, + tde_protector_secret=tde_protector_secret, + primary_dns_name=primary_dns_name, + primary_port_number=primary_port_number, + secondary_dns_name=secondary_dns_name, + secondary_port_number=secondary_port_number, + polling=not no_wait, + retention_days=retention_days, + time_zone=time_zone, + service_type=service_type, + trace_flags=trace_flags, + private_key_file=private_key_file, + ) + + check_and_set_kubectl_context() + namespace = client.namespace + + rd = 7 if retention_days is None else retention_days + # Determine source for the resource spec preferring path first + # + if not path: + # TODO: Use mutating web hooks to set these default values + # + spec_object = { + "apiVersion": API_GROUP + + "/" + + KubernetesClient.get_crd_version(SQLMI_CRD_NAME), + "kind": RESOURCE_KIND, + "metadata": {}, + "spec": { + "backup": { + "retentionPeriodInDays": rd, + }, + "tier": SQLMI_TIER_DEFAULT, + "licenseType": SQLMI_LICENSE_TYPE_DEFAULT, + "storage": { + "data": {"volumes": [{"size": "5Gi"}]}, + "logs": {"volumes": [{"size": "5Gi"}]}, + }, + }, + } + + # Otherwise, use the provided azext_arcdata file. + # + else: + spec_object = FileUtil.read_json(path) + + # Decode base spec and apply args. Must patch namespace in separately + # since it's not parameterized in this func + cr = CustomResource.decode(SqlmiCustomResource, spec_object) + cr.metadata.namespace = namespace + cr.apply_args(**args) + cr.validate(client.apis.kubernetes) + + logger.debug("Using --dev == '%s'", cr.spec.dev) + + # If tier is provided and not replicas, then default replicas based on + # given tier value + # + if tier: + if not replicas: + if (tier == SQLMI_TIER_BUSINESS_CRITICAL) or ( + tier == SQLMI_TIER_BUSINESS_CRITICAL_SHORT + ): + cr.spec.replicas = 3 + + if replicas: + try: + cr.spec.replicas = int(replicas) + + # Set the tier based on specfied replicas. With fail safe + # validation enabled, it will go in error if user specifies + # incorrect value. + # + if not tier: + if cr.spec.replicas == 1: + cr.spec.tier = SQLMI_TIER_GENERAL_PURPOSE + else: + cr.spec.tier = SQLMI_TIER_BUSINESS_CRITICAL + except ValueError as e: + raise CLIError(e) + + if storage_class_backups is not None: + kubernetes_util.validate_rwx_storage_class( + name=storage_class_backups, storage_type="backup", instance_type="SQLMI" + ) + + # if readable_secondaries is not set. use default value + # + if readable_secondaries is None: + cr.spec.readableSecondaries = min(cr.spec.replicas - 1, 1) + + validate_labels_and_annotations( + labels, + annotations, + service_labels, + service_annotations, + storage_labels, + storage_annotations, + ) + + custom_object_exists = retry( + lambda: client.apis.kubernetes.namespaced_custom_object_exists( + name, + namespace, + group=API_GROUP, + version=KubernetesClient.get_crd_version(SQLMI_CRD_NAME), + plural=RESOURCE_KIND_PLURAL, + ), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="get namespaced custom object", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + KubernetesError, + ), + ) + if custom_object_exists: + raise ValueError( + "Arc SQL managed instance `{}` already exists in namespace " + "`{}`.".format(name, namespace) + ) + + # Validate Active Directory args if enabling AD auth + # + if ad_connector_name: + # Note: might not be equal in a cross-namespace scenario + # + ad_connector_namespace = namespace + + validate_ad_connector( + client.apis.kubernetes, + ad_connector_name, + ad_connector_namespace, + namespace, + keytab_secret, + ) + + if ad_encryption_types: + cr.spec.security.activeDirectory.encryption_types = ( + _parse_supported_ad_encryption_types(ad_encryption_types) + ) + + if not noexternal_endpoint: + if not service_type: + response = retry( + lambda: client.apis.kubernetes.list_namespaced_custom_object( + namespace, + group=ARC_GROUP, + version=KubernetesClient.get_crd_version( + DATA_CONTROLLER_CRD_NAME + ), + plural=DATA_CONTROLLER_PLURAL, + ), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="list namespaced custom object", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + K8sApiException, + ), + ) + + dcs = response.get("items") + if not dcs: + raise CLIError( + "No data controller exists in namespace `{}`. Cannot set " + "external endpoint argument.".format(namespace) + ) + else: + dc_cr = CustomResource.decode( + DataControllerCustomResource, dcs[0] + ) + service_type = dc_cr.get_controller_service().serviceType + + cr.spec.services.primary.serviceType = service_type + cr.spec.services.readable_secondaries.serviceType = service_type + + # Create admin login secret + # + if not admin_login_secret: + # Use default secret name when the user does not provide one. + # + admin_login_secret = name + "-login-secret" + + # Stamp the secret name on the custom resource. + # + cr.spec.security.adminLoginSecret = admin_login_secret + + login_secret_exists = check_secret_exists_with_retries( + client.apis.kubernetes, cr.metadata.namespace, admin_login_secret + ) + + if login_secret_exists: + # Validate that the existing login secret has correct format. + # + validate_admin_login_secret( + client, cr.metadata.namespace, admin_login_secret + ) + else: + username, pw = _get_user_pass(client, name) + + secrets = dict() + encoding = "utf-8" + secrets["secretName"] = admin_login_secret + secrets["base64Username"] = base64.b64encode( + bytes(username, encoding) + ).decode(encoding) + secrets["base64Password"] = base64.b64encode( + bytes(pw, encoding) + ).decode(encoding) + + machineId = _get_sql_mi_id(private_key_file) + if machineId: + secrets["base64MachineId"] = machineId + + temp = get_config_from_template( + os.path.join( + os.path.dirname(os.path.realpath(__file__)), + "templates", + "useradmin-login.yaml.tmpl", + ), + secrets, + ) + mssql_secret = yaml.safe_load(temp) + + try: + retry( + lambda: client.apis.kubernetes.create_secret( + cr.metadata.namespace, + mssql_secret, + ignore_conflict=True, + ), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="create secret", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + K8sApiException, + ), + ) + + except K8sApiException as e: + if e.status != http_status_codes.conflict: + raise + + if tde_mode: + cr.spec.security.transparentDataEncryption.mode = tde_mode + if tde_mode.lower() == "customermanaged": + _create_service_certificate( + client, + cr, + name, + tde_protector_public_key_file, + tde_protector_private_key_file, + tde_protector_secret, + is_tde_protector=True, + ) + elif not tde_protector_secret: + cr.spec.security.transparentDataEncryption.protectorSecret = ( + ClearField() + ) + else: + raise CLIError( + "Cannot specify --tde-protector-secret when --tde-mode is not " + "CustomerManaged." + ) + + # Create service certificate based on parameters + # + _create_service_certificate( + client, + cr, + name, + certificate_public_key_file, + certificate_private_key_file, + service_certificate_secret, + ) + + # Create custom resource. + # + retry( + lambda: client.apis.kubernetes.create_namespaced_custom_object( + cr=cr, plural=RESOURCE_KIND_PLURAL, ignore_conflict=True + ), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="create namespaced custom object", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + KubernetesError, + ), + ) + + if no_wait: + client.stdout( + "Deployed {0} in namespace `{1}`. Please use `az sql mi-arc " + "show -n {0} --k8s-namespace {1} --use-k8s` to check its " + "status.".format(cr.metadata.name, cr.metadata.namespace) + ) + else: + deployed_cr = get_sqlmi_custom_resource( + client.apis.kubernetes, name, namespace + ) + + if not is_windows(): + with AutomaticSpinner( + "Deploying {0} in namespace `{1}`".format( + cr.metadata.name, cr.metadata.namespace + ), + show_time=True, + ): + while not _is_instance_ready(deployed_cr): + if _is_instance_in_error(deployed_cr): + raise SqlmiError( + "{0} is in error state: {1}".format( + cr.metadata.name, + _get_error_message(deployed_cr), + ) + ) + + time.sleep(5) + deployed_cr = get_sqlmi_custom_resource( + client.apis.kubernetes, name, namespace + ) + else: + client.stdout( + "Deploying {0} in namespace `{1}`".format(name, namespace) + ) + while not _is_instance_ready(deployed_cr): + if _is_instance_in_error(deployed_cr): + raise SqlmiError( + "{0} is in error state: {1}".format( + cr.metadata.name, + _get_error_message(deployed_cr), + ) + ) + + time.sleep(5) + deployed_cr = get_sqlmi_custom_resource( + client.apis.kubernetes, name, namespace + ) + + if _is_instance_ready(deployed_cr): + client.stdout("{0} is Ready".format(cr.metadata.name)) + + except KubernetesError as e: + raise SqlmiError(e.message) + except ValueError as e: + raise CLIError(e) + except Exception as e: + raise CLIError(e) + + +def arc_sql_mi_upgrade( + client, + namespace=None, + name=None, + field_filter=None, + label_filter=None, + desired_version=None, + dry_run=None, + force=False, + use_k8s=None, + resource_group=None, + no_wait=False, +): + if name is None and field_filter is None and label_filter is None: + raise CLIError( + "One of the following parameters is " + "required: --name, --field-filter, --label-filter" + ) + + try: + if not use_k8s: + from azext_arcdata.vendored_sdks.arm_sdk.client import ArmClient + + if name is None: + raise CLIError( + "Parameter --name must be used for connected mode upgrades" + ) + + cred = ArcDataCliCredential() + subscription = client.subscription + armclient = ArmClient(cred, subscription) + + armclient.upgrade_sqlmi( + resource_group, + name, + desired_version, + dry_run, + no_wait, + ) + + else: + namespace = client.namespace + + upgrade_sqlmi_instances( + namespace, + name, + field_filter, + label_filter, + desired_version, + dry_run, + force, + use_k8s, + ) + except KubernetesError as e: + raise SqlmiError(e.message) + except Exception as e: + raise CLIError(e) + + +def arc_sql_mi_edit( + client, + name, + namespace=None, + path=None, + cores_limit=None, + cores_request=None, + memory_limit=None, + memory_request=None, + license_type=None, + tier=None, + nowait=False, + dev=None, + labels=None, + annotations=None, + service_labels=None, + service_annotations=None, + agent_enabled=None, + trace_flags=None, + time_zone=None, + use_k8s=None, + retention_days=None, + # -- direct -- + resource_group=None, + location=None, + custom_location=None, + tag_name=None, + tag_value=None, +): + """ + Deprecated, use update over edit. + """ + try: + arc_sql_mi_update( + client, + name, + path=path, + time_zone=time_zone, + cores_limit=cores_limit, + cores_request=cores_request, + memory_limit=memory_limit, + memory_request=memory_request, + license_type=license_type, + tier=tier, + no_wait=nowait, + labels=labels, + annotations=annotations, + service_labels=service_labels, + service_annotations=service_annotations, + agent_enabled=agent_enabled, + trace_flags=trace_flags, + retention_days=retention_days, + certificate_public_key_file=None, + certificate_private_key_file=None, + service_certificate_secret=None, + preferred_primary_replica=None, + # -- indirect -- + use_k8s=use_k8s, + namespace=namespace, + # -- direct -- + resource_group=resource_group, + # location=location, + # custom_location=custom_location, + # tag_name=tag_name, + # tag_value=tag_value, + ) + except KubernetesError as e: + raise SqlmiError(e.message) + except Exception as e: + raise CLIError(e) + + +def arc_sql_mi_update( + client, + name, + replicas=None, + orchestrator_replicas=None, + readable_secondaries=None, + sync_secondary_to_commit=None, + path=None, + time_zone=None, + cores_limit=None, + cores_request=None, + memory_limit=None, + memory_request=None, + license_type=None, + tier=None, + no_wait=False, + labels=None, + annotations=None, + service_labels=None, + service_annotations=None, + agent_enabled=None, + trace_flags=None, + retention_days=None, + certificate_public_key_file=None, + certificate_private_key_file=None, + service_certificate_secret=None, + preferred_primary_replica=None, + # -- indirect -- + use_k8s=None, + namespace=None, + # -- direct -- + resource_group=None, + # -- Active Directory -- + keytab_secret=None, + ad_encryption_types=None, + # -- Transparent Data Encryption -- + tde_mode=None, + tde_protector_secret=None, + tde_protector_public_key_file=None, + tde_protector_private_key_file=None, +): + """ + Edit the configuration of a SQL managed instance. + """ + # -- currently not used, setting to empty -- + primary_replica_failover_interval = None + + args = locals() + + def _check_replica_name(n, num_of_replicas, replica_name) -> bool: + if replica_name == "any": + return True + x = replica_name.rfind("-") + if x == -1: + return False + if replica_name[:x] != n: + return False + + x += 1 + if int(replica_name[x:]) >= int(num_of_replicas): + return False + return True + + try: + if not use_k8s: + from azext_arcdata.vendored_sdks.arm_sdk.client import ArmClient + + cred = ArcDataCliCredential() + subscription = client.subscription + armclient = ArmClient(cred, subscription) + + validate_labels_and_annotations( + labels, + annotations, + service_labels, + service_annotations, + None, + None, + ) + sqlmi = armclient.get_sqlmi(resource_group, name) + + if keytab_secret: + sqlmi_namespace = sqlmi["properties"]["k8_s_raw"]["spec"][ + "metadata" + ]["namespace"] + security = sqlmi["properties"]["k8_s_raw"]["spec"]["security"] + if security and not security["activeDirectory"]: + raise CLIError( + "Cannot update Active Directory (AD) keytab if this " + "instance does not have AD enabled." + ) + validate_keytab_secret( + client.apis.kubernetes, sqlmi_namespace, keytab_secret + ) + + return armclient.update_sqlmi( + name=name, + replicas=replicas, + orchestrator_replicas=orchestrator_replicas, + readable_secondaries=readable_secondaries, + sync_secondary_to_commit=sync_secondary_to_commit, + cores_limit=cores_limit, + cores_request=cores_request, + memory_limit=memory_limit, + memory_request=memory_request, + license_type=license_type, + tier=tier, + polling=not no_wait, + labels=labels, + annotations=annotations, + service_labels=service_labels, + service_annotations=service_annotations, + agent_enabled=agent_enabled, + trace_flags=trace_flags, + retention_days=retention_days, + resource_group=resource_group, + keytab_secret=keytab_secret, + ad_encryption_types=ad_encryption_types, + tde_mode=tde_mode, + tde_protector_secret=tde_protector_secret, + ) + + check_and_set_kubectl_context() + namespace = client.namespace + + validate_labels_and_annotations( + labels, annotations, service_labels, service_annotations, None, None + ) + + if path: + # Read azext_arcdata file for edit + json_object = FileUtil.read_json(path) + cr = CustomResource.decode(SqlmiCustomResource, json_object) + else: + cr = get_sqlmi_custom_resource( + client.apis.kubernetes, name, namespace + ) + + cr.apply_args(**args) + cr.validate(client.apis.kubernetes) + + # Active Directory only + # + if keytab_secret or ad_encryption_types: + if not cr.spec.security.activeDirectory: + raise CLIError( + "Cannot update Active Directory (AD) settings if this " + "instance does not have AD enabled." + ) + if keytab_secret: + validate_keytab_secret(client, namespace, keytab_secret) + cr.spec.security.activeDirectory.keytab_secret = keytab_secret + if ad_encryption_types: + cr.spec.security.activeDirectory.encryption_types = ( + _parse_supported_ad_encryption_types(ad_encryption_types) + ) + + if preferred_primary_replica: + if not _check_replica_name( + name, + cr.spec.replicas, + preferred_primary_replica, + ): + raise CLIError( + "Wrong pod name {0}".format(preferred_primary_replica) + ) + cr.spec.preferredPrimaryReplicaSpec.preferredPrimaryReplica = ( + preferred_primary_replica + ) + + if not primary_replica_failover_interval: + primary_replica_failover_interval = 600 + + cr.spec.preferredPrimaryReplicaSpec.primaryReplicaFailoverInterval = ( + int(primary_replica_failover_interval) + ) + cr.spec.backup.retentionPeriodInDays = retention_days + + if tde_mode: + cr.spec.security.transparentDataEncryption.mode = tde_mode + if tde_mode.lower() == "customermanaged": + _create_service_certificate( + client, + cr, + name, + tde_protector_public_key_file, + tde_protector_private_key_file, + tde_protector_secret, + is_tde_protector=True, + ) + elif not tde_protector_secret: + cr.spec.security.transparentDataEncryption.protectorSecret = ( + ClearField() + ) + else: + raise CLIError( + "Cannot specify --tde-protector-secret when --tde-mode is not " + "CustomerManaged." + ) + + _create_service_certificate( + client, + cr, + name, + certificate_public_key_file, + certificate_private_key_file, + service_certificate_secret, + is_update=True, + ) + + # Patch CR + client.apis.kubernetes.patch_namespaced_custom_object( + cr=cr, plural=RESOURCE_KIND_PLURAL + ) + + if no_wait: + client.stdout( + "Updated {0} in namespace `{1}`. Please use `az sql mi-arc " + "show -n {0} --k8s-namespace {1} --use-k8s` to check " + "its status.".format(cr.metadata.name, cr.metadata.namespace) + ) + else: + # Wait for the CR to reflect new state + time.sleep(5) + + deployed_cr = get_sqlmi_custom_resource( + client.apis.kubernetes, name, namespace + ) + + if not is_windows(): + with AutomaticSpinner( + "Updating {0} in namespace `{1}`".format( + cr.metadata.name, cr.metadata.namespace + ), + show_time=True, + ): + while not _is_instance_ready(deployed_cr): + if _is_instance_in_error(deployed_cr): + raise SqlmiError( + "{0} is in error state:{1}".format( + cr.metadata.name, + _get_error_message(deployed_cr), + ) + ) + + time.sleep(5) + deployed_cr = get_sqlmi_custom_resource( + client.apis.kubernetes, name, namespace + ) + else: + client.stdout( + "Updating {0} in namespace `{1}`".format(name, namespace) + ) + while not _is_instance_ready(deployed_cr): + if _is_instance_in_error(deployed_cr): + raise SqlmiError( + "{0} is in error state:{1}".format( + cr.metadata.name, + _get_error_message(deployed_cr), + ) + ) + + time.sleep(5) + deployed_cr = get_sqlmi_custom_resource( + client.apis.kubernetes, name, namespace + ) + + if _is_instance_ready(deployed_cr): + client.stdout("{0} is Ready".format(cr.metadata.name)) + + except KubernetesError as e: + raise SqlmiError(e.message) + except Exception as e: + raise CLIError(e) + + +def arc_sql_mi_delete( + client, name, resource_group=None, namespace=None, use_k8s=None +): + """ + Delete a SQL managed instance. + """ + try: + if not use_k8s: + from azext_arcdata.vendored_sdks.arm_sdk.client import ArmClient + + cred = ArcDataCliCredential() + subscription = client.subscription + armclient = ArmClient(cred, subscription) + return armclient.delete_sqlmi( + rg_name=resource_group, sqlmi_name=name + ) + + check_and_set_kubectl_context() + + namespace = namespace or client.namespace + + client.apis.kubernetes.delete_namespaced_custom_object( + name=name, + namespace=namespace, + group=API_GROUP, + version=KubernetesClient.get_crd_version(SQLMI_CRD_NAME), + plural=RESOURCE_KIND_PLURAL, + ) + + client.stdout("Deleted {} from namespace {}".format(name, namespace)) + + except KubernetesError as e: + raise SqlmiError(e.message) + except Exception as e: + raise CLIError(e) + + +def arc_sql_mi_show( + client, name, resource_group=None, path=None, namespace=None, use_k8s=None +): + """ + Show the details of a SQL managed instance. + """ + try: + if not use_k8s: + from azext_arcdata.vendored_sdks.arm_sdk.client import ArmClient + + cred = ArcDataCliCredential() + subscription = client.subscription + arm_client = ArmClient(cred, subscription) + + response = arm_client.get_sqlmi_as_obj( + rg_name=resource_group, sqlmi_name=name + ) + + # state = poller.as_dict()["properties"]["provisioning_state"] + # if state: + # return {"provisioningState": state} + else: + check_and_set_kubectl_context() + namespace = namespace or client.namespace + + response = get_sqlmi_custom_resource( + client.apis.kubernetes, name, namespace + ).encode() + + if path: + if not os.path.isdir(path): + os.makedirs(path) + path = os.path.join(path, "{}.json".format(name)) + with open(path, "w") as outfile: + json.dump(response, outfile, indent=4) + client.stdout("{0} specification written to {1}".format(name, path)) + else: + return response + + except KubernetesError as e: + raise SqlmiError(e.message) + except Exception as e: + raise CLIError(e) + + +def arc_sql_mi_getmirroringcert( + client, name, cert_file, namespace=None, use_k8s=None +): + try: + if not use_k8s: + raise ValueError(USE_K8S_EXCEPTION_TEXT) + + check_and_set_kubectl_context() + namespace = namespace or client.namespace + + cr = get_sqlmi_custom_resource(client.apis.kubernetes, name, namespace) + data_pem = cr.status.highAvailability.mirroringCertificate + + client.stdout( + "The mirroring certificate has been written to file {0}:\n{1}".format( + cert_file, data_pem + ) + ) + + file = open(cert_file, "w") + file.write(data_pem) + file.close() + except Exception as e: + raise CLIError(e) + + +def arc_sql_mi_list( + client, + resource_group=None, + custom_location=None, + namespace=None, + use_k8s=None, +): + """ + List SQL managed instances. + """ + try: + result = [] + if not use_k8s: + from azext_arcdata.vendored_sdks.arm_sdk.client import ArmClient + + cred = ArcDataCliCredential() + subscription = client.subscription + armclient = ArmClient(cred, subscription) + items = armclient.list_sqlmi( + rg_name=resource_group, cl_name=custom_location + ) + for item in items: + result.append(item) + + client.stdout( + "Found {} Arc-enabled SQL Managed Instances.".format( + len(result) + ) + ) + + else: + check_and_set_kubectl_context() + namespace = namespace or client.namespace + + response = client.apis.kubernetes.list_namespaced_custom_object( + namespace, + group=API_GROUP, + version=KubernetesClient.get_crd_version(SQLMI_CRD_NAME), + plural=RESOURCE_KIND_PLURAL, + ) + items = response.get("items") + # Temporary, need to discuss what the intended structure is across + # partners + for item in items: + cr = CustomResource.decode(SqlmiCustomResource, item) + result.append( + { + "name": cr.metadata.name, + "primaryEndpoint": ( + cr.status.endpoints.primary + if cr.status.endpoints + else None + ), + "replicas": ( + "{}/{}".format( + cr.status.roles.sql.readyReplicas, + cr.status.roles.sql.replicas, + ) + if cr.status.roles.sql + else None + ), + "state": cr.status.state, + "desiredVersion": ( + cr.spec.update.desiredVersion + if cr.spec.update + else None + ), + "runningVersion": cr.status.runningVersion, + } + ) + + client.stdout( + "Found {} Arc-enabled SQL Managed Instances in namespace {}".format( + len(result), namespace + ) + ) + + return result + + except KubernetesError as e: + raise SqlmiError(e.message) + except Exception as e: + raise CLIError(e) + + +def arc_sql_endpoint_list(client, name=None, namespace=None, use_k8s=None): + """ + List endpoints for the given SQL managed instance(s). + """ + try: + if not use_k8s: + raise ValueError(USE_K8S_EXCEPTION_TEXT) + + check_and_set_kubectl_context() + + namespace = namespace or client.namespace + + custom_resources = [] + + if name: + cr = get_sqlmi_custom_resource( + client.apis.kubernetes, name, namespace + ) + if cr is None: + raise CLIError( + "SQL managed instance {0} not found in namespace {1}.".format( + name, namespace + ) + ) + custom_resources.append(cr) + else: + response = client.apis.kubernetes.list_namespaced_custom_object( + namespace, + group=API_GROUP, + version=KubernetesClient.get_crd_version(SQLMI_CRD_NAME), + plural=RESOURCE_KIND_PLURAL, + ) + + items = response.get("items") + + for item in items: + cr = CustomResource.decode(SqlmiCustomResource, item) + if cr: + custom_resources.append(cr) + + arc_sql_endpoints = {"namespace": namespace} + instances = [] + + # Loop through the specified custom resources and retrieve their + # endpoints from their status + for cr in custom_resources: + endpoints = [] + + if cr.status: + descrip_str = "description" + endpoint_str = "endpoint" + + # Connection string + endpoints.append( + { + descrip_str: "SQL Managed Instance", + endpoint_str: ( + cr.status.endpoints.primary + if cr.status.endpoints + and cr.status.endpoints.primary + else "Not yet available" + ), + } + ) + + # Logs + endpoints.append( + { + descrip_str: "Log Search Dashboard", + endpoint_str: ( + cr.status.endpoints.log_search_dashboard + if cr.status.endpoints + and cr.status.endpoints.log_search_dashboard + else "Not yet available" + ), + } + ) + + # Metrics + endpoints.append( + { + descrip_str: "Metrics Dashboard", + endpoint_str: ( + cr.status.endpoints.metrics_dashboard + if cr.status.endpoints + and cr.status.endpoints.metrics_dashboard + else "Not yet available" + ), + } + ) + + # Readable Secondary Endpoint + if cr.status.endpoints and cr.status.endpoints.secondary: + endpoints.append( + { + descrip_str: "SQL Managed Instance Readable " + "Secondary Replicas", + endpoint_str: cr.status.endpoints.secondary, + } + ) + + instances.append({"name": cr.metadata.name, "endpoints": endpoints}) + + arc_sql_endpoints["instances"] = instances + + return arc_sql_endpoints + + except KubernetesError as e: + raise CLIError(e.message) + except Exception as e: + raise CLIError(e) + + +def arc_sql_mi_config_init(client, path): + """ + Returns a package of crd.json and spec-template.json. + """ + try: + if not os.path.isdir(path): + os.makedirs(path, exist_ok=True) + + crd = KubernetesClient.get_crd(SQLMI_CRD_NAME).to_dict() + + # clean up fields not needed + crd["metadata"].pop("managed_fields", None) + crd.pop("status", None) + + with open(os.path.join(path, "crd.json"), "w") as output: + json.dump( + crd, + output, + check_circular=False, + cls=ExtendedJsonEncoder, + indent=4, + ) + + # Copy spec.json template to the new path + shutil.copy(SQLMI_SPEC, os.path.join(path, "spec.json")) + + client.stdout( + "{0} templates created in directory: {1}".format( + RESOURCE_KIND, path + ) + ) + + except Exception as e: + raise CLIError(e) + + +def arc_sql_mi_config_add(client, path, json_values): + """ + Add new key and value to the given config file + """ + try: + client.add_configuration(path, json_values) + except Exception as e: + raise CLIError(e) + + +def arc_sql_mi_config_replace(client, path, json_values): + """ + Replace the value of a given key in the given config file + """ + try: + client.replace_configuration(path, json_values) + except Exception as e: + raise CLIError(e) + + +def arc_sql_mi_config_remove(client, path, json_path): + """ + Remove a key from the given config file + """ + try: + client.remove_configuration(path, json_path) + except Exception as e: + raise CLIError(e) + + +def arc_sql_mi_config_patch(client, path, patch_file): + """ + Patch a given file against the given config file + """ + try: + client.patch_configuration(path, patch_file) + except Exception as e: + raise CLIError(e) + + +def arc_sql_mi_reprovision_replica( + client, + name, + no_wait=False, + # -- indirect -- + use_k8s=None, + namespace=None, +): + """ + reprovision a SQL managed instance replica. + """ + args = locals() + + try: + if not use_k8s: + raise ValueError(USE_K8S_EXCEPTION_TEXT) + + check_and_set_kubectl_context() + namespace = namespace or client.namespace + + task_name = ( + "sql-reprov-replica-" + + name + + "-" + + str(datetime.timestamp(datetime.now())) + ) + crd = CustomResourceDefinition( + KubernetesClient.get_crd(SQLMI_REPROVISION_REPLICA_TASK_CRD_NAME) + ) + + spec_object = { + "apiVersion": crd.group + "/" + crd.stored_version, + "kind": crd.kind, + "metadata": { + "name": task_name, + "namespace": namespace, + }, + "spec": { + "replicaName": name, + }, + } + + # Decode base spec and apply args. Must patch namespace in separately + # since it's not parameterized in this func + # + cr = CustomResource.decode( + SqlmiReprovisionReplicaTaskCustomResource, spec_object + ) + + cr.validate(client.apis.kubernetes) + + # Create custom resource. + # + retry( + lambda: client.apis.kubernetes.create_namespaced_custom_object( + cr=cr, + plural=crd.plural, + ignore_conflict=True, + ), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="create namespaced custom object", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + KubernetesError, + ), + ) + + if no_wait: + # get status via kubectl + # + client.stdout( + "Reprovisioning replica {0} in namespace `{1}`. Please use\n" + "`kubectl get -n {1} {2} {3}`\nto check its status or \n" + "`kubectl get -n {1} {2}`\nto view all reprovision tasks.".format( + cr.spec.replicaName, + cr.metadata.namespace, + crd.kind, + task_name, + ) + ) + else: + response = retry( + lambda: client.apis.kubernetes.get_namespaced_custom_object( + cr.metadata.name, + cr.metadata.namespace, + group=crd.group, + version=crd.stored_version, + plural=crd.plural, + ), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="get namespaced custom object", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + KubernetesError, + ), + ) + + deployed_cr = CustomResource.decode( + SqlmiReprovisionReplicaTaskCustomResource, response + ) + + get_namespaced_custom_object = ( + client.apis.kubernetes.get_namespaced_custom_object + ) + + def _is_task_failed(): + return ( + deployed_cr.status.state is not None + and deployed_cr.status.state.lower() == "failed" + ) + + def _is_task_completed(): + return ( + deployed_cr.status.state is not None + and deployed_cr.status.state.lower() == "completed" + ) + + if not is_windows(): + with AutomaticSpinner( + "Running task {0} in namespace `{1}`".format( + cr.metadata.name, cr.metadata.namespace + ), + show_time=True, + ): + while not _is_task_completed(): + if _is_task_failed(): + raise SqlmiError( + "{0} is in error state: {1}".format( + cr.metadata.name, + _get_error_message(deployed_cr), + ) + ) + + time.sleep(5) + response = retry( + lambda: get_namespaced_custom_object( + cr.metadata.name, + cr.metadata.namespace, + group=TASK_API_GROUP, + version=KubernetesClient.get_crd_version( + SQLMI_REPROVISION_REPLICA_TASK_CRD_NAME + ), + plural=crd.plural, + ), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="get namespaced custom object", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + KubernetesError, + ), + ) + + deployed_cr = CustomResource.decode( + SqlmiReprovisionReplicaTaskCustomResource, response + ) + else: + client.stdout( + "Running task {0} in namespace `{1}`".format( + name, namespace + ) + ) + while not _is_task_completed(): + if _is_task_failed(): + raise SqlmiError( + "{0} is in error state: {1}".format( + cr.metadata.name, + _get_error_message(deployed_cr), + ) + ) + + time.sleep(5) + response = retry( + lambda: get_namespaced_custom_object( + cr.metadata.name, + cr.metadata.namespace, + group=TASK_API_GROUP, + version=KubernetesClient.get_crd_version( + SQLMI_REPROVISION_REPLICA_TASK_CRD_NAME + ), + plural=crd.plural, + ), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="get namespaced custom object", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + KubernetesError, + ), + ) + + deployed_cr = CustomResource.decode( + SqlmiReprovisionReplicaTaskCustomResource, response + ) + + if _is_task_completed(): + client.stdout("{0} is Ready".format(cr.metadata.name)) + + except KubernetesError as e: + raise SqlmiError(e.message) + except ValueError as e: + raise CLIError(e) + except Exception as e: + raise CLIError(e) + + +def _is_instance_ready(cr): + """ + Verify that the SQL Mi instance is ready + :param cr: Instance to check the readiness of + :return: True if the instance is ready, False otherwise + """ + return cr.metadata.generation == cr.status.observed_generation and ( + cr.status.state is not None and cr.status.state.lower() == "ready" + ) + + +def _is_instance_in_error(cr): + """ + Check that the SQL Mi instance is in error state + :param cr: Instance to check the readiness of + :return: True if the instance is in error, False otherwise + """ + return cr.status.state is not None and cr.status.state.lower() == "error" + + +def _get_error_message(cr): + """ + Get error message from the status of custom resource + :param cr: Instance to get error message. + """ + return cr.status.message + + +def _get_sql_mi_id(private_key_file): + machineId = os.environ.get(AZDATA_SQLMI_ID) + if not machineId: + if private_key_file: + if sys.stdin.isatty(): + print("Reading private key file.") + machineId = get_private_key_from_file(private_key_file, None) + else: + raise ValueError( + "Please provide an Arc SQL managed instance id " + "through the env variable AZDATA_SQLMI_ID." + ) + return machineId + + +def _get_user_pass(client, name): + # Username + username = os.environ.get(AZDATA_USERNAME) + if not username: + if sys.stdin.isatty(): + username = prompt("Arc SQL managed instance username:") + else: + raise ValueError( + "Please provide an Arc SQL managed instance username " + "through the env variable AZDATA_USERNAME." + ) + else: + client.stdout( + "Using AZDATA_USERNAME environment variable for `{}` " + "username.".format(name) + ) + + while username == "sa" or username == "": + if username == "sa": + username = prompt( + "The login 'sa' is not allowed. Please use a " + "different login." + ) + if username == "": + username = prompt("Login username required. Please enter a login.") + + # Password + pw = os.environ.get(AZDATA_PASSWORD) + if not pw: + if sys.stdin.isatty(): + while not pw: + pw = prompt_pass("Arc SQL managed instance password:", True) + if not is_valid_sql_password(pw, "sa"): + client.stderr( + "\nError: SQL Server passwords must be at " + "least 8 characters long, cannot contain the " + "username, and must contain characters from " + "three of the following four sets: Uppercase " + "letters, Lowercase letters, Base 10 digits, " + "and Symbols. Please try again.\n" + ) + pw = None + else: + raise ValueError( + "Please provide an Arc SQL managed instance password " + "through the env variable AZDATA_PASSWORD." + ) + else: + client.stdout( + "Using AZDATA_PASSWORD environment variable for `{}` " + "password.".format(name) + ) + + return username, pw + + +def _create_service_certificate( + client, + cr, + name, + certificate_public_key_file, + certificate_private_key_file, + service_certificate_secret, + is_update=False, + is_tde_protector=False, +): + """ + Creates service certificate based on parameters. + """ + + # Handle certificate secret related parameters. + # + # Cases: + # + # 1. When only one of certificate_public_key_file and certificate_ + # private_key_file are provided, fail with a message saying both + # are required if one is provided. + # + # 2. When both certificate_public_key_file and + # certificate_private_key_file are provided, then there are + # two subcases: + # + # 2.1. If service_certificate_secret parameter is NOT provided, use + # default name for the secret along with a unique id such as + # timestamp appended to it. Check if the secret exists. + # + # 2.1.1. If secret does not exist, then create it. + # + # 2.1.2. If the secret exists, retry with a different unique + # identifier. + # + # 2.2. If service_certificate_secret parameter is provided, use that + # string as the secret name and check if the secret exists. + # + # 2.2.1. If secret does not exist, then create it. + # + # 2.2.2. If the secret exists, fail indicating that if the + # secret exists and the parameters for certificate files + # should not be provided. + # + # 3. When both certificate_public_key_file and + # certificate_private_key_file are NOT provided, then there are two + # subcases: + # + # 3.1. If service_certificate_secret parameter is NOT provided, do + # NOT use default value. User intends to use system generated + # certificate. + # + # 3.2. If service_certificate_secret parameter is provided, use that + # string as the secret name and check if the secret already + # exists. + # + # 3.2.1. If the secret exists, validate and use it. + # + # 3.2.2. If the secret does not exist, fail. + + create_new_secret = False + use_existing_secret = False + default_service_certificate_secret_name = name + "-certificate-secret" + + # Erase the certificate name from the custom resource for not update. + # It will be added only if necessary upon validation. + # + if not is_update: + cr.spec.security.serviceCertificateSecret = "" + + # Case 1. When only one of certificate_public_key_file and + # certificate_private_key_file are provided, fail with a + # message saying both are required if one is provided. + # + # + if not certificate_public_key_file and certificate_private_key_file: + raise ValueError( + "Certificate public key file path must be provided " + "when private key path is provided." + ) + + if certificate_public_key_file and not certificate_private_key_file: + raise ValueError( + "Certificate private key file path must be provided " + "when public key path is provided." + ) + + # Case 2. When both certificate_public_key_file and + # certificate_private_key_file are provided. + # + if certificate_public_key_file and certificate_private_key_file: + # Case 2.1. If service_certificate_secret parameter is NOT provided, + # use default name for the secret along with a unique id + # such as timestamp appended to it. Check if the secret + # exists. + # + if not service_certificate_secret: + # Case 2.1.1. If secret does not exist, then create it. + # + # Case 2.1.2. If the secret exists, retry with a different + # unique identifier. + # + certificate_secret_exists = True + while certificate_secret_exists: + timestamp = datetime.now().strftime( + "%m-%d-%Y-%H-%M-%S-%f" + ) # e.g. '07-02-2021-23-00-37-846604' + + # Secret name must be a valid DNS-1123 subdomain name. + # Kubernetes uses this regex for validation: + # '[a-z0-9]([-a-z0-9]*[a-z0-9])? + # (\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*' + # + service_certificate_secret = ( + default_service_certificate_secret_name + "-" + timestamp + ) + + certificate_secret_exists = check_secret_exists_with_retries( + client.apis.kubernetes, + cr.metadata.namespace, + service_certificate_secret, + ) + + # Set flag to create new secret. + # + create_new_secret = True + + # Case 2.2. If service_certificate_secret parameter is provided, use + # that string asthe secret name and check if the secret + # exists. + # + else: + certificate_secret_exists = check_secret_exists_with_retries( + client.apis.kubernetes, + cr.metadata.namespace, + service_certificate_secret, + ) + + # Case 2.2.1. If secret does not exist, then create it. + # + if not certificate_secret_exists: + # Set flag to create new secret. + # + create_new_secret = True + + # Case 2.2.2. If the secret exists, fail indicating that if the + # secret exists and the parameters for certificate + # files should not be provided. + # + else: + raise ValueError( + CERT_ARGUMENT_ERROR_TEMPLATE.format( + service_certificate_secret + ) + ) + + # Case 3. When both certificate_public_key_file and + # certificate_private_key_file are NOT provided. + # + if not certificate_public_key_file and not certificate_private_key_file: + # Case 3.1. If service_certificate_secret parameter is NOT provided, + # do NOT use default value. User intends to use system + # generated certificate. + # + if not service_certificate_secret: + pass + + # Case 3.2. If service_certificate_secret parameter is provided, use + # that string as the secret name and check if the secret + # already exists. + # + else: + certificate_secret_exists = check_secret_exists_with_retries( + client.apis.kubernetes, + cr.metadata.namespace, + service_certificate_secret, + ) + + # Case 3.2.1. If the secret exists, validate and use it. + # + if certificate_secret_exists: + # Set flag to use existing secret. + # + use_existing_secret = True + + # Case 3.2.2. If the secret does not exist, fail. + # + else: + raise ValueError( + "Kubernetes secret '{0}' does " + "not exist. If you intend to use a pre-existing " + "secret, please provide correct name of an existing " + "secret. If you intend to use a certificate from " + "public key and private key files, please provide " + "their paths in the parameters --cert-public-key-file " + "and --cert-private-key-file.".format( + service_certificate_secret + ) + ) + + # If we decided to create a new secret, create it here. + # + if create_new_secret: + # Validate and parse data from files. + # + public_key, private_key = parse_cert_files( + certificate_public_key_file, certificate_private_key_file + ) + + # Create secret. + # + create_certificate_secret( + client.apis.kubernetes, + cr.metadata.namespace, + service_certificate_secret, + public_key, + private_key, + ) + + # Set the secret name on custom resource spec to indicate to the + # operator that we will use certificate from the Kubernetes secret. + # + if is_tde_protector: + cr.spec.security.transparentDataEncryption.protectorSecret = ( + service_certificate_secret + ) + else: + cr.spec.security.serviceCertificateSecret = ( + service_certificate_secret + ) + + # If we decided to use an existing secret, validate it and pass on. + # + elif use_existing_secret: + # Load secret and validate contents. + # + validate_certificate_secret( + client.apis.kubernetes, + cr.metadata.namespace, + service_certificate_secret, + ) + + # Set the secret name on the custom resource spec to indicate to the + # operator that a user provided certificate is available to use. + # + if is_tde_protector: + cr.spec.security.transparentDataEncryption.protectorSecret = ( + service_certificate_secret + ) + else: + cr.spec.security.serviceCertificateSecret = ( + service_certificate_secret + ) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmi/exceptions.py b/src/arcdata/arcdata/azext_arcdata/sqlmi/exceptions.py new file mode 100644 index 00000000000..e349327081c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmi/exceptions.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from knack.cli import CLIError + + +class SqlmiError(CLIError): + """ + All errors related to sqlmi API calls. + """ diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmi/help.py b/src/arcdata/arcdata/azext_arcdata/sqlmi/help.py new file mode 100644 index 00000000000..da6fbfa1195 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmi/help.py @@ -0,0 +1,335 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from knack.help_files import helps + +# pylint: disable=line-too-long +helps["sql mi-arc"] = ( + """ + type: group + short-summary: {short} +""".format( + short="Manage Azure Arc-enabled SQL managed instances." + ) +) + +# pylint: disable=line-too-long +helps["sql mi-arc endpoint"] = ( + """ + type: group + short-summary: {short} +""".format( + short="View and manage SQL endpoints." + ) +) + +helps["sql mi-arc endpoint list"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az sql mi-arc endpoint list -n sqlmi1 +""".format( + short="List the SQL endpoints.", + ex1="List the endpoints for a SQL managed instance.", + ) +) + +# pylint: disable=line-too-long +helps["sql mi-arc create"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az sql mi-arc create -n sqlmi1 --k8s-namespace arc --use-k8s + - name: {ex2} + text: > + az sql mi-arc create -n sqlmi2 --replicas 3 --k8s-namespace arc --use-k8s + - name: {ex3} + text: > + az sql mi-arc create --name sqlmi3 --resource-group rg-name --custom-location arc-cl + - name: {ex4} + text: > + az sql mi-arc create --name contososqlmi --k8s-namespace arc + --ad-connector-name arcadc --ad-account-name arcuser + --keytab-secret arcuser-keytab-secret + --primary-dns-name contososqlmi-primary.contoso.local + --primary-port-number 8143 --use-k8s +""".format( + short="Create a SQL managed instance.", + long="To set the password of the SQL managed instance, set the environment " + "variable AZDATA_PASSWORD", + ex1="Create a SQL managed instance through the Kubernetes API.", + ex2="Create a SQL managed instance with 3 replicas in HA scenario through the Kubernetes API.", + ex3="Create a SQL managed instance through Azure Resource Manager (ARM).", + ex4="Create a SQL managed instance with Active Directory authentication through the Kubernetes API.", + ) +) + +# pylint: disable=line-too-long +helps["sql mi-arc update"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az sql mi-arc update --path ./spec.json -n sqlmi1 --use-k8s +""".format( + short="Update the configuration of a SQL managed instance.", + ex1="Update the configuration of a SQL managed instance.", + ) +) + +# pylint: disable=line-too-long +helps["sql mi-arc delete"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az sql mi-arc delete --name sqlmi1 --k8s-namespace arc --use-k8s + - name: {ex2} + text: > + az sql mi-arc delete --name sqlmi1 --resource-group rg-name +""".format( + short="Delete a SQL managed instance.", + ex1="Delete a SQL managed instance through the Kubernetes API.", + ex2="Delete a SQL managed instance through Azure Resource Manager (ARM).", + ) +) + +# pylint: disable=line-too-long +helps["sql mi-arc show"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az sql mi-arc show --name sqlmi1 --k8s-namespace arc --use-k8s + - name: {ex2} + text: > + az sql mi-arc show --name sqlmi1 --resource-group rg-name +""".format( + short="Show the details of a SQL managed instance.", + ex1="Show the details of a SQL Managed Instance using the Kubernetes API.", + ex2="Show the details of a SQL Managed Instance by querying Azure Resource Manager (ARM).", + ) +) + +# pylint: disable=line-too-long +helps["sql mi-arc get-mirroring-cert"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az sql mi-arc get-mirroring-cert -n sqlmi1 --cert-file fileName1 +""".format( + short="Retrieve certificate of availability group mirroring endpoint from " + "sql mi and store in a file.", + ex1="Retrieve certificate of availability group mirroring endpoint from " + "sqlmi1 and store in file fileName1", + ) +) + +# pylint: disable=line-too-long +helps["sql mi-arc upgrade"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az sql mi-arc upgrade -n sqlmi1 -k arc --desired-version v1.1.0 --use-k8s +""".format( + short="Upgrade SQL managed instance.", + long="Upgrade SQL managed instance to the desired-version specified. If " + "desired-version is not specified, the data controller version will " + "be used.", + ex1="Upgrade SQL managed instance.", + ) +) + +# pylint: disable=line-too-long +helps["sql mi-arc list"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az sql mi-arc list --use-k8s +""".format( + short="List SQL managed instances.", ex1="List SQL managed instances." + ) +) + +# pylint: disable=line-too-long +helps["sql mi-arc config"] = ( + """ + type: group + short-summary: {short} +""".format( + short="Configuration commands." + ) +) + +# pylint: disable=line-too-long +helps["sql mi-arc config init"] = ( + """ + type: command + short-summary: {short} + examples: + - name: {ex1} + text: > + az sql mi-arc config init --path ./template +""".format( + short="Initialize the CRD and specification files for a SQL managed " + "instance.", + ex1="Initialize the CRD and specification files for a SQL managed " + "instance.", + ) +) + +# pylint: disable=line-too-long +helps["sql mi-arc config add"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az sql mi-arc config add --path custom/spec.json + --json-values 'spec.storage={val1}' +""".format( + short="Add a value for a json path in a config file.", + long="Add the value at the json path in the config file. All examples " + "below are given in Bash. If using another command line, you may " + "need to escape quotations appropriately. Alternatively, you may use " + "the patch file functionality.", + ex1="Ex 1 - Add storage.", + val1='{"accessMode":"ReadWriteOnce","className":"managed-premium",' + '"size":"10Gi"}', + ) +) + +# pylint: disable=line-too-long +helps["sql mi-arc config remove"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az sql mi-arc config remove --path custom/spec.json + --json-path '.spec.storage' +""".format( + short="Remove a value for a json path in a config file.", + long="Remove the value at the json path in the config file. All examples " + "below are given in Bash. If using another command line, you may need " + "to escape quotations appropriately. Alternatively, you may use the " + "patch file functionality.", + ex1="Ex 1 - Remove storage.", + ) +) + +# pylint: disable=line-too-long +helps["sql mi-arc config replace"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az sql mi-arc config replace --path custom/spec.json + --json-values '$.spec.endpoints[?(@.name=="Controller")].port=30080' + - name: {ex2} + text: > + az sql mi-arc config replace --path custom/spec.json + --json-values '{val2}' +""".format( + short="Replace a value for a json path in a config file.", + long="Replace the value at the json path in the config file. All examples " + "below are given in Bash. If using another command line, you may " + "need to escape quotations appropriately. Alternatively, you may use " + "the patch file functionality.", + ex1="Ex 1 - Replace the port of a single endpoint.", + ex2="Ex 2 - Replace storage.", + val2='spec.storage={"accessMode":"ReadWriteOnce","className":' + '"managed-premium","size":"10Gi"}', + ) +) + +# pylint: disable=line-too-long +helps["sql mi-arc config patch"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + {cmd} + + Patch File Example (patch.json): + {patch1} + - name: {ex2} + text: > + {cmd} + + Patch File Example (patch.json): + {patch2} +""".format( + short="Patch a config file based on a json patch file.", + long="Patch the config file according to the given patch file. Consult " + "http://jsonpatch.com/ for a better understanding of how the paths " + "should be composed. The replace operation can use conditionals in " + "its path due to the jsonpath library https://jsonpath.com/. All patch " + "json files must start with a key of `patch` that has an array of " + "patches with their corresponding op (add, replace, remove), path, " + "and value. The `remove` op does not require a value, just a path. See " + "the examples below.", + ex1="Ex 1 - Replace the port of a single endpoint with patch file.", + cmd="az sql mi-arc config patch --path custom/spec.json " + "--patch ./patch.json", + patch1='{"patch":[{"op":"replace","path":"$.spec.endpoints' + '[?(@.name==\'Controller\')].port","value":30080}]}', + ex2="Ex 2 - Replace storage with patch file.", + patch2='{"patch":[{"op":"replace","path":".spec.storage","value":{' + '"accessMode":"ReadWriteMany","className":"managed-premium",' + '"size":"10Gi"}}]}', + ) +) + +helps["sql mi-arc reprovision-replica"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az sql mi-arc reprovision-replica -n sqlmi1-1 --use-k8s --k8s-namespace namespace +""".format( + short="Reprovision a replica in a SQL managed instance.", + long="Reprovision a replica in a SQL managed instance. " + "This resets all the data in that instance and reseeds it from the primary instance.", + ex1="Ex 1 - Reprovision replica 1 of SQL managed instance sqlmi1.", + ) +) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmi/models/__init__.py b/src/arcdata/arcdata/azext_arcdata/sqlmi/models/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmi/models/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmi/settings.py b/src/arcdata/arcdata/azext_arcdata/sqlmi/settings.py new file mode 100644 index 00000000000..d74042c611b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmi/settings.py @@ -0,0 +1,77 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + + +def parse_traceflags(tf_str: str): + """ + Parses the traceflags str to generate a list of traceflags. + """ + traceflags = [] + tfs_split = tf_str.split(",") + + for tf_raw in tfs_split: + + if not tf_raw.isdigit(): + raise ValueError( + "Traceflags must be list of integers separated by ','." + ) + + if tf_raw in traceflags: + raise ValueError( + "Duplicate traceflag '{}' specified.".format(tf_raw) + ) + + traceflags.append(tf_raw.strip()) + + return traceflags + + +def parse_dataGitoIntInMb(memory: str): + """ + Extract the numeric value and the unit from the string + """ + + if len(memory) < 3: + raise ValueError("Memory string is too short to contain a valid unit") + + numeric_value = int(memory[:-2]) + unit = memory[-2:] + + # Convert the value to bytes based on the unit + # + if unit == "Gi": + mbbytes_value = numeric_value * 1024 + elif unit == "Mi": + mbbytes_value = numeric_value + else: + raise ValueError("Unsupported memory unit") + + # Convert bytes to integer + # + integer_value = int(mbbytes_value) + + return integer_value + + +def add_to_settings(settings, key, kwargs, arg_key): + """ + Adds the key to settings from kwargs. + """ + if settings is None: + settings = {} + + if arg_key in kwargs and kwargs[arg_key] is not None: + setting_keys = key.split(".") + + # Unflatten the settings dictionary by going through split keys in + # reverse and add to settings + # + s_val = kwargs[arg_key] + for i in range(len(setting_keys) - 1, 0, -1): + s = {setting_keys[i]: s_val} + s_val = s + + settings[setting_keys[0]] = s_val diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmi/sqlmi_utilities.py b/src/arcdata/arcdata/azext_arcdata/sqlmi/sqlmi_utilities.py new file mode 100644 index 00000000000..c4c628c9940 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmi/sqlmi_utilities.py @@ -0,0 +1,261 @@ +import pydash as _ +import re +import sys +from azext_arcdata.core.util import retry +from azext_arcdata.sqlmi.constants import ( + API_GROUP, + RESOURCE_KIND_PLURAL, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.models.custom_resource import CustomResource +from src.arcdata.arcdata.azext_arcdata.vendored_sdks.kubernetes_sdk.models.sqlmi_cr_model import SqlmiCustomResource +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import ( + CONNECTION_RETRY_ATTEMPTS, + RETRY_INTERVAL, + KubernetesClient, + KubernetesError, + K8sApiException, + http_status_codes, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.constants import SQLMI_CRD_NAME +from azext_arcdata.vendored_sdks.kubernetes_sdk.arc_docker_image_service import ( + ArcDataImageService, +) +from urllib3.exceptions import MaxRetryError, NewConnectionError + + +def upgrade_sqlmi_instances( + namespace, + name=None, + field_filter=None, + label_filter=None, + desired_version=None, + dry_run=None, + use_k8s=None, +): + KubernetesClient.assert_use_k8s(use_k8s) + instances = resolve_sqlmi_instances( + namespace, name, field_filter, label_filter + ) + + (datacontroller, _) = KubernetesClient.get_arc_datacontroller( + namespace, use_k8s + ) + datacontrollerVersion = _.get(datacontroller, "spec.docker.imageTag") + + if not desired_version: + desired_version = datacontrollerVersion + + _validate_upgrade_sqlmi_args( + name, namespace, instances, desired_version, datacontrollerVersion) + + # - Filter to find instances that can upgrade to desired_version + upgrade_instances = [] + for sqlmi in instances: + sqlmi_name = sqlmi.metadata.name + sqlmiVersion = sqlmi.status.runningVersion + auto_upgrade_setting = sqlmi.spec.update.desiredVersion + + if desired_version == "auto": + if not auto_upgrade_setting or auto_upgrade_setting != "auto": + upgrade_instances.append(sqlmi) + else: + if name and name == sqlmi_name: + print( + "Auto-upgrade is already enabled for Arc-enabled SQL managed instance '{0}'.".format( + sqlmi_name + ) + ) + return + continue + + val = ArcDataImageService.compare_version_tag( + desired_version, sqlmiVersion, ignore_label=True + ) + + # In alignment with CustomResourceStateMachine.cs, upgrades to Controller version is allowed, + # provided runningVersion imageTag is not same as desiredVersion + if (desired_version == datacontrollerVersion) and ( + sqlmiVersion != desired_version + ): + upgrade_instances.append(sqlmi) + continue + + # SemVer of desiredVersion is lower than runningVersion + # No upgrade + if val == -1: + if name and name == sqlmi_name: + raise ValueError( + "Arc-enabled SQL managed instance '{0}' cannot be downgraded below the current version {1}".format( + sqlmi_name, sqlmiVersion + ) + ) + # SemVer of desiredVersion is same as runningVersion and imageTag is same + # No upgrade + elif (val == 0) and (sqlmiVersion == desired_version): + if auto_upgrade_setting and auto_upgrade_setting == "auto": + # Disabling auto-upgrade by replacing auto with current version + upgrade_instances.append(sqlmi) + continue + if name and name == sqlmi_name: + raise ValueError( + "Arc-enabled SQL managed instance '{0}' is already running version {1}".format( + sqlmi_name, desired_version + ) + ) + # Allow upgrades in all other cases + else: + upgrade_instances.append(sqlmi) + + if dry_run: + sys.stdout.write("****Dry Run****\n") + + sys.stdout.write( + "{0} instance(s) would be upgraded by this command. \n".format( + len(upgrade_instances) + ) + ) + + for ss in upgrade_instances: + # todo: use running version if available post ga+1 + if desired_version == "auto": + sys.stdout.write( + "{0} would continually be upgraded automatically to the latest valid version.\n".format( + ss.metadata.name + ) + ) + else: + sys.stdout.write( + "{0} would be upgraded to {1}.\n".format( + ss.metadata.name, desired_version + ) + ) + return upgrade_instances + + # upgrade instances + + patch = {"spec": {"update": {"desiredVersion": desired_version}}} + + for ss in upgrade_instances: + if desired_version == "auto": + sys.stdout.write( + "Enabling auto-upgrade for Arc-enabled SQL managed instance {0} \n".format( + ss.metadata.name + ) + ) + else: + sys.stdout.write( + "Upgrading {0} to {1}.\n".format( + ss.metadata.name, desired_version + ) + ) + + patch_all_namespaced_objects(upgrade_instances, namespace, patch) + + return upgrade_instances + + +def resolve_sqlmi_instances( + namespace, + name=None, + field_filter=None, + label_filter=None, +) -> list: + + client = KubernetesClient.resolve_k8s_client().CustomObjectsApi() + + response = client.list_namespaced_custom_object( + namespace=namespace, + field_selector=field_filter, + label_selector=label_filter, + group=API_GROUP, + version=KubernetesClient.get_crd_version(SQLMI_CRD_NAME), + plural=RESOURCE_KIND_PLURAL, + ) + + items = response.get("items") + + instances = _.map_( + items, lambda cr: CustomResource.decode(SqlmiCustomResource, cr) + ) + + if name is not None: + instances = _.filter_( + instances, lambda i: re.match(name, i.metadata.name) + ) + + return instances + + +def patch_all_namespaced_objects(instances: list, namespace, body): + for instance in instances: + KubernetesClient.merge_namespaced_custom_object( + name=instance.metadata.name, + namespace=namespace, + body=body, + group=API_GROUP, + version=KubernetesClient.get_crd_version(SQLMI_CRD_NAME), + plural=RESOURCE_KIND_PLURAL, + ) + + +def get_sqlmi_custom_resource(client, name, namespace): + """ + Queries the kubernetes cluster and returns the custom resource for a SQL Instancewith the given name in + the specified namespace + :param client: KubernetesClient + :param name: The name of the SQL Managed Instance + :param namespace: Namespace where the SQL Managed Instance is deployed. + :return: The k8s custom resource if one is found. An error will be raised if the instance is not found. + """ + + try: + response = retry( + lambda: client.get_namespaced_custom_object( + name, + namespace, + group=API_GROUP, + version=KubernetesClient.get_crd_version(SQLMI_CRD_NAME), + plural=RESOURCE_KIND_PLURAL, + ), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="get namespaced custom object", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + KubernetesError, + ), + ) + cr = CustomResource.decode(SqlmiCustomResource, response) + cr.metadata.namespace = namespace + return cr + + except K8sApiException as e: + if e.status == http_status_codes.not_found: + raise ValueError( + "Arc-enabled SQL Managed Instance `{}` was not found in namespace `{}`.".format( + name, namespace + ) + ) + + +def _validate_upgrade_sqlmi_args(name, namespace, instances, desired_version, datacontrollerVersion): + if name and not instances: + raise ValueError( + "Instance {0} does not exist in namespace {1}.".format( + name, namespace + ) + ) + + if ( + desired_version != "auto" + and ArcDataImageService.compare_version_tag( + desired_version, datacontrollerVersion, ignore_label=True + ) + == 1 + ): + raise ValueError( + "Arc-enabled SQL managed instance(s) cannot be upgraded beyond the data controller version {}".format( + datacontrollerVersion + ) + ) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmi/templates/sqlmi_reprovision_replica_task.json b/src/arcdata/arcdata/azext_arcdata/sqlmi/templates/sqlmi_reprovision_replica_task.json new file mode 100644 index 00000000000..889043172b1 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmi/templates/sqlmi_reprovision_replica_task.json @@ -0,0 +1,10 @@ +{ + "apiVersion": "tasks.sql.arcdata.microsoft.com/v1beta1", + "kind": "SqlManagedInstanceReprovisionReplicaTask", + "metadata": { + "name": "sql01-reprovision-replica-test" + }, + "spec": { + "replicaName": "sql01-1" + } +} diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmi/templates/sqlmi_restore_task.json b/src/arcdata/arcdata/azext_arcdata/sqlmi/templates/sqlmi_restore_task.json new file mode 100644 index 00000000000..f280351cc75 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmi/templates/sqlmi_restore_task.json @@ -0,0 +1,18 @@ +{ + "apiVersion": "tasks.sql.arcdata.microsoft.com/v1", + "kind": "SqlManagedInstanceRestoreTask", + "metadata": { + "name": "sql01-restore-to-sql01test" + }, + "spec": { + "source": { + "name": "sql01", + "database": "db01" + }, + "restorePoint": "2021-01-01T02:00:00Z", + "destination": { + "name": "sql01test", + "database": "db01" + } + } +} diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmi/templates/sqlmi_spec.json b/src/arcdata/arcdata/azext_arcdata/sqlmi/templates/sqlmi_spec.json new file mode 100644 index 00000000000..e9e723da62a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmi/templates/sqlmi_spec.json @@ -0,0 +1,28 @@ +{ + "apiVersion": "sql.arcdata.microsoft.com/v13", + "kind": "SqlManagedInstance", + "metadata": { + "name": "sql" + }, + "spec": { + "backup": { + "recoveryPointObjectiveInSeconds": 300 + }, + "storage": { + "data": { + "volumes": [ + { + "size": "5Gi" + } + ] + }, + "logs": { + "volumes": [ + { + "size": "5Gi" + } + ] + } + } + } +} diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmi/templates/useradmin-login.yaml.tmpl b/src/arcdata/arcdata/azext_arcdata/sqlmi/templates/useradmin-login.yaml.tmpl new file mode 100644 index 00000000000..221ebcc91b0 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmi/templates/useradmin-login.yaml.tmpl @@ -0,0 +1,8 @@ +apiVersion: v1 +kind: Secret +metadata: + name: {{ model.secretName }} +type: Opaque +data: + username: {{ model.base64Username }} + password: {{ model.base64Password }} machineid: {{model.base64MachineId}} \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmi/util.py b/src/arcdata/arcdata/azext_arcdata/sqlmi/util.py new file mode 100644 index 00000000000..a6b537ce8da --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmi/util.py @@ -0,0 +1,426 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from collections import OrderedDict +from azext_arcdata.ad_connector.constants import ( + ACCOUNT_PROVISIONING_MODE_MANUAL, +) +from azext_arcdata.ad_connector.util import _get_ad_connector_custom_resource +from azext_arcdata.vendored_sdks.kubernetes_sdk.util import check_secret_exists_with_retries +from azext_arcdata.core.constants import ARC_API_V1BETA2, DNS_NAME_REQUIREMENTS +from azext_arcdata.core.labels import parse_labels +from azext_arcdata.core.util import ( + check_and_set_kubectl_context, + is_valid_password, + name_meets_dns_requirements, + retry, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import ( + K8sApiException, + KubernetesClient, + http_status_codes, +) +from azext_arcdata.sqlmi.constants import ( + SQLMI_LICENSE_TYPES, + SQLMI_TIERS, +) +from knack.cli import CLIError +from urllib3.exceptions import MaxRetryError, NewConnectionError + +import base64 + +CONNECTION_RETRY_ATTEMPTS = 12 +RETRY_INTERVAL = 5 + + +def is_valid_sql_password(pw, user): + """ + Checks if the provided pw is a valid sql server password i.e. is at least + eight characters long and contains a char from at least three of these + groups + -Uppercase letters + -Lowercase letters + -Base 10 digits + -Non-alphanumeric characters + :param pw: the password + :param user: username for the sql instance + :return: True if pw meets requirements, False otherwise + """ + return is_valid_password(pw, user) + + +def order_endpoints(): + """ + Order SQL instance `dict` sections to the same order the server API + handed us. + + NOTE: This is redundant in Python 3.7 however needed for earlier versions. + + :return: A well defined `OrderedDict` of the given SQL instance endpoints. + """ + + def get_endpoints(endpoints): + """ + Creates ordered dictionaries for the given endpoints to be used in the + BoxLayout. + :param endpoints: + """ + + def new_endpoint(e): + return OrderedDict( + [ + ("description", e["description"]), + ("endpoint", e["endpoint"]), + ("options", []), + ] + ) + + return [new_endpoint(endpoint) for endpoint in endpoints] + + def get_instances(obj): + """ + Returns all instances and their endpoints. + :param obj: + :return: + """ + obj = obj if obj else [] + return [ + OrderedDict( + [ + ("instanceName", instance["name"]), + ("endpoints", get_endpoints(instance.get("endpoints"))), + ] + ) + for instance in obj + ] + + def get_arc_sql_endpoints(obj): + """ + Retrieves all SQL instance endpoints in an ordered dictionary to be + used in the BoxLayout. + :param obj: + """ + return ( + None + if "namespace" not in obj + else OrderedDict( + [ + ("clusterName", obj["namespace"]), + ("instance", get_instances(obj["instances"])), + ] + ) + ) + + return get_arc_sql_endpoints + + +def hierarchical_output(command_result): + """ + Callback for formatting complex custom-output. + :parm_am command_result: The command's high-level result object. + :return: Complex BoxLayout otherwise flat json. + """ + from azext_arcdata.core.layout import BoxLayout + + result = command_result + return BoxLayout( + result, + config={ + "headers": { + "left": {"label": "", "id": None}, + "right": {"label": "", "id": None}, + }, + "identifiers": [], + }, + bdc_config=True, + ) + + +def get_valid_sql_license_types(): + """ + Get the valid sql license types + """ + return SQLMI_LICENSE_TYPES + + +def get_valid_sql_tiers(): + """ + Get the valid sql tiers + """ + return SQLMI_TIERS + + +def validate_sqlmi_name(name: str) -> None: + """ + Validates that the SQL MI name is not empty and DNS name compliant. + """ + # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#rfc-1035-label-names + # Max length: 63 including replica postfix "-xx" + arc_sql_name_max_length = 60 + + if not name: + raise ValueError("SQL MI name cannot be empty") + + if len(name) > arc_sql_name_max_length: + raise ValueError( + "SQL MI name '{}' exceeds {} " + "character length limit".format(name, arc_sql_name_max_length) + ) + + if not name_meets_dns_requirements(name): + raise ValueError( + "SQL MI name '{}' does not follow Kubernetes resource name requirements: {" + "}".format(name, DNS_NAME_REQUIREMENTS) + ) + + +def validate_sqlmi_tier(tier): + """ + returns True if tier is valid + """ + + # tier should have a default value + if tier is None: + return False + + # if tier was provided, make sure it's within the allowed values + # (case insensitive) + if tier.lower() in (t.lower() for t in get_valid_sql_tiers()): + return True + + return False + + +def validate_sqlmi_license_type(license_type): + """ + returns True if license type is valid + """ + + # license_type should have a default value + if license_type is None: + return False + + # if license_type was provided, make sure it's within the allowed values + # (case insensitive) + if license_type.lower() in ( + t.lower() for t in get_valid_sql_license_types() + ): + return True + + return False + + +def validate_labels_and_annotations( + labels, + annotations, + service_labels, + service_annotations, + storage_labels, + storage_annotations, +): + if labels: + try: + parse_labels(labels) + except ValueError as e: + raise CLIError("Labels invalid: {}".format(e)) + + if annotations: + try: + parse_labels(annotations) + except ValueError as e: + raise CLIError("Annotations invalid: {}".format(e)) + + if service_labels: + try: + parse_labels(service_labels) + except ValueError as e: + raise CLIError("Service labels invalid: {}".format(e)) + + if service_annotations: + try: + parse_labels(service_annotations) + except ValueError as e: + raise CLIError("Service annotations invalid: {}".format(e)) + + if storage_labels: + try: + parse_labels(storage_labels) + except ValueError as e: + raise CLIError("Storage labels invalid: {}".format(e)) + + if storage_annotations: + try: + parse_labels(storage_annotations) + except ValueError as e: + raise CLIError("Storage annotations invalid: {}".format(e)) + + +def validate_admin_login_secret(client, namespace, admin_login_secret): + """ + validates the given admin login secret. + """ + username_entry_in_secret = "username" + password_entry_in_secret = "password" + + # Load secret and validate contents. + # + k8s_secret = retry( + lambda: client.apis.kubernetes.get_secret( + namespace, admin_login_secret + ), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="get secret", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + K8sApiException, + ), + ) + + secret_data = k8s_secret.data + + # Check if username and password entries exist + # in the secret. + # + if ( + username_entry_in_secret not in secret_data + or password_entry_in_secret not in secret_data + ): + raise ValueError( + "Kubernetes secret '" + + admin_login_secret + + "' must have keys '" + + username_entry_in_secret + + "' and '" + + password_entry_in_secret + + "' in it." + ) + + # Read data and validate. + # + username_data = base64.b64decode(secret_data[username_entry_in_secret]) + password_data = base64.b64decode(secret_data[password_entry_in_secret]) + + username = str(username_data, "utf-8") + password = str(password_data, "utf-8") + + # Validate username is not sa. + # + if username == "sa": + raise ValueError( + "Login 'sa' is not allowed as username in secret '" + + admin_login_secret + + "'." + ) + + # Validate password complexity. + # + if not is_valid_sql_password(password, username): + raise ValueError( + "SQL Server passwords must be at " + "least 8 characters long, cannot contain the " + "username, and must contain characters from " + "three of the following four sets: Uppercase " + "letters, Lowercase letters, Base 10 digits, " + "and Symbols." + ) + + +def validate_ad_connector( + client, name, namespace, sqlmi_namespace, keytab_secret +): + if not name or not namespace: + raise ValueError( + "To enable Active Directory (AD) authentication, both the resource name and ", + "namespace of the AD connector are required." + ) + + check_and_set_kubectl_context() + + cr = _get_ad_connector_custom_resource(client, name, namespace) + if ( + cr.spec.active_directory.service_account_provisioning + == ACCOUNT_PROVISIONING_MODE_MANUAL + ): + validate_keytab_secret(client, sqlmi_namespace, keytab_secret) + + +def validate_keytab_secret(client, namespace, keytab_secret_name): + """ + Validates that the given keytab secret exists + """ + keytab_entry_in_secret = "keytab" + + if not keytab_secret_name: + raise ValueError( + "The name of the Kubernetes secret containing the Active Directory keytab is required." + ) + + check_and_set_kubectl_context() + + # Check if secret exists + # + if not check_secret_exists_with_retries( + client, namespace, keytab_secret_name + ): + raise ValueError( + "Kubernetes secret `{}` not found in namespace `{}`.".format( + keytab_secret_name, namespace + ) + ) + + k8s_secret = retry( + lambda: client.get_secret(namespace, keytab_secret_name), + retry_method="get secret", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + K8sApiException, + ), + ) + + secret_data = k8s_secret.data + + # Check if keytab exists in the secret + # + if keytab_entry_in_secret not in secret_data: + raise ValueError( + "Kubernetes secret '{0}' does not have key '{1}'".format( + keytab_secret_name, keytab_entry_in_secret + ) + ) + + +DAG_RESOURCE_KIND = "Dag" +DAG_RESOURCE_KIND_PLURAL = "dags" +DAG_API_GROUP = "sql.arcdata.microsoft.com" +DAG_API_VERSION = ARC_API_V1BETA2 + + +def resolve_old_dag_items( + namespace, +) -> list: + + client = KubernetesClient.resolve_k8s_client().CustomObjectsApi() + + try: + response = client.list_namespaced_custom_object( + namespace=namespace, + group=DAG_API_GROUP, + version=DAG_API_VERSION, + plural=DAG_RESOURCE_KIND_PLURAL, + ) + items = response.get("items") + return items + except K8sApiException as e: + if e.status == http_status_codes.not_found: + return [] + raise e + + +def _parse_supported_ad_encryption_types(types_string): + return list(set(types_string.replace(" ", "").split(","))) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmi/validators.py b/src/arcdata/arcdata/azext_arcdata/sqlmi/validators.py new file mode 100644 index 00000000000..848e175b3d4 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmi/validators.py @@ -0,0 +1,299 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.ad_connector.validators import _validate_domain_name +import azext_arcdata.core.common_validators as validators +from azext_arcdata.vendored_sdks.kubernetes_sdk.arc_docker_image_service import ( + ArcDataImageService, +) +from azext_arcdata.sqlmi.constants import ( + AD_SUPPORTED_ENCRYPTION_TYPES, + TDE_MODE_TYPES, + SQLMI_BC_DEFAULT_REPLICAS, + SQLMI_GP_DEFAULT_REPLICAS, + SQLMI_LICENSE_TYPES, + SQLMI_TIER_BUSINESS_CRITICAL, + SQLMI_TIER_BUSINESS_CRITICAL_SHORT, + SQLMI_TIERS, +) + + +def validate_create(namespace): + required_for_direct = [] + + # -- direct -- + if not namespace.use_k8s: + if not namespace.custom_location: + required_for_direct.append("--custom-location") + + # -- assert common mutually exclusive arg combos if using indirect/direct -- + validators.validate_mutually_exclusive_direct_indirect( + namespace, required_direct=required_for_direct + ) + + # -- assert mutually exclusive direct args combos if using indirect -- + if namespace.use_k8s: + msg = ( + "Cannot specify both '{args}' and '--use-k8s'. The '{args}' is " + "only available when using ARM-targeted arguments." + ) + direct_only = [] + + if namespace.custom_location: + direct_only.append("--custom-location") + + if direct_only: + raise ValueError(msg.format(args=", ".join(direct_only))) + + if namespace.primary_dns_name or namespace.primary_port_number: + _validate_dns_service( + name=namespace.primary_dns_name, + port=namespace.primary_port_number, + service_type="primary", + ) + + if namespace.secondary_dns_name or namespace.secondary_port_number: + _validate_dns_service( + name=namespace.secondary_dns_name, + port=namespace.secondary_port_number, + service_type="secondary", + ) + + # -- validate active directory args if provided -- # + if ( + namespace.ad_connector_name + or namespace.ad_account_name + or namespace.keytab_secret + ): + if not namespace.ad_connector_name: + raise ValueError( + "To enable Active Directory (AD) authentication, the resource name of the AD connector is required." + ) + if not namespace.ad_account_name: + raise ValueError( + "The Active Directory account name for this Arc-enabled SQL Managed Instance is missing or invalid." + ) + + if not (namespace.primary_dns_name and namespace.primary_port_number): + raise ValueError( + "Both the primary DNS name and port number for this Arc-enabled SQL Managed Instance are required." + ) + + if namespace.ad_encryption_types: + _validate_ad_encryption_types(namespace.ad_encryption_types) + + # -- validate transparent data encryption args if provided -- # + if namespace.tde_mode: + _validate_tde_mode(namespace.tde_mode) + + if namespace.tde_protector_secret: + if ( + not namespace.tde_mode + or namespace.tde_mode.lower() != "CustomerManaged".lower() + ): + raise ValueError( + "To use the protector secret for Transparent Data Encryption (TDE), ", + f"the TDE mode must be specified and set to 'CustomerManaged', not '{namespace.tde_mode}'." + ) + + if namespace.tier: + _validate_pricing_tier(namespace.tier) + + if namespace.license_type: + _validate_license_type(namespace.license_type) + + if namespace.sync_secondary_to_commit: + _validate_sync_secondary( + namespace.sync_secondary_to_commit, + namespace.tier, + namespace.replicas, + ) + + if namespace.retention_days: + _validate_retention_days(namespace.retention_days) + + +def validate_delete(namespace): + validators.validate_mutually_exclusive_direct_indirect(namespace) + + +def validate_show(namespace): + validators.validate_mutually_exclusive_direct_indirect(namespace) + + +def validate_list(namespace): + validators.validate_mutually_exclusive_direct_indirect(namespace) + + +def validate_upgrade(namespace): + validators.validate_mutually_exclusive_direct_indirect(namespace) + + _validate_upgrade_image_version_tag(namespace.desired_version) + + +def validate_edit(namespace): + required_for_direct = [] + direct_only = [] + + # -- direct -- + if not namespace.use_k8s: + if not namespace.resource_group: + required_for_direct.append("--resource-group") + + # -- indirect -- + if namespace.use_k8s: + if namespace.resource_group: + direct_only.append("--resource-group") + + # -- assert common indirect/direct argument combos -- + validators.validate_mutually_exclusive_direct_indirect( + namespace, required_direct=required_for_direct, direct_only=direct_only + ) + + if namespace.retention_days: + _validate_retention_days(namespace.retention_days) + + +def validate_update(namespace): + required_for_direct = [] + direct_only = [] + + # -- direct -- + if not namespace.use_k8s: + if not namespace.resource_group: + required_for_direct.append("--resource-group") + + # -- indirect -- + if namespace.use_k8s: + if namespace.resource_group: + direct_only.append("--resource-group") + + # -- assert common indirect/direct argument combos -- + validators.validate_mutually_exclusive_direct_indirect( + namespace, required_direct=required_for_direct, direct_only=direct_only + ) + + if namespace.tier: + _validate_pricing_tier(namespace.tier) + + if namespace.license_type: + _validate_license_type(namespace.license_type) + + if namespace.retention_days: + _validate_retention_days(namespace.retention_days) + + if namespace.ad_encryption_types: + _validate_ad_encryption_types(namespace.ad_encryption_types) + + if namespace.tde_mode: + _validate_tde_mode(namespace.tde_mode) + + if namespace.tde_protector_secret: + if ( + not namespace.tde_mode + or namespace.tde_mode.lower() != "CustomerManaged".lower() + ): + raise ValueError( + "To specify --tde-protector-secret, the TDE mode must be specified and set to 'CustomerManaged'." + ) + + +def _validate_dns_service(name, port, service_type="primary"): + if name is not None and not _validate_domain_name(name): + raise ValueError( + "The {0} DNS service name '{1}' is invalid.".format(service_type, name) + ) + + try: + if port is not None: + port = int(port) + assert 0 < port <= 65535 + return True + except: + raise ValueError( + "The {0} DNS service port '{1}' is invalid.".format(type, port) + ) + + +def _validate_sync_secondary( + sync_secondary_to_commit, tier=None, replicas=None +): + if tier and tier in [ + SQLMI_TIER_BUSINESS_CRITICAL, + SQLMI_TIER_BUSINESS_CRITICAL_SHORT, + ]: + default_replicas = SQLMI_BC_DEFAULT_REPLICAS + else: + default_replicas = SQLMI_GP_DEFAULT_REPLICAS + + replicas = int(replicas or default_replicas) + if int(sync_secondary_to_commit) >= replicas: + raise ValueError( + "The value for --sync-secondary-to-commit must be less than the number of replicas ({}).".format( + replicas + ) + ) + + +def _validate_retention_days(days): + try: + days = int(days) + assert 0 <= days <= 35 + return True + except: + raise ValueError( + "The value for --retention-days must be an integer between 0 and 35." + ) + + +def _validate_ad_encryption_types(types_string): + encryption_types = types_string.replace(" ", "").split(",") + + for encryption_type in encryption_types: + if encryption_type not in AD_SUPPORTED_ENCRYPTION_TYPES: + raise ValueError( + "One or more specified Active Directory supported encryption types is invalid. " + "Allowed values are: {values}".format( + values=AD_SUPPORTED_ENCRYPTION_TYPES + ) + ) + + +def _validate_tde_mode(mode): + if mode.lower() not in [t.lower() for t in TDE_MODE_TYPES]: + raise ValueError( + "--tde-mode must be one of the following: {}".format( + list(TDE_MODE_TYPES) + ) + ) + + +def _validate_pricing_tier(tier): + if tier not in SQLMI_TIERS: + raise ValueError( + "--tier must be one of the following: {}".format(list(SQLMI_TIERS)) + ) + + +def _validate_license_type(license_type): + if license_type not in SQLMI_LICENSE_TYPES: + raise ValueError( + "--license-type must be one of the following: {}".format( + list(SQLMI_LICENSE_TYPES) + ) + ) + + +def _validate_upgrade_image_version_tag(version): + if not version: + # in this case, we expect later code to select the correct version. + return True + + if version == "auto": + # Flag to enable auto-upgrade + return True + + return ArcDataImageService.parse_image_tag(version) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmidb/__init__.py b/src/arcdata/arcdata/azext_arcdata/sqlmidb/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmidb/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmidb/arguments.py b/src/arcdata/arcdata/azext_arcdata/sqlmidb/arguments.py new file mode 100644 index 00000000000..1aa5bed1375 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmidb/arguments.py @@ -0,0 +1,65 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.core.constants import USE_K8S_TEXT + + +def load_arguments(self, _): + from knack.arguments import ArgumentsContext + + with ArgumentsContext(self, "sql midb-arc restore") as arg_context: + arg_context.argument( + "managed_instance", + options_list=["--managed-instance"], + help="Name of the source Azure Arc enabled SQL managed instance.", + ) + arg_context.argument( + "name", + options_list=["--name", "-n"], + help="Name of the source database from where the backups" + " should be retrieved.", + ) + arg_context.argument( + "dest_name", + options_list=["--dest-name"], + help="Name of the database that will be created as the restore " + "destination.", + ) + arg_context.argument( + "time", + options_list=["--time", "-t"], + help="The point in time of the source database that will be " + "restored to create the new database. Must be greater than or equal" + " to the source database's earliest restore date/time value. " + "Time should be in following format: 'YYYY-MM-DDTHH:MM:SSZ'. " + "If no time is provided, the most recent backup will be restored.", + ) + arg_context.argument( + "namespace", + options_list=["--k8s-namespace", "-k"], + help="The Kubernetes namespace that contains the Azure Arc enabled " + "SQL managed instance. If no namespace is specified, then the " + "namespace defined in the kubeconfig will be used.", + ) + arg_context.argument( + "use_k8s", + options_list=("--use-k8s"), + action="store_true", + help=USE_K8S_TEXT, + ) + arg_context.argument( + "nowait", + options_list=["--no-wait"], + action="store_true", + help="Do not wait for the long-running operation to finish.", + ) + arg_context.argument( + "dry_run", + options_list=["--dry-run"], + action="store_true", + help="Validates if the restore operation can be successful or " + "not by returning earliest and latest restore time window.", + ) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmidb/client.py b/src/arcdata/arcdata/azext_arcdata/sqlmidb/client.py new file mode 100644 index 00000000000..560c2d089db --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmidb/client.py @@ -0,0 +1,47 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.core.cli_client import CliClient +from azext_arcdata.core.util import DeploymentConfigUtil + +__all__ = ["beget"] + + +def beget(az_cli, kwargs): + """Client factory""" + return SqlmidbClientMixin(az_cli, kwargs) + + +def beget_no_namespace(az_cli, kwargs): + """Client factory - no check on namespace""" + return SqlmidbClientMixin(az_cli, kwargs, check_namespace=False) + + +class SqlmidbClientMixin(CliClient): + def __init__(self, az_cli, kwargs, check_namespace=True): + super(SqlmidbClientMixin, self).__init__( + az_cli, kwargs, check_namespace=check_namespace + ) + + @staticmethod + def add_configuration(path, json_values): + config_object = DeploymentConfigUtil.config_add(path, json_values) + DeploymentConfigUtil.write_config_file(path, config_object) + + @staticmethod + def replace_configuration(path, json_values): + config_object = DeploymentConfigUtil.config_replace(path, json_values) + DeploymentConfigUtil.write_config_file(path, config_object) + + @staticmethod + def remove_configuration(path, json_path): + config_object = DeploymentConfigUtil.config_remove(path, json_path) + DeploymentConfigUtil.write_config_file(path, config_object) + + @staticmethod + def patch_configuration(path, patch_file): + config_object = DeploymentConfigUtil.config_patch(path, patch_file) + DeploymentConfigUtil.write_config_file(path, config_object) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmidb/commands.py b/src/arcdata/arcdata/azext_arcdata/sqlmidb/commands.py new file mode 100644 index 00000000000..7d0c5aa277b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmidb/commands.py @@ -0,0 +1,20 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.sqlmidb.client import beget, beget_no_namespace +from azure.cli.core.commands import CliCommandType + + +def load_commands(self, _): + operations = CliCommandType( + operations_tmpl="azext_arcdata.sqlmidb.custom#{}" + ) + + with self.command_group( + "sql midb-arc", operations, client_factory=beget + ) as g: + # pylint: disable=E5001 + g.command("restore", "arc_sql_midb_restore") diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmidb/constants.py b/src/arcdata/arcdata/azext_arcdata/sqlmidb/constants.py new file mode 100644 index 00000000000..5b73cec73a8 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmidb/constants.py @@ -0,0 +1,24 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.core.constants import ARC_API_V1 + +RESTORE_TASK_RESOURCE_KIND = "SqlManagedInstanceRestoreTask" +""" +Defines the Kubernetes custom resource kind for sql mi restore task +""" +RESTORE_TASK_RESOURCE_KIND_PLURAL = "sqlmanagedinstancerestoretasks" +""" +Defines the plural name for sql mi restore task +""" +TASK_API_GROUP = "tasks.sql.arcdata.microsoft.com" +""" +The Kubernetes group for SQL MI task crd. +""" +TASK_API_VERSION = ARC_API_V1 +""" +The Kubernetes version for SQL MI task resources. +""" diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmidb/custom.py b/src/arcdata/arcdata/azext_arcdata/sqlmidb/custom.py new file mode 100644 index 00000000000..e8d897d3d6e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmidb/custom.py @@ -0,0 +1,196 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ +import base64 +import json +import os +import re +import shutil +import sys +import time +from datetime import datetime + +import azext_arcdata.core.kubernetes as kubernetes_util +import yaml +from azext_arcdata.core.constants import ( + ARC_GROUP, + AZDATA_PASSWORD, + AZDATA_USERNAME, + DATA_CONTROLLER_CRD_VERSION, + DATA_CONTROLLER_PLURAL, + USE_K8S_EXCEPTION_TEXT, +) +from azext_arcdata.core.labels import parse_labels +from azext_arcdata.core.prompt import prompt, prompt_pass +from azext_arcdata.core.util import ( + FileUtil, + check_and_set_kubectl_context, + get_config_from_template, + is_windows, + retry, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import ( + K8sApiException, + KubernetesError, + http_status_codes, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.errors.K8sAdmissionReviewError import ( + K8sAdmissionReviewError, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.models.custom_resource import CustomResource +from azext_arcdata.vendored_sdks.kubernetes_sdk.models.data_controller_custom_resource import ( + DataControllerCustomResource, +) +from azext_arcdata.sqlmidb.constants import ( + RESTORE_TASK_RESOURCE_KIND, + RESTORE_TASK_RESOURCE_KIND_PLURAL, + TASK_API_GROUP, + TASK_API_VERSION, +) +from azext_arcdata.sqlmidb.exceptions import SqlmidbError +from src.arcdata.arcdata.azext_arcdata.vendored_sdks.kubernetes_sdk.models.restore_cr_model import ( + SqlmiRestoreTaskCustomResource, +) +from azext_arcdata.sqlmidb.util import parse_restore_time +from humanfriendly.terminal.spinners import AutomaticSpinner +from knack.cli import CLIError +from knack.log import get_logger +from urllib3.exceptions import MaxRetryError, NewConnectionError + +logger = get_logger(__name__) + + +def arc_sql_midb_restore( + client, + namespace=None, + managed_instance=None, + name=None, + dest_name=None, + time=None, + use_k8s=None, + nowait=None, + dry_run=None, +): + """ + Restores SQL MI to a PITR + :param client: + :param namespace: + :param managed_instance : The name of the source sql managed instance. + :param name: The source db from where the backups should be restored. + :param dest_name: The name of the database at the destination server + where backup is to be restored to. + :param time: "The Point in time, within the retention time to + restore to, specified as a timestamp in UTC format. + If not provided current + timestamp will be used and thus last available + backup will be restored." + :param use_k8s: + :return: + """ + + try: + if not use_k8s: + raise ValueError(USE_K8S_EXCEPTION_TEXT) + + check_and_set_kubectl_context() + namespace = namespace or client.namespace + + # if dest_mi is None: + # dest_mi = managed_instance + + if time is None: + time = parse_restore_time(str(datetime.now())) + + task_name = "sql-restore-" + str(datetime.timestamp(datetime.now())) + spec_object = { + "apiVersion": TASK_API_GROUP + "/" + TASK_API_VERSION, + "kind": RESTORE_TASK_RESOURCE_KIND, + "metadata": { + "name": task_name, + }, + "spec": { + "source": { + "name": managed_instance, + "database": name, + }, + "restorePoint": time, + "dryRun": dry_run, + "destination": { + "name": managed_instance, + "database": dest_name, + }, + }, + } + + cr = CustomResource.decode(SqlmiRestoreTaskCustomResource, spec_object) + cr.metadata.namespace = namespace + cr.validate(client.apis.kubernetes) + res = client.apis.kubernetes.create_namespaced_custom_object( + cr=cr, + plural=RESTORE_TASK_RESOURCE_KIND_PLURAL, + ignore_conflict=True, + ) + if nowait is None: + if not is_windows(): + with AutomaticSpinner( + "Running", + show_time=True, + ): + res = _check_restore_status( + client, task_name, namespace=namespace + ) + else: + res = _check_restore_status( + client, + task_name, + namespace=namespace, + ) + client.stdout(_get_json_output(res)) + except Exception as e: + raise CLIError(e) + + +def _check_restore_status(client, task_name: str, namespace=None): + delay = 1 + last_message = None + + while True: + task = client.apis.kubernetes.get_namespaced_custom_object( + namespace=namespace, + name=task_name, + group=TASK_API_GROUP, + version=TASK_API_VERSION, + plural=RESTORE_TASK_RESOURCE_KIND_PLURAL, + ) + + status = task.get("status", {}) + message = status.get("message") + if message != last_message: + last_message = message + state = status.get("state") + if state == "Completed": + return task + elif state == "Failed": + raise Exception( + "Failed to restore the backup. {}".format( + status.get("message") + ) + ) + time.sleep(delay) + delay = min(60, delay * 2) + + +def _get_json_output(cr: CustomResource): + output_dict = { + "sourceDatabase": cr.get("spec", {}) + .get("source", {}) + .get("database", {}), + "destDatabase": cr.get("spec", {}) + .get("destination", {}) + .get("database", {}), + "restorePoint": cr.get("spec", {}).get("restorePoint", {}), + } + output_dict.update(cr.get("status", {})) + return json.dumps(output_dict, indent=4) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmidb/exceptions.py b/src/arcdata/arcdata/azext_arcdata/sqlmidb/exceptions.py new file mode 100644 index 00000000000..aca245df100 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmidb/exceptions.py @@ -0,0 +1,11 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from knack.cli import CLIError + + +class SqlmidbError(CLIError): + """All errors related to sqlmidb API calls.""" diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmidb/help.py b/src/arcdata/arcdata/azext_arcdata/sqlmidb/help.py new file mode 100644 index 00000000000..c9ca1dc714f --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmidb/help.py @@ -0,0 +1,34 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from knack.help_files import helps + +helps["sql midb-arc"] = ( + """ + type: group + short-summary: {short} +""".format( + short="Manage databases for Azure Arc-enabled SQL managed instances." + ) +) + +helps["sql midb-arc restore"] = ( + """ + type: command + short-summary: {short} + long-summary: {long} + examples: + - name: {ex1} + text: > + az sql midb-arc restore --managed-instance sqlmi1 --name mysourcedb + --dest-name mynewdb --time "2021-10-20T05:34:22Z" --k8s-namespace + arc --use-k8s --dry-run +""".format( + short=" Restore a database to an Azure Arc enabled SQL managed instance.", + long="", + ex1="Ex 1 - Restore a database using Point in time restore.", + ) +) diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmidb/models/__init__.py b/src/arcdata/arcdata/azext_arcdata/sqlmidb/models/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmidb/models/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/sqlmidb/util.py b/src/arcdata/arcdata/azext_arcdata/sqlmidb/util.py new file mode 100644 index 00000000000..e9b3a9ed1d9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/sqlmidb/util.py @@ -0,0 +1,25 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from datetime import datetime + +from dateutil import parser, tz + + +def parse_restore_time(time): + t = parser.parse(time) + if t.tzinfo is None: + t = datetime( + t.year, + t.month, + t.day, + t.hour, + t.minute, + t.second, + t.microsecond, + tz.tzlocal(), + ) + return t.astimezone(tz.tzutc()) diff --git a/src/arcdata/arcdata/azext_arcdata/test/__init__.py b/src/arcdata/arcdata/azext_arcdata/test/__init__.py new file mode 100644 index 00000000000..77350c40ee9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/__init__.py @@ -0,0 +1,5 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ diff --git a/src/arcdata/arcdata/azext_arcdata/test/ad_connector/__init__.py b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/__init__.py new file mode 100644 index 00000000000..70445d31ba4 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/__init__.py @@ -0,0 +1,3 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ diff --git a/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_automatic_all_args[Deployed Active Directory connector].yaml b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_automatic_all_args[Deployed Active Directory connector].yaml new file mode 100644 index 00000000000..624f4d40cc9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_automatic_all_args[Deployed Active Directory connector].yaml @@ -0,0 +1,140 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadcauto + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"activedirectoryconnectors.arcdata.microsoft.com + \"arcadcauto\" not found","reason":"NotFound","details":{"name":"arcadcauto","group":"arcdata.microsoft.com","kind":"activedirectoryconnectors"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '284' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 19:35:09 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/arcadc-domain-service-account-secret + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"arcadc-domain-service-account-secret","namespace":"test","uid":"a1091b2a-eb16-44f3-9cc7-70d68adf1526","resourceVersion":"1299742","creationTimestamp":"2022-09-23T19:35:09Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-09-23T19:35:09Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '533' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 19:35:09 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/arcadc-domain-service-account-secret + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"arcadc-domain-service-account-secret","namespace":"test","uid":"a1091b2a-eb16-44f3-9cc7-70d68adf1526","resourceVersion":"1299742","creationTimestamp":"2022-09-23T19:35:09Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-09-23T19:35:09Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '533' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 19:35:09 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "arcdata.microsoft.com/v1", "kind": "ActiveDirectoryConnector", + "spec": {"activeDirectory": {"realm": "CONTOSO.LOCAL", "netbiosDomainName": + "CONTOSO", "ouDistinguishedName": "OU=arcou,DC=contoso,DC=local", "serviceAccountProvisioning": + "automatic", "domainServiceAccountSecret": "arcadc-domain-service-account-secret", + "domainControllers": {"primaryDomainController": {"hostname": "dc1.contoso.local"}, + "secondaryDomainControllers": [{"hostname": "dc2.contoso.local"}, {"hostname": + "dc3.contoso.local"}, {"hostname": "dc2.contoso.local"}, {"hostname": "dc3.contoso.local"}]}}, + "dns": {"domainName": "contoso.local", "nameserverIPAddresses": ["11.11.111.111", + "22.22.222.222"], "replicas": 2, "preferK8sDnsForPtrLookups": false}}, "metadata": + {"name": "arcadcauto", "namespace": "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1","kind":"ActiveDirectoryConnector","metadata":{"creationTimestamp":"2022-09-23T19:35:09Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:activeDirectory":{".":{},"f:domainControllers":{".":{},"f:primaryDomainController":{".":{},"f:hostname":{}},"f:secondaryDomainControllers":{}},"f:domainServiceAccountSecret":{},"f:netbiosDomainName":{},"f:ouDistinguishedName":{},"f:realm":{},"f:serviceAccountProvisioning":{}},"f:dns":{".":{},"f:domainName":{},"f:nameserverIPAddresses":{},"f:preferK8sDnsForPtrLookups":{},"f:replicas":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-09-23T19:35:09Z"}],"name":"arcadcauto","namespace":"test","ownerReferences":[{"apiVersion":"arcdata.microsoft.com/v5","controller":true,"kind":"DataController","name":"datacontroller-ravpate-4881c1a57","uid":"edd415e9-6395-417c-b169-996b47e4de3d"}],"resourceVersion":"1299747","uid":"f59a9af6-8977-4a67-acba-7f386e0e950e"},"spec":{"activeDirectory":{"domainControllers":{"primaryDomainController":{"hostname":"dc1.contoso.local"},"secondaryDomainControllers":[{"hostname":"dc2.contoso.local"},{"hostname":"dc3.contoso.local"},{"hostname":"dc2.contoso.local"},{"hostname":"dc3.contoso.local"}]},"domainServiceAccountSecret":"arcadc-domain-service-account-secret","netbiosDomainName":"CONTOSO","ouDistinguishedName":"OU=arcou,DC=contoso,DC=local","realm":"CONTOSO.LOCAL","serviceAccountProvisioning":"automatic"},"dns":{"domainName":"contoso.local","nameserverIPAddresses":["11.11.111.111","22.22.222.222"],"preferK8sDnsForPtrLookups":false,"replicas":2}}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1746' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 19:35:09 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_automatic_all_args[is being created].yaml b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_automatic_all_args[is being created].yaml new file mode 100644 index 00000000000..b0a0db9c857 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_automatic_all_args[is being created].yaml @@ -0,0 +1,148 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadcauto + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"activedirectoryconnectors.arcdata.microsoft.com + \"arcadcauto\" not found","reason":"NotFound","details":{"name":"arcadcauto","group":"arcdata.microsoft.com","kind":"activedirectoryconnectors"},"code":404} + + ' + headers: + Audit-Id: + - e7045f45-5c29-4fae-b4ce-644f115883c9 + Cache-Control: + - no-cache, private + Content-Length: + - '284' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/arcadc-domain-service-account-secret + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"arcadc-domain-service-account-secret","namespace":"test","uid":"93f9f3da-a126-4ad5-85e6-1b0eb7abe921","resourceVersion":"365984","creationTimestamp":"2023-01-09T20:06:47Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2023-01-09T20:06:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Audit-Id: + - 4bea6b93-e7ec-44b4-b880-5f9a74b3affb + Cache-Control: + - no-cache, private + Content-Length: + - '532' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/arcadc-domain-service-account-secret + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"arcadc-domain-service-account-secret","namespace":"test","uid":"93f9f3da-a126-4ad5-85e6-1b0eb7abe921","resourceVersion":"365984","creationTimestamp":"2023-01-09T20:06:47Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2023-01-09T20:06:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Audit-Id: + - ed19a1f6-6206-4582-95a5-6339b8e15ec8 + Cache-Control: + - no-cache, private + Content-Length: + - '532' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "arcdata.microsoft.com/v1", "kind": "ActiveDirectoryConnector", + "spec": {"activeDirectory": {"realm": "BDC.ARIS.LOCAL", "netbiosDomainName": + "BDC", "ouDistinguishedName": "OU=arcou,DC=bdc,DC=aris,DC=local", "serviceAccountProvisioning": + "automatic", "domainServiceAccountSecret": "arcadc-domain-service-account-secret", + "domainControllers": {"primaryDomainController": {"hostname": "aris-win2016-dc.bdc.aris.local"}, + "secondaryDomainControllers": [{"hostname": "bdcarislocal2.bdc.aris.local"}, + {"hostname": "bdcarislocal2.bdc.aris.local"}]}}, "dns": {"domainName": "bdc.aris.local", + "nameserverIPAddresses": ["10.91.136.121", "10.91.136.203"], "replicas": 2, + "preferK8sDnsForPtrLookups": false}}, "metadata": {"name": "arcadcauto", "namespace": + "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1","kind":"ActiveDirectoryConnector","metadata":{"creationTimestamp":"2023-01-09T20:06:47Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:activeDirectory":{".":{},"f:domainControllers":{".":{},"f:primaryDomainController":{".":{},"f:hostname":{}},"f:secondaryDomainControllers":{}},"f:domainServiceAccountSecret":{},"f:netbiosDomainName":{},"f:ouDistinguishedName":{},"f:realm":{},"f:serviceAccountProvisioning":{}},"f:dns":{".":{},"f:domainName":{},"f:nameserverIPAddresses":{},"f:preferK8sDnsForPtrLookups":{},"f:replicas":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-01-09T20:06:47Z"}],"name":"arcadcauto","namespace":"test","ownerReferences":[{"apiVersion":"arcdata.microsoft.com/v5","controller":true,"kind":"DataController","name":"datacontroller-sachaga-e80fdd9cd","uid":"325e913f-85cf-4fac-af21-37e209179a53"}],"resourceVersion":"365992","uid":"905a2939-43bb-4461-b990-6638e31ab45a"},"spec":{"activeDirectory":{"domainControllers":{"primaryDomainController":{"hostname":"aris-win2016-dc.bdc.aris.local"},"secondaryDomainControllers":[{"hostname":"bdcarislocal2.bdc.aris.local"},{"hostname":"bdcarislocal2.bdc.aris.local"}]},"domainServiceAccountSecret":"arcadc-domain-service-account-secret","netbiosDomainName":"BDC","ouDistinguishedName":"OU=arcou,DC=bdc,DC=aris,DC=local","realm":"BDC.ARIS.LOCAL","serviceAccountProvisioning":"automatic"},"dns":{"domainName":"bdc.aris.local","nameserverIPAddresses":["10.91.136.121","10.91.136.203"],"preferK8sDnsForPtrLookups":false,"replicas":2}}} + + ' + headers: + Audit-Id: + - 97f3eb5e-daf0-4086-ab54-fc3bfd4242d6 + Cache-Control: + - no-cache, private + Content-Length: + - '1716' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_automatic_required_args[Deployed Active Directory connector].yaml b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_automatic_required_args[Deployed Active Directory connector].yaml new file mode 100644 index 00000000000..d439bfa616e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_automatic_required_args[Deployed Active Directory connector].yaml @@ -0,0 +1,170 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadcauto + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"activedirectoryconnectors.arcdata.microsoft.com + \"arcadcauto\" not found","reason":"NotFound","details":{"name":"arcadcauto","group":"arcdata.microsoft.com","kind":"activedirectoryconnectors"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '284' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 19:35:09 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/arcadc-domain-service-account-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"arcadc-domain-service-account-secret\" not found","reason":"NotFound","details":{"name":"arcadc-domain-service-account-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '246' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 19:35:09 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "arcadc-domain-service-account-secret"}, + "type": "Opaque", "data": {"username": "dXNlcm5hbWU=", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"arcadc-domain-service-account-secret","namespace":"test","uid":"a1091b2a-eb16-44f3-9cc7-70d68adf1526","resourceVersion":"1299742","creationTimestamp":"2022-09-23T19:35:09Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-09-23T19:35:09Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '533' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 19:35:09 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "arcdata.microsoft.com/v1", "kind": "ActiveDirectoryConnector", + "spec": {"activeDirectory": {"realm": "CONTOSO.LOCAL", "ouDistinguishedName": + "OU=arcou,DC=contoso,DC=local", "serviceAccountProvisioning": "automatic", "domainServiceAccountSecret": + "arcadc-domain-service-account-secret"}, "dns": {"nameserverIPAddresses": ["11.11.111.111", + "22.22.222.222"], "replicas": 1, "preferK8sDnsForPtrLookups": true}}, "metadata": + {"name": "arcadcauto", "namespace": "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1","kind":"ActiveDirectoryConnector","metadata":{"creationTimestamp":"2022-09-23T19:35:09Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:activeDirectory":{".":{},"f:domainServiceAccountSecret":{},"f:ouDistinguishedName":{},"f:realm":{},"f:serviceAccountProvisioning":{}},"f:dns":{".":{},"f:nameserverIPAddresses":{},"f:preferK8sDnsForPtrLookups":{},"f:replicas":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-09-23T19:35:09Z"}],"name":"arcadcauto","namespace":"test","ownerReferences":[{"apiVersion":"arcdata.microsoft.com/v5","controller":true,"kind":"DataController","name":"datacontroller-ravpate-4881c1a57","uid":"edd415e9-6395-417c-b169-996b47e4de3d"}],"resourceVersion":"1299743","uid":"b94a8508-f11b-4a69-899c-9167202b02bd"},"spec":{"activeDirectory":{"domainServiceAccountSecret":"arcadc-domain-service-account-secret","netbiosDomainName":"CONTOSO","ouDistinguishedName":"OU=arcou,DC=contoso,DC=local","realm":"CONTOSO.LOCAL","serviceAccountProvisioning":"automatic"},"dns":{"domainName":"contoso.local","nameserverIPAddresses":["11.11.111.111","22.22.222.222"],"preferK8sDnsForPtrLookups":true,"replicas":1}}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1340' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 19:35:09 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadcauto + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","details":{"name":"arcadcauto","group":"arcdata.microsoft.com","kind":"activedirectoryconnectors","uid":"b94a8508-f11b-4a69-899c-9167202b02bd"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '213' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 19:35:09 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_automatic_required_args[is being created].yaml b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_automatic_required_args[is being created].yaml new file mode 100644 index 00000000000..cbfe6ef8ed6 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_automatic_required_args[is being created].yaml @@ -0,0 +1,181 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadcauto + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"activedirectoryconnectors.arcdata.microsoft.com + \"arcadcauto\" not found","reason":"NotFound","details":{"name":"arcadcauto","group":"arcdata.microsoft.com","kind":"activedirectoryconnectors"},"code":404} + + ' + headers: + Audit-Id: + - 1baabdf9-bfe2-4d21-840e-2b17ecdb0a89 + Cache-Control: + - no-cache, private + Content-Length: + - '284' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/arcadc-domain-service-account-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"arcadc-domain-service-account-secret\" not found","reason":"NotFound","details":{"name":"arcadc-domain-service-account-secret","kind":"secrets"},"code":404} + + ' + headers: + Audit-Id: + - f66435c6-f2b8-4c9f-831f-748d34274a43 + Cache-Control: + - no-cache, private + Content-Length: + - '246' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "arcadc-domain-service-account-secret"}, + "type": "Opaque", "data": {"username": "dXNlcm5hbWU=", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"arcadc-domain-service-account-secret","namespace":"test","uid":"93f9f3da-a126-4ad5-85e6-1b0eb7abe921","resourceVersion":"365984","creationTimestamp":"2023-01-09T20:06:47Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2023-01-09T20:06:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Audit-Id: + - 3f896060-80ff-4647-a0bd-36342486983e + Cache-Control: + - no-cache, private + Content-Length: + - '532' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "arcdata.microsoft.com/v1", "kind": "ActiveDirectoryConnector", + "spec": {"activeDirectory": {"realm": "BDC.ARIS.LOCAL", "ouDistinguishedName": + "OU=arcou,DC=bdc,DC=aris,DC=local", "serviceAccountProvisioning": "automatic", + "domainServiceAccountSecret": "arcadc-domain-service-account-secret"}, "dns": + {"nameserverIPAddresses": ["10.91.136.121", "10.91.136.203"], "replicas": 1, + "preferK8sDnsForPtrLookups": true}}, "metadata": {"name": "arcadcauto", "namespace": + "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1","kind":"ActiveDirectoryConnector","metadata":{"creationTimestamp":"2023-01-09T20:06:47Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:activeDirectory":{".":{},"f:domainServiceAccountSecret":{},"f:ouDistinguishedName":{},"f:realm":{},"f:serviceAccountProvisioning":{}},"f:dns":{".":{},"f:nameserverIPAddresses":{},"f:preferK8sDnsForPtrLookups":{},"f:replicas":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-01-09T20:06:47Z"}],"name":"arcadcauto","namespace":"test","ownerReferences":[{"apiVersion":"arcdata.microsoft.com/v5","controller":true,"kind":"DataController","name":"datacontroller-sachaga-e80fdd9cd","uid":"325e913f-85cf-4fac-af21-37e209179a53"}],"resourceVersion":"365985","uid":"83eb5153-14eb-43eb-b289-0857c90609c9"},"spec":{"activeDirectory":{"domainServiceAccountSecret":"arcadc-domain-service-account-secret","netbiosDomainName":"BDC","ouDistinguishedName":"OU=arcou,DC=bdc,DC=aris,DC=local","realm":"BDC.ARIS.LOCAL","serviceAccountProvisioning":"automatic"},"dns":{"domainName":"bdc.aris.local","nameserverIPAddresses":["10.91.136.121","10.91.136.203"],"preferK8sDnsForPtrLookups":true,"replicas":1}}} + + ' + headers: + Audit-Id: + - aa85a054-5ddf-4039-bdeb-ceefc73e7f7c + Cache-Control: + - no-cache, private + Content-Length: + - '1341' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadcauto + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","details":{"name":"arcadcauto","group":"arcdata.microsoft.com","kind":"activedirectoryconnectors","uid":"83eb5153-14eb-43eb-b289-0857c90609c9"}} + + ' + headers: + Audit-Id: + - 6a9ae12c-9c8e-4cab-a242-7f88adc01615 + Cache-Control: + - no-cache, private + Content-Length: + - '213' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_manual_all_args[Deployed Active Directory connector].yaml b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_manual_all_args[Deployed Active Directory connector].yaml new file mode 100644 index 00000000000..d714688772b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_manual_all_args[Deployed Active Directory connector].yaml @@ -0,0 +1,74 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadc + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"activedirectoryconnectors.arcdata.microsoft.com + \"arcadc\" not found","reason":"NotFound","details":{"name":"arcadc","group":"arcdata.microsoft.com","kind":"activedirectoryconnectors"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '276' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 19:35:09 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "arcdata.microsoft.com/v1", "kind": "ActiveDirectoryConnector", + "spec": {"activeDirectory": {"realm": "CONTOSO.LOCAL", "netbiosDomainName": + "CONTOSO", "serviceAccountProvisioning": "manual", "domainControllers": {"primaryDomainController": + {"hostname": "dc1.contoso.local"}, "secondaryDomainControllers": [{"hostname": + "dc2.contoso.local"}, {"hostname": "dc3.contoso.local"}]}}, "dns": {"domainName": + "contoso.local", "nameserverIPAddresses": ["11.11.111.111", "22.22.222.222"], + "replicas": 2, "preferK8sDnsForPtrLookups": false}}, "metadata": {"name": "arcadc", + "namespace": "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1","kind":"ActiveDirectoryConnector","metadata":{"creationTimestamp":"2022-09-23T19:35:09Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:activeDirectory":{".":{},"f:domainControllers":{".":{},"f:primaryDomainController":{".":{},"f:hostname":{}},"f:secondaryDomainControllers":{}},"f:netbiosDomainName":{},"f:realm":{},"f:serviceAccountProvisioning":{}},"f:dns":{".":{},"f:domainName":{},"f:nameserverIPAddresses":{},"f:preferK8sDnsForPtrLookups":{},"f:replicas":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-09-23T19:35:09Z"}],"name":"arcadc","namespace":"test","ownerReferences":[{"apiVersion":"arcdata.microsoft.com/v5","controller":true,"kind":"DataController","name":"datacontroller-ravpate-4881c1a57","uid":"edd415e9-6395-417c-b169-996b47e4de3d"}],"resourceVersion":"1299745","uid":"2266a320-777f-4982-8e76-6d2bb89f6d9c"},"spec":{"activeDirectory":{"domainControllers":{"primaryDomainController":{"hostname":"dc1.contoso.local"},"secondaryDomainControllers":[{"hostname":"dc2.contoso.local"},{"hostname":"dc3.contoso.local"}]},"netbiosDomainName":"CONTOSO","realm":"CONTOSO.LOCAL","serviceAccountProvisioning":"manual"},"dns":{"domainName":"contoso.local","nameserverIPAddresses":["11.11.111.111","22.22.222.222"],"preferK8sDnsForPtrLookups":false,"replicas":2}}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1491' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 19:35:09 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_manual_all_args[is being created].yaml b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_manual_all_args[is being created].yaml new file mode 100644 index 00000000000..2b1f8da59ae --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_manual_all_args[is being created].yaml @@ -0,0 +1,78 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadc + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"activedirectoryconnectors.arcdata.microsoft.com + \"arcadc\" not found","reason":"NotFound","details":{"name":"arcadc","group":"arcdata.microsoft.com","kind":"activedirectoryconnectors"},"code":404} + + ' + headers: + Audit-Id: + - 5ffde575-ba6a-443a-a3d7-c5f5d4da6b1f + Cache-Control: + - no-cache, private + Content-Length: + - '276' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "arcdata.microsoft.com/v1", "kind": "ActiveDirectoryConnector", + "spec": {"activeDirectory": {"realm": "BDC.ARIS.LOCAL", "netbiosDomainName": + "BDC", "serviceAccountProvisioning": "manual", "domainControllers": {"primaryDomainController": + {"hostname": "aris-win2016-dc.bdc.aris.local"}, "secondaryDomainControllers": + [{"hostname": "bdcarislocal2.bdc.aris.local"}]}}, "dns": {"domainName": "bdc.aris.local", + "nameserverIPAddresses": ["10.91.136.121", "10.91.136.203"], "replicas": 2, + "preferK8sDnsForPtrLookups": false}}, "metadata": {"name": "arcadc", "namespace": + "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1","kind":"ActiveDirectoryConnector","metadata":{"creationTimestamp":"2023-01-09T20:06:47Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:activeDirectory":{".":{},"f:domainControllers":{".":{},"f:primaryDomainController":{".":{},"f:hostname":{}},"f:secondaryDomainControllers":{}},"f:netbiosDomainName":{},"f:realm":{},"f:serviceAccountProvisioning":{}},"f:dns":{".":{},"f:domainName":{},"f:nameserverIPAddresses":{},"f:preferK8sDnsForPtrLookups":{},"f:replicas":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-01-09T20:06:47Z"}],"name":"arcadc","namespace":"test","ownerReferences":[{"apiVersion":"arcdata.microsoft.com/v5","controller":true,"kind":"DataController","name":"datacontroller-sachaga-e80fdd9cd","uid":"325e913f-85cf-4fac-af21-37e209179a53"}],"resourceVersion":"365989","uid":"ef47fb5e-cd63-43fd-bd43-a80cf2f923b1"},"spec":{"activeDirectory":{"domainControllers":{"primaryDomainController":{"hostname":"aris-win2016-dc.bdc.aris.local"},"secondaryDomainControllers":[{"hostname":"bdcarislocal2.bdc.aris.local"}]},"netbiosDomainName":"BDC","realm":"BDC.ARIS.LOCAL","serviceAccountProvisioning":"manual"},"dns":{"domainName":"bdc.aris.local","nameserverIPAddresses":["10.91.136.121","10.91.136.203"],"preferK8sDnsForPtrLookups":false,"replicas":2}}} + + ' + headers: + Audit-Id: + - 4b67f547-53e2-4c03-9368-37124441ccfc + Cache-Control: + - no-cache, private + Content-Length: + - '1479' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_manual_required_args[Deployed Active Directory connector].yaml b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_manual_required_args[Deployed Active Directory connector].yaml new file mode 100644 index 00000000000..7b2fde5df14 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_manual_required_args[Deployed Active Directory connector].yaml @@ -0,0 +1,273 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"1299739"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"4d7d29dd-c608-4c06-a0c1-8087e0510b50","resourceVersion":"1293295","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"arccertificates.clusterconfig.azure.com","uid":"02920dd8-66e3-44c2-9993-5775b1f89d97","resourceVersion":"506460","generation":1,"creationTimestamp":"2022-09-19T18:41:47Z","labels":{"app.kubernetes.io/managed-by":"Helm"},"annotations":{"controller-gen.kubebuilder.io/version":"v0.4.1","meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:controller-gen.kubebuilder.io/version":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"clusterconfig.azure.com","names":{"plural":"arccertificates","singular":"arccertificate","kind":"ArcCertificate","listKind":"ArcCertificateList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"ArcCertificate + is the Schema for the arccertificates API","type":"object","properties":{"apiVersion":{"description":"APIVersion + defines the versioned schema of this representation of an object. Servers + should convert recognized schemas to the latest internal value, and may reject + unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind + is a string value representing the REST resource this object represents. Servers + may infer this from the endpoint the client submits requests to. Cannot be + updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"ArcCertificateSpec + defines the desired state of ArcCertificate","type":"object","properties":{"issuer":{"type":"string"},"serviceName":{"description":"Foo + is an example field of ArcCertificate. Edit arccertificate_types.go to remove/update","type":"string"}}},"status":{"description":"ArcCertificateStatus + defines the observed state of ArcCertificate","type":"object","properties":{"errorMessage":{"type":"string"},"expirationTime":{"type":"string"},"lastSyncTime":{"description":"INSERT + ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run + \"make\" to regenerate code after modifying this file","type":"string"},"secretName":{"type":"string"}}}}}},"subresources":{"status":{}}}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"arccertificates","singular":"arccertificate","kind":"ArcCertificate","listKind":"ArcCertificateList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"azureclusteridentityrequests.clusterconfig.azure.com","uid":"c73e05f6-10d0-4af1-aceb-62a584565d5f","resourceVersion":"506440","generation":1,"creationTimestamp":"2022-09-19T18:41:47Z","labels":{"app.kubernetes.io/managed-by":"Helm"},"annotations":{"controller-gen.kubebuilder.io/version":"v0.2.4","meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:controller-gen.kubebuilder.io/version":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"clusterconfig.azure.com","names":{"plural":"azureclusteridentityrequests","singular":"azureclusteridentityrequest","shortNames":["azidentityreq"],"kind":"AzureClusterIdentityRequest","listKind":"AzureClusterIdentityRequestList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"AzureClusterIdentityRequest + is the Schema for the azureclusteridentityrequests API","type":"object","properties":{"apiVersion":{"description":"APIVersion + defines the versioned schema of this representation of an object. Servers + should convert recognized schemas to the latest internal value, and may reject + unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind + is a string value representing the REST resource this object represents. Servers + may infer this from the endpoint the client submits requests to. Cannot be + updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"AzureClusterIdentityRequestSpec + defines the desired state of AzureClusterIdentityRequest","type":"object","properties":{"apiVersion":{"type":"string"},"audience":{"type":"string"},"resourceId":{"type":"string"}}},"status":{"description":"AzureClusterIdentityRequestStatus + defines the observed state of AzureClusterIdentityRequest","type":"object","properties":{"expirationTime":{"type":"string"},"tokenReference":{"description":"INSERT + ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run + \"make\" to regenerate code after modifying this file","type":"object","properties":{"dataName":{"type":"string"},"secretName":{"type":"string"}}}}}}}},"subresources":{"status":{}}}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"azureclusteridentityrequests","singular":"azureclusteridentityrequest","shortNames":["azidentityreq"],"kind":"AzureClusterIdentityRequest","listKind":"AzureClusterIdentityRequestList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"azureextensionidentities.clusterconfig.azure.com","uid":"a7a8f378-284a-4a23-b13e-16c28dde157f","resourceVersion":"506473","generation":1,"creationTimestamp":"2022-09-19T18:41:47Z","labels":{"app.kubernetes.io/managed-by":"Helm"},"annotations":{"controller-gen.kubebuilder.io/version":"v0.2.4","meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:controller-gen.kubebuilder.io/version":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"clusterconfig.azure.com","names":{"plural":"azureextensionidentities","singular":"azureextensionidentity","kind":"AzureExtensionIdentity","listKind":"AzureExtensionIdentityList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"AzureExtensionIdentity + is the Schema for the azureextensionidentities API","type":"object","properties":{"apiVersion":{"description":"APIVersion + defines the versioned schema of this representation of an object. Servers + should convert recognized schemas to the latest internal value, and may reject + unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind + is a string value representing the REST resource this object represents. Servers + may infer this from the endpoint the client submits requests to. Cannot be + updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"AzureExtensionIdentitySpec + defines the desired state of AzureExtensionIdentity","type":"object","properties":{"serviceAccounts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}}},"tokenNamespace":{"type":"string"}}},"status":{"description":"AzureExtensionIdentityStatus + defines the observed state of AzureExtensionIdentity","type":"object"}}}},"subresources":{"status":{}}}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"azureextensionidentities","singular":"azureextensionidentity","kind":"AzureExtensionIdentity","listKind":"AzureExtensionIdentityList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"connectedclusters.arc.azure.com","uid":"57b24e97-2d9b-4b68-a4c4-ac7cbe014648","resourceVersion":"506436","generation":1,"creationTimestamp":"2022-09-19T18:41:47Z","labels":{"app.kubernetes.io/managed-by":"Helm","azuresync":"true"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default","resourceSync.arc.azure.com/ProviderNamespace":"Microsoft.Kubernetes","resourceSync.arc.azure.com/ResourceType":"ConnectedClusters"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{},"f:resourceSync.arc.azure.com/ProviderNamespace":{},"f:resourceSync.arc.azure.com/ResourceType":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:azuresync":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arc.azure.com","names":{"plural":"connectedclusters","singular":"connectedcluster","kind":"ConnectedCluster","listKind":"ConnectedClusterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"ConnectedCluster + is the object for the ConnectedClusters API","type":"object","properties":{"apiVersion":{"description":"APIVersion + defines the versioned schema of this representation of an object. Servers + should convert recognized schemas to the latest internal value, and may reject + unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind + is a string value representing the REST resource this object represents. Servers + may infer this from the endpoint the client submits requests to. Cannot be + updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"ConnectedClusterSpec + defines the desired state of ConnectedCluster","type":"object","properties":{"azureResourceId":{"description":"AzureResourceId + is the armId of the cluster","type":"string"}}},"status":{"description":"ConnectedClusterStatus + defines the observed state of ConnectedCluster","type":"object","properties":{"arcAgentVersion":{"description":"ArcAgentVersion + is the version of the arc agents in the cluster","type":"string"},"coreCount":{"description":"CoreCount + is the collective no of cores limit over all nodes present in the cluster","type":"integer"},"kubernetesAPIServerVersion":{"description":"KubernetesAPIServerVersion + is the kubernetes version the cluster is running on","type":"string"},"lastConnectivityTime":{"type":"string","format":"date-time"},"managedIdentityCertificateExpirationTime":{"type":"string","format":"date-time"},"nodeCount":{"description":"NodeCount + is the no of the nodes present in the cluster","type":"integer"}}}}}},"subresources":{"status":{}}}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"connectedclusters","singular":"connectedcluster","kind":"ConnectedCluster","listKind":"ConnectedClusterList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"customlocationsettings.clusterconfig.azure.com","uid":"10b29171-3d28-4845-9b18-a4724dcf8881","resourceVersion":"506452","generation":1,"creationTimestamp":"2022-09-19T18:41:47Z","labels":{"app.kubernetes.io/managed-by":"Helm"},"annotations":{"controller-gen.kubebuilder.io/version":"v0.2.4","meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:controller-gen.kubebuilder.io/version":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"clusterconfig.azure.com","names":{"plural":"customlocationsettings","singular":"customlocationsettings","kind":"CustomLocationSettings","listKind":"CustomLocationSettingsList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"CustomLocationSettings + is the Schema for the customlocationsettings API","type":"object","properties":{"apiVersion":{"description":"APIVersion + defines the versioned schema of this representation of an object. Servers + should convert recognized schemas to the latest internal value, and may reject + unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind + is a string value representing the REST resource this object represents. Servers + may infer this from the endpoint the client submits requests to. Cannot be + updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"CustomLocationSettingsSpec + defines the desired state of CustomLocationSettings","type":"object","properties":{"ClusterRole":{"type":"string"},"EnabledResourceTypes":{"type":"array","items":{"type":"object","properties":{"ApiVersion":{"type":"string"},"ResourceMapping":{"type":"object","properties":{"Group":{"type":"string"},"Kind":{"type":"string"},"Name":{"type":"string"},"Version":{"type":"string"}}},"ResourceProviderNamespace":{"type":"string"},"ResourceType":{"type":"string"}}}},"ExtensionRegistrationTime":{"type":"integer"},"ExtensionType":{"type":"string"},"RPAppId":{"description":"Foo + is an example field of CustomLocationSettings. Edit CustomLocationSettings_types.go + to remove/update","type":"string"}}},"status":{"description":"CustomLocationSettingsStatus + defines the observed state of CustomLocationSettings","type":"object"}}}},"subresources":{"status":{}}}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"customlocationsettings","singular":"customlocationsettings","kind":"CustomLocationSettings","listKind":"CustomLocationSettingsList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"f88234ba-f14d-4976-a3c2-8dcb1c8f59f4","resourceVersion":"1293303","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"cb73a7e3-4a09-4727-a7a7-b854f271c8cb","resourceVersion":"1293313","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"extensionconfigs.clusterconfig.azure.com","uid":"74656fac-da77-4daf-be61-6c44c47fe7b5","resourceVersion":"506445","generation":1,"creationTimestamp":"2022-09-19T18:41:47Z","labels":{"app.kubernetes.io/managed-by":"Helm"},"annotations":{"controller-gen.kubebuilder.io/version":"v0.8.0","meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:controller-gen.kubebuilder.io/version":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"clusterconfig.azure.com","names":{"plural":"extensionconfigs","singular":"extensionconfig","shortNames":["ec"],"kind":"ExtensionConfig","listKind":"ExtensionConfigList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"ExtensionConfig + is the Schema for the extensionconfigs API","type":"object","properties":{"apiVersion":{"description":"APIVersion + defines the versioned schema of this representation of an object. Servers + should convert recognized schemas to the latest internal value, and may reject + unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind + is a string value representing the REST resource this object represents. Servers + may infer this from the endpoint the client submits requests to. Cannot be + updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"ExtensionConfigSpec + defines the desired state of ExtensionConfig","type":"object","properties":{"autoUpgradeMinorVersion":{"type":"boolean"},"correlationId":{"type":"string"},"extensionRegistrationTime":{"type":"integer","format":"int64"},"extensionType":{"type":"string"},"lastModifiedTime":{"type":"string","format":"date-time"},"operationId":{"type":"string"},"parameter":{"type":"object","additionalProperties":{"type":"string"}},"protectedParameters":{"type":"object","properties":{"referenceName":{"type":"string"},"version":{"type":"string"}}},"reconcilerIntervalInSeconds":{"type":"integer"},"releaseTrain":{"type":"string"},"repoUrl":{"type":"string"},"softDelete":{"type":"boolean"},"version":{"type":"string"}}},"status":{"description":"ExtensionConfigStatus + defines the observed state of ExtensionConfig","type":"object","properties":{"configAppliedTime":{"description":"INSERT + ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run + \"make\" to regenerate code after modifying this file","type":"string"},"lastSuccessfulReconciledTime":{"type":"string"},"message":{"type":"string"},"observedGeneration":{"type":"integer","format":"int64"},"observedOperationId":{"type":"string"},"operatorPropertiesHashed":{"type":"string"},"reconciliationError":{"type":"string"},"status":{"type":"string"},"syncStatus":{"type":"object","properties":{"isSyncedWithAzure":{"type":"boolean"},"lastSyncTime":{"type":"string"}}}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Type","type":"string","description":"Extension + Type","jsonPath":".spec.extensionType"},{"name":"Version","type":"string","description":"Extension + Version","jsonPath":".spec.version"},{"name":"Age","type":"date","description":"Extension + Creation Time","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"extensionconfigs","singular":"extensionconfig","shortNames":["ec"],"kind":"ExtensionConfig","listKind":"ExtensionConfigList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"33a44109-673e-493d-8e3d-284106f83966","resourceVersion":"1293316","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"gitconfigs.clusterconfig.azure.com","uid":"97767cc5-42ed-4b1b-bad5-8a7e78de8e5f","resourceVersion":"506474","generation":1,"creationTimestamp":"2022-09-19T18:41:47Z","labels":{"app.kubernetes.io/managed-by":"Helm"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"clusterconfig.azure.com","names":{"plural":"gitconfigs","singular":"gitconfig","kind":"GitConfig","listKind":"GitConfigList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"GitConfig + is the Schema for the gitconfigs API","type":"object","properties":{"apiVersion":{"description":"APIVersion + defines the versioned schema of this representation of an object. Servers + should convert recognized schemas to the latest internal value, and may reject + unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind + is a string value representing the REST resource this object represents. Servers + may infer this from the endpoint the client submits requests to. Cannot be + updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"GitConfigSpec + defines the desired state of GitConfig","type":"object","required":["giturl","operatorClientLocation","operatorParams","operatorType","operatorScope","operatorInstanceName","enableHelmOperator"],"properties":{"correlationId":{"type":"string"},"deleteOperator":{"type":"boolean"},"enableHelmOperator":{"type":"boolean"},"giturl":{"type":"string"},"helmOperatorProperties":{"type":"object","properties":{"chartName":{"type":"string"},"chartValues":{"type":"string"},"chartVersion":{"type":"string"},"repoUrl":{"type":"string"}}},"operatorClientLocation":{"type":"string"},"operatorInstanceName":{"type":"string"},"operatorParams":{"type":"string"},"operatorScope":{"type":"string"},"operatorType":{"type":"string"},"protectedParameters":{"type":"object","required":["referenceName","version"],"properties":{"referenceName":{"type":"string"},"version":{"type":"string"}}},"sshKnownHostsContents":{"type":"string"}}},"status":{"description":"GitConfigStatus + defines the observed state of GitConfig","type":"object","required":["configAppliedTime","lastPolledStatusTime","message","proxyConfigHash","publicKey","status","isSyncedWithAzure","retryCountPublicKey"],"properties":{"configAppliedTime":{"type":"string"},"errorsInTheLastSynced":{"type":"string"},"isSyncedWithAzure":{"type":"boolean"},"lastGitCommitInformation":{"type":"string"},"lastPolledStatusTime":{"type":"string"},"message":{"type":"string"},"mostRecentEventsFromFlux":{"type":"array","items":{"type":"string"}},"proxyConfigHash":{"type":"string"},"publicKey":{"type":"string"},"retryCountPublicKey":{"type":"integer"},"status":{"type":"string"}}}}}},"subresources":{"status":{}}}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"gitconfigs","singular":"gitconfig","kind":"GitConfig","listKind":"GitConfigList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"healthstates.clusterconfig.azure.com","uid":"1cf79fde-b253-4635-8df6-0887bd87a8b5","resourceVersion":"506450","generation":1,"creationTimestamp":"2022-09-19T18:41:47Z","labels":{"app.kubernetes.io/managed-by":"Helm"},"annotations":{"controller-gen.kubebuilder.io/version":"v0.4.1","meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:controller-gen.kubebuilder.io/version":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"clusterconfig.azure.com","names":{"plural":"healthstates","singular":"healthstate","kind":"HealthState","listKind":"HealthStateList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"HealthState + is the Schema for the healthstates API","type":"object","properties":{"apiVersion":{"description":"APIVersion + defines the versioned schema of this representation of an object. Servers + should convert recognized schemas to the latest internal value, and may reject + unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind + is a string value representing the REST resource this object represents. Servers + may infer this from the endpoint the client submits requests to. Cannot be + updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"HealthStateSpec + defines the desired state of HealthState","type":"object","properties":{"healthStateObjects":{"description":"HealthStateObjects + is the list of HealthState objects which contains state of the resource to + be verified","type":"array","items":{"type":"object","properties":{"errorCodeForFailure":{"description":"ErrorCodeForFailure + is the error metric to be emitted if resource is not present","type":"string"},"id":{"description":"Id + is the full ARM Resource Id of the parent resource (eg: Custom Location) that + this object belongs to.","type":"string"},"location":{"description":"Location + is the location of the parent resource (eg: Custom Location)","type":"string"},"name":{"description":"Name + is the name of the resource that we need to verify","type":"string"},"namespace":{"description":"Namespace + is the namespace that the resource is present in","type":"string"},"type":{"description":"Type + is the type of the resource that we need to verify","type":"string"}}}}}},"status":{"description":"HealthStateStatus + defines the observed state of HealthState","type":"object"}}}}}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"healthstates","singular":"healthstate","kind":"HealthState","listKind":"HealthStateList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"0a950d00-0469-4653-b488-a9bfde7ee610","resourceVersion":"1293319","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"d8fdb53a-eec7-436a-9b3a-b4839badd19e","resourceVersion":"1293322","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"05fa718b-271c-4f93-912b-6a89968fb360","resourceVersion":"1293325","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"fc3557ec-8066-41c7-86a8-a8266aa3fafe","resourceVersion":"1293329","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"0ae2a4cd-e520-4c31-b3db-421a970267b5","resourceVersion":"1293341","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"8830d633-859d-40c5-aabe-64d1c3f705e3","resourceVersion":"1293344","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"8f362c19-22e4-48f6-8abc-04f6fe0e29ad","resourceVersion":"1293338","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v6"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"96ee3741-f00b-4b64-ad3b-b530cfd26a1d","resourceVersion":"1293347","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta1"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 19:35:08 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadc + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"activedirectoryconnectors.arcdata.microsoft.com + \"arcadc\" not found","reason":"NotFound","details":{"name":"arcadc","group":"arcdata.microsoft.com","kind":"activedirectoryconnectors"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '276' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 19:35:08 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "arcdata.microsoft.com/v1", "kind": "ActiveDirectoryConnector", + "spec": {"activeDirectory": {"realm": "CONTOSO.LOCAL", "serviceAccountProvisioning": + "manual"}, "dns": {"nameserverIPAddresses": ["11.11.111.111", "22.22.222.222"], + "replicas": 1, "preferK8sDnsForPtrLookups": true}}, "metadata": {"name": "arcadc", + "namespace": "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1","kind":"ActiveDirectoryConnector","metadata":{"creationTimestamp":"2022-09-23T19:35:08Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:activeDirectory":{".":{},"f:realm":{},"f:serviceAccountProvisioning":{}},"f:dns":{".":{},"f:nameserverIPAddresses":{},"f:preferK8sDnsForPtrLookups":{},"f:replicas":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-09-23T19:35:08Z"}],"name":"arcadc","namespace":"test","ownerReferences":[{"apiVersion":"arcdata.microsoft.com/v5","controller":true,"kind":"DataController","name":"datacontroller-ravpate-4881c1a57","uid":"edd415e9-6395-417c-b169-996b47e4de3d"}],"resourceVersion":"1299740","uid":"13cccc48-285c-4ef6-bd38-a6ebe2ccf792"},"spec":{"activeDirectory":{"netbiosDomainName":"CONTOSO","realm":"CONTOSO.LOCAL","serviceAccountProvisioning":"manual"},"dns":{"domainName":"contoso.local","nameserverIPAddresses":["11.11.111.111","22.22.222.222"],"preferK8sDnsForPtrLookups":true,"replicas":1}}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1151' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 19:35:08 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadc + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","details":{"name":"arcadc","group":"arcdata.microsoft.com","kind":"activedirectoryconnectors","uid":"13cccc48-285c-4ef6-bd38-a6ebe2ccf792"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '209' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 19:35:09 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_manual_required_args[is being created].yaml b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_manual_required_args[is being created].yaml new file mode 100644 index 00000000000..fc4c5cb4458 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_create_manual_required_args[is being created].yaml @@ -0,0 +1,178 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"365977"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"c535268b-78e4-412a-93f4-13099c4bd063","resourceVersion":"313423","generation":1,"creationTimestamp":"2023-01-09T08:24:59Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:24:59Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:24:59Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-01-09T08:24:59Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-01-09T08:24:59Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"b4de1ef6-aa17-4ccb-a5be-fe9d68b311db","resourceVersion":"313430","generation":1,"creationTimestamp":"2023-01-09T08:24:59Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:24:59Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:24:59Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-01-09T08:24:59Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-01-09T08:24:59Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"82c3148f-3bf9-4023-aa3a-692855fea864","resourceVersion":"313436","generation":1,"creationTimestamp":"2023-01-09T08:24:59Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:24:59Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:24:59Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-01-09T08:24:59Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-01-09T08:24:59Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"6bdd5908-de05-4ead-9bc5-f2cfe73fba2e","resourceVersion":"313443","generation":1,"creationTimestamp":"2023-01-09T08:24:59Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:24:59Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:24:59Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-01-09T08:24:59Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-01-09T08:24:59Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"c4d9436f-08ea-489d-a0a1-16162a1ab3d5","resourceVersion":"313448","generation":1,"creationTimestamp":"2023-01-09T08:24:59Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:24:59Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:25:00Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-01-09T08:25:00Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-01-09T08:25:00Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"a7a70b51-b1d3-41d3-adb3-e4ab552f37de","resourceVersion":"313450","generation":1,"creationTimestamp":"2023-01-09T08:25:00Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:25:00Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:25:00Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-01-09T08:25:00Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-01-09T08:25:00Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"ee7e2794-0727-4302-afdc-e1417816f66b","resourceVersion":"313455","generation":1,"creationTimestamp":"2023-01-09T08:25:00Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:25:00Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:25:00Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-01-09T08:25:00Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-01-09T08:25:00Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"36b95153-bfc7-408e-ba35-f003b4d80ee2","resourceVersion":"313457","generation":1,"creationTimestamp":"2023-01-09T08:25:00Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:25:00Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:25:00Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"description":"List + of Extended Events sessions to collect.","type":"array","items":{"type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-01-09T08:25:00Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-01-09T08:25:00Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"f2306d4e-7267-40be-8205-835b6b050ff6","resourceVersion":"313478","generation":1,"creationTimestamp":"2023-01-09T08:25:00Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:25:00Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:25:00Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-01-09T08:25:00Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-01-09T08:25:00Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"09a4c902-c2af-4f77-a276-bfc19cb246da","resourceVersion":"313479","generation":1,"creationTimestamp":"2023-01-09T08:25:00Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:25:00Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:25:00Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-01-09T08:25:00Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-01-09T08:25:00Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"146a9078-1642-4971-bf77-d22aaa7b56de","resourceVersion":"313476","generation":1,"creationTimestamp":"2023-01-09T08:25:00Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:25:00Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:25:00Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-01-09T08:25:00Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-01-09T08:25:00Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"5dbb4575-14a4-4648-80c4-4e556e7a9217","resourceVersion":"313480","generation":1,"creationTimestamp":"2023-01-09T08:25:00Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:25:00Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:25:00Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-01-09T08:25:00Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-01-09T08:25:00Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"597a5fb3-cd73-429f-b037-d539777680af","resourceVersion":"313482","generation":1,"creationTimestamp":"2023-01-09T08:25:00Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:25:00Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-01-09T08:25:00Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-01-09T08:25:00Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-01-09T08:25:00Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Audit-Id: + - d576a6de-4efd-45f6-a5b4-f637d90d4cec + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:46 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadc + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"activedirectoryconnectors.arcdata.microsoft.com + \"arcadc\" not found","reason":"NotFound","details":{"name":"arcadc","group":"arcdata.microsoft.com","kind":"activedirectoryconnectors"},"code":404} + + ' + headers: + Audit-Id: + - 0c0ca708-5a49-4bea-9fdc-ab76931d1522 + Cache-Control: + - no-cache, private + Content-Length: + - '276' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "arcdata.microsoft.com/v1", "kind": "ActiveDirectoryConnector", + "spec": {"activeDirectory": {"realm": "BDC.ARIS.LOCAL", "serviceAccountProvisioning": + "manual"}, "dns": {"nameserverIPAddresses": ["10.91.136.121", "10.91.136.203"], + "replicas": 1, "preferK8sDnsForPtrLookups": true}}, "metadata": {"name": "arcadc", + "namespace": "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1","kind":"ActiveDirectoryConnector","metadata":{"creationTimestamp":"2023-01-09T20:06:47Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:activeDirectory":{".":{},"f:realm":{},"f:serviceAccountProvisioning":{}},"f:dns":{".":{},"f:nameserverIPAddresses":{},"f:preferK8sDnsForPtrLookups":{},"f:replicas":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-01-09T20:06:47Z"}],"name":"arcadc","namespace":"test","ownerReferences":[{"apiVersion":"arcdata.microsoft.com/v5","controller":true,"kind":"DataController","name":"datacontroller-sachaga-e80fdd9cd","uid":"325e913f-85cf-4fac-af21-37e209179a53"}],"resourceVersion":"365978","uid":"f7f9e155-5b13-4d0b-844d-7476dd974d7d"},"spec":{"activeDirectory":{"netbiosDomainName":"BDC","realm":"BDC.ARIS.LOCAL","serviceAccountProvisioning":"manual"},"dns":{"domainName":"bdc.aris.local","nameserverIPAddresses":["10.91.136.121","10.91.136.203"],"preferK8sDnsForPtrLookups":true,"replicas":1}}} + + ' + headers: + Audit-Id: + - 72add3bb-7d1b-4d5f-b797-7210f0d6ae67 + Cache-Control: + - no-cache, private + Content-Length: + - '1148' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadc + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","details":{"name":"arcadc","group":"arcdata.microsoft.com","kind":"activedirectoryconnectors","uid":"f7f9e155-5b13-4d0b-844d-7476dd974d7d"}} + + ' + headers: + Audit-Id: + - 1cbeab4f-c592-4dcc-955d-c350a87749be + Cache-Control: + - no-cache, private + Content-Length: + - '209' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_delete[arcadc-Deleted Active Directory connector].yaml b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_delete[arcadc-Deleted Active Directory connector].yaml new file mode 100644 index 00000000000..bbff9b7d6f5 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_delete[arcadc-Deleted Active Directory connector].yaml @@ -0,0 +1,36 @@ +interactions: +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadc + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","details":{"name":"arcadc","group":"arcdata.microsoft.com","kind":"activedirectoryconnectors","uid":"ef47fb5e-cd63-43fd-bd43-a80cf2f923b1"}} + + ' + headers: + Audit-Id: + - f801c62c-e77b-4140-bdab-a2c5b17034ae + Cache-Control: + - no-cache, private + Content-Length: + - '209' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:48 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_delete[arcadcauto-Deleted Active Directory connector].yaml b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_delete[arcadcauto-Deleted Active Directory connector].yaml new file mode 100644 index 00000000000..e8769c34872 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_delete[arcadcauto-Deleted Active Directory connector].yaml @@ -0,0 +1,36 @@ +interactions: +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadcauto + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","details":{"name":"arcadcauto","group":"arcdata.microsoft.com","kind":"activedirectoryconnectors","uid":"905a2939-43bb-4461-b990-6638e31ab45a"}} + + ' + headers: + Audit-Id: + - d09292fc-458a-4321-9140-9e8bc0e595b9 + Cache-Control: + - no-cache, private + Content-Length: + - '213' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:49 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_show[arcadc-arcadc].yaml b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_show[arcadc-arcadc].yaml new file mode 100644 index 00000000000..27633ee78c7 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_show[arcadc-arcadc].yaml @@ -0,0 +1,36 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadc + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1","kind":"ActiveDirectoryConnector","metadata":{"creationTimestamp":"2023-01-09T20:06:47Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:activeDirectory":{".":{},"f:domainControllers":{".":{},"f:primaryDomainController":{".":{},"f:hostname":{}},"f:secondaryDomainControllers":{}},"f:netbiosDomainName":{},"f:realm":{},"f:serviceAccountProvisioning":{}},"f:dns":{".":{},"f:domainName":{},"f:nameserverIPAddresses":{},"f:preferK8sDnsForPtrLookups":{},"f:replicas":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-01-09T20:06:47Z"},{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2023-01-09T20:06:47Z"}],"name":"arcadc","namespace":"test","ownerReferences":[{"apiVersion":"arcdata.microsoft.com/v5","controller":true,"kind":"DataController","name":"datacontroller-sachaga-e80fdd9cd","uid":"325e913f-85cf-4fac-af21-37e209179a53"}],"resourceVersion":"365991","uid":"ef47fb5e-cd63-43fd-bd43-a80cf2f923b1"},"spec":{"activeDirectory":{"domainControllers":{"primaryDomainController":{"hostname":"aris-win2016-dc.bdc.aris.local"},"secondaryDomainControllers":[{"hostname":"bdcarislocal2.bdc.aris.local"}]},"netbiosDomainName":"BDC","realm":"BDC.ARIS.LOCAL","serviceAccountProvisioning":"manual"},"dns":{"domainName":"bdc.aris.local","nameserverIPAddresses":["10.91.136.121","10.91.136.203"],"preferK8sDnsForPtrLookups":false,"replicas":2}},"status":{"lastUpdateTime":"2023-01-09T20:06:47.786168Z","observedGeneration":1,"state":"Creating"}} + + ' + headers: + Audit-Id: + - 154c2b23-409c-4f4d-9b7d-b8dff7204451 + Cache-Control: + - no-cache, private + Content-Length: + - '1833' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:48 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_show[arcadcauto-arcadcauto].yaml b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_show[arcadcauto-arcadcauto].yaml new file mode 100644 index 00000000000..e5db5b2974e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_show[arcadcauto-arcadcauto].yaml @@ -0,0 +1,36 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadcauto + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1","kind":"ActiveDirectoryConnector","metadata":{"creationTimestamp":"2023-01-09T20:06:47Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2023-01-09T20:06:47Z"},{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:activeDirectory":{".":{},"f:domainControllers":{".":{},"f:primaryDomainController":{".":{},"f:hostname":{}},"f:secondaryDomainControllers":{}},"f:domainServiceAccountSecret":{},"f:netbiosDomainName":{},"f:ouDistinguishedName":{},"f:realm":{},"f:serviceAccountProvisioning":{}},"f:dns":{".":{},"f:domainName":{},"f:nameserverIPAddresses":{},"f:preferK8sDnsForPtrLookups":{},"f:replicas":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-01-09T20:06:48Z"}],"name":"arcadcauto","namespace":"test","ownerReferences":[{"apiVersion":"arcdata.microsoft.com/v5","controller":true,"kind":"DataController","name":"datacontroller-sachaga-e80fdd9cd","uid":"325e913f-85cf-4fac-af21-37e209179a53"}],"resourceVersion":"366010","uid":"905a2939-43bb-4461-b990-6638e31ab45a"},"spec":{"activeDirectory":{"domainControllers":{"primaryDomainController":{"hostname":"newdc.contoso.local"},"secondaryDomainControllers":[{"hostname":"bdcarislocal2.bdc.aris.local"},{"hostname":"bdcarislocal2.bdc.aris.local"},{"hostname":"bdcarislocal2.bdc.aris.local"},{"hostname":"bdcarislocal2.bdc.aris.local"}]},"domainServiceAccountSecret":"arcadc-domain-service-account-secret","netbiosDomainName":"BDC","ouDistinguishedName":"OU=arcou,DC=bdc,DC=aris,DC=local","realm":"BDC.ARIS.LOCAL","serviceAccountProvisioning":"automatic"},"dns":{"domainName":"bdc.aris.local","nameserverIPAddresses":["10.91.136.121","10.91.136.203"],"preferK8sDnsForPtrLookups":false,"replicas":2}},"status":{"lastUpdateTime":"2023-01-09T20:06:47.975226Z","observedGeneration":1,"state":"Creating"}} + + ' + headers: + Audit-Id: + - 88ddb5e8-2d22-473f-8941-66a034eca444 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:48 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_update_primary_dc_valid[newdc.contoso.local-Updated Active Directory connector].yaml b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_update_primary_dc_valid[newdc.contoso.local-Updated Active Directory connector].yaml new file mode 100644 index 00000000000..1b92e000beb --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_update_primary_dc_valid[newdc.contoso.local-Updated Active Directory connector].yaml @@ -0,0 +1,72 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadcauto + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1","kind":"ActiveDirectoryConnector","metadata":{"creationTimestamp":"2022-09-23T19:35:09Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:activeDirectory":{".":{},"f:domainControllers":{".":{},"f:primaryDomainController":{".":{},"f:hostname":{}},"f:secondaryDomainControllers":{}},"f:domainServiceAccountSecret":{},"f:netbiosDomainName":{},"f:ouDistinguishedName":{},"f:realm":{},"f:serviceAccountProvisioning":{}},"f:dns":{".":{},"f:domainName":{},"f:nameserverIPAddresses":{},"f:preferK8sDnsForPtrLookups":{},"f:replicas":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-09-23T19:35:09Z"},{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{".":{},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-09-23T19:35:09Z"}],"name":"arcadcauto","namespace":"test","ownerReferences":[{"apiVersion":"arcdata.microsoft.com/v5","controller":true,"kind":"DataController","name":"datacontroller-ravpate-4881c1a57","uid":"edd415e9-6395-417c-b169-996b47e4de3d"}],"resourceVersion":"1299752","uid":"f59a9af6-8977-4a67-acba-7f386e0e950e"},"spec":{"activeDirectory":{"domainControllers":{"primaryDomainController":{"hostname":"dc1.contoso.local"},"secondaryDomainControllers":[{"hostname":"dc2.contoso.local"},{"hostname":"dc3.contoso.local"},{"hostname":"dc2.contoso.local"},{"hostname":"dc3.contoso.local"}]},"domainServiceAccountSecret":"arcadc-domain-service-account-secret","netbiosDomainName":"CONTOSO","ouDistinguishedName":"OU=arcou,DC=contoso,DC=local","realm":"CONTOSO.LOCAL","serviceAccountProvisioning":"automatic"},"dns":{"domainName":"contoso.local","nameserverIPAddresses":["11.11.111.111","22.22.222.222"],"preferK8sDnsForPtrLookups":false,"replicas":2}},"status":{"lastUpdateTime":"2022-09-23T19:35:09.404509Z","observedGeneration":1,"state":"Creating"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 19:35:09 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "arcdata.microsoft.com/v1", "kind": "ActiveDirectoryConnector", + "spec": {"activeDirectory": {"domainControllers": {"primaryDomainController": + {"hostname": "newdc.contoso.local"}, "secondaryDomainControllers": [{"hostname": + "dc2.contoso.local"}, {"hostname": "dc3.contoso.local"}, {"hostname": "dc2.contoso.local"}, + {"hostname": "dc3.contoso.local"}, {"hostname": "dc2.contoso.local"}, {"hostname": + "dc3.contoso.local"}, {"hostname": "dc2.contoso.local"}, {"hostname": "dc3.contoso.local"}]}}}, + "metadata": {"name": "arcadcauto", "namespace": "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadcauto + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1","kind":"ActiveDirectoryConnector","metadata":{"creationTimestamp":"2022-09-23T19:35:09Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:activeDirectory":{".":{},"f:domainControllers":{".":{},"f:primaryDomainController":{".":{},"f:hostname":{}},"f:secondaryDomainControllers":{}},"f:domainServiceAccountSecret":{},"f:netbiosDomainName":{},"f:ouDistinguishedName":{},"f:realm":{},"f:serviceAccountProvisioning":{}},"f:dns":{".":{},"f:domainName":{},"f:nameserverIPAddresses":{},"f:preferK8sDnsForPtrLookups":{},"f:replicas":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-09-23T19:35:09Z"},{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{".":{},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-09-23T19:35:09Z"}],"name":"arcadcauto","namespace":"test","ownerReferences":[{"apiVersion":"arcdata.microsoft.com/v5","controller":true,"kind":"DataController","name":"datacontroller-ravpate-4881c1a57","uid":"edd415e9-6395-417c-b169-996b47e4de3d"}],"resourceVersion":"1299754","uid":"f59a9af6-8977-4a67-acba-7f386e0e950e"},"spec":{"activeDirectory":{"domainControllers":{"primaryDomainController":{"hostname":"newdc.contoso.local"},"secondaryDomainControllers":[{"hostname":"dc2.contoso.local"},{"hostname":"dc3.contoso.local"},{"hostname":"dc2.contoso.local"},{"hostname":"dc3.contoso.local"},{"hostname":"dc2.contoso.local"},{"hostname":"dc3.contoso.local"},{"hostname":"dc2.contoso.local"},{"hostname":"dc3.contoso.local"}]},"domainServiceAccountSecret":"arcadc-domain-service-account-secret","netbiosDomainName":"CONTOSO","ouDistinguishedName":"OU=arcou,DC=contoso,DC=local","realm":"CONTOSO.LOCAL","serviceAccountProvisioning":"automatic"},"dns":{"domainName":"contoso.local","nameserverIPAddresses":["11.11.111.111","22.22.222.222"],"preferK8sDnsForPtrLookups":false,"replicas":2}},"status":{"lastUpdateTime":"2022-09-23T19:35:09.404509Z","observedGeneration":1,"state":"Creating"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 19:35:09 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_update_primary_dc_valid[newdc.contoso.local-is being updated].yaml b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_update_primary_dc_valid[newdc.contoso.local-is being updated].yaml new file mode 100644 index 00000000000..2cb259476eb --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/cassettes/TestADConnector.test_ad_connector_update_primary_dc_valid[newdc.contoso.local-is being updated].yaml @@ -0,0 +1,144 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadcauto + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1","kind":"ActiveDirectoryConnector","metadata":{"creationTimestamp":"2023-01-09T20:06:47Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:activeDirectory":{".":{},"f:domainControllers":{".":{},"f:primaryDomainController":{".":{},"f:hostname":{}},"f:secondaryDomainControllers":{}},"f:domainServiceAccountSecret":{},"f:netbiosDomainName":{},"f:ouDistinguishedName":{},"f:realm":{},"f:serviceAccountProvisioning":{}},"f:dns":{".":{},"f:domainName":{},"f:nameserverIPAddresses":{},"f:preferK8sDnsForPtrLookups":{},"f:replicas":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-01-09T20:06:47Z"},{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2023-01-09T20:06:47Z"}],"name":"arcadcauto","namespace":"test","ownerReferences":[{"apiVersion":"arcdata.microsoft.com/v5","controller":true,"kind":"DataController","name":"datacontroller-sachaga-e80fdd9cd","uid":"325e913f-85cf-4fac-af21-37e209179a53"}],"resourceVersion":"365998","uid":"905a2939-43bb-4461-b990-6638e31ab45a"},"spec":{"activeDirectory":{"domainControllers":{"primaryDomainController":{"hostname":"aris-win2016-dc.bdc.aris.local"},"secondaryDomainControllers":[{"hostname":"bdcarislocal2.bdc.aris.local"},{"hostname":"bdcarislocal2.bdc.aris.local"}]},"domainServiceAccountSecret":"arcadc-domain-service-account-secret","netbiosDomainName":"BDC","ouDistinguishedName":"OU=arcou,DC=bdc,DC=aris,DC=local","realm":"BDC.ARIS.LOCAL","serviceAccountProvisioning":"automatic"},"dns":{"domainName":"bdc.aris.local","nameserverIPAddresses":["10.91.136.121","10.91.136.203"],"preferK8sDnsForPtrLookups":false,"replicas":2}},"status":{"lastUpdateTime":"2023-01-09T20:06:47.975226Z","observedGeneration":1,"state":"Creating"}} + + ' + headers: + Audit-Id: + - 6f025dbb-dc86-4bc2-b6c7-4d86e8ccc1f0 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:48 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/arcadc-domain-service-account-secret + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"arcadc-domain-service-account-secret","namespace":"test","uid":"93f9f3da-a126-4ad5-85e6-1b0eb7abe921","resourceVersion":"365999","creationTimestamp":"2023-01-09T20:06:47Z","ownerReferences":[{"apiVersion":"arcdata.microsoft.com/v1","kind":"ActiveDirectoryConnector","name":"arcadcauto","uid":"905a2939-43bb-4461-b990-6638e31ab45a","controller":true}],"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2023-01-09T20:06:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}},{"manager":"unknown","operation":"Update","apiVersion":"v1","time":"2023-01-09T20:06:48Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:ownerReferences":{".":{},"k:{\"uid\":\"905a2939-43bb-4461-b990-6638e31ab45a\"}":{}}}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Audit-Id: + - d8cbcc7c-24d1-489e-95ba-f626ae75a405 + Cache-Control: + - no-cache, private + Content-Length: + - '941' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:48 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/arcadc-domain-service-account-secret + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"arcadc-domain-service-account-secret","namespace":"test","uid":"93f9f3da-a126-4ad5-85e6-1b0eb7abe921","resourceVersion":"365999","creationTimestamp":"2023-01-09T20:06:47Z","ownerReferences":[{"apiVersion":"arcdata.microsoft.com/v1","kind":"ActiveDirectoryConnector","name":"arcadcauto","uid":"905a2939-43bb-4461-b990-6638e31ab45a","controller":true}],"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2023-01-09T20:06:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}},{"manager":"unknown","operation":"Update","apiVersion":"v1","time":"2023-01-09T20:06:48Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:ownerReferences":{".":{},"k:{\"uid\":\"905a2939-43bb-4461-b990-6638e31ab45a\"}":{}}}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Audit-Id: + - 9e286265-d4e9-4617-a039-653e99841119 + Cache-Control: + - no-cache, private + Content-Length: + - '941' + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:48 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "arcdata.microsoft.com/v1", "kind": "ActiveDirectoryConnector", + "spec": {"activeDirectory": {"domainServiceAccountSecret": "arcadc-domain-service-account-secret", + "domainControllers": {"primaryDomainController": {"hostname": "newdc.contoso.local"}, + "secondaryDomainControllers": [{"hostname": "bdcarislocal2.bdc.aris.local"}, + {"hostname": "bdcarislocal2.bdc.aris.local"}, {"hostname": "bdcarislocal2.bdc.aris.local"}, + {"hostname": "bdcarislocal2.bdc.aris.local"}]}}}, "metadata": {"name": "arcadcauto", + "namespace": "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/arcdata.microsoft.com/v1/namespaces/test/activedirectoryconnectors/arcadcauto + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1","kind":"ActiveDirectoryConnector","metadata":{"creationTimestamp":"2023-01-09T20:06:47Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2023-01-09T20:06:47Z"},{"apiVersion":"arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:activeDirectory":{".":{},"f:domainControllers":{".":{},"f:primaryDomainController":{".":{},"f:hostname":{}},"f:secondaryDomainControllers":{}},"f:domainServiceAccountSecret":{},"f:netbiosDomainName":{},"f:ouDistinguishedName":{},"f:realm":{},"f:serviceAccountProvisioning":{}},"f:dns":{".":{},"f:domainName":{},"f:nameserverIPAddresses":{},"f:preferK8sDnsForPtrLookups":{},"f:replicas":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-01-09T20:06:48Z"}],"name":"arcadcauto","namespace":"test","ownerReferences":[{"apiVersion":"arcdata.microsoft.com/v5","controller":true,"kind":"DataController","name":"datacontroller-sachaga-e80fdd9cd","uid":"325e913f-85cf-4fac-af21-37e209179a53"}],"resourceVersion":"366010","uid":"905a2939-43bb-4461-b990-6638e31ab45a"},"spec":{"activeDirectory":{"domainControllers":{"primaryDomainController":{"hostname":"newdc.contoso.local"},"secondaryDomainControllers":[{"hostname":"bdcarislocal2.bdc.aris.local"},{"hostname":"bdcarislocal2.bdc.aris.local"},{"hostname":"bdcarislocal2.bdc.aris.local"},{"hostname":"bdcarislocal2.bdc.aris.local"}]},"domainServiceAccountSecret":"arcadc-domain-service-account-secret","netbiosDomainName":"BDC","ouDistinguishedName":"OU=arcou,DC=bdc,DC=aris,DC=local","realm":"BDC.ARIS.LOCAL","serviceAccountProvisioning":"automatic"},"dns":{"domainName":"bdc.aris.local","nameserverIPAddresses":["10.91.136.121","10.91.136.203"],"preferK8sDnsForPtrLookups":false,"replicas":2}},"status":{"lastUpdateTime":"2023-01-09T20:06:47.975226Z","observedGeneration":1,"state":"Creating"}} + + ' + headers: + Audit-Id: + - c84d667c-cfda-4628-a1e2-f64cb1174d5f + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 09 Jan 2023 20:06:48 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - e6e09f29-5051-48c5-86d9-98ef1d4e9e24 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 968de22f-58d3-4cf5-9a45-91df5471c595 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/ad_connector/conftest.py b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/conftest.py new file mode 100644 index 00000000000..d637b522f69 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/conftest.py @@ -0,0 +1,22 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import os + +import pytest + +base = os.path.dirname(__file__) + + +@pytest.fixture +def assets_path(): + return os.path.join(os.sep, base, "assets") + + +def pytest_configure(config): + """ + Called after command line options have been parsed and all plugins and + initial conftest files been loaded. + """ + pass diff --git a/src/arcdata/arcdata/azext_arcdata/test/ad_connector/test_ad_connector.py b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/test_ad_connector.py new file mode 100644 index 00000000000..2dc6f59e0d3 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/ad_connector/test_ad_connector.py @@ -0,0 +1,502 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + + +import os +from azext_arcdata.ad_connector.constants import ( + ACCOUNT_PROVISIONING_MODE_AUTOMATIC, + ACCOUNT_PROVISIONING_MODE_MANUAL, +) + +import pytest + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord + +NAME = "arcadc" +AUTO_NAME = "arcadcauto" +NAMESPACE = "test" +REALM = "BDC.ARIS.LOCAL" +NAMESERVER_ADDRESSES = "10.91.136.121,10.91.136.203" +PRIMARY_DOMAIN_CONTROLLER = "aris-win2016-dc.bdc.aris.local" +SECONDARY_DOMAIN_CONTROLLERS = "bdcarislocal2.bdc.aris.local" +NETBIOS_DOMAIN_NAME = "BDC" +DNS_DOMAIN_NAME = "bdc.aris.local" +NUM_DNS_REPLICAS = 2 +PREFER_K8S_DNS = "false" +OU_DISTINGUISHED_NAME = "OU=arcou,DC=bdc,DC=aris,DC=local" +DOMAIN_SERVICE_ACCOUNT_SECRET = "arcadc-domain-service-account-secret" + +# Pytest error codes +ARGUMENT_REQUIRED_ERROR = 2 + + +@pytest.mark.skip( + reason="Due to new controller-side validations, " + "no longer able to run these locally." +) +@pytest.mark.usefixtures("setup") +class TestADConnector(object): + @pytest.fixture + def setup(self): + os.environ["DOMAIN_SERVICE_ACCOUNT_USERNAME"] = "username" + os.environ["DOMAIN_SERVICE_ACCOUNT_PASSWORD"] = "Placeholder001" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "expected", + ["is being created"], + ) + def test_ad_connector_create_manual_required_args(self, expected, az): + result = az( + "az arcdata ad-connector create --use-k8s --no-wait", + name=NAME, + k8s_namespace=NAMESPACE, + realm=REALM, + account_provisioning=ACCOUNT_PROVISIONING_MODE_MANUAL, + nameserver_addresses=NAMESERVER_ADDRESSES, + ) + + print(result) + assert expected in result.out + + # Clean up after test + # + az( + "az arcdata ad-connector delete --use-k8s", + name=NAME, + k8s_namespace=NAMESPACE, + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "expected", + ["is being created"], + ) + def test_ad_connector_create_automatic_required_args(self, expected, az): + result = az( + "az arcdata ad-connector create --use-k8s --no-wait", + name=AUTO_NAME, + k8s_namespace=NAMESPACE, + realm=REALM, + nameserver_addresses=NAMESERVER_ADDRESSES, + account_provisioning=ACCOUNT_PROVISIONING_MODE_AUTOMATIC, + ou_distinguished_name=OU_DISTINGUISHED_NAME, + domain_service_account_secret=DOMAIN_SERVICE_ACCOUNT_SECRET, + ) + print(result) + assert expected in result.out + + # Clean up after test + # + az( + "az arcdata ad-connector delete --use-k8s", + name=AUTO_NAME, + k8s_namespace=NAMESPACE, + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "expected", + ["is being created"], + ) + def test_ad_connector_create_manual_all_args(self, expected, az): + result = az( + "az arcdata ad-connector create --use-k8s --no-wait", + name=NAME, + k8s_namespace=NAMESPACE, + realm=REALM, + account_provisioning=ACCOUNT_PROVISIONING_MODE_MANUAL, + nameserver_addresses=NAMESERVER_ADDRESSES, + primary_ad_dc_hostname=PRIMARY_DOMAIN_CONTROLLER, + secondary_ad_dc_hostnames=SECONDARY_DOMAIN_CONTROLLERS, + netbios_domain_name=NETBIOS_DOMAIN_NAME, + dns_domain_name=DNS_DOMAIN_NAME, + dns_replicas=NUM_DNS_REPLICAS, + prefer_k8s_dns=PREFER_K8S_DNS, + ) + print(result) + assert expected in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "expected", + ["is being created"], + ) + def test_ad_connector_create_automatic_all_args(self, expected, az): + result = az( + "az arcdata ad-connector create --use-k8s --no-wait", + name=AUTO_NAME, + k8s_namespace=NAMESPACE, + realm=REALM, + nameserver_addresses=NAMESERVER_ADDRESSES, + account_provisioning=ACCOUNT_PROVISIONING_MODE_AUTOMATIC, + ou_distinguished_name=OU_DISTINGUISHED_NAME, + domain_service_account_secret=DOMAIN_SERVICE_ACCOUNT_SECRET, + primary_ad_dc_hostname=PRIMARY_DOMAIN_CONTROLLER, + secondary_ad_dc_hostnames=SECONDARY_DOMAIN_CONTROLLERS, + netbios_domain_name=NETBIOS_DOMAIN_NAME, + dns_domain_name=DNS_DOMAIN_NAME, + dns_replicas=NUM_DNS_REPLICAS, + prefer_k8s_dns=PREFER_K8S_DNS, + ) + print(result) + assert expected in result.out + + @pytest.mark.parametrize( + "name, expected", + [ + ( + "123adc", + "does not follow DNS requirements", + ), + ( + "arc@adc", + "does not follow DNS requirements", + ), + ( + "arc.adc", + "does not follow DNS requirements", + ), + ], + ) + def test_ad_connector_create_name(self, name, expected, az): + result = az( + "az arcdata ad-connector create --use-k8s --no-wait", + name=name, + k8s_namespace=NAMESPACE, + realm=REALM, + account_provisioning=ACCOUNT_PROVISIONING_MODE_MANUAL, + nameserver_addresses=NAMESERVER_ADDRESSES, + expect_failure=True, + ) + print(result) + assert result.exit_code == ARGUMENT_REQUIRED_ERROR + # assert expected in str(result.err) + + result = az( + "az arcdata ad-connector create --use-k8s --no-wait", + name=name, + k8s_namespace=NAMESPACE, + realm=REALM, + nameserver_addresses=NAMESERVER_ADDRESSES, + account_provisioning=ACCOUNT_PROVISIONING_MODE_AUTOMATIC, + ou_distinguished_name=OU_DISTINGUISHED_NAME, + domain_service_account_secret=DOMAIN_SERVICE_ACCOUNT_SECRET, + expect_failure=True, + ) + print(result) + assert result.exit_code == ARGUMENT_REQUIRED_ERROR + # assert expected in str(result.err) + + @pytest.mark.parametrize( + "realm, expected", + [ + ("A", "The given realm 'A' is invalid"), + (".CONTOSO.LOCAL", "The given realm '.CONTOSO.LOCAL' is invalid"), + ], + ) + def test_ad_connector_create_realm(self, realm, expected, az): + result = az( + "az arcdata ad-connector create --use-k8s --no-wait", + name=AUTO_NAME, + k8s_namespace=NAMESPACE, + realm=realm, + nameserver_addresses=NAMESERVER_ADDRESSES, + account_provisioning=ACCOUNT_PROVISIONING_MODE_AUTOMATIC, + ou_distinguished_name=OU_DISTINGUISHED_NAME, + domain_service_account_secret=DOMAIN_SERVICE_ACCOUNT_SECRET, + expect_failure=True, + ) + print(result) + assert result.exit_code == ARGUMENT_REQUIRED_ERROR + # assert expected in str(result.err) + + @pytest.mark.parametrize( + "account_provisioning, expected", + [ + ( + "default", + "The allowed values for --account-provisioning are 'manual' and 'automatic'", + ) + ], + ) + def test_ad_connector_create_account_provisioning( + self, account_provisioning, expected, az + ): + result = az( + "az arcdata ad-connector create --use-k8s --no-wait", + name=AUTO_NAME, + k8s_namespace=NAMESPACE, + realm=REALM, + nameserver_addresses=NAMESERVER_ADDRESSES, + account_provisioning=account_provisioning, + ou_distinguished_name=OU_DISTINGUISHED_NAME, + domain_service_account_secret=DOMAIN_SERVICE_ACCOUNT_SECRET, + expect_failure=True, + ) + print(result) + assert result.exit_code == ARGUMENT_REQUIRED_ERROR + # assert expected in str(result.err) + + @pytest.mark.parametrize( + "nameserver_addresses, expected", + [ + ( + ",", + "One or more Active Directory DNS server IP addresses are invalid.", + ), + ( + "11.11.111.111,22.22.222.333", + "One or more Active Directory DNS server IP addresses are invalid.", + ), + ], + ) + def test_ad_connector_create_nameserver_addresses( + self, nameserver_addresses, expected, az + ): + result = result = az( + "az arcdata ad-connector create --use-k8s --no-wait", + name=NAME, + k8s_namespace=NAMESPACE, + realm=REALM, + account_provisioning=ACCOUNT_PROVISIONING_MODE_MANUAL, + nameserver_addresses=nameserver_addresses, + expect_failure=True, + ) + print(result) + assert result.exit_code == ARGUMENT_REQUIRED_ERROR + # assert expected in str(result.err) + + result = az( + "az arcdata ad-connector create --use-k8s --no-wait", + name=AUTO_NAME, + k8s_namespace=NAMESPACE, + realm=REALM, + nameserver_addresses=nameserver_addresses, + account_provisioning=ACCOUNT_PROVISIONING_MODE_AUTOMATIC, + ou_distinguished_name=OU_DISTINGUISHED_NAME, + domain_service_account_secret=DOMAIN_SERVICE_ACCOUNT_SECRET, + expect_failure=True, + ) + print(result) + assert result.exit_code == ARGUMENT_REQUIRED_ERROR + # assert expected in str(result.err) + + @pytest.mark.parametrize( + "dns_replicas, expected", + [ + ( + 0, + "Invalid number of DNS replicas. --dns-replicas must be 1 or greater.", + ), + ( + True, + "Invalid number of DNS replicas. --dns-replicas must be 1 or greater.", + ), + ], + ) + def test_ad_connector_create_dns_replicas(self, dns_replicas, expected, az): + result = az( + "az arcdata ad-connector create --use-k8s --no-wait", + name=AUTO_NAME, + k8s_namespace=NAMESPACE, + realm=REALM, + nameserver_addresses=NAMESERVER_ADDRESSES, + account_provisioning=ACCOUNT_PROVISIONING_MODE_AUTOMATIC, + ou_distinguished_name=OU_DISTINGUISHED_NAME, + domain_service_account_secret=DOMAIN_SERVICE_ACCOUNT_SECRET, + dns_replicas=dns_replicas, + expect_failure=True, + ) + print(result) + assert result.exit_code == ARGUMENT_REQUIRED_ERROR + # assert expected in str(result.err) + + @pytest.mark.parametrize( + "netbios_domain_name, expected", + [("CONTOSO*LOCAL", "is invalid")], + ) + def test_ad_connector_create_netbios_name( + self, netbios_domain_name, expected, az + ): + result = result = az( + "az arcdata ad-connector create --use-k8s --no-wait", + name=NAME, + k8s_namespace=NAMESPACE, + realm=REALM, + account_provisioning=ACCOUNT_PROVISIONING_MODE_MANUAL, + nameserver_addresses=NAMESERVER_ADDRESSES, + netbios_domain_name=netbios_domain_name, + expect_failure=True, + ) + print(result) + assert result.exit_code == ARGUMENT_REQUIRED_ERROR + # assert expected in str(result.err) + + @pytest.mark.parametrize( + "dns_domain_name, expected", + [("contoso_local", "is invalid")], + ) + def test_ad_connector_create_dns_domain_name( + self, dns_domain_name, expected, az + ): + result = result = az( + "az arcdata ad-connector create --use-k8s --no-wait", + name=NAME, + k8s_namespace=NAMESPACE, + realm=REALM, + account_provisioning=ACCOUNT_PROVISIONING_MODE_MANUAL, + nameserver_addresses=NAMESERVER_ADDRESSES, + dns_domain_name=dns_domain_name, + expect_failure=True, + ) + print(result) + assert result.exit_code == ARGUMENT_REQUIRED_ERROR + # assert expected in str(result.err) + + @pytest.mark.parametrize( + "prefer_k8s_dns, expected", + [ + ( + "no", + "The allowed values for --prefer-k8s-dns are 'true' or 'false'", + ) + ], + ) + def test_ad_connector_create_k8s_dns(self, prefer_k8s_dns, expected, az): + result = result = az( + "az arcdata ad-connector create --use-k8s --no-wait", + name=prefer_k8s_dns, + k8s_namespace=NAMESPACE, + realm=REALM, + account_provisioning=ACCOUNT_PROVISIONING_MODE_MANUAL, + nameserver_addresses=NAMESERVER_ADDRESSES, + prefer_k8s_dns=prefer_k8s_dns, + expect_failure=True, + ) + print(result) + assert result.exit_code == ARGUMENT_REQUIRED_ERROR + # assert expected in str(result.err) + + @pytest.mark.parametrize( + "ou_distinguished_name, expected", + [ + ( + "DC=contoso,DC=local", + "Invalid distinguished name of AD Organizational Unit (OU)", + ) + ], + ) + def test_ad_connector_create_ou_distinguished_name( + self, ou_distinguished_name, expected, az + ): + result = az( + "az arcdata ad-connector create --use-k8s --no-wait", + name=AUTO_NAME, + k8s_namespace=NAMESPACE, + realm=REALM, + nameserver_addresses=NAMESERVER_ADDRESSES, + account_provisioning=ACCOUNT_PROVISIONING_MODE_AUTOMATIC, + ou_distinguished_name=ou_distinguished_name, + domain_service_account_secret=DOMAIN_SERVICE_ACCOUNT_SECRET, + expect_failure=True, + ) + print(result) + assert result.exit_code == ARGUMENT_REQUIRED_ERROR + # assert expected in str(result.err) + + @pytest.mark.parametrize( + "primary_domain_controller, expected", + [ + ( + "newdc_contoso.local", + "The given primary domain controller hostname 'newdc_contoso.local' is invalid.", + ) + ], + ) + def test_ad_connector_update_primary_dc_invalid( + self, primary_domain_controller, expected, az + ): + result = az( + "az arcdata ad-connector update --use-k8s --no-wait", + name=AUTO_NAME, + k8s_namespace=NAMESPACE, + primary_ad_dc_hostname=primary_domain_controller, + expect_failure=True, + ) + print(result) + assert result.exit_code == ARGUMENT_REQUIRED_ERROR + # assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "primary_domain_controller, expected", + [("newdc.contoso.local", "is being updated")], + ) + def test_ad_connector_update_primary_dc_valid( + self, primary_domain_controller, expected, az + ): + result = az( + "az arcdata ad-connector update --use-k8s --no-wait", + name=AUTO_NAME, + k8s_namespace=NAMESPACE, + primary_ad_dc_hostname=primary_domain_controller, + domain_service_account_secret=DOMAIN_SERVICE_ACCOUNT_SECRET, + ) + print(result) + assert expected in result.out + + @pytest.mark.parametrize( + "secondary_domain_controllers, expected", + [ + ( + "newdc1.contoso.local,new#dc2.contoso.local", + "One or more secondary domain controller hostnames is invalid.", + ) + ], + ) + def test_ad_connector_update_secondary_dc_invalid( + self, secondary_domain_controllers, expected, az + ): + result = az( + "az arcdata ad-connector update --use-k8s --no-wait", + name=AUTO_NAME, + k8s_namespace=NAMESPACE, + secondary_ad_dc_hostnames=secondary_domain_controllers, + expect_failure=True, + ) + print(result) + assert result.exit_code == ARGUMENT_REQUIRED_ERROR + # assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", + [(NAME, NAME), (AUTO_NAME, AUTO_NAME)], + ) + def test_ad_connector_show(self, name, expected, az): + result = az( + "az arcdata ad-connector show --use-k8s", + name=name, + k8s_namespace=NAMESPACE, + ) + print(result.out) + assert expected in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", + [ + (NAME, "Deleted Active Directory connector"), + (AUTO_NAME, "Deleted Active Directory connector"), + ], + ) + def test_ad_connector_delete(self, name, expected, az): + result = az( + "az arcdata ad-connector delete --use-k8s", + name=name, + k8s_namespace=NAMESPACE, + ) + print(result) + assert expected in result.out diff --git a/src/arcdata/arcdata/azext_arcdata/test/conftest.py b/src/arcdata/arcdata/azext_arcdata/test/conftest.py new file mode 100644 index 00000000000..2554afdc359 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/conftest.py @@ -0,0 +1,73 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +import pytest +import os + +base = os.path.dirname(__file__) + + +def pytest_configure(config): + """ + Called after command line options have been parsed and all plugins and + initial conftest files been loaded. + """ + pass + + +# ------------------------------------------------------------------------------ +# Common ARM +# ------------------------------------------------------------------------------ + + +@pytest.fixture +def credentials(): + return "admin", "MockPWpw1" + + +@pytest.fixture +def resource_group(): + return "rg-cli-test" + + +@pytest.fixture +def custom_location(): + return "test-cl" + + +@pytest.fixture +def subscription(): + return "a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39" + + +# ------------------------------------------------------------------------------ +# Data Controller (ARM) +# ------------------------------------------------------------------------------ + + +@pytest.fixture +def cluster_name(): + return "cli-test-cluster" + + +@pytest.fixture +def dc_name(): + return "cli-test-dc" + + +# ------------------------------------------------------------------------------ +# SQL MI (ARM) +# ------------------------------------------------------------------------------ + + +@pytest.fixture +def mi_name(): + return "cli-test-mi" + + +@pytest.fixture +def location(): + return "eastus2euap" diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/__init__.py b/src/arcdata/arcdata/azext_arcdata/test/dc/__init__.py new file mode 100644 index 00000000000..77350c40ee9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/__init__.py @@ -0,0 +1,5 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_downgrade_fails_on_dry_run.yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_downgrade_fails_on_dry_run.yaml new file mode 100644 index 00000000000..10a7144a354 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_downgrade_fails_on_dry_run.yaml @@ -0,0 +1,327 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta6/namespaces/test/postgresqls + response: + body: + string: '{"apiVersion": "arcdata.microsoft.com/v1beta6", "items": [], "kind": + "PostgreSqlList", "metadata": {"continue": "", "resourceVersion": "3610"}}' + headers: + Audit-Id: + - 11ea1c2e-c0d6-4df4-b256-e1bdeba2aa46 + Cache-Control: + - no-cache, private + Content-Length: + - '134' + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:59:29 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v1beta2/namespaces/test/dags + response: + body: + string: '404 page not found + + ' + headers: + Audit-Id: + - 50978f4e-b6e2-473a-8906-936a2d02fa38 + Cache-Control: + - no-cache, private + Content-Length: + - '19' + Content-Type: + - text/plain; charset=utf-8 + Date: + - Thu, 21 Mar 2024 19:59:30 GMT + X-Content-Type-Options: + - nosniff + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:33Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:58:34Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:59:26Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"3606","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:59:26.913633Z","observedGeneration":2,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3610"}} + + ' + headers: + Audit-Id: + - c16dc4b1-1dea-40ad-9765-36ba7f0fb4c8 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:59:30 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v13/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion": "sql.arcdata.microsoft.com/v13", "items": [], "kind": + "SqlManagedInstanceList", "metadata": {"continue": "", "resourceVersion": + "3610"}}' + headers: + Audit-Id: + - 622f8124-7004-446a-b7fe-d0d874c89cb1 + Cache-Control: + - no-cache, private + Content-Length: + - '142' + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:59:30 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:33Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:58:34Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:59:26Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"3606","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:59:26.913633Z","observedGeneration":2,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3610"}} + + ' + headers: + Audit-Id: + - 181ea702-6b81-42bc-85ae-d68f67325458 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:59:30 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/arc-private-registry + response: + body: + string: '{"kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", + "message": "secrets \"arc-private-registry\" not found", "reason": "NotFound", + "details": {"name": "arc-private-registry", "kind": "secrets"}, "code": 404}' + headers: + Audit-Id: + - 36a20232-46a3-480f-877b-52ec52ac33d0 + Cache-Control: + - no-cache, private + Content-Length: + - '214' + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:59:30 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 404 + message: Not Found +- request: + body: null + headers: {} + method: GET + uri: https://mock-host/v2/arcdata-dev/arc-controller/tags/list + response: + body: + string: '{"errors": [{"code": "NAME_UNKNOWN", "message": "repository \"arcdata-dev/arc-controller\" + is not found"}]}' + headers: + Access-Control-Expose-Headers: + - Docker-Content-Digest + - WWW-Authenticate + - Link + - X-Ms-Correlation-Request-Id + Connection: + - keep-alive + Content-Length: + - '104' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 21 Mar 2024 19:59:30 GMT + Docker-Distribution-Api-Version: + - registry/2.0 + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Ms-Correlation-Request-Id: + - 09e97779-3dbf-4169-9f90-0b910eefc2c5 + status: + code: 404 + message: Not Found +- request: + body: null + headers: {} + method: GET + uri: https://mock-host/v2/arcdata/arc-controller/tags/list + response: + body: + string: '{"name": "arcdata/arc-controller", "tags": ["latest", "public-preview-apr-2021", + "public-preview-dec-2020", "public-preview-feb-2021", "public-preview-jan-2021", + "public-preview-jun-2021", "public-preview-mar-2021", "public-preview-may-2021", + "public-preview-oct-2020", "public-preview-sep-2020", "v1.0.0_2021-07-30", + "v1.1.0_2021-11-02", "v1.10.0_2022-08-09", "v1.11.0_2022-09-13", "v1.12.0_2022-10-11", + "v1.13.0_2022-11-08", "v1.14.0_2022-12-13", "v1.15.0_2023-01-10", "v1.16.0_2023-02-14", + "v1.17.0_2023-03-14", "v1.18.0_2023-04-11", "v1.19.0_2023-05-09", "v1.2.0_2021-12-15", + "v1.20.0_2023-06-13", "v1.21.0_2023-07-11", "v1.22.0_2023-08-08", "v1.23.0_2023-09-12", + "v1.24.0_2023-10-10", "v1.25.0_2023-11-14", "v1.26.0_2023-12-12", "v1.27.0_2024-02-13", + "v1.28.0_2024-03-12", "v1.3.0_2022-01-27", "v1.4.0_2022-02-25", "v1.4.1_2022-03-08", + "v1.5.0_2022-04-05", "v1.6.0_2022-05-02", "v1.7.0_2022-05-24", "v1.8.0_2022-06-14", + "v1.9.0_2022-07-12"]}' + headers: + Cache-Control: + - max-age=300 + Content-Length: + - '1116' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 21 Mar 2024 19:59:29 GMT + ETag: + - '0x8DC49DFF766CE63' + Last-Modified: + - Thu, 21 Mar 2024 19:49:05 GMT + X-Cache: + - TCP_MISS + X-MSEdge-Ref: + - 'Ref A: 347B2DE977804B34BB99811CD19841C3 Ref B: CO1EDGE2515 Ref C: 2024-03-21T19:59:30Z' + x-mcr-privacy: + - https://privacy.microsoft.com/en-us/privacystatement + x-ms-blob-type: + - BlockBlob + x-ms-lease-status: + - unlocked + x-ms-request-id: + - 58bf8928-c01e-0054-19ca-7b9ce3000000 + x-ms-version: + - '2009-09-19' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:33Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:58:34Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:59:26Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"3606","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:59:26.913633Z","observedGeneration":2,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3611"}} + + ' + headers: + Audit-Id: + - 813902c3-f9a2-40d1-8506-637dc0dac438 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:59:30 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_dry_run_upgrade_direct[chachan-eastus-rg-dc-ipp].yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_dry_run_upgrade_direct[chachan-eastus-rg-dc-ipp].yaml new file mode 100644 index 00000000000..07aa1bdaf32 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_dry_run_upgrade_direct[chachan-eastus-rg-dc-ipp].yaml @@ -0,0 +1,78 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.0.0 Python/3.8.10 (Linux-5.13.0-30-generic-x86_64-with-glibc2.29) + x-ms-client-request-id: + - e734ac8e-9b2e-11ec-827f-53b411a0ca5f + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/chachan-eastus-rg/providers/Microsoft.AzureArcData/dataControllers/dc-ipp + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquTudZ/S/5XaeNe262a4v7q7q6rKY5XVz94tiWldNdd6Oj3+wrvPjevo0a7O7M/rnpFq2 + dVWWaDabbher1Uejj5bZIies7N/t9Qp/LyyYDGCyegoIDGbqwFD7sppmGAm9I+jQZ/m7Nl/O8tlz + +90vNv3c/WGN/rSDw93pummrhfmTwJThiE+C7z/6JfRFdtEQ6vRbc920+QKEpL8/mhI92nz25Jre + Ikzof8vf09FrWi0IqG3zRqB/1eS1+/i4pY/2dvb2tnfu0f/e7D58tPPw0d7O+N7Bw/v3D/Z/ipqW + NLwvqllxXgAMtb+3+/D80/u759sPZrPJ9v759NPthwf3H2w/yPLzh3v3dyaznfu997T749WqLHRk + YZMuKns7j3bvPdrfHd+7//Dg092fAiGIvqu8bosc5PioWJ7XBKBeT1viDHq7Wq7qfFE09PXoo7cH + zavsCu3eFkvwO6jmOI9aNKt8iu+JFrN82RZZyWBn1fRtXr/KLwqCjfESz22v6uKSCLZdm49H1G6R + FcvXeX1ZTPPj6bRaLzEE+XibyIzPtzP5gv6mblp6Tb9wLzTZNnpw3IyRUvN1XbTU/S/+KCvL6urp + erEi9Gi0+Ug+eVHN8i/yti6mzQnemzJR/RYvq9lAA+6B8SCY37NC4eFAxK5qQu/ezs7Bjm2ts/i8 + ymZPsjJbTqnlL/k+vm7bYslc+tEpZrWYvoaszvHB5WK8yN79/ots9fubMW/vYpAs0WiRrdvqq1VJ + UBVfagI0CQv31fMK8D86p2nCF40nv/TxbQSY3gpEmF4jmaH/eTJMbWKahCizFAISvxLOH82Kmv7G + KOgrQzQaSklYjuuqZQjjWXYNnB8QhPCLpvgBoNzf2dmh72ZFsyqz6xcyCzNRgb+EYJMmqLML+pDY + ktgXP4mh8qZRLF7l2ey7xCf5lzQVBGhKtG8UzCJb0qszYl2SiTV0gXa6e//zAogDo28I4g4gEsjN + IimShS6tGBHQaT3uKq06X1VNQWNHg0xUPn1cLKj7N9kFfXhJemG88/uLvtjd3gOF+euX67J8WZGO + wavH5RUmAJgt8jZjMNQ7uL1ZZTQ+hk6v4hP6Aw286aTXslXxk6TPacroa2qLFiG6dy/vEYCG5pUY + hYBbpl4z1762XxAGwtrEJEQjYeo3BXcs4zB6b2f30f7OeOf+7t69A2hgwrahoVG7F1XK1jQ1fJy2 + VSodjYGumdIbOoBipQ4ODnbu74UdHJO4LYhFpwo1rc5TAE2LJiUuzSZlLj2t5YWbu9qj4Ywf3Huw + /+BB2BX0ceqobTo8L5ZZSeMj7kiFqtRolj9KaRqp32oCVZTPPs+XeU2IYmJ2hf4ACvaFcq7XyyUp + JDd3fYYBNDIolwVaUFvMFEC8XpM8kEWYffRLfsn/A8fWLccrCQAA + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 03 Mar 2022 20:17:09 GMT + ETag: + - '"4f010b36-0000-0100-0000-622121750000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 49a8a9c2-dacd-44c6-8755-be6294f74af8 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 38f55878-df4a-4ce5-9d58-696dca433567 + x-ms-routing-request-id: + - WESTCENTRALUS:20220303T201709Z:49a8a9c2-dacd-44c6-8755-be6294f74af8 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_dry_run_upgrade_indirect[test].yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_dry_run_upgrade_indirect[test].yaml new file mode 100644 index 00000000000..c12ac67bf30 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_dry_run_upgrade_indirect[test].yaml @@ -0,0 +1,361 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta6/namespaces/test/postgresqls + response: + body: + string: '{"apiVersion": "arcdata.microsoft.com/v1beta6", "items": [], "kind": + "PostgreSqlList", "metadata": {"continue": "", "resourceVersion": "3429"}}' + headers: + Audit-Id: + - 6f85a7c4-f78c-4fbb-aab8-2b87948ab291 + Cache-Control: + - no-cache, private + Content-Length: + - '134' + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:26 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v1beta2/namespaces/test/dags + response: + body: + string: '404 page not found + + ' + headers: + Audit-Id: + - 09e54e07-d54b-4041-9950-b6919f1d7662 + Cache-Control: + - no-cache, private + Content-Length: + - '19' + Content-Type: + - text/plain; charset=utf-8 + Date: + - Thu, 21 Mar 2024 19:58:26 GMT + X-Content-Type-Options: + - nosniff + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"2224","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":1,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3429"}} + + ' + headers: + Audit-Id: + - 5463c27f-ca1d-495f-b968-367f17a6afa9 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:26 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v13/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion": "sql.arcdata.microsoft.com/v13", "items": [], "kind": + "SqlManagedInstanceList", "metadata": {"continue": "", "resourceVersion": + "3429"}}' + headers: + Audit-Id: + - 3f1fe718-b411-47e6-a127-2c9c02eda8ff + Cache-Control: + - no-cache, private + Content-Length: + - '142' + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:26 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"2224","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":1,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3429"}} + + ' + headers: + Audit-Id: + - 53eabdf3-4c04-45bd-b089-35f1168a2b4f + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:26 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/arc-private-registry + response: + body: + string: '{"kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", + "message": "secrets \"arc-private-registry\" not found", "reason": "NotFound", + "details": {"name": "arc-private-registry", "kind": "secrets"}, "code": 404}' + headers: + Audit-Id: + - defc01c9-9841-4ad7-a947-7f98b0a3cee5 + Cache-Control: + - no-cache, private + Content-Length: + - '214' + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:26 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 404 + message: Not Found +- request: + body: null + headers: {} + method: GET + uri: https://mock-host/v2/arcdata-dev/arc-controller/tags/list + response: + body: + string: '{"errors": [{"code": "NAME_UNKNOWN", "message": "repository \"arcdata-dev/arc-controller\" + is not found"}]}' + headers: + Access-Control-Expose-Headers: + - Docker-Content-Digest + - WWW-Authenticate + - Link + - X-Ms-Correlation-Request-Id + Connection: + - keep-alive + Content-Length: + - '104' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 21 Mar 2024 19:58:26 GMT + Docker-Distribution-Api-Version: + - registry/2.0 + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Ms-Correlation-Request-Id: + - 819445e7-037e-4e98-818c-690313d577f1 + status: + code: 404 + message: Not Found +- request: + body: null + headers: {} + method: GET + uri: https://mock-host/v2/arcdata/arc-controller/tags/list + response: + body: + string: '{"name": "arcdata/arc-controller", "tags": ["latest", "public-preview-apr-2021", + "public-preview-dec-2020", "public-preview-feb-2021", "public-preview-jan-2021", + "public-preview-jun-2021", "public-preview-mar-2021", "public-preview-may-2021", + "public-preview-oct-2020", "public-preview-sep-2020", "v1.0.0_2021-07-30", + "v1.1.0_2021-11-02", "v1.10.0_2022-08-09", "v1.11.0_2022-09-13", "v1.12.0_2022-10-11", + "v1.13.0_2022-11-08", "v1.14.0_2022-12-13", "v1.15.0_2023-01-10", "v1.16.0_2023-02-14", + "v1.17.0_2023-03-14", "v1.18.0_2023-04-11", "v1.19.0_2023-05-09", "v1.2.0_2021-12-15", + "v1.20.0_2023-06-13", "v1.21.0_2023-07-11", "v1.22.0_2023-08-08", "v1.23.0_2023-09-12", + "v1.24.0_2023-10-10", "v1.25.0_2023-11-14", "v1.26.0_2023-12-12", "v1.27.0_2024-02-13", + "v1.28.0_2024-03-12", "v1.3.0_2022-01-27", "v1.4.0_2022-02-25", "v1.4.1_2022-03-08", + "v1.5.0_2022-04-05", "v1.6.0_2022-05-02", "v1.7.0_2022-05-24", "v1.8.0_2022-06-14", + "v1.9.0_2022-07-12"]}' + headers: + Cache-Control: + - max-age=300 + Content-Length: + - '1116' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 21 Mar 2024 19:58:26 GMT + ETag: + - '0x8DC49DFF766CE63' + Last-Modified: + - Thu, 21 Mar 2024 19:49:05 GMT + X-Cache: + - TCP_MISS + X-MSEdge-Ref: + - 'Ref A: 33C6EDAEDFA44065827AC8EEBE377231 Ref B: CO1EDGE2714 Ref C: 2024-03-21T19:58:26Z' + x-mcr-privacy: + - https://privacy.microsoft.com/en-us/privacystatement + x-ms-blob-type: + - BlockBlob + x-ms-lease-status: + - unlocked + x-ms-request-id: + - 16303ccd-101e-0078-59ca-7b704c000000 + x-ms-version: + - '2009-09-19' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"2224","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":1,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3430"}} + + ' + headers: + Audit-Id: + - 496458b2-98d2-4782-9bee-65f0afbbe0d6 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:26 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"2224","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":1,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3436"}} + + ' + headers: + Audit-Id: + - 6fca745f-8f05-43b7-9ac4-8590e0a98035 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:31 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_full_dc_upgrade[test-v1.10.0_ubuntu2004-sachaga].yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_full_dc_upgrade[test-v1.10.0_ubuntu2004-sachaga].yaml new file mode 100644 index 00000000000..849c7c03039 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_full_dc_upgrade[test-v1.10.0_ubuntu2004-sachaga].yaml @@ -0,0 +1,992 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"10978"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"dd7b84b1-a60f-443c-84d1-146a1e4a25fa","resourceVersion":"7985","generation":1,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"66a51dc2-91ca-43aa-b544-621ec7049c56","resourceVersion":"7993","generation":1,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6cefb505-dcb4-4e7e-8c0d-9ef835125395","resourceVersion":"7999","generation":1,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"0e56c673-3841-4cb9-93ab-4a46f425c25e","resourceVersion":"8005","generation":1,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"d3730141-b88e-4fbe-9719-d7436da85f68","resourceVersion":"8008","generation":1,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"adfee909-096b-454d-beef-77625056a014","resourceVersion":"8011","generation":1,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"1e735229-1fda-4a6f-ab9f-25ed70a5fd6d","resourceVersion":"8013","generation":1,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"8ec359c9-aeb3-435a-872b-e8720944ba93","resourceVersion":"8026","generation":1,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"ce47f963-8110-4de0-aa45-fb3ff2fb703e","resourceVersion":"8025","generation":1,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v6"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:21 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta2/namespaces/test/postgresqls + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1beta2","items":[],"kind":"PostgreSqlList","metadata":{"continue":"","resourceVersion":"10978"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '135' + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:21 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v1beta2/namespaces/test/dags + response: + body: + string: '404 page not found + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '19' + Content-Type: + - text/plain; charset=utf-8 + Date: + - Sat, 30 Jul 2022 01:40:21 GMT + X-Content-Type-Options: + - nosniff + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-07-30T01:17:58Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-07-30T01:36:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-07-30T01:36:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-07-30T01:36:47Z"}],"name":"datacontroller-sachaga-3528e2572","namespace":"test","resourceVersion":"9969","uid":"fd74b3a5-ac52-402c-ba5e-a02f7a617af1"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.10.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-3528e2572","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-07-30T01:36:59.328825Z","observedGeneration":2,"runningVersion":"v1.10.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"10978"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:21 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-07-30T01:17:58Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-07-30T01:36:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-07-30T01:36:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-07-30T01:36:47Z"}],"name":"datacontroller-sachaga-3528e2572","namespace":"test","resourceVersion":"9969","uid":"fd74b3a5-ac52-402c-ba5e-a02f7a617af1"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.10.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-3528e2572","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-07-30T01:36:59.328825Z","observedGeneration":2,"runningVersion":"v1.10.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"10978"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:21 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/arc-private-registry + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"arc-private-registry\" not found","reason":"NotFound","details":{"name":"arc-private-registry","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '214' + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:21 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 404 + message: Not Found +- request: + body: null + headers: {} + method: GET + uri: https://mock-host/v2/arcdata-dev/arc-controller/tags/list + response: + body: + string: '{"name":"arcdata-dev/arc-controller","tags":["ubuntu2004-bilia","ubuntu2004-brkoc","ubuntu2004-chkamath","ubuntu2004-etchang","ubuntu2004-etchang2","ubuntu2004-letung","ubuntu2004-micn","ubuntu2004-pakotha","ubuntu2004-romonste","ubuntu2004-safeitle","ubuntu2004-shashta","v1.1.0_2021-11-02","v1.1.0_ubuntu2004-safeitle","v1.10.0_ubuntu2004-","v1.10.0_ubuntu2004-mdrrahman","v1.2.0_ubuntu2004-safeitle","v1.3.0_ubuntu2004-romonste","v1.3.0_ubuntu2004-safeitle","v1.3.0_ubuntu2004-shashta","v1.4.0_ubuntu2004-safeitle","v1.4.0_ubuntu2004-shashta","v1.4.1_ubuntu2004-safeitle","v1.5.0_ubuntu2004-bilia","v1.6.0_ubuntu2004-safeitle","v1.6.0_ubuntu2004-shashta","v1.7.0_ubuntu2004-safeitle","v1.7.0_ubuntu2004-yuronhe","v1.8.0_ubuntu2004-safeitle","v1.8.0_ubuntu2004-yuronhe","v1.9.0_ubuntu2004-","v1.9.0_ubuntu2004-mdrrahman","v1.9.0_ubuntu2004-safeitle","v1.9.0_ubuntu2004-yuronhe"]} + + ' + headers: + Access-Control-Expose-Headers: + - Docker-Content-Digest + - WWW-Authenticate + - Link + - X-Ms-Correlation-Request-Id + Connection: + - keep-alive + Content-Length: + - '882' + Content-Type: + - application/json; charset=utf-8 + Date: + - Sat, 30 Jul 2022 01:40:21 GMT + Docker-Distribution-Api-Version: + - registry/2.0 + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Ms-Correlation-Request-Id: + - a69a4aea-dba0-4a2b-bb22-c9d3c7aa6610 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "v1", "kind": "ServiceAccount", "metadata": {"name": "sa-arc-deployer"}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/api/v1/namespaces/test/serviceaccounts/sa-arc-deployer + response: + body: + string: '{"kind":"ServiceAccount","apiVersion":"v1","metadata":{"name":"sa-arc-deployer","namespace":"test","uid":"2a182bb4-2fd2-4712-b2bc-91629b417952","resourceVersion":"7952","creationTimestamp":"2022-07-30T01:17:47Z"},"secrets":[{"name":"sa-arc-deployer-token-qr89x"}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '265' + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:21 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-deployer"}, "rules": [{"apiGroups": ["apiextensions.k8s.io"], + "resources": ["customresourcedefinitions"], "verbs": ["create", "list", "get"]}, + {"apiGroups": ["apiextensions.k8s.io"], "resources": ["customresourcedefinitions"], + "resourceNames": ["activedirectoryconnectors.arcdata.microsoft.com", "datacontrollers.arcdata.microsoft.com", + "exporttasks.tasks.arcdata.microsoft.com", "failovergroups.sql.arcdata.microsoft.com", + "kafkas.arcdata.microsoft.com", "monitors.arcdata.microsoft.com", "postgresqls.arcdata.microsoft.com", + "sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com", "sqlmanagedinstances.sql.arcdata.microsoft.com"], + "verbs": ["update", "patch"]}, {"apiGroups": ["admissionregistration.k8s.io"], + "resources": ["mutatingwebhookconfigurations"], "verbs": ["create"]}, {"apiGroups": + ["admissionregistration.k8s.io"], "resources": ["mutatingwebhookconfigurations"], + "resourceNames": ["arcdata.microsoft.com-webhook-test"], "verbs": ["delete", + "get", "patch"]}, {"apiGroups": ["rbac.authorization.k8s.io"], "resources": + ["clusterroles"], "verbs": ["create", "get"]}, {"apiGroups": ["rbac.authorization.k8s.io"], + "resources": ["clusterroles"], "resourceNames": ["test:cr-arc-crd-reader", "test:cr-arc-metricsdc-reader", + "cr-arc-webhook-job"], "verbs": ["delete", "patch"]}, {"apiGroups": ["rbac.authorization.k8s.io"], + "resources": ["clusterrolebindings"], "verbs": ["create", "get"]}, {"apiGroups": + ["rbac.authorization.k8s.io"], "resources": ["clusterrolebindings"], "resourceNames": + ["test:crb-arc-crd-reader", "test:crb-arc-metricsdc-reader", "crb-arc-webhook-job"], + "verbs": ["delete", "patch"]}, {"apiGroups": [""], "resources": ["namespaces"], + "verbs": ["create", "list"]}, {"apiGroups": [""], "resources": ["namespaces"], + "resourceNames": ["test"], "verbs": ["get", "patch"]}, {"apiGroups": [""], "resources": + ["nodes/stats", "nodes/proxy", "pods"], "verbs": ["list", "get"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-deployer + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-deployer","uid":"820e3202-cb48-4b91-84e7-18fef020fc18","resourceVersion":"7953","creationTimestamp":"2022-07-30T01:17:47Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-07-30T01:17:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}}]},"rules":[{"verbs":["create","list","get"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"]},{"verbs":["update","patch"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"],"resourceNames":["activedirectoryconnectors.arcdata.microsoft.com","datacontrollers.arcdata.microsoft.com","exporttasks.tasks.arcdata.microsoft.com","failovergroups.sql.arcdata.microsoft.com","kafkas.arcdata.microsoft.com","monitors.arcdata.microsoft.com","postgresqls.arcdata.microsoft.com","sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","sqlmanagedinstances.sql.arcdata.microsoft.com"]},{"verbs":["create"],"apiGroups":["admissionregistration.k8s.io"],"resources":["mutatingwebhookconfigurations"]},{"verbs":["delete","get","patch"],"apiGroups":["admissionregistration.k8s.io"],"resources":["mutatingwebhookconfigurations"],"resourceNames":["arcdata.microsoft.com-webhook-test"]},{"verbs":["create","get"],"apiGroups":["rbac.authorization.k8s.io"],"resources":["clusterroles"]},{"verbs":["delete","patch"],"apiGroups":["rbac.authorization.k8s.io"],"resources":["clusterroles"],"resourceNames":["test:cr-arc-crd-reader","test:cr-arc-metricsdc-reader","cr-arc-webhook-job"]},{"verbs":["create","get"],"apiGroups":["rbac.authorization.k8s.io"],"resources":["clusterrolebindings"]},{"verbs":["delete","patch"],"apiGroups":["rbac.authorization.k8s.io"],"resources":["clusterrolebindings"],"resourceNames":["test:crb-arc-crd-reader","test:crb-arc-metricsdc-reader","crb-arc-webhook-job"]},{"verbs":["create","list"],"apiGroups":[""],"resources":["namespaces"]},{"verbs":["get","patch"],"apiGroups":[""],"resources":["namespaces"],"resourceNames":["test"]},{"verbs":["list","get"],"apiGroups":[""],"resources":["nodes/stats","nodes/proxy","pods"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:21 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: '{"kind": "ClusterRoleBinding", "apiVersion": "rbac.authorization.k8s.io/v1", + "metadata": {"name": "test:crb-deployer"}, "subjects": [{"kind": "ServiceAccount", + "name": "sa-arc-deployer", "namespace": "test"}], "roleRef": {"kind": "ClusterRole", + "name": "test:cr-deployer", "apiGroup": "rbac.authorization.k8s.io"}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-deployer + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-deployer","uid":"8f95a166-a8ac-4e37-92b5-8557972da50c","resourceVersion":"7954","creationTimestamp":"2022-07-30T01:17:47Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-07-30T01:17:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-deployer","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-deployer"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '660' + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:21 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "Role", "metadata": + {"name": "role-deployer", "namespace": "test"}, "rules": [{"apiGroups": [""], + "resources": ["pods/log"], "verbs": ["get"]}, {"apiGroups": [""], "resources": + ["secrets"], "verbs": ["get", "delete"]}, {"apiGroups": [""], "resources": ["serviceaccounts"], + "resourceNames": ["sa-arc-webhook-job", "sa-arc-bootstrapper"], "verbs": ["delete"]}, + {"apiGroups": ["apps"], "resources": ["deployments"], "verbs": ["delete"]}, + {"apiGroups": ["rbac.authorization.k8s.io"], "resources": ["roles", "rolebindings"], + "verbs": ["delete"]}, {"apiGroups": ["batch"], "resources": ["jobs"], "verbs": + ["create", "get", "list", "delete"]}, {"apiGroups": ["arcdata.microsoft.com"], + "resources": ["datacontrollers"], "verbs": ["create", "update", "patch", "delete"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/namespaces/test/roles/role-deployer + response: + body: + string: '{"kind":"Role","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"role-deployer","namespace":"test","uid":"ef1dcd47-456d-4bf0-83a0-77f8b2665472","resourceVersion":"7955","creationTimestamp":"2022-07-30T01:17:47Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-07-30T01:17:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}}]},"rules":[{"verbs":["get"],"apiGroups":[""],"resources":["pods/log"]},{"verbs":["get","delete"],"apiGroups":[""],"resources":["secrets"]},{"verbs":["delete"],"apiGroups":[""],"resources":["serviceaccounts"],"resourceNames":["sa-arc-webhook-job","sa-arc-bootstrapper"]},{"verbs":["delete"],"apiGroups":["apps"],"resources":["deployments"]},{"verbs":["delete"],"apiGroups":["rbac.authorization.k8s.io"],"resources":["roles","rolebindings"]},{"verbs":["create","get","list","delete"],"apiGroups":["batch"],"resources":["jobs"]},{"verbs":["create","update","patch","delete"],"apiGroups":["arcdata.microsoft.com"],"resources":["datacontrollers"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1065' + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:21 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/namespaces/test/rolebindings/rb-deployer + response: + body: + string: '{"kind":"RoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"rb-deployer","namespace":"test","uid":"8d8e8041-ee7c-46fe-ad5d-9604ba08126d","resourceVersion":"7956","creationTimestamp":"2022-07-30T01:17:47Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-07-30T01:17:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-deployer"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"Role","name":"role-deployer"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '637' + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:21 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "Role", "metadata": + {"name": "role-bootstrapper", "namespace": "test"}, "rules": [{"apiGroups": + [""], "resources": ["pods"], "verbs": ["delete", "get", "list", "patch", "update", + "watch"]}, {"apiGroups": [""], "resources": ["configmaps", "persistentvolumeclaims", + "secrets"], "verbs": ["delete"]}, {"apiGroups": [""], "resources": ["configmaps", + "events", "persistentvolumeclaims", "secrets", "serviceaccounts", "services"], + "verbs": ["create", "get", "list", "patch", "update", "watch"]}, {"apiGroups": + ["apps"], "resources": ["daemonsets", "deployments", "replicasets", "statefulsets"], + "verbs": ["create", "get", "list", "patch", "update", "watch"]}, {"apiGroups": + ["rbac.authorization.k8s.io"], "resources": ["roles", "rolebindings"], "verbs": + ["create", "get", "list", "patch", "update"]}, {"apiGroups": ["arcdata.microsoft.com"], + "resources": ["monitors", "kafkas"], "verbs": ["create", "patch", "update"]}, + {"apiGroups": ["sql.arcdata.microsoft.com", "tasks.sql.arcdata.microsoft.com", + "tasks.arcdata.microsoft.com", "arcdata.microsoft.com"], "resources": ["activedirectoryconnectors", + "datacontrollers", "exporttasks", "failovergroups", "kafkas", "monitors", "postgresqls", + "sqlmanagedinstances", "sqlmanagedinstancerestoretasks"], "verbs": ["get", "list", + "watch"]}, {"apiGroups": ["sql.arcdata.microsoft.com", "tasks.sql.arcdata.microsoft.com", + "tasks.arcdata.microsoft.com", "arcdata.microsoft.com"], "resources": ["activedirectoryconnectors/status", + "datacontrollers/status", "exporttasks/status", "failovergroups/status", "kafkas/status", + "monitors/status", "postgresqls/status", "sqlmanagedinstances/status", "sqlmanagedinstancerestoretasks/status"], + "verbs": ["patch", "update"]}, {"apiGroups": ["clusterconfig.azure.com"], "resources": + ["azureclusteridentityrequests"], "verbs": ["create", "delete", "get"]}, {"apiGroups": + ["clusterconfig.azure.com"], "resources": ["azureclusteridentityrequests/status"], + "verbs": ["patch", "update"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/namespaces/test/roles/role-bootstrapper + response: + body: + string: '{"kind":"Role","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"role-bootstrapper","namespace":"test","uid":"e6298831-fa70-41ff-9f85-4cf869993283","resourceVersion":"8034","creationTimestamp":"2022-07-30T01:17:47Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-07-30T01:17:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["delete","get","list","patch","update","watch"],"apiGroups":[""],"resources":["pods"]},{"verbs":["delete"],"apiGroups":[""],"resources":["configmaps","persistentvolumeclaims","secrets"]},{"verbs":["create","get","list","patch","update","watch"],"apiGroups":[""],"resources":["configmaps","events","persistentvolumeclaims","secrets","serviceaccounts","services"]},{"verbs":["create","get","list","patch","update","watch"],"apiGroups":["apps"],"resources":["daemonsets","deployments","replicasets","statefulsets"]},{"verbs":["create","get","list","patch","update"],"apiGroups":["rbac.authorization.k8s.io"],"resources":["roles","rolebindings"]},{"verbs":["create","patch","update"],"apiGroups":["arcdata.microsoft.com"],"resources":["monitors","kafkas"]},{"verbs":["get","list","watch"],"apiGroups":["sql.arcdata.microsoft.com","tasks.sql.arcdata.microsoft.com","tasks.arcdata.microsoft.com","arcdata.microsoft.com"],"resources":["activedirectoryconnectors","datacontrollers","exporttasks","failovergroups","kafkas","monitors","postgresqls","sqlmanagedinstances","sqlmanagedinstancerestoretasks"]},{"verbs":["patch","update"],"apiGroups":["sql.arcdata.microsoft.com","tasks.sql.arcdata.microsoft.com","tasks.arcdata.microsoft.com","arcdata.microsoft.com"],"resources":["activedirectoryconnectors/status","datacontrollers/status","exporttasks/status","failovergroups/status","kafkas/status","monitors/status","postgresqls/status","sqlmanagedinstances/status","sqlmanagedinstancerestoretasks/status"]},{"verbs":["create","delete","get"],"apiGroups":["clusterconfig.azure.com"],"resources":["azureclusteridentityrequests"]},{"verbs":["patch","update"],"apiGroups":["clusterconfig.azure.com"],"resources":["azureclusteridentityrequests/status"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:21 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/namespaces/test/rolebindings/rb-deployer-bootstrapper + response: + body: + string: '{"kind":"RoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"rb-deployer-bootstrapper","namespace":"test","uid":"6ef0014e-6c06-4758-829f-eb3a8753fb32","resourceVersion":"7958","creationTimestamp":"2022-07-30T01:17:47Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-07-30T01:17:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-deployer"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"Role","name":"role-bootstrapper"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '654' + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:21 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-07-30T01:17:58Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-07-30T01:36:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-07-30T01:36:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-07-30T01:36:47Z"}],"name":"datacontroller-sachaga-3528e2572","namespace":"test","resourceVersion":"9969","uid":"fd74b3a5-ac52-402c-ba5e-a02f7a617af1"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.10.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-3528e2572","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-07-30T01:36:59.328825Z","observedGeneration":2,"runningVersion":"v1.10.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"10978"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:21 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs/arc-bootstrapper-job + response: + body: + string: '{"kind":"Job","apiVersion":"batch/v1","metadata":{"name":"arc-bootstrapper-job","namespace":"test","uid":"7bd6c614-9a82-45c9-bbe1-b657030b4d34","resourceVersion":"10979","creationTimestamp":"2022-07-30T01:35:36Z","deletionTimestamp":"2022-07-30T01:40:21Z","deletionGracePeriodSeconds":0,"labels":{"controller-uid":"7bd6c614-9a82-45c9-bbe1-b657030b4d34","job-name":"arc-bootstrapper-job"},"finalizers":["orphan"],"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-07-30T01:35:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:nodeSelector":{".":{},"f:kubernetes.io/os":{}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}},"f:ttlSecondsAfterFinished":{}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"batch/v1","time":"2022-07-30T01:35:58Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:completionTime":{},"f:conditions":{},"f:startTime":{},"f:succeeded":{}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"7bd6c614-9a82-45c9-bbe1-b657030b4d34"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"7bd6c614-9a82-45c9-bbe1-b657030b4d34","job-name":"arc-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"sa-arc-deployer","serviceAccount":"sa-arc-deployer","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}},"ttlSecondsAfterFinished":86400},"status":{"conditions":[{"type":"Complete","status":"True","lastProbeTime":"2022-07-30T01:35:58Z","lastTransitionTime":"2022-07-30T01:35:58Z"}],"startTime":"2022-07-30T01:35:36Z","completionTime":"2022-07-30T01:35:58Z","succeeded":1}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:21 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"JobList","apiVersion":"batch/v1","metadata":{"resourceVersion":"10980"},"items":[{"metadata":{"name":"arc-bootstrapper-job","namespace":"test","uid":"7bd6c614-9a82-45c9-bbe1-b657030b4d34","resourceVersion":"10979","creationTimestamp":"2022-07-30T01:35:36Z","deletionTimestamp":"2022-07-30T01:40:21Z","deletionGracePeriodSeconds":0,"labels":{"controller-uid":"7bd6c614-9a82-45c9-bbe1-b657030b4d34","job-name":"arc-bootstrapper-job"},"finalizers":["orphan"],"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-07-30T01:35:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:nodeSelector":{".":{},"f:kubernetes.io/os":{}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}},"f:ttlSecondsAfterFinished":{}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"batch/v1","time":"2022-07-30T01:35:58Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:completionTime":{},"f:conditions":{},"f:startTime":{},"f:succeeded":{}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"7bd6c614-9a82-45c9-bbe1-b657030b4d34"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"7bd6c614-9a82-45c9-bbe1-b657030b4d34","job-name":"arc-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"sa-arc-deployer","serviceAccount":"sa-arc-deployer","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}},"ttlSecondsAfterFinished":86400},"status":{"conditions":[{"type":"Complete","status":"True","lastProbeTime":"2022-07-30T01:35:58Z","lastTransitionTime":"2022-07-30T01:35:58Z"}],"startTime":"2022-07-30T01:35:36Z","completionTime":"2022-07-30T01:35:58Z","succeeded":1}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:21 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"JobList","apiVersion":"batch/v1","metadata":{"resourceVersion":"11001"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '93' + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:32 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "batch/v1", "kind": "Job", "metadata": {"name": "arc-bootstrapper-job"}, + "spec": {"template": {"spec": {"nodeSelector": {"kubernetes.io/os": "linux"}, + "imagePullSecrets": [{"name": "arc-private-registry"}], "containers": [{"name": + "bootstrapper", "image": "arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga", + "imagePullPolicy": "IfNotPresent", "command": ["/opt/bootstrapper/bin/bootstrapper"], + "args": ["-image", "arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga", + "-policy", "IfNotPresent", "-chart", "/opt/helm/arcdataservices", "-bootstrap"]}], + "restartPolicy": "Never", "serviceAccountName": "sa-arc-deployer"}}, "ttlSecondsAfterFinished": + 86400, "backoffLimit": 0}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"Job","apiVersion":"batch/v1","metadata":{"name":"arc-bootstrapper-job","namespace":"test","uid":"f771c7d2-07a7-4a96-992f-033b7ef9c4ec","resourceVersion":"11002","creationTimestamp":"2022-07-30T01:40:32Z","labels":{"controller-uid":"f771c7d2-07a7-4a96-992f-033b7ef9c4ec","job-name":"arc-bootstrapper-job"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-07-30T01:40:32Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:nodeSelector":{".":{},"f:kubernetes.io/os":{}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}},"f:ttlSecondsAfterFinished":{}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"f771c7d2-07a7-4a96-992f-033b7ef9c4ec"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"f771c7d2-07a7-4a96-992f-033b7ef9c4ec","job-name":"arc-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"sa-arc-deployer","serviceAccount":"sa-arc-deployer","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}},"ttlSecondsAfterFinished":86400},"status":{}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:32 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"JobList","apiVersion":"batch/v1","metadata":{"resourceVersion":"11002"},"items":[{"metadata":{"name":"arc-bootstrapper-job","namespace":"test","uid":"f771c7d2-07a7-4a96-992f-033b7ef9c4ec","resourceVersion":"11002","creationTimestamp":"2022-07-30T01:40:32Z","labels":{"controller-uid":"f771c7d2-07a7-4a96-992f-033b7ef9c4ec","job-name":"arc-bootstrapper-job"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-07-30T01:40:32Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:nodeSelector":{".":{},"f:kubernetes.io/os":{}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}},"f:ttlSecondsAfterFinished":{}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"f771c7d2-07a7-4a96-992f-033b7ef9c4ec"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"f771c7d2-07a7-4a96-992f-033b7ef9c4ec","job-name":"arc-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"sa-arc-deployer","serviceAccount":"sa-arc-deployer","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}},"ttlSecondsAfterFinished":86400},"status":{}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:32 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"JobList","apiVersion":"batch/v1","metadata":{"resourceVersion":"11102"},"items":[{"metadata":{"name":"arc-bootstrapper-job","namespace":"test","uid":"f771c7d2-07a7-4a96-992f-033b7ef9c4ec","resourceVersion":"11006","creationTimestamp":"2022-07-30T01:40:32Z","labels":{"controller-uid":"f771c7d2-07a7-4a96-992f-033b7ef9c4ec","job-name":"arc-bootstrapper-job"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-07-30T01:40:32Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:nodeSelector":{".":{},"f:kubernetes.io/os":{}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}},"f:ttlSecondsAfterFinished":{}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"batch/v1","time":"2022-07-30T01:40:32Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:active":{},"f:startTime":{}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"f771c7d2-07a7-4a96-992f-033b7ef9c4ec"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"f771c7d2-07a7-4a96-992f-033b7ef9c4ec","job-name":"arc-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"sa-arc-deployer","serviceAccount":"sa-arc-deployer","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}},"ttlSecondsAfterFinished":86400},"status":{"startTime":"2022-07-30T01:40:32Z","active":1}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"JobList","apiVersion":"batch/v1","metadata":{"resourceVersion":"11142"},"items":[{"metadata":{"name":"arc-bootstrapper-job","namespace":"test","uid":"f771c7d2-07a7-4a96-992f-033b7ef9c4ec","resourceVersion":"11130","creationTimestamp":"2022-07-30T01:40:32Z","labels":{"controller-uid":"f771c7d2-07a7-4a96-992f-033b7ef9c4ec","job-name":"arc-bootstrapper-job"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-07-30T01:40:32Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:nodeSelector":{".":{},"f:kubernetes.io/os":{}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}},"f:ttlSecondsAfterFinished":{}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"batch/v1","time":"2022-07-30T01:40:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:completionTime":{},"f:conditions":{},"f:startTime":{},"f:succeeded":{}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"f771c7d2-07a7-4a96-992f-033b7ef9c4ec"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"f771c7d2-07a7-4a96-992f-033b7ef9c4ec","job-name":"arc-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"sa-arc-deployer","serviceAccount":"sa-arc-deployer","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}},"ttlSecondsAfterFinished":86400},"status":{"conditions":[{"type":"Complete","status":"True","lastProbeTime":"2022-07-30T01:40:49Z","lastTransitionTime":"2022-07-30T01:40:49Z"}],"startTime":"2022-07-30T01:40:32Z","completionTime":"2022-07-30T01:40:49Z","succeeded":1}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-07-30T01:17:58Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-07-30T01:36:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-07-30T01:36:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-07-30T01:36:47Z"}],"name":"datacontroller-sachaga-3528e2572","namespace":"test","resourceVersion":"9969","uid":"fd74b3a5-ac52-402c-ba5e-a02f7a617af1"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.10.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-3528e2572","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-07-30T01:36:59.328825Z","observedGeneration":2,"runningVersion":"v1.10.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"11142"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-07-30T01:17:58Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-07-30T01:36:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-07-30T01:36:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-07-30T01:36:47Z"}],"name":"datacontroller-sachaga-3528e2572","namespace":"test","resourceVersion":"9969","uid":"fd74b3a5-ac52-402c-ba5e-a02f7a617af1"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.10.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-3528e2572","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-07-30T01:36:59.328825Z","observedGeneration":2,"runningVersion":"v1.10.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"11142"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: '{"spec": {"docker": {"imageTag": "v1.10.0_ubuntu2004-sachaga"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers/datacontroller-sachaga-3528e2572 + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-07-30T01:17:58Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-07-30T01:36:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-07-30T01:36:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-07-30T01:36:47Z"}],"name":"datacontroller-sachaga-3528e2572","namespace":"test","resourceVersion":"9969","uid":"fd74b3a5-ac52-402c-ba5e-a02f7a617af1"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.10.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-3528e2572","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-07-30T01:36:59.328825Z","observedGeneration":2,"runningVersion":"v1.10.0_ubuntu2004-sachaga","state":"Ready"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-07-30T01:17:58Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-07-30T01:36:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-07-30T01:36:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-07-30T01:36:47Z"}],"name":"datacontroller-sachaga-3528e2572","namespace":"test","resourceVersion":"9969","uid":"fd74b3a5-ac52-402c-ba5e-a02f7a617af1"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.10.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-3528e2572","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-07-30T01:36:59.328825Z","observedGeneration":2,"runningVersion":"v1.10.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"11142"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-07-30T01:17:58Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-07-30T01:36:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-07-30T01:36:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-07-30T01:36:47Z"}],"name":"datacontroller-sachaga-3528e2572","namespace":"test","resourceVersion":"9969","uid":"fd74b3a5-ac52-402c-ba5e-a02f7a617af1"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.10.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-3528e2572","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-07-30T01:36:59.328825Z","observedGeneration":2,"runningVersion":"v1.10.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"11142"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/deployments + response: + body: + string: '{"kind":"DeploymentList","apiVersion":"apps/v1","metadata":{"resourceVersion":"11142"},"items":[{"metadata":{"name":"bootstrapper","namespace":"test","uid":"22889d72-ccd9-485a-8eda-afda5d639bc7","resourceVersion":"11101","generation":3,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app":"bootstrapper","app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"deployment.kubernetes.io/revision":"3","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apps/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:progressDeadlineSeconds":{},"f:replicas":{},"f:revisionHistoryLimit":{},"f:selector":{},"f:strategy":{"f:rollingUpdate":{".":{},"f:maxSurge":{},"f:maxUnavailable":{}},"f:type":{}},"f:template":{"f:metadata":{"f:annotations":{".":{},"f:releaseRevision":{}},"f:labels":{".":{},"f:app":{}}},"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:env":{".":{},"k:{\"name\":\"ACCEPT_EULA\"}":{".":{},"f:name":{},"f:value":{}}},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:securityContext":{".":{},"f:runAsGroup":{},"f:runAsUser":{}},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:nodeSelector":{".":{},"f:kubernetes.io/os":{}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{".":{},"f:fsGroup":{}},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"apps/v1","time":"2022-07-30T01:40:41Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:deployment.kubernetes.io/revision":{}}},"f:status":{"f:availableReplicas":{},"f:conditions":{".":{},"k:{\"type\":\"Available\"}":{".":{},"f:lastTransitionTime":{},"f:lastUpdateTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"Progressing\"}":{".":{},"f:lastTransitionTime":{},"f:lastUpdateTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}},"f:observedGeneration":{},"f:readyReplicas":{},"f:replicas":{},"f:updatedReplicas":{}}}}]},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"bootstrapper"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"bootstrapper"},"annotations":{"releaseRevision":"3"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga","env":[{"name":"ACCEPT_EULA","value":"Y"}],"resources":{"limits":{"cpu":"200m","memory":"200Mi"},"requests":{"cpu":"100m","memory":"100Mi"}},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent","securityContext":{"runAsUser":1000700001,"runAsGroup":1000700001}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"sa-arc-bootstrapper","serviceAccount":"sa-arc-bootstrapper","securityContext":{"fsGroup":1000700001},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":"25%","maxSurge":"25%"}},"revisionHistoryLimit":0,"progressDeadlineSeconds":600},"status":{"observedGeneration":3,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2022-07-30T01:17:51Z","lastTransitionTime":"2022-07-30T01:17:51Z","reason":"MinimumReplicasAvailable","message":"Deployment + has minimum availability."},{"type":"Progressing","status":"True","lastUpdateTime":"2022-07-30T01:40:41Z","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NewReplicaSetAvailable","message":"ReplicaSet + \"bootstrapper-66b7fd6d8c\" has successfully progressed."}]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:40:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_full_dc_upgrade[test-v1.12.0_ubuntu2004-ravpate].yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_full_dc_upgrade[test-v1.12.0_ubuntu2004-ravpate].yaml new file mode 100644 index 00000000000..f2beb281754 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_full_dc_upgrade[test-v1.12.0_ubuntu2004-ravpate].yaml @@ -0,0 +1,1119 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"1313876"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"4d7d29dd-c608-4c06-a0c1-8087e0510b50","resourceVersion":"1293295","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"arccertificates.clusterconfig.azure.com","uid":"02920dd8-66e3-44c2-9993-5775b1f89d97","resourceVersion":"506460","generation":1,"creationTimestamp":"2022-09-19T18:41:47Z","labels":{"app.kubernetes.io/managed-by":"Helm"},"annotations":{"controller-gen.kubebuilder.io/version":"v0.4.1","meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:controller-gen.kubebuilder.io/version":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"clusterconfig.azure.com","names":{"plural":"arccertificates","singular":"arccertificate","kind":"ArcCertificate","listKind":"ArcCertificateList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"ArcCertificate + is the Schema for the arccertificates API","type":"object","properties":{"apiVersion":{"description":"APIVersion + defines the versioned schema of this representation of an object. Servers + should convert recognized schemas to the latest internal value, and may reject + unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind + is a string value representing the REST resource this object represents. Servers + may infer this from the endpoint the client submits requests to. Cannot be + updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"ArcCertificateSpec + defines the desired state of ArcCertificate","type":"object","properties":{"issuer":{"type":"string"},"serviceName":{"description":"Foo + is an example field of ArcCertificate. Edit arccertificate_types.go to remove/update","type":"string"}}},"status":{"description":"ArcCertificateStatus + defines the observed state of ArcCertificate","type":"object","properties":{"errorMessage":{"type":"string"},"expirationTime":{"type":"string"},"lastSyncTime":{"description":"INSERT + ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run + \"make\" to regenerate code after modifying this file","type":"string"},"secretName":{"type":"string"}}}}}},"subresources":{"status":{}}}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"arccertificates","singular":"arccertificate","kind":"ArcCertificate","listKind":"ArcCertificateList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"azureclusteridentityrequests.clusterconfig.azure.com","uid":"c73e05f6-10d0-4af1-aceb-62a584565d5f","resourceVersion":"506440","generation":1,"creationTimestamp":"2022-09-19T18:41:47Z","labels":{"app.kubernetes.io/managed-by":"Helm"},"annotations":{"controller-gen.kubebuilder.io/version":"v0.2.4","meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:controller-gen.kubebuilder.io/version":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"clusterconfig.azure.com","names":{"plural":"azureclusteridentityrequests","singular":"azureclusteridentityrequest","shortNames":["azidentityreq"],"kind":"AzureClusterIdentityRequest","listKind":"AzureClusterIdentityRequestList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"AzureClusterIdentityRequest + is the Schema for the azureclusteridentityrequests API","type":"object","properties":{"apiVersion":{"description":"APIVersion + defines the versioned schema of this representation of an object. Servers + should convert recognized schemas to the latest internal value, and may reject + unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind + is a string value representing the REST resource this object represents. Servers + may infer this from the endpoint the client submits requests to. Cannot be + updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"AzureClusterIdentityRequestSpec + defines the desired state of AzureClusterIdentityRequest","type":"object","properties":{"apiVersion":{"type":"string"},"audience":{"type":"string"},"resourceId":{"type":"string"}}},"status":{"description":"AzureClusterIdentityRequestStatus + defines the observed state of AzureClusterIdentityRequest","type":"object","properties":{"expirationTime":{"type":"string"},"tokenReference":{"description":"INSERT + ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run + \"make\" to regenerate code after modifying this file","type":"object","properties":{"dataName":{"type":"string"},"secretName":{"type":"string"}}}}}}}},"subresources":{"status":{}}}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"azureclusteridentityrequests","singular":"azureclusteridentityrequest","shortNames":["azidentityreq"],"kind":"AzureClusterIdentityRequest","listKind":"AzureClusterIdentityRequestList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"azureextensionidentities.clusterconfig.azure.com","uid":"a7a8f378-284a-4a23-b13e-16c28dde157f","resourceVersion":"506473","generation":1,"creationTimestamp":"2022-09-19T18:41:47Z","labels":{"app.kubernetes.io/managed-by":"Helm"},"annotations":{"controller-gen.kubebuilder.io/version":"v0.2.4","meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:controller-gen.kubebuilder.io/version":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"clusterconfig.azure.com","names":{"plural":"azureextensionidentities","singular":"azureextensionidentity","kind":"AzureExtensionIdentity","listKind":"AzureExtensionIdentityList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"AzureExtensionIdentity + is the Schema for the azureextensionidentities API","type":"object","properties":{"apiVersion":{"description":"APIVersion + defines the versioned schema of this representation of an object. Servers + should convert recognized schemas to the latest internal value, and may reject + unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind + is a string value representing the REST resource this object represents. Servers + may infer this from the endpoint the client submits requests to. Cannot be + updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"AzureExtensionIdentitySpec + defines the desired state of AzureExtensionIdentity","type":"object","properties":{"serviceAccounts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}}},"tokenNamespace":{"type":"string"}}},"status":{"description":"AzureExtensionIdentityStatus + defines the observed state of AzureExtensionIdentity","type":"object"}}}},"subresources":{"status":{}}}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"azureextensionidentities","singular":"azureextensionidentity","kind":"AzureExtensionIdentity","listKind":"AzureExtensionIdentityList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"connectedclusters.arc.azure.com","uid":"57b24e97-2d9b-4b68-a4c4-ac7cbe014648","resourceVersion":"506436","generation":1,"creationTimestamp":"2022-09-19T18:41:47Z","labels":{"app.kubernetes.io/managed-by":"Helm","azuresync":"true"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default","resourceSync.arc.azure.com/ProviderNamespace":"Microsoft.Kubernetes","resourceSync.arc.azure.com/ResourceType":"ConnectedClusters"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{},"f:resourceSync.arc.azure.com/ProviderNamespace":{},"f:resourceSync.arc.azure.com/ResourceType":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:azuresync":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arc.azure.com","names":{"plural":"connectedclusters","singular":"connectedcluster","kind":"ConnectedCluster","listKind":"ConnectedClusterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"ConnectedCluster + is the object for the ConnectedClusters API","type":"object","properties":{"apiVersion":{"description":"APIVersion + defines the versioned schema of this representation of an object. Servers + should convert recognized schemas to the latest internal value, and may reject + unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind + is a string value representing the REST resource this object represents. Servers + may infer this from the endpoint the client submits requests to. Cannot be + updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"ConnectedClusterSpec + defines the desired state of ConnectedCluster","type":"object","properties":{"azureResourceId":{"description":"AzureResourceId + is the armId of the cluster","type":"string"}}},"status":{"description":"ConnectedClusterStatus + defines the observed state of ConnectedCluster","type":"object","properties":{"arcAgentVersion":{"description":"ArcAgentVersion + is the version of the arc agents in the cluster","type":"string"},"coreCount":{"description":"CoreCount + is the collective no of cores limit over all nodes present in the cluster","type":"integer"},"kubernetesAPIServerVersion":{"description":"KubernetesAPIServerVersion + is the kubernetes version the cluster is running on","type":"string"},"lastConnectivityTime":{"type":"string","format":"date-time"},"managedIdentityCertificateExpirationTime":{"type":"string","format":"date-time"},"nodeCount":{"description":"NodeCount + is the no of the nodes present in the cluster","type":"integer"}}}}}},"subresources":{"status":{}}}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"connectedclusters","singular":"connectedcluster","kind":"ConnectedCluster","listKind":"ConnectedClusterList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"customlocationsettings.clusterconfig.azure.com","uid":"10b29171-3d28-4845-9b18-a4724dcf8881","resourceVersion":"506452","generation":1,"creationTimestamp":"2022-09-19T18:41:47Z","labels":{"app.kubernetes.io/managed-by":"Helm"},"annotations":{"controller-gen.kubebuilder.io/version":"v0.2.4","meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:controller-gen.kubebuilder.io/version":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"clusterconfig.azure.com","names":{"plural":"customlocationsettings","singular":"customlocationsettings","kind":"CustomLocationSettings","listKind":"CustomLocationSettingsList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"CustomLocationSettings + is the Schema for the customlocationsettings API","type":"object","properties":{"apiVersion":{"description":"APIVersion + defines the versioned schema of this representation of an object. Servers + should convert recognized schemas to the latest internal value, and may reject + unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind + is a string value representing the REST resource this object represents. Servers + may infer this from the endpoint the client submits requests to. Cannot be + updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"CustomLocationSettingsSpec + defines the desired state of CustomLocationSettings","type":"object","properties":{"ClusterRole":{"type":"string"},"EnabledResourceTypes":{"type":"array","items":{"type":"object","properties":{"ApiVersion":{"type":"string"},"ResourceMapping":{"type":"object","properties":{"Group":{"type":"string"},"Kind":{"type":"string"},"Name":{"type":"string"},"Version":{"type":"string"}}},"ResourceProviderNamespace":{"type":"string"},"ResourceType":{"type":"string"}}}},"ExtensionRegistrationTime":{"type":"integer"},"ExtensionType":{"type":"string"},"RPAppId":{"description":"Foo + is an example field of CustomLocationSettings. Edit CustomLocationSettings_types.go + to remove/update","type":"string"}}},"status":{"description":"CustomLocationSettingsStatus + defines the observed state of CustomLocationSettings","type":"object"}}}},"subresources":{"status":{}}}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"customlocationsettings","singular":"customlocationsettings","kind":"CustomLocationSettings","listKind":"CustomLocationSettingsList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"f88234ba-f14d-4976-a3c2-8dcb1c8f59f4","resourceVersion":"1293303","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"cb73a7e3-4a09-4727-a7a7-b854f271c8cb","resourceVersion":"1293313","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"extensionconfigs.clusterconfig.azure.com","uid":"74656fac-da77-4daf-be61-6c44c47fe7b5","resourceVersion":"506445","generation":1,"creationTimestamp":"2022-09-19T18:41:47Z","labels":{"app.kubernetes.io/managed-by":"Helm"},"annotations":{"controller-gen.kubebuilder.io/version":"v0.8.0","meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:controller-gen.kubebuilder.io/version":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"clusterconfig.azure.com","names":{"plural":"extensionconfigs","singular":"extensionconfig","shortNames":["ec"],"kind":"ExtensionConfig","listKind":"ExtensionConfigList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"ExtensionConfig + is the Schema for the extensionconfigs API","type":"object","properties":{"apiVersion":{"description":"APIVersion + defines the versioned schema of this representation of an object. Servers + should convert recognized schemas to the latest internal value, and may reject + unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind + is a string value representing the REST resource this object represents. Servers + may infer this from the endpoint the client submits requests to. Cannot be + updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"ExtensionConfigSpec + defines the desired state of ExtensionConfig","type":"object","properties":{"autoUpgradeMinorVersion":{"type":"boolean"},"correlationId":{"type":"string"},"extensionRegistrationTime":{"type":"integer","format":"int64"},"extensionType":{"type":"string"},"lastModifiedTime":{"type":"string","format":"date-time"},"operationId":{"type":"string"},"parameter":{"type":"object","additionalProperties":{"type":"string"}},"protectedParameters":{"type":"object","properties":{"referenceName":{"type":"string"},"version":{"type":"string"}}},"reconcilerIntervalInSeconds":{"type":"integer"},"releaseTrain":{"type":"string"},"repoUrl":{"type":"string"},"softDelete":{"type":"boolean"},"version":{"type":"string"}}},"status":{"description":"ExtensionConfigStatus + defines the observed state of ExtensionConfig","type":"object","properties":{"configAppliedTime":{"description":"INSERT + ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run + \"make\" to regenerate code after modifying this file","type":"string"},"lastSuccessfulReconciledTime":{"type":"string"},"message":{"type":"string"},"observedGeneration":{"type":"integer","format":"int64"},"observedOperationId":{"type":"string"},"operatorPropertiesHashed":{"type":"string"},"reconciliationError":{"type":"string"},"status":{"type":"string"},"syncStatus":{"type":"object","properties":{"isSyncedWithAzure":{"type":"boolean"},"lastSyncTime":{"type":"string"}}}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Type","type":"string","description":"Extension + Type","jsonPath":".spec.extensionType"},{"name":"Version","type":"string","description":"Extension + Version","jsonPath":".spec.version"},{"name":"Age","type":"date","description":"Extension + Creation Time","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"extensionconfigs","singular":"extensionconfig","shortNames":["ec"],"kind":"ExtensionConfig","listKind":"ExtensionConfigList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"33a44109-673e-493d-8e3d-284106f83966","resourceVersion":"1293316","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"gitconfigs.clusterconfig.azure.com","uid":"97767cc5-42ed-4b1b-bad5-8a7e78de8e5f","resourceVersion":"506474","generation":1,"creationTimestamp":"2022-09-19T18:41:47Z","labels":{"app.kubernetes.io/managed-by":"Helm"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"clusterconfig.azure.com","names":{"plural":"gitconfigs","singular":"gitconfig","kind":"GitConfig","listKind":"GitConfigList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"GitConfig + is the Schema for the gitconfigs API","type":"object","properties":{"apiVersion":{"description":"APIVersion + defines the versioned schema of this representation of an object. Servers + should convert recognized schemas to the latest internal value, and may reject + unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind + is a string value representing the REST resource this object represents. Servers + may infer this from the endpoint the client submits requests to. Cannot be + updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"GitConfigSpec + defines the desired state of GitConfig","type":"object","required":["giturl","operatorClientLocation","operatorParams","operatorType","operatorScope","operatorInstanceName","enableHelmOperator"],"properties":{"correlationId":{"type":"string"},"deleteOperator":{"type":"boolean"},"enableHelmOperator":{"type":"boolean"},"giturl":{"type":"string"},"helmOperatorProperties":{"type":"object","properties":{"chartName":{"type":"string"},"chartValues":{"type":"string"},"chartVersion":{"type":"string"},"repoUrl":{"type":"string"}}},"operatorClientLocation":{"type":"string"},"operatorInstanceName":{"type":"string"},"operatorParams":{"type":"string"},"operatorScope":{"type":"string"},"operatorType":{"type":"string"},"protectedParameters":{"type":"object","required":["referenceName","version"],"properties":{"referenceName":{"type":"string"},"version":{"type":"string"}}},"sshKnownHostsContents":{"type":"string"}}},"status":{"description":"GitConfigStatus + defines the observed state of GitConfig","type":"object","required":["configAppliedTime","lastPolledStatusTime","message","proxyConfigHash","publicKey","status","isSyncedWithAzure","retryCountPublicKey"],"properties":{"configAppliedTime":{"type":"string"},"errorsInTheLastSynced":{"type":"string"},"isSyncedWithAzure":{"type":"boolean"},"lastGitCommitInformation":{"type":"string"},"lastPolledStatusTime":{"type":"string"},"message":{"type":"string"},"mostRecentEventsFromFlux":{"type":"array","items":{"type":"string"}},"proxyConfigHash":{"type":"string"},"publicKey":{"type":"string"},"retryCountPublicKey":{"type":"integer"},"status":{"type":"string"}}}}}},"subresources":{"status":{}}}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"gitconfigs","singular":"gitconfig","kind":"GitConfig","listKind":"GitConfigList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"healthstates.clusterconfig.azure.com","uid":"1cf79fde-b253-4635-8df6-0887bd87a8b5","resourceVersion":"506450","generation":1,"creationTimestamp":"2022-09-19T18:41:47Z","labels":{"app.kubernetes.io/managed-by":"Helm"},"annotations":{"controller-gen.kubebuilder.io/version":"v0.4.1","meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:controller-gen.kubebuilder.io/version":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-19T18:41:47Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"clusterconfig.azure.com","names":{"plural":"healthstates","singular":"healthstate","kind":"HealthState","listKind":"HealthStateList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"HealthState + is the Schema for the healthstates API","type":"object","properties":{"apiVersion":{"description":"APIVersion + defines the versioned schema of this representation of an object. Servers + should convert recognized schemas to the latest internal value, and may reject + unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind + is a string value representing the REST resource this object represents. Servers + may infer this from the endpoint the client submits requests to. Cannot be + updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"HealthStateSpec + defines the desired state of HealthState","type":"object","properties":{"healthStateObjects":{"description":"HealthStateObjects + is the list of HealthState objects which contains state of the resource to + be verified","type":"array","items":{"type":"object","properties":{"errorCodeForFailure":{"description":"ErrorCodeForFailure + is the error metric to be emitted if resource is not present","type":"string"},"id":{"description":"Id + is the full ARM Resource Id of the parent resource (eg: Custom Location) that + this object belongs to.","type":"string"},"location":{"description":"Location + is the location of the parent resource (eg: Custom Location)","type":"string"},"name":{"description":"Name + is the name of the resource that we need to verify","type":"string"},"namespace":{"description":"Namespace + is the namespace that the resource is present in","type":"string"},"type":{"description":"Type + is the type of the resource that we need to verify","type":"string"}}}}}},"status":{"description":"HealthStateStatus + defines the observed state of HealthState","type":"object"}}}}}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-19T18:41:47Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"healthstates","singular":"healthstate","kind":"HealthState","listKind":"HealthStateList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"0a950d00-0469-4653-b488-a9bfde7ee610","resourceVersion":"1293319","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"d8fdb53a-eec7-436a-9b3a-b4839badd19e","resourceVersion":"1293322","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"05fa718b-271c-4f93-912b-6a89968fb360","resourceVersion":"1293325","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"fc3557ec-8066-41c7-86a8-a8266aa3fafe","resourceVersion":"1293329","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"0ae2a4cd-e520-4c31-b3db-421a970267b5","resourceVersion":"1293341","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"8830d633-859d-40c5-aabe-64d1c3f705e3","resourceVersion":"1293344","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"8f362c19-22e4-48f6-8abc-04f6fe0e29ad","resourceVersion":"1293338","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v6"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"96ee3741-f00b-4b64-ad3b-b530cfd26a1d","resourceVersion":"1293347","generation":1,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta1"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta3/namespaces/test/postgresqls + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1beta3","items":[],"kind":"PostgreSqlList","metadata":{"continue":"","resourceVersion":"1313876"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '137' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v1beta2/namespaces/test/dags + response: + body: + string: '404 page not found + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '19' + Content-Type: + - text/plain; charset=utf-8 + Date: + - Fri, 23 Sep 2022 21:21:39 GMT + X-Content-Type-Options: + - nosniff + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-09-23T18:50:04Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-09-23T18:50:04Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-09-23T18:50:04Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-09-23T18:54:20Z"}],"name":"datacontroller-ravpate-4881c1a57","namespace":"test","resourceVersion":"1294332","uid":"edd415e9-6395-417c-b169-996b47e4de3d"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.12.0_ubuntu2004-ravpate","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-ravpate-4881c1a57","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-09-23T18:54:20.659462Z","observedGeneration":1,"runningVersion":"v1.12.0_ubuntu2004-ravpate","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"1313876"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-09-23T18:50:04Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-09-23T18:50:04Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-09-23T18:50:04Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-09-23T18:54:20Z"}],"name":"datacontroller-ravpate-4881c1a57","namespace":"test","resourceVersion":"1294332","uid":"edd415e9-6395-417c-b169-996b47e4de3d"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.12.0_ubuntu2004-ravpate","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-ravpate-4881c1a57","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-09-23T18:54:20.659462Z","observedGeneration":1,"runningVersion":"v1.12.0_ubuntu2004-ravpate","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"1313876"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/arc-private-registry + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"arc-private-registry\" not found","reason":"NotFound","details":{"name":"arc-private-registry","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '214' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 404 + message: Not Found +- request: + body: null + headers: {} + method: GET + uri: https://mock-host/v2/arcdata-dev/arc-controller/tags/list + response: + body: + string: '{"name":"arcdata-dev/arc-controller","tags":["latest","public-preview-apr-2021","public-preview-dec-2020","public-preview-feb-2021","public-preview-jan-2021","public-preview-jun-2021","public-preview-mar-2021","public-preview-may-2021","public-preview-oct-2020","public-preview-sep-2020","v1.0.0_2021-07-30","v1.1.0_2021-11-02","v1.10.0_2022-08-09","v1.10.0_ubuntu2004-","v1.10.0_ubuntu2004-mdrrahman","v1.10.0_ubuntu2004-patelchintan","v1.10.0_ubuntu2004-safeitle","v1.10.0_ubuntu2004-yuronhe","v1.10.1_ubuntu2004-dishadchopra","v1.11.0_2022-09-13","v1.11.0_ubuntu2004-brkoc","v1.11.0_ubuntu2004-lawynn","v1.11.0_ubuntu2004-mdrrahman","v1.11.0_ubuntu2004-safeitle","v1.12.0_ubuntu2004-mdrrahman","v1.2.0_2021-12-15","v1.3.0_2022-01-27","v1.4.0_2022-02-25","v1.4.1_2022-03-08","v1.5.0_2022-04-05","v1.5.0_ubuntu2004-bilia","v1.6.0_2022-05-02","v1.6.0_ubuntu2004-safeitle","v1.6.0_ubuntu2004-shashta","v1.7.0_2022-05-24","v1.7.0_ubuntu2004-safeitle","v1.7.0_ubuntu2004-yuronhe","v1.8.0_2022-06-14","v1.8.0_ubuntu2004-safeitle","v1.8.0_ubuntu2004-yuronhe","v1.9.0_2022-07-12","v1.9.0_ubuntu2004-","v1.9.0_ubuntu2004-mdrrahman","v1.9.0_ubuntu2004-safeitle","v1.9.0_ubuntu2004-yuronhe"]} + + ' + headers: + Access-Control-Expose-Headers: + - Docker-Content-Digest + - WWW-Authenticate + - Link + - X-Ms-Correlation-Request-Id + Connection: + - keep-alive + Content-Length: + - '1184' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 23 Sep 2022 21:21:39 GMT + Docker-Distribution-Api-Version: + - registry/2.0 + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Ms-Correlation-Request-Id: + - 27974417-9512-4eea-9ba8-616a346d0c93 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-09-23T18:50:04Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-09-23T18:50:04Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-09-23T18:50:04Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-09-23T18:54:20Z"}],"name":"datacontroller-ravpate-4881c1a57","namespace":"test","resourceVersion":"1294332","uid":"edd415e9-6395-417c-b169-996b47e4de3d"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.12.0_ubuntu2004-ravpate","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-ravpate-4881c1a57","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-09-23T18:54:20.659462Z","observedGeneration":1,"runningVersion":"v1.12.0_ubuntu2004-ravpate","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"1313876"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "v1", "kind": "ServiceAccount", "metadata": {"name": "sa-arc-deployer"}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/api/v1/namespaces/test/serviceaccounts/sa-arc-deployer + response: + body: + string: '{"kind":"ServiceAccount","apiVersion":"v1","metadata":{"name":"sa-arc-deployer","namespace":"test","uid":"e9131131-45f0-4371-a83b-33ed7f411cb7","resourceVersion":"1293263","creationTimestamp":"2022-09-23T18:49:54Z"},"secrets":[{"name":"sa-arc-deployer-token-bdlh2"}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '268' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-deployer"}, "rules": [{"apiGroups": ["apiextensions.k8s.io"], + "resources": ["customresourcedefinitions"], "verbs": ["create", "list", "get"]}, + {"apiGroups": ["apiextensions.k8s.io"], "resources": ["customresourcedefinitions"], + "resourceNames": ["activedirectoryconnectors.arcdata.microsoft.com", "datacontrollers.arcdata.microsoft.com", + "exporttasks.tasks.arcdata.microsoft.com", "failovergroups.sql.arcdata.microsoft.com", + "kafkas.arcdata.microsoft.com", "monitors.arcdata.microsoft.com", "telemetrycollectors.arcdata.microsoft.com", + "telemetryrouters.arcdata.microsoft.com", "postgresqls.arcdata.microsoft.com", + "sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com", "sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com", + "sqlmanagedinstances.sql.arcdata.microsoft.com"], "verbs": ["update", "patch"]}, + {"apiGroups": ["admissionregistration.k8s.io"], "resources": ["mutatingwebhookconfigurations"], + "verbs": ["create"]}, {"apiGroups": ["admissionregistration.k8s.io"], "resources": + ["mutatingwebhookconfigurations"], "resourceNames": ["arcdata.microsoft.com-webhook-test"], + "verbs": ["delete", "get", "patch"]}, {"apiGroups": ["rbac.authorization.k8s.io"], + "resources": ["clusterroles"], "verbs": ["create", "get"]}, {"apiGroups": ["rbac.authorization.k8s.io"], + "resources": ["clusterroles"], "resourceNames": ["test:cr-arc-crd-reader", "test:cr-arc-metricsdc-reader", + "cr-arc-webhook-job"], "verbs": ["delete", "patch"]}, {"apiGroups": ["rbac.authorization.k8s.io"], + "resources": ["clusterrolebindings"], "verbs": ["create", "get"]}, {"apiGroups": + ["rbac.authorization.k8s.io"], "resources": ["clusterrolebindings"], "resourceNames": + ["test:crb-arc-crd-reader", "test:crb-arc-metricsdc-reader", "crb-arc-webhook-job"], + "verbs": ["delete", "patch"]}, {"apiGroups": [""], "resources": ["namespaces"], + "verbs": ["create", "list"]}, {"apiGroups": [""], "resources": ["namespaces"], + "resourceNames": ["test"], "verbs": ["get", "patch"]}, {"apiGroups": [""], "resources": + ["nodes/stats", "nodes/proxy", "pods"], "verbs": ["list", "get"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-deployer + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-deployer","uid":"8f1ce0d2-ad41-4be6-b521-0482e0613d50","resourceVersion":"204966","creationTimestamp":"2022-09-16T22:13:35Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-09-16T22:13:35Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}}]},"rules":[{"verbs":["create","list","get"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"]},{"verbs":["update","patch"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"],"resourceNames":["activedirectoryconnectors.arcdata.microsoft.com","datacontrollers.arcdata.microsoft.com","exporttasks.tasks.arcdata.microsoft.com","failovergroups.sql.arcdata.microsoft.com","kafkas.arcdata.microsoft.com","monitors.arcdata.microsoft.com","telemetrycollectors.arcdata.microsoft.com","telemetryrouters.arcdata.microsoft.com","postgresqls.arcdata.microsoft.com","sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","sqlmanagedinstances.sql.arcdata.microsoft.com"]},{"verbs":["create"],"apiGroups":["admissionregistration.k8s.io"],"resources":["mutatingwebhookconfigurations"]},{"verbs":["delete","get","patch"],"apiGroups":["admissionregistration.k8s.io"],"resources":["mutatingwebhookconfigurations"],"resourceNames":["arcdata.microsoft.com-webhook-test"]},{"verbs":["create","get"],"apiGroups":["rbac.authorization.k8s.io"],"resources":["clusterroles"]},{"verbs":["delete","patch"],"apiGroups":["rbac.authorization.k8s.io"],"resources":["clusterroles"],"resourceNames":["test:cr-arc-crd-reader","test:cr-arc-metricsdc-reader","cr-arc-webhook-job"]},{"verbs":["create","get"],"apiGroups":["rbac.authorization.k8s.io"],"resources":["clusterrolebindings"]},{"verbs":["delete","patch"],"apiGroups":["rbac.authorization.k8s.io"],"resources":["clusterrolebindings"],"resourceNames":["test:crb-arc-crd-reader","test:crb-arc-metricsdc-reader","crb-arc-webhook-job"]},{"verbs":["create","list"],"apiGroups":[""],"resources":["namespaces"]},{"verbs":["get","patch"],"apiGroups":[""],"resources":["namespaces"],"resourceNames":["test"]},{"verbs":["list","get"],"apiGroups":[""],"resources":["nodes/stats","nodes/proxy","pods"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: '{"kind": "ClusterRoleBinding", "apiVersion": "rbac.authorization.k8s.io/v1", + "metadata": {"name": "test:crb-deployer"}, "subjects": [{"kind": "ServiceAccount", + "name": "sa-arc-deployer", "namespace": "test"}], "roleRef": {"kind": "ClusterRole", + "name": "test:cr-deployer", "apiGroup": "rbac.authorization.k8s.io"}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-deployer + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-deployer","uid":"9f7a7e77-f879-4543-af79-61f5eab1f946","resourceVersion":"204967","creationTimestamp":"2022-09-16T22:13:35Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-09-16T22:13:35Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-deployer","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-deployer"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '662' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "Role", "metadata": + {"name": "role-deployer", "namespace": "test"}, "rules": [{"apiGroups": [""], + "resources": ["pods/log"], "verbs": ["get"]}, {"apiGroups": [""], "resources": + ["secrets"], "verbs": ["get", "delete"]}, {"apiGroups": [""], "resources": ["serviceaccounts"], + "resourceNames": ["sa-arc-webhook-job", "sa-arc-bootstrapper"], "verbs": ["delete"]}, + {"apiGroups": ["apps"], "resources": ["deployments"], "verbs": ["delete"]}, + {"apiGroups": ["rbac.authorization.k8s.io"], "resources": ["roles", "rolebindings"], + "verbs": ["delete"]}, {"apiGroups": ["batch"], "resources": ["jobs"], "verbs": + ["create", "get", "list", "delete"]}, {"apiGroups": ["arcdata.microsoft.com"], + "resources": ["datacontrollers"], "verbs": ["create", "update", "patch", "delete"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/namespaces/test/roles/role-deployer + response: + body: + string: '{"kind":"Role","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"role-deployer","namespace":"test","uid":"da7c4634-dedf-4c62-9b20-a9a43522ad37","resourceVersion":"1293264","creationTimestamp":"2022-09-23T18:49:54Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-09-23T18:49:54Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}}]},"rules":[{"verbs":["get"],"apiGroups":[""],"resources":["pods/log"]},{"verbs":["get","delete"],"apiGroups":[""],"resources":["secrets"]},{"verbs":["delete"],"apiGroups":[""],"resources":["serviceaccounts"],"resourceNames":["sa-arc-webhook-job","sa-arc-bootstrapper"]},{"verbs":["delete"],"apiGroups":["apps"],"resources":["deployments"]},{"verbs":["delete"],"apiGroups":["rbac.authorization.k8s.io"],"resources":["roles","rolebindings"]},{"verbs":["create","get","list","delete"],"apiGroups":["batch"],"resources":["jobs"]},{"verbs":["create","update","patch","delete"],"apiGroups":["arcdata.microsoft.com"],"resources":["datacontrollers"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1068' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/namespaces/test/rolebindings/rb-deployer + response: + body: + string: '{"kind":"RoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"rb-deployer","namespace":"test","uid":"292180cf-a43a-4f83-a839-e4ccf3c9deae","resourceVersion":"1293265","creationTimestamp":"2022-09-23T18:49:54Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-09-23T18:49:54Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-deployer"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"Role","name":"role-deployer"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '640' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "Role", "metadata": + {"name": "role-bootstrapper", "namespace": "test"}, "rules": [{"apiGroups": + [""], "resources": ["pods"], "verbs": ["delete", "get", "list", "patch", "update", + "watch"]}, {"apiGroups": [""], "resources": ["configmaps", "persistentvolumeclaims", + "secrets"], "verbs": ["delete"]}, {"apiGroups": [""], "resources": ["configmaps", + "events", "persistentvolumeclaims", "secrets", "serviceaccounts", "services"], + "verbs": ["create", "get", "list", "patch", "update", "watch"]}, {"apiGroups": + ["apps"], "resources": ["daemonsets", "deployments", "replicasets", "statefulsets"], + "verbs": ["create", "get", "list", "patch", "update", "watch"]}, {"apiGroups": + ["rbac.authorization.k8s.io"], "resources": ["roles", "rolebindings"], "verbs": + ["create", "get", "list", "patch", "update"]}, {"apiGroups": ["arcdata.microsoft.com"], + "resources": ["activedirectoryconnectors", "monitors", "telemetrycollectors", "telemetryrouters", + "kafkas"], "verbs": ["create", "patch", "update"]}, {"apiGroups": ["sql.arcdata.microsoft.com", + "tasks.sql.arcdata.microsoft.com", "tasks.arcdata.microsoft.com", "arcdata.microsoft.com"], + "resources": ["activedirectoryconnectors", "datacontrollers", "exporttasks", + "kafkas", "monitors", "telemetrycollectors", "telemetryrouters", "postgresqls", "sqlmanagedinstances", + "sqlmanagedinstancerestoretasks", "sqlmanagedinstancereprovisionreplicatasks"], + "verbs": ["get", "list", "watch"]}, {"apiGroups": ["sql.arcdata.microsoft.com", + "tasks.sql.arcdata.microsoft.com", "tasks.arcdata.microsoft.com", "arcdata.microsoft.com"], + "resources": ["activedirectoryconnectors/status", "datacontrollers/status", + "exporttasks/status", "kafkas/status", "monitors/status", "telemetrycollectors/status", + "telemetryrouters/status", "postgresqls/status", "sqlmanagedinstances/status", + "sqlmanagedinstancerestoretasks/status", "sqlmanagedinstancereprovisionreplicatasks/status"], + "verbs": ["patch", "update"]}, {"apiGroups": ["sql.arcdata.microsoft.com"], + "resources": ["failovergroups"], "verbs": ["get", "list", "watch", "update"]}, + {"apiGroups": ["sql.arcdata.microsoft.com"], "resources": ["failovergroups/status"], + "verbs": ["get", "patch", "update"]}, {"apiGroups": ["clusterconfig.azure.com"], + "resources": ["azureclusteridentityrequests"], "verbs": ["create", "delete", + "get"]}, {"apiGroups": ["clusterconfig.azure.com"], "resources": ["azureclusteridentityrequests/status"], + "verbs": ["patch", "update"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/namespaces/test/roles/role-bootstrapper + response: + body: + string: '{"kind":"Role","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"role-bootstrapper","namespace":"test","uid":"ad80a93c-be24-495e-a6e8-43032466abec","resourceVersion":"1293355","creationTimestamp":"2022-09-23T18:49:54Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-09-23T18:49:54Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["delete","get","list","patch","update","watch"],"apiGroups":[""],"resources":["pods"]},{"verbs":["delete"],"apiGroups":[""],"resources":["configmaps","persistentvolumeclaims","secrets"]},{"verbs":["create","get","list","patch","update","watch"],"apiGroups":[""],"resources":["configmaps","events","persistentvolumeclaims","secrets","serviceaccounts","services"]},{"verbs":["create","get","list","patch","update","watch"],"apiGroups":["apps"],"resources":["daemonsets","deployments","replicasets","statefulsets"]},{"verbs":["create","get","list","patch","update"],"apiGroups":["rbac.authorization.k8s.io"],"resources":["roles","rolebindings"]},{"verbs":["create","patch","update"],"apiGroups":["arcdata.microsoft.com"],"resources":["activedirectoryconnectors","monitors","telemetrycollectors","telemetryrouters","kafkas"]},{"verbs":["get","list","watch"],"apiGroups":["sql.arcdata.microsoft.com","tasks.sql.arcdata.microsoft.com","tasks.arcdata.microsoft.com","arcdata.microsoft.com"],"resources":["activedirectoryconnectors","datacontrollers","exporttasks","kafkas","monitors","telemetrycollectors","telemetryrouters","postgresqls","sqlmanagedinstances","sqlmanagedinstancerestoretasks","sqlmanagedinstancereprovisionreplicatasks"]},{"verbs":["patch","update"],"apiGroups":["sql.arcdata.microsoft.com","tasks.sql.arcdata.microsoft.com","tasks.arcdata.microsoft.com","arcdata.microsoft.com"],"resources":["activedirectoryconnectors/status","datacontrollers/status","exporttasks/status","kafkas/status","monitors/status","telemetrycollectors/status","telemetryrouters/status","postgresqls/status","sqlmanagedinstances/status","sqlmanagedinstancerestoretasks/status","sqlmanagedinstancereprovisionreplicatasks/status"]},{"verbs":["get","list","watch","update"],"apiGroups":["sql.arcdata.microsoft.com"],"resources":["failovergroups"]},{"verbs":["get","patch","update"],"apiGroups":["sql.arcdata.microsoft.com"],"resources":["failovergroups/status"]},{"verbs":["create","delete","get"],"apiGroups":["clusterconfig.azure.com"],"resources":["azureclusteridentityrequests"]},{"verbs":["patch","update"],"apiGroups":["clusterconfig.azure.com"],"resources":["azureclusteridentityrequests/status"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/namespaces/test/rolebindings/rb-deployer-bootstrapper + response: + body: + string: '{"kind":"RoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"rb-deployer-bootstrapper","namespace":"test","uid":"12a3f880-df03-4d28-affa-33b10cef3982","resourceVersion":"1293267","creationTimestamp":"2022-09-23T18:49:54Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-09-23T18:49:54Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-deployer"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"Role","name":"role-bootstrapper"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '657' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-09-23T18:50:04Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-09-23T18:50:04Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-09-23T18:50:04Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-09-23T18:54:20Z"}],"name":"datacontroller-ravpate-4881c1a57","namespace":"test","resourceVersion":"1294332","uid":"edd415e9-6395-417c-b169-996b47e4de3d"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.12.0_ubuntu2004-ravpate","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-ravpate-4881c1a57","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-09-23T18:54:20.659462Z","observedGeneration":1,"runningVersion":"v1.12.0_ubuntu2004-ravpate","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"1313876"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs/arc-bootstrapper-job + response: + body: + string: '{"kind":"Job","apiVersion":"batch/v1","metadata":{"name":"arc-bootstrapper-job","namespace":"test","uid":"75add27d-dd37-4204-a524-b302eacc9e86","resourceVersion":"1313877","creationTimestamp":"2022-09-23T21:18:36Z","deletionTimestamp":"2022-09-23T21:21:39Z","deletionGracePeriodSeconds":0,"labels":{"controller-uid":"75add27d-dd37-4204-a524-b302eacc9e86","job-name":"arc-bootstrapper-job"},"finalizers":["orphan"],"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-09-23T21:18:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:nodeSelector":{".":{},"f:kubernetes.io/os":{}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}},"f:ttlSecondsAfterFinished":{}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"batch/v1","time":"2022-09-23T21:18:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:active":{},"f:startTime":{}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"75add27d-dd37-4204-a524-b302eacc9e86"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"75add27d-dd37-4204-a524-b302eacc9e86","job-name":"arc-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"sa-arc-deployer","serviceAccount":"sa-arc-deployer","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}},"ttlSecondsAfterFinished":86400},"status":{"startTime":"2022-09-23T21:18:36Z","active":1}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"JobList","apiVersion":"batch/v1","metadata":{"resourceVersion":"1313877"},"items":[{"metadata":{"name":"arc-bootstrapper-job","namespace":"test","uid":"75add27d-dd37-4204-a524-b302eacc9e86","resourceVersion":"1313877","creationTimestamp":"2022-09-23T21:18:36Z","deletionTimestamp":"2022-09-23T21:21:39Z","deletionGracePeriodSeconds":0,"labels":{"controller-uid":"75add27d-dd37-4204-a524-b302eacc9e86","job-name":"arc-bootstrapper-job"},"finalizers":["orphan"],"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-09-23T21:18:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:nodeSelector":{".":{},"f:kubernetes.io/os":{}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}},"f:ttlSecondsAfterFinished":{}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"batch/v1","time":"2022-09-23T21:18:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:active":{},"f:startTime":{}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"75add27d-dd37-4204-a524-b302eacc9e86"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"75add27d-dd37-4204-a524-b302eacc9e86","job-name":"arc-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.10.0_ubuntu2004-sachaga","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"sa-arc-deployer","serviceAccount":"sa-arc-deployer","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}},"ttlSecondsAfterFinished":86400},"status":{"startTime":"2022-09-23T21:18:36Z","active":1}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"JobList","apiVersion":"batch/v1","metadata":{"resourceVersion":"1313904"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '95' + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:49 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "batch/v1", "kind": "Job", "metadata": {"name": "arc-bootstrapper-job"}, + "spec": {"template": {"spec": {"nodeSelector": {"kubernetes.io/os": "linux"}, + "imagePullSecrets": [{"name": "arc-private-registry"}], "containers": [{"name": + "bootstrapper", "image": "arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.12.0_ubuntu2004-ravpate", + "imagePullPolicy": "IfNotPresent", "command": ["/opt/bootstrapper/bin/bootstrapper"], + "args": ["-image", "arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.12.0_ubuntu2004-ravpate", + "-policy", "IfNotPresent", "-chart", "/opt/helm/arcdataservices", "-bootstrap"]}], + "restartPolicy": "Never", "serviceAccountName": "sa-arc-deployer"}}, "ttlSecondsAfterFinished": + 86400, "backoffLimit": 0}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"Job","apiVersion":"batch/v1","metadata":{"name":"arc-bootstrapper-job","namespace":"test","uid":"b03d8684-924f-4f13-87a1-2316f4f871d3","resourceVersion":"1313905","creationTimestamp":"2022-09-23T21:21:49Z","labels":{"controller-uid":"b03d8684-924f-4f13-87a1-2316f4f871d3","job-name":"arc-bootstrapper-job"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-09-23T21:21:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:nodeSelector":{".":{},"f:kubernetes.io/os":{}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}},"f:ttlSecondsAfterFinished":{}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"b03d8684-924f-4f13-87a1-2316f4f871d3"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"b03d8684-924f-4f13-87a1-2316f4f871d3","job-name":"arc-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.12.0_ubuntu2004-ravpate","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.12.0_ubuntu2004-ravpate","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"sa-arc-deployer","serviceAccount":"sa-arc-deployer","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}},"ttlSecondsAfterFinished":86400},"status":{}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"JobList","apiVersion":"batch/v1","metadata":{"resourceVersion":"1313905"},"items":[{"metadata":{"name":"arc-bootstrapper-job","namespace":"test","uid":"b03d8684-924f-4f13-87a1-2316f4f871d3","resourceVersion":"1313905","creationTimestamp":"2022-09-23T21:21:49Z","labels":{"controller-uid":"b03d8684-924f-4f13-87a1-2316f4f871d3","job-name":"arc-bootstrapper-job"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-09-23T21:21:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:nodeSelector":{".":{},"f:kubernetes.io/os":{}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}},"f:ttlSecondsAfterFinished":{}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"b03d8684-924f-4f13-87a1-2316f4f871d3"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"b03d8684-924f-4f13-87a1-2316f4f871d3","job-name":"arc-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.12.0_ubuntu2004-ravpate","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.12.0_ubuntu2004-ravpate","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"sa-arc-deployer","serviceAccount":"sa-arc-deployer","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}},"ttlSecondsAfterFinished":86400},"status":{}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"JobList","apiVersion":"batch/v1","metadata":{"resourceVersion":"1313987"},"items":[{"metadata":{"name":"arc-bootstrapper-job","namespace":"test","uid":"b03d8684-924f-4f13-87a1-2316f4f871d3","resourceVersion":"1313909","creationTimestamp":"2022-09-23T21:21:49Z","labels":{"controller-uid":"b03d8684-924f-4f13-87a1-2316f4f871d3","job-name":"arc-bootstrapper-job"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-09-23T21:21:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:nodeSelector":{".":{},"f:kubernetes.io/os":{}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}},"f:ttlSecondsAfterFinished":{}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"batch/v1","time":"2022-09-23T21:21:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:active":{},"f:startTime":{}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"b03d8684-924f-4f13-87a1-2316f4f871d3"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"b03d8684-924f-4f13-87a1-2316f4f871d3","job-name":"arc-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.12.0_ubuntu2004-ravpate","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.12.0_ubuntu2004-ravpate","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"sa-arc-deployer","serviceAccount":"sa-arc-deployer","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}},"ttlSecondsAfterFinished":86400},"status":{"startTime":"2022-09-23T21:21:49Z","active":1}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:21:59 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"JobList","apiVersion":"batch/v1","metadata":{"resourceVersion":"1314014"},"items":[{"metadata":{"name":"arc-bootstrapper-job","namespace":"test","uid":"b03d8684-924f-4f13-87a1-2316f4f871d3","resourceVersion":"1314006","creationTimestamp":"2022-09-23T21:21:49Z","labels":{"controller-uid":"b03d8684-924f-4f13-87a1-2316f4f871d3","job-name":"arc-bootstrapper-job"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-09-23T21:21:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:nodeSelector":{".":{},"f:kubernetes.io/os":{}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}},"f:ttlSecondsAfterFinished":{}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"batch/v1","time":"2022-09-23T21:22:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:completionTime":{},"f:conditions":{},"f:startTime":{},"f:succeeded":{}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"b03d8684-924f-4f13-87a1-2316f4f871d3"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"b03d8684-924f-4f13-87a1-2316f4f871d3","job-name":"arc-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.12.0_ubuntu2004-ravpate","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.12.0_ubuntu2004-ravpate","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"sa-arc-deployer","serviceAccount":"sa-arc-deployer","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}},"ttlSecondsAfterFinished":86400},"status":{"conditions":[{"type":"Complete","status":"True","lastProbeTime":"2022-09-23T21:22:05Z","lastTransitionTime":"2022-09-23T21:22:05Z"}],"startTime":"2022-09-23T21:21:49Z","completionTime":"2022-09-23T21:22:05Z","succeeded":1}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:22:09 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-09-23T18:50:04Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-09-23T18:50:04Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-09-23T18:50:04Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-09-23T18:54:20Z"}],"name":"datacontroller-ravpate-4881c1a57","namespace":"test","resourceVersion":"1294332","uid":"edd415e9-6395-417c-b169-996b47e4de3d"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.12.0_ubuntu2004-ravpate","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-ravpate-4881c1a57","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-09-23T18:54:20.659462Z","observedGeneration":1,"runningVersion":"v1.12.0_ubuntu2004-ravpate","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"1314014"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:22:09 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: '{"spec": {"docker": {"imageTag": "v1.12.0_ubuntu2004-ravpate"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers/datacontroller-ravpate-4881c1a57 + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-09-23T18:50:04Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-09-23T18:50:04Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-09-23T18:50:04Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-09-23T18:54:20Z"}],"name":"datacontroller-ravpate-4881c1a57","namespace":"test","resourceVersion":"1294332","uid":"edd415e9-6395-417c-b169-996b47e4de3d"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.12.0_ubuntu2004-ravpate","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-ravpate-4881c1a57","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-09-23T18:54:20.659462Z","observedGeneration":1,"runningVersion":"v1.12.0_ubuntu2004-ravpate","state":"Ready"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:22:09 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-09-23T18:50:04Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-09-23T18:50:04Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-09-23T18:50:04Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-09-23T18:54:20Z"}],"name":"datacontroller-ravpate-4881c1a57","namespace":"test","resourceVersion":"1294332","uid":"edd415e9-6395-417c-b169-996b47e4de3d"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.12.0_ubuntu2004-ravpate","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-ravpate-4881c1a57","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-09-23T18:54:20.659462Z","observedGeneration":1,"runningVersion":"v1.12.0_ubuntu2004-ravpate","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"1314014"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:22:09 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-09-23T18:50:04Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-09-23T18:50:04Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-09-23T18:50:04Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-09-23T18:54:20Z"}],"name":"datacontroller-ravpate-4881c1a57","namespace":"test","resourceVersion":"1294332","uid":"edd415e9-6395-417c-b169-996b47e4de3d"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.12.0_ubuntu2004-ravpate","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-ravpate-4881c1a57","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-09-23T18:54:20.659462Z","observedGeneration":1,"runningVersion":"v1.12.0_ubuntu2004-ravpate","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"1314014"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:22:09 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/deployments + response: + body: + string: '{"kind":"DeploymentList","apiVersion":"apps/v1","metadata":{"resourceVersion":"1314014"},"items":[{"metadata":{"name":"bootstrapper","namespace":"test","uid":"b215f983-de3b-4051-9463-57a57890052c","resourceVersion":"1313976","generation":2,"creationTimestamp":"2022-09-23T18:49:55Z","labels":{"app":"bootstrapper","app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"deployment.kubernetes.io/revision":"2","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apps/v1","time":"2022-09-23T18:49:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:progressDeadlineSeconds":{},"f:replicas":{},"f:revisionHistoryLimit":{},"f:selector":{},"f:strategy":{"f:rollingUpdate":{".":{},"f:maxSurge":{},"f:maxUnavailable":{}},"f:type":{}},"f:template":{"f:metadata":{"f:annotations":{".":{},"f:releaseRevision":{}},"f:labels":{".":{},"f:app":{}}},"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:env":{".":{},"k:{\"name\":\"ACCEPT_EULA\"}":{".":{},"f:name":{},"f:value":{}}},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:securityContext":{".":{},"f:runAsGroup":{},"f:runAsUser":{}},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:nodeSelector":{".":{},"f:kubernetes.io/os":{}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{".":{},"f:fsGroup":{}},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"apps/v1","time":"2022-09-23T21:21:56Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:deployment.kubernetes.io/revision":{}}},"f:status":{"f:availableReplicas":{},"f:conditions":{".":{},"k:{\"type\":\"Available\"}":{".":{},"f:lastTransitionTime":{},"f:lastUpdateTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"Progressing\"}":{".":{},"f:lastTransitionTime":{},"f:lastUpdateTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}},"f:observedGeneration":{},"f:readyReplicas":{},"f:replicas":{},"f:updatedReplicas":{}}}}]},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"bootstrapper"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"bootstrapper"},"annotations":{"releaseRevision":"2"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.12.0_ubuntu2004-ravpate","env":[{"name":"ACCEPT_EULA","value":"Y"}],"resources":{"limits":{"cpu":"200m","memory":"200Mi"},"requests":{"cpu":"100m","memory":"100Mi"}},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent","securityContext":{"runAsUser":1000700001,"runAsGroup":1000700001}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"sa-arc-bootstrapper","serviceAccount":"sa-arc-bootstrapper","securityContext":{"fsGroup":1000700001},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":"25%","maxSurge":"25%"}},"revisionHistoryLimit":0,"progressDeadlineSeconds":600},"status":{"observedGeneration":2,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2022-09-23T18:49:57Z","lastTransitionTime":"2022-09-23T18:49:57Z","reason":"MinimumReplicasAvailable","message":"Deployment + has minimum availability."},{"type":"Progressing","status":"True","lastUpdateTime":"2022-09-23T21:21:56Z","lastTransitionTime":"2022-09-23T18:49:55Z","reason":"NewReplicaSetAvailable","message":"ReplicaSet + \"bootstrapper-787849756c\" has successfully progressed."}]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 23 Sep 2022 21:22:10 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d2ce2ccf-a063-4314-a793-9e6bebd3ca8a + X-Kubernetes-Pf-Prioritylevel-Uid: + - a7a39781-e536-4096-aa9a-cb4808f7d50f + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_full_dc_upgrade[test-v1.8.0_arc-local-test].yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_full_dc_upgrade[test-v1.8.0_arc-local-test].yaml new file mode 100644 index 00000000000..f3384d9d5a9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_full_dc_upgrade[test-v1.8.0_arc-local-test].yaml @@ -0,0 +1,901 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"1519870"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f4d4ea97-1bcc-49e9-aa16-c5fe9f130add","resourceVersion":"1496753","generation":1,"creationTimestamp":"2022-05-03T19:10:11Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-03T19:10:11Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-13T18:02:35Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-13T18:02:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-05-03T19:10:11Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-05-03T19:10:11Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"25753002-f742-4a4e-9536-c7d33ed3889e","resourceVersion":"1518728","generation":1,"creationTimestamp":"2022-05-13T22:00:07Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-13T22:00:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-13T22:00:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-05-13T22:00:07Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-05-13T22:00:07Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"45c6fd01-b2c6-4414-91e9-7abe292b9d24","resourceVersion":"1496755","generation":1,"creationTimestamp":"2022-05-03T19:10:11Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-03T19:10:11Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-13T18:02:35Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-13T18:02:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-05-03T19:10:11Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-05-03T19:10:11Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"53ff8856-bc32-4623-81cf-a895e8dc4cda","resourceVersion":"1496756","generation":3,"creationTimestamp":"2022-05-03T19:10:11Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-03T19:10:11Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-13T18:02:35Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-13T18:02:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-05-03T19:10:11Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-05-03T19:10:11Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1beta2","v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"97689fe1-d36b-47fd-8275-02666759355d","resourceVersion":"1518732","generation":1,"creationTimestamp":"2022-05-13T22:00:07Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-13T22:00:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-13T22:00:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-05-13T22:00:07Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-05-13T22:00:07Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"75317910-3127-4fdf-bc96-4bc165c2a81a","resourceVersion":"1518734","generation":1,"creationTimestamp":"2022-05-13T22:00:07Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-13T22:00:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-13T22:00:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-05-13T22:00:07Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-05-13T22:00:07Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"d7764324-3daa-4e98-a683-e81c75e6d2b5","resourceVersion":"1496759","generation":1,"creationTimestamp":"2022-05-03T19:10:11Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-03T19:10:11Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-13T18:02:35Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-13T18:02:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-05-03T19:10:11Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-05-03T19:10:11Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"dc34109b-8af9-4b66-bc1f-226d28e9cd3c","resourceVersion":"1496761","generation":1,"creationTimestamp":"2022-05-03T19:10:11Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-03T19:10:11Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-13T18:02:35Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-13T18:02:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-05-03T19:10:11Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-05-03T19:10:11Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"4a21c679-ae4c-41dc-88b8-e967e5f99e5a","resourceVersion":"1496760","generation":2,"creationTimestamp":"2022-05-03T19:10:11Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-03T19:10:11Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-13T18:02:35Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-05-13T18:02:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-05-03T19:10:11Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-05-03T19:10:11Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v4","v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:20 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta2/namespaces/test/postgresqls + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1beta2","items":[],"kind":"PostgreSqlList","metadata":{"continue":"","resourceVersion":"1519870"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '137' + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:20 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v1beta2/namespaces/test/dags + response: + body: + string: '404 page not found + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '19' + Content-Type: + - text/plain; charset=utf-8 + Date: + - Fri, 13 May 2022 22:09:20 GMT + X-Content-Type-Options: + - nosniff + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-05-13T22:00:15Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-05-13T22:00:15Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-05-13T22:00:15Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-05-13T22:03:59Z"}],"name":"datacontroller-bilia-2ccee4ca6","namespace":"test","resourceVersion":"1519427","uid":"3e4b6b2d-75ab-48f7-b46d-761474a6ba83"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.7.0_ubuntu2004-bilia","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-2ccee4ca6","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-05-13T22:03:59.493040Z","observedGeneration":1,"runningVersion":"v1.7.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"1519870"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:20 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/arc-private-registry + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"arc-private-registry\" not found","reason":"NotFound","details":{"name":"arc-private-registry","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '214' + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:20 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 404 + message: Not Found +- request: + body: null + headers: {} + method: GET + uri: https://mock-host/v2/arcdata-dev/arc-controller/tags/list + response: + body: + string: '{"name":"arcdata-dev/arc-controller","tags":["ubuntu2004-bilia","ubuntu2004-brkoc","ubuntu2004-chkamath","ubuntu2004-etchang","ubuntu2004-etchang2","ubuntu2004-letung","ubuntu2004-micn","ubuntu2004-pakotha","ubuntu2004-romonste","ubuntu2004-safeitle","ubuntu2004-shashta","v1.1.0_2021-11-02","v1.1.0_ubuntu2004-safeitle","v1.2.0_ubuntu2004-safeitle","v1.3.0_ubuntu2004-romonste","v1.3.0_ubuntu2004-safeitle","v1.3.0_ubuntu2004-shashta","v1.4.0_ubuntu2004-safeitle","v1.4.0_ubuntu2004-shashta","v1.4.1_ubuntu2004-safeitle","v1.5.0_ubuntu2004-bilia","v1.6.0_ubuntu2004-safeitle","v1.6.0_ubuntu2004-shashta","v1.7.0_ubuntu2004-safeitle"]} + + ' + headers: + Access-Control-Expose-Headers: + - Docker-Content-Digest + - WWW-Authenticate + - Link + - X-Ms-Correlation-Request-Id + Connection: + - keep-alive + Content-Length: + - '636' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 13 May 2022 22:09:20 GMT + Docker-Distribution-Api-Version: + - registry/2.0 + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Ms-Correlation-Request-Id: + - e491dd18-2a7d-4cd7-bb8e-f5c018f31e18 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-05-13T22:00:15Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-05-13T22:00:15Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-05-13T22:00:15Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-05-13T22:03:59Z"}],"name":"datacontroller-bilia-2ccee4ca6","namespace":"test","resourceVersion":"1519427","uid":"3e4b6b2d-75ab-48f7-b46d-761474a6ba83"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.7.0_ubuntu2004-bilia","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-2ccee4ca6","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-05-13T22:03:59.493040Z","observedGeneration":1,"runningVersion":"v1.7.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"1519870"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:20 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "v1", "kind": "ServiceAccount", "metadata": {"name": "sa-arc-deployer"}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/api/v1/namespaces/test/serviceaccounts/sa-arc-deployer + response: + body: + string: '{"kind":"ServiceAccount","apiVersion":"v1","metadata":{"name":"sa-arc-deployer","namespace":"test","uid":"d0a9d891-c241-405f-8ece-e37a3852f3ba","resourceVersion":"1518692","creationTimestamp":"2022-05-13T22:00:05Z"},"secrets":[{"name":"sa-arc-deployer-token-w2s7v"}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '268' + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:20 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-deployer"}, "rules": [{"apiGroups": ["apiextensions.k8s.io"], + "resources": ["customresourcedefinitions"], "verbs": ["create", "list", "get", + "watch"]}, {"apiGroups": ["apiextensions.k8s.io"], "resources": ["customresourcedefinitions"], + "resourceNames": ["activedirectoryconnectors.arcdata.microsoft.com", "datacontrollers.arcdata.microsoft.com", + "exporttasks.tasks.arcdata.microsoft.com", "failovergroups.sql.arcdata.microsoft.com", + "kafkas.arcdata.microsoft.com", "monitors.arcdata.microsoft.com", "postgresqls.arcdata.microsoft.com", + "sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com", "sqlmanagedinstances.sql.arcdata.microsoft.com"], + "verbs": ["update", "patch"]}, {"apiGroups": ["admissionregistration.k8s.io"], + "resources": ["mutatingwebhookconfigurations"], "verbs": ["create", "delete", + "get"]}, {"apiGroups": ["rbac.authorization.k8s.io"], "resources": ["clusterroles"], + "verbs": ["create", "patch", "get"]}, {"apiGroups": ["rbac.authorization.k8s.io"], + "resources": ["clusterrolebindings"], "verbs": ["create", "patch", "get"]}, + {"apiGroups": [""], "resources": ["namespaces"], "verbs": ["create", "list", + "get", "patch"]}, {"apiGroups": [""], "resources": ["nodes/stats", "nodes/proxy", + "pods"], "verbs": ["list", "get"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-deployer + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-deployer","uid":"ead25de4-ad07-42e3-bf65-eccc2127368a","resourceVersion":"427686","creationTimestamp":"2022-05-03T18:28:54Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-05-03T18:28:54Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}}]},"rules":[{"verbs":["create","list","get","watch"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"]},{"verbs":["update","patch"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"],"resourceNames":["activedirectoryconnectors.arcdata.microsoft.com","datacontrollers.arcdata.microsoft.com","exporttasks.tasks.arcdata.microsoft.com","failovergroups.sql.arcdata.microsoft.com","kafkas.arcdata.microsoft.com","monitors.arcdata.microsoft.com","postgresqls.arcdata.microsoft.com","sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","sqlmanagedinstances.sql.arcdata.microsoft.com"]},{"verbs":["create","delete","get"],"apiGroups":["admissionregistration.k8s.io"],"resources":["mutatingwebhookconfigurations"]},{"verbs":["create","patch","get"],"apiGroups":["rbac.authorization.k8s.io"],"resources":["clusterroles"]},{"verbs":["create","patch","get"],"apiGroups":["rbac.authorization.k8s.io"],"resources":["clusterrolebindings"]},{"verbs":["create","list","get","patch"],"apiGroups":[""],"resources":["namespaces"]},{"verbs":["list","get"],"apiGroups":[""],"resources":["nodes/stats","nodes/proxy","pods"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1584' + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:20 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: '{"kind": "ClusterRoleBinding", "apiVersion": "rbac.authorization.k8s.io/v1", + "metadata": {"name": "test:crb-deployer"}, "subjects": [{"kind": "ServiceAccount", + "name": "sa-arc-deployer", "namespace": "test"}], "roleRef": {"kind": "ClusterRole", + "name": "test:cr-deployer", "apiGroup": "rbac.authorization.k8s.io"}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-deployer + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-deployer","uid":"44ba1383-662f-4eff-9100-c977435f11a7","resourceVersion":"447975","creationTimestamp":"2022-05-03T18:28:54Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-05-03T18:28:54Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-deployer","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-deployer"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '662' + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:20 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "Role", "metadata": + {"name": "role-deployer", "namespace": "test"}, "rules": [{"apiGroups": [""], + "resources": ["pods/log"], "verbs": ["get"]}, {"apiGroups": ["batch"], "resources": + ["jobs"], "verbs": ["create", "get", "list", "delete"]}, {"apiGroups": ["arcdata.microsoft.com"], + "resources": ["datacontrollers"], "verbs": ["create", "update", "patch", "delete"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/namespaces/test/roles/role-deployer + response: + body: + string: '{"kind":"Role","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"role-deployer","namespace":"test","uid":"c715cd8a-fe7e-4a02-970f-0240a890507a","resourceVersion":"1518693","creationTimestamp":"2022-05-13T22:00:05Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-05-13T22:00:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}}]},"rules":[{"verbs":["get"],"apiGroups":[""],"resources":["pods/log"]},{"verbs":["create","get","list","delete"],"apiGroups":["batch"],"resources":["jobs"]},{"verbs":["create","update","patch","delete"],"apiGroups":["arcdata.microsoft.com"],"resources":["datacontrollers"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '699' + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:21 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/namespaces/test/rolebindings/rb-deployer + response: + body: + string: '{"kind":"RoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"rb-deployer","namespace":"test","uid":"08f4896f-cf6d-445d-b397-52994ad810fb","resourceVersion":"1518694","creationTimestamp":"2022-05-13T22:00:05Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-05-13T22:00:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-deployer"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"Role","name":"role-deployer"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '640' + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:21 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "Role", "metadata": + {"name": "role-bootstrapper", "namespace": "test"}, "rules": [{"apiGroups": + [""], "resources": ["pods", "configmaps", "services", "persistentvolumeclaims", + "secrets", "serviceaccounts", "events"], "verbs": ["*"]}, {"apiGroups": ["apps"], + "resources": ["deployments", "replicasets", "statefulsets"], "verbs": ["*"]}, + {"apiGroups": ["rbac.authorization.k8s.io"], "resources": ["roles", "rolebindings"], + "verbs": ["*"]}, {"apiGroups": ["sql.arcdata.microsoft.com", "tasks.sql.arcdata.microsoft.com", + "tasks.arcdata.microsoft.com", "arcdata.microsoft.com"], "resources": ["*"], + "verbs": ["*"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/namespaces/test/roles/role-bootstrapper + response: + body: + string: '{"kind":"Role","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"role-bootstrapper","namespace":"test","uid":"f6dea959-826b-425e-8cac-a428f53710c4","resourceVersion":"1518736","creationTimestamp":"2022-05-13T22:00:05Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-05-13T22:00:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-05-13T22:00:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-05-13T22:00:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["*"],"apiGroups":[""],"resources":["pods","configmaps","services","persistentvolumeclaims","secrets","serviceaccounts","events"]},{"verbs":["*"],"apiGroups":["apps"],"resources":["deployments","replicasets","statefulsets"]},{"verbs":["*"],"apiGroups":["rbac.authorization.k8s.io"],"resources":["roles","rolebindings"]},{"verbs":["*"],"apiGroups":["sql.arcdata.microsoft.com","tasks.sql.arcdata.microsoft.com","tasks.arcdata.microsoft.com","arcdata.microsoft.com"],"resources":["*"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1654' + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:21 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/namespaces/test/rolebindings/rb-deployer-bootstrapper + response: + body: + string: '{"kind":"RoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"rb-deployer-bootstrapper","namespace":"test","uid":"233dc0c0-0855-4726-b565-9670d74bbb1d","resourceVersion":"1518696","creationTimestamp":"2022-05-13T22:00:05Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-05-13T22:00:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-deployer"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"Role","name":"role-bootstrapper"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '657' + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:21 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-05-13T22:00:15Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-05-13T22:00:15Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-05-13T22:00:15Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-05-13T22:03:59Z"}],"name":"datacontroller-bilia-2ccee4ca6","namespace":"test","resourceVersion":"1519427","uid":"3e4b6b2d-75ab-48f7-b46d-761474a6ba83"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.7.0_ubuntu2004-bilia","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-2ccee4ca6","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-05-13T22:03:59.493040Z","observedGeneration":1,"runningVersion":"v1.7.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"1519870"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:21 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: DELETE + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs/arc-bootstrapper-job + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"jobs.batch + \"arc-bootstrapper-job\" not found","reason":"NotFound","details":{"name":"arc-bootstrapper-job","group":"batch","kind":"jobs"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '224' + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:21 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"JobList","apiVersion":"batch/v1","metadata":{"resourceVersion":"1519870"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '95' + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:21 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "batch/v1", "kind": "Job", "metadata": {"name": "arc-bootstrapper-job"}, + "spec": {"template": {"spec": {"imagePullSecrets": [{"name": "arc-private-registry"}], + "containers": [{"name": "bootstrapper", "image": "arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_arc-local-test", + "imagePullPolicy": "IfNotPresent", "command": ["/opt/bootstrapper/bin/bootstrapper"], + "args": ["-image", "arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_arc-local-test", + "-policy", "IfNotPresent", "-chart", "/opt/helm/arcdataservices", "-bootstrap"]}], + "restartPolicy": "Never", "serviceAccountName": "sa-arc-deployer"}}, "backoffLimit": + 0}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: POST + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"Job","apiVersion":"batch/v1","metadata":{"name":"arc-bootstrapper-job","namespace":"test","uid":"098a8d05-fc14-455c-ae79-f7e56eb28b48","resourceVersion":"1519871","creationTimestamp":"2022-05-13T22:09:21Z","labels":{"controller-uid":"098a8d05-fc14-455c-ae79-f7e56eb28b48","job-name":"arc-bootstrapper-job"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-05-13T22:09:21Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"098a8d05-fc14-455c-ae79-f7e56eb28b48"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"098a8d05-fc14-455c-ae79-f7e56eb28b48","job-name":"arc-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_arc-local-test","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_arc-local-test","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"sa-arc-deployer","serviceAccount":"sa-arc-deployer","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}}},"status":{}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:21 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"JobList","apiVersion":"batch/v1","metadata":{"resourceVersion":"1519872"},"items":[{"metadata":{"name":"arc-bootstrapper-job","namespace":"test","uid":"098a8d05-fc14-455c-ae79-f7e56eb28b48","resourceVersion":"1519871","creationTimestamp":"2022-05-13T22:09:21Z","labels":{"controller-uid":"098a8d05-fc14-455c-ae79-f7e56eb28b48","job-name":"arc-bootstrapper-job"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-05-13T22:09:21Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"098a8d05-fc14-455c-ae79-f7e56eb28b48"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"098a8d05-fc14-455c-ae79-f7e56eb28b48","job-name":"arc-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_arc-local-test","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_arc-local-test","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"sa-arc-deployer","serviceAccount":"sa-arc-deployer","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}}},"status":{}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:21 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"JobList","apiVersion":"batch/v1","metadata":{"resourceVersion":"1519962"},"items":[{"metadata":{"name":"arc-bootstrapper-job","namespace":"test","uid":"098a8d05-fc14-455c-ae79-f7e56eb28b48","resourceVersion":"1519933","creationTimestamp":"2022-05-13T22:09:21Z","labels":{"controller-uid":"098a8d05-fc14-455c-ae79-f7e56eb28b48","job-name":"arc-bootstrapper-job"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-05-13T22:09:21Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"batch/v1","time":"2022-05-13T22:09:27Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:completionTime":{},"f:conditions":{},"f:startTime":{},"f:succeeded":{}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"098a8d05-fc14-455c-ae79-f7e56eb28b48"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"098a8d05-fc14-455c-ae79-f7e56eb28b48","job-name":"arc-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_arc-local-test","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_arc-local-test","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"sa-arc-deployer","serviceAccount":"sa-arc-deployer","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}}},"status":{"conditions":[{"type":"Complete","status":"True","lastProbeTime":"2022-05-13T22:09:27Z","lastTransitionTime":"2022-05-13T22:09:27Z"}],"startTime":"2022-05-13T22:09:21Z","completionTime":"2022-05-13T22:09:27Z","succeeded":1}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:31 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-05-13T22:00:15Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-05-13T22:00:15Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-05-13T22:00:15Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-05-13T22:03:59Z"}],"name":"datacontroller-bilia-2ccee4ca6","namespace":"test","resourceVersion":"1519427","uid":"3e4b6b2d-75ab-48f7-b46d-761474a6ba83"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.7.0_ubuntu2004-bilia","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-2ccee4ca6","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-05-13T22:03:59.493040Z","observedGeneration":1,"runningVersion":"v1.7.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"1519962"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:31 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-05-13T22:00:15Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-05-13T22:00:15Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-05-13T22:00:15Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-05-13T22:03:59Z"}],"name":"datacontroller-bilia-2ccee4ca6","namespace":"test","resourceVersion":"1519427","uid":"3e4b6b2d-75ab-48f7-b46d-761474a6ba83"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.7.0_ubuntu2004-bilia","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-2ccee4ca6","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-05-13T22:03:59.493040Z","observedGeneration":1,"runningVersion":"v1.7.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"1519962"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:31 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: '{"spec": {"docker": {"imageTag": "v1.8.0_arc-local-test"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers/datacontroller-bilia-2ccee4ca6 + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-05-13T22:00:15Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-05-13T22:00:15Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-05-13T22:00:15Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-05-13T22:03:59Z"}],"name":"datacontroller-bilia-2ccee4ca6","namespace":"test","resourceVersion":"1519963","uid":"3e4b6b2d-75ab-48f7-b46d-761474a6ba83"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.8.0_arc-local-test","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-2ccee4ca6","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-05-13T22:03:59.493040Z","observedGeneration":1,"runningVersion":"v1.7.0_ubuntu2004-bilia","state":"Ready"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:31 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-05-13T22:00:15Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-05-13T22:00:15Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-05-13T22:00:15Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-05-13T22:03:59Z"}],"name":"datacontroller-bilia-2ccee4ca6","namespace":"test","resourceVersion":"1519963","uid":"3e4b6b2d-75ab-48f7-b46d-761474a6ba83"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.8.0_arc-local-test","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-2ccee4ca6","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-05-13T22:03:59.493040Z","observedGeneration":1,"runningVersion":"v1.7.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"1519963"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:31 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-05-13T22:00:15Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-05-13T22:00:15Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{}}},"manager":"unknown","operation":"Update","time":"2022-05-13T22:03:59Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{},"f:state":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-05-13T22:09:31Z"}],"name":"datacontroller-bilia-2ccee4ca6","namespace":"test","resourceVersion":"1519964","uid":"3e4b6b2d-75ab-48f7-b46d-761474a6ba83"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.8.0_arc-local-test","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-2ccee4ca6","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-05-13T22:03:59.493040Z","observedGeneration":2,"runningVersion":"v1.7.0_ubuntu2004-bilia","state":"InitiatingUpdate"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"1519965"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:31 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/deployments + response: + body: + string: '{"kind":"DeploymentList","apiVersion":"apps/v1","metadata":{"resourceVersion":"1519967"},"items":[{"metadata":{"name":"bootstrapper","namespace":"test","uid":"01326434-591f-4bdc-a38a-53f54ae40395","resourceVersion":"1519956","generation":2,"creationTimestamp":"2022-05-13T22:00:07Z","labels":{"app":"bootstrapper","app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"deployment.kubernetes.io/revision":"2","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apps/v1","time":"2022-05-13T22:00:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:progressDeadlineSeconds":{},"f:replicas":{},"f:revisionHistoryLimit":{},"f:selector":{},"f:strategy":{"f:rollingUpdate":{".":{},"f:maxSurge":{},"f:maxUnavailable":{}},"f:type":{}},"f:template":{"f:metadata":{"f:annotations":{".":{},"f:releaseRevision":{}},"f:labels":{".":{},"f:app":{}}},"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:env":{".":{},"k:{\"name\":\"ACCEPT_EULA\"}":{".":{},"f:name":{},"f:value":{}}},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:securityContext":{".":{},"f:runAsGroup":{},"f:runAsUser":{}},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:nodeSelector":{".":{},"f:kubernetes.io/os":{}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{".":{},"f:fsGroup":{}},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"apps/v1","time":"2022-05-13T22:09:28Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:deployment.kubernetes.io/revision":{}}},"f:status":{"f:availableReplicas":{},"f:conditions":{".":{},"k:{\"type\":\"Available\"}":{".":{},"f:lastTransitionTime":{},"f:lastUpdateTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"Progressing\"}":{".":{},"f:lastTransitionTime":{},"f:lastUpdateTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}},"f:observedGeneration":{},"f:readyReplicas":{},"f:replicas":{},"f:updatedReplicas":{}}}}]},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"bootstrapper"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"bootstrapper"},"annotations":{"releaseRevision":"2"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_arc-local-test","env":[{"name":"ACCEPT_EULA","value":"Y"}],"resources":{"limits":{"cpu":"200m","memory":"200Mi"},"requests":{"cpu":"100m","memory":"100Mi"}},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent","securityContext":{"runAsUser":1000700001,"runAsGroup":1000700001}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"sa-arc-bootstrapper","serviceAccount":"sa-arc-bootstrapper","securityContext":{"fsGroup":1000700001},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":"25%","maxSurge":"25%"}},"revisionHistoryLimit":0,"progressDeadlineSeconds":600},"status":{"observedGeneration":2,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2022-05-13T22:00:09Z","lastTransitionTime":"2022-05-13T22:00:09Z","reason":"MinimumReplicasAvailable","message":"Deployment + has minimum availability."},{"type":"Progressing","status":"True","lastUpdateTime":"2022-05-13T22:09:28Z","lastTransitionTime":"2022-05-13T22:00:07Z","reason":"NewReplicaSetAvailable","message":"ReplicaSet + \"bootstrapper-685857b7d6\" has successfully progressed."}]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Fri, 13 May 2022 22:09:31 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 3af51210-973a-47a6-adf6-3ee12f266f37 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 76fae74f-0cd5-4390-902f-16171a086aec + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_full_dc_upgrade[test-v1.8.0_ubuntu2004-sachaga].yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_full_dc_upgrade[test-v1.8.0_ubuntu2004-sachaga].yaml new file mode 100644 index 00000000000..3f43b76e257 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_full_dc_upgrade[test-v1.8.0_ubuntu2004-sachaga].yaml @@ -0,0 +1,779 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"289918"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"216114","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"1b672e58-64bc-4353-9644-6689fb86dbed","resourceVersion":"216115","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"216116","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"216117","generation":2,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}},"f:spec":{"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"d5d17c0e-ff70-4358-82f0-46d997b68e29","resourceVersion":"216118","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"366c985e-ac20-44e0-9566-a84a5d1e8ba4","resourceVersion":"216119","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"216120","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"216122","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"216121","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:17 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta2/namespaces/test/postgresqls + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1beta2","items":[],"kind":"PostgreSqlList","metadata":{"continue":"","resourceVersion":"289918"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '136' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:17 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v1beta2/namespaces/test/dags + response: + body: + string: '404 page not found + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '19' + Content-Type: + - text/plain; charset=utf-8 + Date: + - Mon, 06 Jun 2022 18:26:17 GMT + X-Content-Type-Options: + - nosniff + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-06-04T02:54:39Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-06-06T00:51:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-06-06T00:51:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-06-06T00:51:57Z"}],"name":"datacontroller-sachaga-9ac2c9bd1","namespace":"test","resourceVersion":"211376","uid":"7a8781ee-34a3-4732-9674-49737b3bbf7b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.8.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-9ac2c9bd1","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-06-06T00:52:09.951810Z","observedGeneration":2,"runningVersion":"v1.8.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"289920"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:17 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/arc-private-registry + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"arc-private-registry\" not found","reason":"NotFound","details":{"name":"arc-private-registry","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '214' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:17 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: {} + method: GET + uri: https://mock-host/v2/arcdata-dev/arc-controller/tags/list + response: + body: + string: '{"name":"arcdata-dev/arc-controller","tags":["ubuntu2004-bilia","ubuntu2004-brkoc","ubuntu2004-chkamath","ubuntu2004-etchang","ubuntu2004-etchang2","ubuntu2004-letung","ubuntu2004-micn","ubuntu2004-pakotha","ubuntu2004-romonste","ubuntu2004-safeitle","ubuntu2004-shashta","v1.1.0_2021-11-02","v1.1.0_ubuntu2004-safeitle","v1.2.0_ubuntu2004-safeitle","v1.3.0_ubuntu2004-romonste","v1.3.0_ubuntu2004-safeitle","v1.3.0_ubuntu2004-shashta","v1.4.0_ubuntu2004-safeitle","v1.4.0_ubuntu2004-shashta","v1.4.1_ubuntu2004-safeitle","v1.5.0_ubuntu2004-bilia","v1.6.0_ubuntu2004-safeitle","v1.6.0_ubuntu2004-shashta","v1.7.0_ubuntu2004-safeitle","v1.7.0_ubuntu2004-yuronhe"]} + + ' + headers: + Access-Control-Expose-Headers: + - Docker-Content-Digest + - WWW-Authenticate + - Link + - X-Ms-Correlation-Request-Id + Connection: + - keep-alive + Content-Length: + - '664' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 06 Jun 2022 18:26:17 GMT + Docker-Distribution-Api-Version: + - registry/2.0 + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Ms-Correlation-Request-Id: + - e8026fd6-cd75-4432-ab69-2b801b2a7a38 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-06-04T02:54:39Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-06-06T00:51:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-06-06T00:51:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-06-06T00:51:57Z"}],"name":"datacontroller-sachaga-9ac2c9bd1","namespace":"test","resourceVersion":"211376","uid":"7a8781ee-34a3-4732-9674-49737b3bbf7b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.8.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-9ac2c9bd1","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-06-06T00:52:09.951810Z","observedGeneration":2,"runningVersion":"v1.8.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"289921"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:18 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "v1", "kind": "ServiceAccount", "metadata": {"name": "sa-test-upgrade-worker"}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/api/v1/namespaces/test/serviceaccounts/sa-test-upgrade-worker + response: + body: + string: '{"kind":"ServiceAccount","apiVersion":"v1","metadata":{"name":"sa-test-upgrade-worker","namespace":"test","uid":"0a310026-298f-4415-958e-4f86e184f3f8","resourceVersion":"210863","creationTimestamp":"2022-06-06T00:49:05Z"},"secrets":[{"name":"sa-test-upgrade-worker-token-drq8m"}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '281' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:18 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-upgrade-worker"}, "rules": [{"apiGroups": ["*"], "resources": + ["*"], "verbs": ["*"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-upgrade-worker + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-upgrade-worker","uid":"6770cf49-3763-4546-a329-6e640c2524cb","resourceVersion":"210864","creationTimestamp":"2022-06-06T00:49:05Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T00:49:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}}]},"rules":[{"verbs":["*"],"apiGroups":["*"],"resources":["*"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '484' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:18 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"kind": "ClusterRoleBinding", "apiVersion": "rbac.authorization.k8s.io/v1", + "metadata": {"name": "test:crb-upgrade-worker"}, "subjects": [{"kind": "ServiceAccount", + "name": "sa-test-upgrade-worker", "namespace": "test"}], "roleRef": {"kind": + "ClusterRole", "name": "test:cr-upgrade-worker", "apiGroup": "rbac.authorization.k8s.io"}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-upgrade-worker + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-upgrade-worker","uid":"75cf7282-bc55-4392-ae33-44334cc1d54b","resourceVersion":"210865","creationTimestamp":"2022-06-06T00:49:05Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T00:49:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-test-upgrade-worker","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-upgrade-worker"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '681' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:18 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-06-04T02:54:39Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-06-06T00:51:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-06-06T00:51:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-06-06T00:51:57Z"}],"name":"datacontroller-sachaga-9ac2c9bd1","namespace":"test","resourceVersion":"211376","uid":"7a8781ee-34a3-4732-9674-49737b3bbf7b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.8.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-9ac2c9bd1","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-06-06T00:52:09.951810Z","observedGeneration":2,"runningVersion":"v1.8.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"289921"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:18 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: DELETE + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs/test-elevated-bootstrapper-job + response: + body: + string: '{"kind":"Job","apiVersion":"batch/v1","metadata":{"name":"test-elevated-bootstrapper-job","namespace":"test","uid":"452683b8-b060-4840-92ce-c1ad729a365d","resourceVersion":"289922","creationTimestamp":"2022-06-06T18:25:22Z","deletionTimestamp":"2022-06-06T18:26:18Z","deletionGracePeriodSeconds":0,"labels":{"controller-uid":"452683b8-b060-4840-92ce-c1ad729a365d","job-name":"test-elevated-bootstrapper-job"},"finalizers":["orphan"],"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-06-06T18:25:22Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"batch/v1","time":"2022-06-06T18:25:27Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:completionTime":{},"f:conditions":{},"f:startTime":{},"f:succeeded":{}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"452683b8-b060-4840-92ce-c1ad729a365d"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"452683b8-b060-4840-92ce-c1ad729a365d","job-name":"test-elevated-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_ubuntu2004-sachaga","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_ubuntu2004-sachaga","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"sa-test-upgrade-worker","serviceAccount":"sa-test-upgrade-worker","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}}},"status":{"conditions":[{"type":"Complete","status":"True","lastProbeTime":"2022-06-06T18:25:27Z","lastTransitionTime":"2022-06-06T18:25:27Z"}],"startTime":"2022-06-06T18:25:22Z","completionTime":"2022-06-06T18:25:27Z","succeeded":1}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:18 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"JobList","apiVersion":"batch/v1","metadata":{"resourceVersion":"289922"},"items":[{"metadata":{"name":"test-elevated-bootstrapper-job","namespace":"test","uid":"452683b8-b060-4840-92ce-c1ad729a365d","resourceVersion":"289922","creationTimestamp":"2022-06-06T18:25:22Z","deletionTimestamp":"2022-06-06T18:26:18Z","deletionGracePeriodSeconds":0,"labels":{"controller-uid":"452683b8-b060-4840-92ce-c1ad729a365d","job-name":"test-elevated-bootstrapper-job"},"finalizers":["orphan"],"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-06-06T18:25:22Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"batch/v1","time":"2022-06-06T18:25:27Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:completionTime":{},"f:conditions":{},"f:startTime":{},"f:succeeded":{}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"452683b8-b060-4840-92ce-c1ad729a365d"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"452683b8-b060-4840-92ce-c1ad729a365d","job-name":"test-elevated-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_ubuntu2004-sachaga","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_ubuntu2004-sachaga","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"sa-test-upgrade-worker","serviceAccount":"sa-test-upgrade-worker","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}}},"status":{"conditions":[{"type":"Complete","status":"True","lastProbeTime":"2022-06-06T18:25:27Z","lastTransitionTime":"2022-06-06T18:25:27Z"}],"startTime":"2022-06-06T18:25:22Z","completionTime":"2022-06-06T18:25:27Z","succeeded":1}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:18 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"JobList","apiVersion":"batch/v1","metadata":{"resourceVersion":"289936"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '94' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:28 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "batch/v1", "kind": "Job", "metadata": {"name": "test-elevated-bootstrapper-job"}, + "spec": {"template": {"spec": {"imagePullSecrets": [{"name": "arc-private-registry"}], + "containers": [{"name": "bootstrapper", "image": "arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_ubuntu2004-sachaga", + "imagePullPolicy": "IfNotPresent", "command": ["/opt/bootstrapper/bin/bootstrapper"], + "args": ["-image", "arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_ubuntu2004-sachaga", + "-policy", "IfNotPresent", "-chart", "/opt/helm/arcdataservices", "-bootstrap"]}], + "restartPolicy": "Never", "serviceAccountName": "sa-test-upgrade-worker"}}, + "backoffLimit": 0}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: POST + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"Job","apiVersion":"batch/v1","metadata":{"name":"test-elevated-bootstrapper-job","namespace":"test","uid":"8d255ece-1165-457b-86fe-496105f6d07a","resourceVersion":"289937","creationTimestamp":"2022-06-06T18:26:28Z","labels":{"controller-uid":"8d255ece-1165-457b-86fe-496105f6d07a","job-name":"test-elevated-bootstrapper-job"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-06-06T18:26:28Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"8d255ece-1165-457b-86fe-496105f6d07a"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"8d255ece-1165-457b-86fe-496105f6d07a","job-name":"test-elevated-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_ubuntu2004-sachaga","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_ubuntu2004-sachaga","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"sa-test-upgrade-worker","serviceAccount":"sa-test-upgrade-worker","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}}},"status":{}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:28 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"JobList","apiVersion":"batch/v1","metadata":{"resourceVersion":"289937"},"items":[{"metadata":{"name":"test-elevated-bootstrapper-job","namespace":"test","uid":"8d255ece-1165-457b-86fe-496105f6d07a","resourceVersion":"289937","creationTimestamp":"2022-06-06T18:26:28Z","labels":{"controller-uid":"8d255ece-1165-457b-86fe-496105f6d07a","job-name":"test-elevated-bootstrapper-job"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-06-06T18:26:28Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"8d255ece-1165-457b-86fe-496105f6d07a"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"8d255ece-1165-457b-86fe-496105f6d07a","job-name":"test-elevated-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_ubuntu2004-sachaga","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_ubuntu2004-sachaga","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"sa-test-upgrade-worker","serviceAccount":"sa-test-upgrade-worker","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}}},"status":{}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:28 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/batch/v1/namespaces/test/jobs + response: + body: + string: '{"kind":"JobList","apiVersion":"batch/v1","metadata":{"resourceVersion":"290027"},"items":[{"metadata":{"name":"test-elevated-bootstrapper-job","namespace":"test","uid":"8d255ece-1165-457b-86fe-496105f6d07a","resourceVersion":"289998","creationTimestamp":"2022-06-06T18:26:28Z","labels":{"controller-uid":"8d255ece-1165-457b-86fe-496105f6d07a","job-name":"test-elevated-bootstrapper-job"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"batch/v1","time":"2022-06-06T18:26:28Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:backoffLimit":{},"f:completions":{},"f:parallelism":{},"f:template":{"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:args":{},"f:command":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"batch/v1","time":"2022-06-06T18:26:33Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:completionTime":{},"f:conditions":{},"f:startTime":{},"f:succeeded":{}}}}]},"spec":{"parallelism":1,"completions":1,"backoffLimit":0,"selector":{"matchLabels":{"controller-uid":"8d255ece-1165-457b-86fe-496105f6d07a"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"controller-uid":"8d255ece-1165-457b-86fe-496105f6d07a","job-name":"test-elevated-bootstrapper-job"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_ubuntu2004-sachaga","command":["/opt/bootstrapper/bin/bootstrapper"],"args":["-image","arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_ubuntu2004-sachaga","-policy","IfNotPresent","-chart","/opt/helm/arcdataservices","-bootstrap"],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","serviceAccountName":"sa-test-upgrade-worker","serviceAccount":"sa-test-upgrade-worker","securityContext":{},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}}},"status":{"conditions":[{"type":"Complete","status":"True","lastProbeTime":"2022-06-06T18:26:33Z","lastTransitionTime":"2022-06-06T18:26:33Z"}],"startTime":"2022-06-06T18:26:28Z","completionTime":"2022-06-06T18:26:33Z","succeeded":1}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-06-04T02:54:39Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-06-06T00:51:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-06-06T00:51:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-06-06T00:51:57Z"}],"name":"datacontroller-sachaga-9ac2c9bd1","namespace":"test","resourceVersion":"211376","uid":"7a8781ee-34a3-4732-9674-49737b3bbf7b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.8.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-9ac2c9bd1","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-06-06T00:52:09.951810Z","observedGeneration":2,"runningVersion":"v1.8.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"290027"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-06-04T02:54:39Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-06-06T00:51:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-06-06T00:51:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-06-06T00:51:57Z"}],"name":"datacontroller-sachaga-9ac2c9bd1","namespace":"test","resourceVersion":"211376","uid":"7a8781ee-34a3-4732-9674-49737b3bbf7b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.8.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-9ac2c9bd1","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-06-06T00:52:09.951810Z","observedGeneration":2,"runningVersion":"v1.8.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"290027"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"spec": {"docker": {"imageTag": "v1.8.0_ubuntu2004-sachaga"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers/datacontroller-sachaga-9ac2c9bd1 + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-06-04T02:54:39Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-06-06T00:51:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-06-06T00:51:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-06-06T00:51:57Z"}],"name":"datacontroller-sachaga-9ac2c9bd1","namespace":"test","resourceVersion":"211376","uid":"7a8781ee-34a3-4732-9674-49737b3bbf7b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.8.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-9ac2c9bd1","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-06-06T00:52:09.951810Z","observedGeneration":2,"runningVersion":"v1.8.0_ubuntu2004-sachaga","state":"Ready"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-06-04T02:54:39Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-06-06T00:51:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-06-06T00:51:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-06-06T00:51:57Z"}],"name":"datacontroller-sachaga-9ac2c9bd1","namespace":"test","resourceVersion":"211376","uid":"7a8781ee-34a3-4732-9674-49737b3bbf7b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.8.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-9ac2c9bd1","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-06-06T00:52:09.951810Z","observedGeneration":2,"runningVersion":"v1.8.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"290028"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-06-04T02:54:39Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-06-06T00:51:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-06-06T00:51:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-06-06T00:51:57Z"}],"name":"datacontroller-sachaga-9ac2c9bd1","namespace":"test","resourceVersion":"211376","uid":"7a8781ee-34a3-4732-9674-49737b3bbf7b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.8.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-9ac2c9bd1","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-06-06T00:52:09.951810Z","observedGeneration":2,"runningVersion":"v1.8.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"290028"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/deployments + response: + body: + string: '{"kind":"DeploymentList","apiVersion":"apps/v1","metadata":{"resourceVersion":"290028"},"items":[{"metadata":{"name":"bootstrapper","namespace":"test","uid":"605fd856-29aa-4a35-84fd-ece1b59ca727","resourceVersion":"290020","generation":6,"creationTimestamp":"2022-06-06T01:41:08Z","labels":{"app":"bootstrapper","app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"deployment.kubernetes.io/revision":"6","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apps/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:progressDeadlineSeconds":{},"f:replicas":{},"f:revisionHistoryLimit":{},"f:selector":{},"f:strategy":{"f:rollingUpdate":{".":{},"f:maxSurge":{},"f:maxUnavailable":{}},"f:type":{}},"f:template":{"f:metadata":{"f:annotations":{".":{},"f:releaseRevision":{}},"f:labels":{".":{},"f:app":{}}},"f:spec":{"f:containers":{"k:{\"name\":\"bootstrapper\"}":{".":{},"f:env":{".":{},"k:{\"name\":\"ACCEPT_EULA\"}":{".":{},"f:name":{},"f:value":{}}},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:resources":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:securityContext":{".":{},"f:runAsGroup":{},"f:runAsUser":{}},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:imagePullSecrets":{".":{},"k:{\"name\":\"arc-private-registry\"}":{".":{},"f:name":{}}},"f:nodeSelector":{".":{},"f:kubernetes.io/os":{}},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{".":{},"f:fsGroup":{}},"f:serviceAccount":{},"f:serviceAccountName":{},"f:terminationGracePeriodSeconds":{}}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"apps/v1","time":"2022-06-06T18:26:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:deployment.kubernetes.io/revision":{}}},"f:status":{"f:availableReplicas":{},"f:conditions":{".":{},"k:{\"type\":\"Available\"}":{".":{},"f:lastTransitionTime":{},"f:lastUpdateTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"Progressing\"}":{".":{},"f:lastTransitionTime":{},"f:lastUpdateTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}},"f:observedGeneration":{},"f:readyReplicas":{},"f:replicas":{},"f:updatedReplicas":{}}}}]},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"bootstrapper"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"bootstrapper"},"annotations":{"releaseRevision":"6"}},"spec":{"containers":[{"name":"bootstrapper","image":"arcdatadev.azurecr.io/arcdata-dev/arc-bootstrapper:v1.8.0_ubuntu2004-sachaga","env":[{"name":"ACCEPT_EULA","value":"Y"}],"resources":{"limits":{"cpu":"200m","memory":"200Mi"},"requests":{"cpu":"100m","memory":"100Mi"}},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent","securityContext":{"runAsUser":1000700001,"runAsGroup":1000700001}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","nodeSelector":{"kubernetes.io/os":"linux"},"serviceAccountName":"sa-arc-bootstrapper","serviceAccount":"sa-arc-bootstrapper","securityContext":{"fsGroup":1000700001},"imagePullSecrets":[{"name":"arc-private-registry"}],"schedulerName":"default-scheduler"}},"strategy":{"type":"RollingUpdate","rollingUpdate":{"maxUnavailable":"25%","maxSurge":"25%"}},"revisionHistoryLimit":0,"progressDeadlineSeconds":600},"status":{"observedGeneration":6,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2022-06-06T01:41:11Z","lastTransitionTime":"2022-06-06T01:41:11Z","reason":"MinimumReplicasAvailable","message":"Deployment + has minimum availability."},{"type":"Progressing","status":"True","lastUpdateTime":"2022-06-06T18:26:34Z","lastTransitionTime":"2022-06-06T01:41:09Z","reason":"NewReplicaSetAvailable","message":"ReplicaSet + \"bootstrapper-5946f799fc\" has successfully progressed."}]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:26:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_list_versions[test].yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_list_versions[test].yaml new file mode 100644 index 00000000000..953342a81f4 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_list_versions[test].yaml @@ -0,0 +1,190 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"2224","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":1,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3428"}} + + ' + headers: + Audit-Id: + - 8b32e8d7-2a85-4047-a81b-8b3f725cfed7 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:25 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/arc-private-registry + response: + body: + string: '{"kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", + "message": "secrets \"arc-private-registry\" not found", "reason": "NotFound", + "details": {"name": "arc-private-registry", "kind": "secrets"}, "code": 404}' + headers: + Audit-Id: + - 59ba2d31-58e3-481c-8713-4f5469cdd540 + Cache-Control: + - no-cache, private + Content-Length: + - '214' + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:25 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 404 + message: Not Found +- request: + body: null + headers: {} + method: GET + uri: https://mock-host/v2/arcdata-dev/arc-controller/tags/list + response: + body: + string: '{"errors": [{"code": "NAME_UNKNOWN", "message": "repository \"arcdata-dev/arc-controller\" + is not found"}]}' + headers: + Access-Control-Expose-Headers: + - Docker-Content-Digest + - WWW-Authenticate + - Link + - X-Ms-Correlation-Request-Id + Connection: + - keep-alive + Content-Length: + - '104' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 21 Mar 2024 19:58:25 GMT + Docker-Distribution-Api-Version: + - registry/2.0 + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Ms-Correlation-Request-Id: + - e51b84a1-bc2a-4f9c-b73e-f501f7f282da + status: + code: 404 + message: Not Found +- request: + body: null + headers: {} + method: GET + uri: https://mock-host/v2/arcdata/arc-controller/tags/list + response: + body: + string: '{"name": "arcdata/arc-controller", "tags": ["latest", "public-preview-apr-2021", + "public-preview-dec-2020", "public-preview-feb-2021", "public-preview-jan-2021", + "public-preview-jun-2021", "public-preview-mar-2021", "public-preview-may-2021", + "public-preview-oct-2020", "public-preview-sep-2020", "v1.0.0_2021-07-30", + "v1.1.0_2021-11-02", "v1.10.0_2022-08-09", "v1.11.0_2022-09-13", "v1.12.0_2022-10-11", + "v1.13.0_2022-11-08", "v1.14.0_2022-12-13", "v1.15.0_2023-01-10", "v1.16.0_2023-02-14", + "v1.17.0_2023-03-14", "v1.18.0_2023-04-11", "v1.19.0_2023-05-09", "v1.2.0_2021-12-15", + "v1.20.0_2023-06-13", "v1.21.0_2023-07-11", "v1.22.0_2023-08-08", "v1.23.0_2023-09-12", + "v1.24.0_2023-10-10", "v1.25.0_2023-11-14", "v1.26.0_2023-12-12", "v1.27.0_2024-02-13", + "v1.28.0_2024-03-12", "v1.3.0_2022-01-27", "v1.4.0_2022-02-25", "v1.4.1_2022-03-08", + "v1.5.0_2022-04-05", "v1.6.0_2022-05-02", "v1.7.0_2022-05-24", "v1.8.0_2022-06-14", + "v1.9.0_2022-07-12"]}' + headers: + Cache-Control: + - max-age=300 + Content-Length: + - '1116' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 21 Mar 2024 19:58:25 GMT + ETag: + - '0x8DC49DFF766CE63' + Last-Modified: + - Thu, 21 Mar 2024 19:49:05 GMT + X-Cache: + - TCP_MISS + X-MSEdge-Ref: + - 'Ref A: 20DEE85C04E74A6FB39573E31E987B94 Ref B: WSTEDGE1005 Ref C: 2024-03-21T19:58:25Z' + x-mcr-privacy: + - https://privacy.microsoft.com/en-us/privacystatement + x-ms-blob-type: + - BlockBlob + x-ms-lease-status: + - unlocked + x-ms-request-id: + - 2ac67f10-e01e-0043-79ca-7b35e8000000 + x-ms-version: + - '2009-09-19' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"2224","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":1,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3428"}} + + ' + headers: + Audit-Id: + - 9dfc808f-1b3b-4377-a5a4-09518bff507a + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:26 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_target_version_validation_default[test].yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_target_version_validation_default[test].yaml new file mode 100644 index 00000000000..ae58bac4fdc --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_target_version_validation_default[test].yaml @@ -0,0 +1,292 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3427"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"c6821ca6-1185-4641-ae1b-f85637f217bb","resourceVersion":"1451","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"domainControllers":{"type":"object","properties":{"primaryDomainController":{"type":"object","properties":{"hostname":{"type":"string"}}},"secondaryDomainControllers":{"type":"array","items":{"type":"object","properties":{"hostname":{"type":"string"}}}}}},"domainServiceAccountSecret":{"type":"string"},"netbiosDomainName":{"type":"string"},"ouDistinguishedName":{"type":"string"},"realm":{"type":"string"},"serviceAccountProvisioning":{"type":"string"}}},"dns":{"type":"object","properties":{"domainName":{"type":"string"},"nameserverIPAddresses":{"type":"array","items":{"type":"string"}},"preferK8sDnsForPtrLookups":{"type":"boolean"},"replicas":{"type":"integer"}}},"fileOverrideConfigMap":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"5939407b-7d04-48d0-b9f4-3b77e01487fe","resourceVersion":"1458","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"ac3d34ba-f540-495c-8cd1-0df8f5a40f11","resourceVersion":"1460","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"73e9d919-a800-4dd1-a657-29e75c66c18e","resourceVersion":"1461","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"a0b153e7-75d5-45e2-b193-1a302dbd06d2","resourceVersion":"1466","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"a64fc9fd-1e3a-4348-aecc-518f572df060","resourceVersion":"1474","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"logs":{"type":"object","properties":{"database":{"type":"object","properties":{"influxdb":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}},"opensearch":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"userInterface":{"type":"object","properties":{"grafana":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"dnsName":{"type":"string"},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}},"opensearchDashboards":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"dnsName":{"type":"string"},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}}}}}},"metrics":{"type":"object","properties":{"database":{"type":"object","properties":{"influxdb":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}},"opensearch":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"userInterface":{"type":"object","properties":{"grafana":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"dnsName":{"type":"string"},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}},"opensearchDashboards":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"dnsName":{"type":"string"},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}}}}}},"security":{"type":"object","properties":{"allowDumps":{"type":"boolean","default":true},"allowNodeMetricsCollection":{"type":"boolean","default":true},"allowPodMetricsCollection":{"type":"boolean","default":true},"grafana":{"type":"object","properties":{"AdminLoginSecret":{"type":"string"},"ServiceCertificateSecret":{"type":"string"}}},"opensearchDashboards":{"type":"object","properties":{"AdminLoginSecret":{"type":"string"},"ServiceCertificateSecret":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"logsDbReadyReplicas":{"type":"string"},"logsUiReadyReplicas":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"metricsDbReadyReplicas":{"type":"string"},"metricsUiReadyReplicas":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v3"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"06e06797-c0e7-4b5b-b0ed-437cb6ce21ee","resourceVersion":"1479","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"816a25c9-dd56-4b6d-9340-a320537d7c93","resourceVersion":"1478","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the PostgreSQL recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSQL instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the PostgreSQL recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSQL instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta6","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"initdbDebugFlag":{"description":"If + true, sets the debug flag on initdb.","type":"boolean"},"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the PostgreSQL recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSQL instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta6"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"623255f5-719c-4829-b8f2-a7ec82d5a015","resourceVersion":"1480","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"92286c1d-3b35-442d-890f-73aa9b689ddb","resourceVersion":"1507","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"81a117a6-32ef-45ba-884d-f00150db6a26","resourceVersion":"1509","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"f67438e7-b634-4ee7-937e-129ef2e87f26","resourceVersion":"1506","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v11","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v12","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"fileOverrideConfigMap":{"type":"string"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v13","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"fileOverrideConfigMap":{"type":"string"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"},"protectorSecret":{"type":"string"}}}}},"serverConfigurations":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"integer"}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v13"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"8878dbf6-963f-4d5b-baa3-d2b6854ae17c","resourceVersion":"1510","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ecf8bcd5-f99a-4e98-ab93-b0d6472c9fc2","resourceVersion":"1512","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Audit-Id: + - 4e83abf2-ebe7-475e-9587-5aafd697038c + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:24 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"2224","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":1,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3427"}} + + ' + headers: + Audit-Id: + - 191acbd3-3905-439b-a10a-e8d3c9160441 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:25 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/arc-private-registry + response: + body: + string: '{"kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", + "message": "secrets \"arc-private-registry\" not found", "reason": "NotFound", + "details": {"name": "arc-private-registry", "kind": "secrets"}, "code": 404}' + headers: + Audit-Id: + - 24bfb3f5-223f-4d70-8029-57b667a1a0b0 + Cache-Control: + - no-cache, private + Content-Length: + - '214' + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:25 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 404 + message: Not Found +- request: + body: null + headers: {} + method: GET + uri: https://mock-host/v2/arcdata-dev/arc-controller/tags/list + response: + body: + string: '{"errors": [{"code": "NAME_UNKNOWN", "message": "repository \"arcdata-dev/arc-controller\" + is not found"}]}' + headers: + Access-Control-Expose-Headers: + - Docker-Content-Digest + - WWW-Authenticate + - Link + - X-Ms-Correlation-Request-Id + Connection: + - keep-alive + Content-Length: + - '104' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 21 Mar 2024 19:58:25 GMT + Docker-Distribution-Api-Version: + - registry/2.0 + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Ms-Correlation-Request-Id: + - 662a3547-4fae-488d-8bba-0ff0c6f3b6ab + status: + code: 404 + message: Not Found +- request: + body: null + headers: {} + method: GET + uri: https://mock-host/v2/arcdata/arc-controller/tags/list + response: + body: + string: '{"name": "arcdata/arc-controller", "tags": ["latest", "public-preview-apr-2021", + "public-preview-dec-2020", "public-preview-feb-2021", "public-preview-jan-2021", + "public-preview-jun-2021", "public-preview-mar-2021", "public-preview-may-2021", + "public-preview-oct-2020", "public-preview-sep-2020", "v1.0.0_2021-07-30", + "v1.1.0_2021-11-02", "v1.10.0_2022-08-09", "v1.11.0_2022-09-13", "v1.12.0_2022-10-11", + "v1.13.0_2022-11-08", "v1.14.0_2022-12-13", "v1.15.0_2023-01-10", "v1.16.0_2023-02-14", + "v1.17.0_2023-03-14", "v1.18.0_2023-04-11", "v1.19.0_2023-05-09", "v1.2.0_2021-12-15", + "v1.20.0_2023-06-13", "v1.21.0_2023-07-11", "v1.22.0_2023-08-08", "v1.23.0_2023-09-12", + "v1.24.0_2023-10-10", "v1.25.0_2023-11-14", "v1.26.0_2023-12-12", "v1.27.0_2024-02-13", + "v1.28.0_2024-03-12", "v1.3.0_2022-01-27", "v1.4.0_2022-02-25", "v1.4.1_2022-03-08", + "v1.5.0_2022-04-05", "v1.6.0_2022-05-02", "v1.7.0_2022-05-24", "v1.8.0_2022-06-14", + "v1.9.0_2022-07-12"]}' + headers: + Cache-Control: + - max-age=300 + Content-Length: + - '1116' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 21 Mar 2024 19:58:24 GMT + ETag: + - '0x8DC49DFF766CE63' + Last-Modified: + - Thu, 21 Mar 2024 19:49:05 GMT + X-Cache: + - TCP_MISS + X-MSEdge-Ref: + - 'Ref A: 9393CE099FCD46128A4AFF5D290AA5A6 Ref B: WSTEDGE0518 Ref C: 2024-03-21T19:58:25Z' + x-mcr-privacy: + - https://privacy.microsoft.com/en-us/privacystatement + x-ms-blob-type: + - BlockBlob + x-ms-lease-status: + - unlocked + x-ms-request-id: + - e05be57e-c01e-0026-42ca-7b9bac000000 + x-ms-version: + - '2009-09-19' + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_update_arm_log_upload[chachan-eastus-rg-dc-ipp].yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_update_arm_log_upload[chachan-eastus-rg-dc-ipp].yaml new file mode 100644 index 00000000000..ea14994bc31 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_update_arm_log_upload[chachan-eastus-rg-dc-ipp].yaml @@ -0,0 +1,667 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.0.0 Python/3.8.10 (Linux-5.13.0-30-generic-x86_64-with-glibc2.29) + x-ms-client-request-id: + - 45086168-9b3c-11ec-827f-53b411a0ca5f + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/chachan-eastus-rg/providers/Microsoft.AzureArcData/dataControllers + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR5dZ + uc4/evS9X/xRMfvo0Ud3m/WkmdbFqi2qZXM3u79zsDfZfbh9kH2ab+9Ppve3D85ns+2D/Pzew9l5 + Ppnee3i3zptqXU/zz+tqvWruTucZ/W+5nWdNu26264u7q7q6LGZ53dz9opjWVVOdt+PjH6zr/Lie + Ps3a7O6M/jmplm1dlSWazabbxWr10eijZbYg5D6yf7fXK/y9sGAygMnqKSAwmKkDQ+3LapphJPSO + oEOf5e/afDnLZ8/td7/Y9HP3hzX60w4Od6frpq0W5k8CU4YjPgm+/+iX0BfZRUOo02/NddPmCxCS + /v5oSvRo89mTa3qLMKH/LX9PR69ptSCgts0bgf5Vk9fu4+OWPtrb2dvb3rlH/3uz+/DRzsNHezvj + ewcP798/2P8palrS8L6oZsV5ATDU/t7uw/NP7++ebz+YzSbb++fTT7cfHtx/sP0gy88f7t3fmcx2 + 7vfe0+6PV6uy0JGFTbqo7O0+2t1/dH9vvPvw3oMHDz79KVCCCLzK67bIQY+PiuV5TRDq9bQl1qDX + q+WqzhdFQ1+PPnp70LzKrtDubbEEw4NsjvWoRbPKp/ieiDHLl22RlQx2Vk3f5vWr/KIg2BgwMd32 + qi4uiWLbtfl4RO0WWbF8ndeXxTQ/nk6r9RJjkI+3ic74fDuTL+hv6qal1/QL90KTbaMHx84YKTVf + 10VL3f/ij7KyrK6erhcrQo9Gm4/kkxfVLP8ib+ti2pzgvSlT1W/xspoNNOAeGA+CSRpBpcLDgYhd + 1YTevZ2dgx3bWqfxeZXNnmRltpxSy1/yfXzdtsWS2fSjU0xrMX0NYZ3jg8vFeJG9+/0X2er3N2Pe + 3sUgWaTRIlu31VerkqAqvtQEaBIW7qvnFeB/dE7ThC8aT4Dp49tIML0VyDC9RkJD//OEmNrEVAlR + ZikEJIYlnD+aFTX9jVHQV4ZoNJSSsBzXVcsQxrPsGjg/IAjhF03xA0C5v7OzQ9/NimZVZtcvZBZm + ogN/CcEmVVBnF/QhsSWxL34SQ+VNo1i8yrPZd4lP8i9pKgjQlGjfKJhFtqRXZ8S6JBNrKAPtdPf+ + 5wUQB0bfEMQdQCSQm0VSJAtdWjEioNN63NVadb6qmoLGjgaZ6Hz6uFhQ92+yC/rwcnd8b7zz+4vC + 2N3eA4X565frsnxZkZLBq8flFSYAmC3yNmMw1Du4vVllND6GTq/iE/oDDbzppNeyVfGTpNBpyuhr + aosWIbp3L+8RgIbmlRiFgFumXjPXvrZfEAbC2sQkRCNh6jcFdyzjMIpvZ/fR/s5459O9vfsPoYIJ + 24aGRu1eVCmb09TwcdpWqXQ0BrpmSm/oYPced/Bw5/69e2EHxyRuC2LRqUJNq/MUQNOiSYlLs0mZ + S09reeHmrvZoOOMH93YfHDwIu4I+Th21TYfnxTIraXzEHalQlRrN8kcpTSP1W02givLZ5/kyrwlR + TMyu0B9Awb5QzvV6uSSF5OauzzCARgblskALaouZAojXa5IHsggzavH9X/L/AJtHnO84CQAA + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Length: + - '1251' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 03 Mar 2022 21:52:50 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - d735ffb3-e885-4d1b-8e0c-eb4b62e2a4df + x-ms-original-request-ids: + - 2473785b-bfa5-43cd-a41f-106913cbb266 + - adf4f3ef-0216-423c-9aa8-0159dacb3631 + - 4430cc1c-2373-4cd4-9dc8-df98047742aa + - 388b4622-120b-4555-b502-d5b8b15c1b23 + - a01043db-2145-4f7d-8bb1-79c0c633f84a + - 2ff9c79a-a26a-4ff5-a371-7659958ef4bb + - 05499f2b-fb9a-4677-b25a-df19e94a1448 + - 85b13f50-6a47-4b35-8d26-a02ba5dc1233 + - 4e5435b2-4867-4703-9799-19fddabf55cc + - 2a4567e3-e871-4ad5-a979-8388b3b2db73 + - 167a2af5-e3ee-4c92-a345-9ffebc33f2a0 + - 20f08be2-5b80-466a-95b6-7c84142ed537 + - 8c95f765-16e8-48c7-8417-ae3015337d58 + - db8abf98-5c63-43b6-afb5-44a2cfb15e70 + - e7662a82-8a53-4fbf-8c13-c2b5032e436f + - a7e89af7-1704-4c06-a0fa-86f8fe39f074 + - 9faf73fe-83f9-4252-819c-82aabab91418 + - 26ac0222-114c-4368-8926-32ed89adb29f + - 635a1b0c-a70e-4ae3-8bb7-018ce612e7b9 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - d735ffb3-e885-4d1b-8e0c-eb4b62e2a4df + x-ms-routing-request-id: + - WESTCENTRALUS:20220303T215251Z:d735ffb3-e885-4d1b-8e0c-eb4b62e2a4df + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + method: GET + uri: https://mock-host/72f988bf-86f1-41af-91ab-2d7cd011db47/v2.0/.well-known/openid-configuration + response: + body: + string: '{"token_endpoint":"https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code + id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '1753' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Mar 2022 15:54:30 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=AmNKW5AbXapHrIc1l105pFk; expires=Sun, 03-Apr-2022 15:54:31 GMT; path=/; + secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrU6v7P7XPc_x4Aq7fpiZikZ41rHOajK8hNTQywYtj8YQOdWuwmLRz8YpgVAFCx9f4DlF5Kz6fStE8Sk9hRvVYd6eCjIBLvoS-FKKsCcdwsoPBdDCiRLh7CB5JtQFtzGb2oKHrRo-8EDrTQ-lcOVbQbObeerCjgZrQYDlUV0M3NNAgAA; + domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.12529.17 - WUS2 ProdSlices + x-ms-request-id: + - 05b007fe-b73f-49f0-b512-8c0921fd4d00 + status: + code: 200 + message: OK +- request: + body: client_id=04b07795-8ddb-461a-bbee-02f9e1bf7b46&grant_type=refresh_token&client_info=1&refresh_token=0.AQEAv4j5cvGGr0GRqy180BHbR5V3sATbjRpGu-4C-eG_e0YaAEM.AgABAAAAAAD--DLA3VO7QrddgJg7WevrAgDs_wQA9P8Lk00UNoQWwxlovHVxuQ7sDl_bRLZlt878IKQU8vJ3Dzz55zKX6EsRD4NXcAdEg_YaQfLmu_qVFNJM5sFGIooTMLKYFNCzfaEFPZwxhiCU7o5spkm7G6t7ahUQkwzG2GA9almC0mpHipe7xoYQlWkx-z9W7I3mm-S3vg4CmWYzkAFfhGAI1FN3oMLbIAj3MvkMELjTJfj_thwAB3-fCr2G44juP0cBZKJmC1Qn99S_fufOizV5nFqvtBUFgh_e9hIdvFeNFi8K6G_DTiVgqejYw4VTuoubVTAUsqS_NwvdITJ20MwpJaPVkELMz_CB64unmUsl7w8O42B9rRopzhvQ9VoGEhETVPujBb6ZJyAACwK2kR9kzqPuE-bTUPzR8H-wYt8jyfyMA4Ax7mX_XcpVrtG371HLpx02OiBXBSMGnW-isjVHmJdNr-_Aw7Zc9ScgwpsRVRNIHbS2cxOl9w7PlOKJCeijs-_ZoroJX3ngcMTNBtzjRIrPbxWLy94bb7xZZeLVD1Q20QHDE8lK8h8kmqZeQ17ozRbmCgZsxdthlsC2Ovsm1RmWMhfSODYQG9gE1KNGsp5p2MFajogo2MRhuMg4ovTvUFeXMOZvcMDMP_9y9biDcR6hvBQlwMM5jelWkT2F8swrzD8aQ8VAQHjBzuADHmJQ3UY109mlVynp-lPz5dL_c7Bfep11t4KhUkhumnr1rbdNALrsSw9SpzC3AfjhiRIWW6WsdNjCBMsgdEOWFVWmXmHIrYNcbr_nXrHQzDBNVbuYO1SsiZQRkEGdwyxLZzotyKFvGwUtPL0hlhBV2eOrCPwvdcCszsDaOpdiokT-Nk4UEefNTaWy6piU49rzgzy2tgSx7UiaDuBm9y2Md1tn1jBT7J3f1b27eB4T9_UFAEePB6urc0j2utUG9eXAbiqIgMpBqi0mqRKFhsuzIu7U9v4b_ivNekjNpSxWmf6CtsL02Ja4Pj4-RPJNk2k2I0ka_PtPFgm-6N3uxpjiqCXXaMferdw03wzhKPZA02ZCJbDsdN6D8uw96D5kXoxdXRV7MNW2F9silYg2FJeFF2PrG89A7TpwIEYDBwr1BBrlvLBzl-G6TVqMqaZu-mr2Gj1m_8ONhQcj17Du77DQB6GAQXHRW8zqNE_AJPM8x0oojuMMg0XVD5-nCwbfvAjQeWAQjkQ8WToet0HG3_9oqc_cBA8H&scope=https%3A%2F%2Fmanagement.core.windows.net%2F%2F.default+offline_access+openid+profile + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1494' + Content-Type: + - application/x-www-form-urlencoded + User-Agent: + - python-requests/2.27.1 + X-AnchorMailbox: + - Oid:163a839c-37a9-4c76-abaa-7fc3cfc6c748@72f988bf-86f1-41af-91ab-2d7cd011db47 + client-request-id: + - 321366bc-aa6b-4ea9-9f25-ba08eb9ce33a + x-client-cpu: + - x64 + x-client-current-telemetry: + - 4|84,3| + x-client-last-telemetry: + - 4|0||| + x-client-os: + - linux + x-client-sku: + - MSAL.Python + x-client-ver: + - 1.16.0 + x-ms-lib-capability: + - retry-after, h429 + method: POST + uri: https://mock-host/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token + response: + body: + string: '{"error":"invalid_grant","error_description":"AADSTS70043: The refresh + token has expired or is invalid due to sign-in frequency checks by conditional + access. The token was issued on 2022-03-03T17:16:14.4510000Z and the maximum + allowed lifetime for this request is 43200.\r\nTrace ID: 2cb90d1f-107e-47ef-be73-208e465a5200\r\nCorrelation + ID: 321366bc-aa6b-4ea9-9f25-ba08eb9ce33a\r\nTimestamp: 2022-03-04 15:54:32Z","error_codes":[70043],"timestamp":"2022-03-04 + 15:54:32Z","trace_id":"2cb90d1f-107e-47ef-be73-208e465a5200","correlation_id":"321366bc-aa6b-4ea9-9f25-ba08eb9ce33a","suberror":"token_expired"}' + headers: + Cache-Control: + - no-store, no-cache + Content-Length: + - '603' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Mar 2022 15:54:32 GMT + Expires: + - '-1' + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Pragma: + - no-cache + Set-Cookie: + - fpc=AvXp5FlBr2pEnPyeB4LH97R48ekzAQAAADYttNkOAAAA; expires=Sun, 03-Apr-2022 + 15:54:32 GMT; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + client-request-id: + - 321366bc-aa6b-4ea9-9f25-ba08eb9ce33a + x-ms-clitelem: + - 1,70043,0,65428098.0345, + x-ms-ests-server: + - 2.1.12529.17 - SCUS ProdSlices + x-ms-request-id: + - 2cb90d1f-107e-47ef-be73-208e465a5200 + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Cookie: + - fpc=AvXp5FlBr2pEnPyeB4LH97R48ekzAQAAADYttNkOAAAA; stsservicecookie=estsfd; + x-ms-gateway-slice=estsfd + User-Agent: + - python-requests/2.27.1 + method: GET + uri: https://mock-host/common/discovery/instance + response: + body: + string: '{"tenant_discovery_endpoint":"https://login.microsoftonline.com/common/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}' + headers: + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=86400, private + Content-Length: + - '945' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Mar 2022 15:54:32 GMT + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Set-Cookie: + - fpc=AvXp5FlBr2pEnPyeB4LH97R48ekzAQAAADYttNkOAAAA; expires=Sun, 03-Apr-2022 + 15:54:32 GMT; path=/; secure; HttpOnly; SameSite=None + - esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrd6wNPP0AGQccbcT8KRGEDrj5OzBJAejFgu2c3UDxMp4Xd7zcebqtV6WuoKgR-6aE2t6fDuVmtgzig08Dl0MccwEbkAzJEgLP9wcVX-9yUngcEUG3_WLgkl2vQG4zXs6T-rY4v96rQ1mrfNDIDxYZJ8CAAAo9zNHV6oPPBd1hQMIgAA; + domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-ests-server: + - 2.1.12529.17 - SCUS ProdSlices + x-ms-request-id: + - a3b4eacb-7d83-4fa8-a386-a56a2dc84f00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-30-generic-x86_64-with-glibc2.29) + x-ms-client-request-id: + - 6c7cb628-9bd6-11ec-827f-53b411a0ca5f + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/chachan-eastus-rg/providers/Microsoft.AzureArcData/dataControllers/dc-ipp + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquTudZ/S/5XaeNe262a4v7q7q6rKY5XVz94tiWldNdd6Oj3+wrvPjevo0a7O7M/rnpFq2 + dVWWaDabbher1Uejj5bZIies7N/t9Qp/LyyYDGCyegoIDGbqwFD7sppmGAm9I+jQZ/m7Nl/O8tlz + +90vNv3c/WGN/rSDw93pummrhfmTwJThiE+C7z/6JfRFdtEQ6vRbc920+QKEpL8/mhI92nz25Jre + Ikzof8vf09FrWi0IqG3zRqB/1eS1+/i4pY/2dvb2tnfu0f/e7D58tPPw0d7O+N7Bw/v3D/Z/ipqW + NLwvqllxXgAMtb+3+/D80/u759sPZrPJ9v759NPthwf3H2w/yPLzh3v3dyaznfu997T749WqLHRk + YZMQlf03u58+2r33aH9n/OnD3Qf3D+79FChBBF7ldVvkoMdHxfK8Jgj1etoSa9Dr1XJV54uioa9H + H709aF5lV2j3tliC4UE2x3rUolnlU3xPxJjly7bISgY7q6Zv8/pVflEQbAyYmG57VReXRLHt2nw8 + onaLrFi+zuvLYpofT6fVeokxyMfbRGd8vp3JF/Q3ddPSa/qFe6HJttGDY2eMlJqv66Kl7n/xR1lZ + VldP14sVoUejzUfyyYtqln+Rt3UxbU7w3pSp6rd4Wc0GGnAPjAfB/J6VCg8HInZVE3r3dnYOdmxr + ncbnVTZ7kpXZckotf8n38XXbFktm049OMa3F9DWEdY4PLhfjRfbu919kq9/fjHl7F4NkkUaLbN1W + X61Kgqr4UhOgSVi4r55XgP/ROU0Tvmg8AaaPbyPB9FYgw/QaCQ39zxNiahNTJUSZpRCQGJZw/mhW + 1PQ3RkFfGaLRUErCclxXLUMYz7Jr4PyAIIRfNMUPAOX+zs4OfTcrmlWZXb+QWZiJDvwlBJtUQZ1d + 0IfElsS++EkMlTeNYvEqz2bfJT7Jv6SpIEBTon2jYBbZkl6dEeuSTKyhDLTT3fufF0AcGH1DEHcA + kUBuFkmRLHRpxYiATutxV2vV+apqCho7GmSi8+njYkHdv8ku6MPL3fG98c7vLwpjd3sPFOavX67L + 8mVFSgavHpdXmABgtsjbjMFQ7+D2ZpXR+Bg6vYpP6A808KaTXstWxU+SQqcpo6+pLVqE6N69vEcA + GppXYhQCbpl6zVz72n5BGAhrE5MQjYSp3xTcsYzDKL6dXSi+3d3dg4MHUMGEbUNDo3YvqpTNaWr4 + OG2rVDoaA10zpTd0IJp19969/U8fhh0ck7gtiEWnCjWtzlMATYsmJS7NJmUuPa3lhZu72qPhjB/Q + h/d3w66gj1NHbdPhebHMShofcUcqVKVGs/xRStNI/VYTqKJ89nm+zGtCFBOzK/QHULAvlHO9Xi5J + Ibm56zMMoJFBuSzQgtpipgDi9ZrkgSzC7KNf8kv+H2YtOgYsCQAA + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Mar 2022 16:16:20 GMT + ETag: + - '"8c006dac-0000-0100-0000-62223ab40000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 849e9b78-6c51-477d-ad76-235d8612769f + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 9d45f18d-d576-4d1b-8733-ce8e9f22a8ac + x-ms-routing-request-id: + - WESTCENTRALUS:20220304T161620Z:849e9b78-6c51-477d-ad76-235d8612769f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.0.0 Python/3.8.10 (Linux-5.13.0-30-generic-x86_64-with-glibc2.29) + x-ms-client-request-id: + - 92f040fe-9bdb-11ec-827f-53b411a0ca5f + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/chachan-eastus-rg/providers/Microsoft.AzureArcData/dataControllers + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR5dZ + uc4/evS9X/xRMfvo0Ud3m/WkmdbFqi2qZXM3u79zsDfZfbh9kH2ab+9Ppve3D85ns+2D/Pzew9l5 + Ppnee3i3zptqXU/zz+tqvWruTucZ/W+5nWdNu26264u7q7q6LGZ53dz9opjWVVOdt+PjH6zr/Lie + Ps3a7O6M/jmplm1dlSWazabbxWr10eijZbYg5D6yf7fXK/y9sGAygMnqKSAwmKkDQ+3LapphJPSO + oEOf5e/afDnLZ8/td7/Y9HP3hzX60w4Od6frpq0W5k8CU4YjPgm+/+iX0BfZRUOo02/NddPmCxCS + /v5oSvRo89mTa3qLMKH/LX9PR69ptSCgts0bgf5Vk9fu4+OWPtrb2dvb3rlH/3uz+/DRzsNHezvj + ewcP798/2P8palrS8L6oZsV5ATDU/t7uw/NP7++ebz+YzSbb++fTT7cfHtx/sP0gy88f7t3fmcx2 + 7vfe0+6PV6uy0JGFTUJU9t/sfvpo996j/Z3xpw93H9w/uPdToAQReJXXbZGDHh8Vy/OaINTraUus + Qa9Xy1WdL4qGvh599PageZVdod3bYgmGB9kc61GLZpVP8T0RY5Yv2yIrGeysmr7N61f5RUGwMWBi + uu1VXVwSxbZr8/GI2i2yYvk6ry+LaX48nVbrJcYgH28TnfH5diZf0N/UTUuv6RfuhSbbRg+OnTFS + ar6ui5a6/8UfZWVZXT1dL1aEHo02H8knL6pZ/kXe1sW0OcF7U6aq3+JlNRtowD0wHgSTNIJKhYcD + EbuqCb17OzsHO7a1TuPzKps9ycpsOaWWv+T7+LptiyWz6UenmNZi+hrCOscHl4vxInv3+y+y1e9v + xry9i0GySKNFtm6rr1YlQVV8qQnQJCzcV88rwP/onKYJXzSeANPHt5FgeiuQYXqNhIb+5wkxtYmp + EqLMUghIDEs4fzQravobo6CvDNFoKCVhOa6rliGMZ9k1cH5AEMIvmuIHgHJ/Z2eHvpsVzarMrl/I + LMxEB/4Sgk2qoM4u6ENiS2Jf/CSGyptGsXiVZ7PvEp/kX9JUEKAp0b5RMItsSa/OiHVJJtZQBtrp + 7v3PCyAOjL4hiDuASCA3i6RIFrq0YkRAp/W4q7XqfFU1BY0dDTLR+fRxsaDu32QX9OHl7vjeeOf3 + F4Wxu70HCvPXL9dl+bIiJYNXj8srTAAwW+RtxmCod3B7s8pofAydXsUn9AcaeNNJr2Wr4idJodOU + 0dfUFi1CdO9e3iMADc0rMQoBt0y9Zq59bb8gDIS1iUmIRsLUbwruWMZhFN/OLhTf7u7uwcEDqGDC + tqGhUbsXVcrmNDV8nLZVKh2Nga6Z0hs6EM26e+/e/qcPww6OSdwWxKJThZpW5ymApkWTEpdmkzKX + ntbyws1d7dFwxg/ow/u7YVfQx6mjtunwvFhmJY2PuCMVqlKjWf4opWmkfqsJVFE++zxf5jUhionZ + FfoDKNgXyrleL5ekkNzc9RkG0MigXBZoQW0xUwDxek3yQBZhRi2+/0v+H/KrK/Q4CQAA + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Length: + - '1248' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Mar 2022 16:53:11 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - feca1a48-cf30-4fae-b4ec-f9a980da26ae + x-ms-original-request-ids: + - 31417789-7afa-4a0f-899d-3a835dfbff12 + - f6a00188-2636-4214-9473-96938a4e9196 + - 14e07b36-3f22-4fee-8b8e-d47efb610ed8 + - 90d426e6-8a74-4ecf-b6ea-4af93282af22 + - 1ec0342a-9bac-4330-8ece-e9396aa8da9f + - daf39af0-29bd-4fc2-91f9-f3380e26e19a + - dfa74ffa-19f2-4b1b-9f78-548e788e263f + - 534865f2-4a08-4b03-a658-4be63829bdb3 + - 5dea5f3c-75bd-454e-8fcd-01d82b83f3cd + - 043b4634-5fa8-4ad6-8c5c-00c7b828cb78 + - 60c99061-8130-4e3b-a4bc-efe8735d2029 + - 33d3184a-70c2-4564-8d99-3f48e66fcf7b + - 0d3c1154-4dfc-482e-9348-5acaefd7baad + - 6acbeb2f-c685-406e-be62-35699e1fb406 + - 2db97103-b72b-40b1-9806-cc34bcb4dbfc + - c244ce36-12ef-487f-9a24-ddf1b2c93625 + - 5d3978fc-1adc-482f-9f1c-dcd49a7edf68 + - 68f02ec7-bedb-4925-8e4e-3fbfff2670f5 + - 9a3c1417-7599-4732-9aa3-22ffcb61ba39 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - feca1a48-cf30-4fae-b4ec-f9a980da26ae + x-ms-routing-request-id: + - WESTCENTRALUS:20220304T165312Z:feca1a48-cf30-4fae-b4ec-f9a980da26ae + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "extendedLocation": {"type": "CustomLocation", "name": + "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/chachan-eastus-rg/providers/Microsoft.ExtendedLocation/customLocations/cl-ipp"}, + "tags": {}, "properties": {"infrastructure": "onpremises", "k8sRaw": {"kind": + "DataController", "spec": {"credentials": {"dockerRegistry": "arc-private-registry", + "domainServiceAccount": "domain-service-account-secret", "serviceAccount": "sa-arc-controller"}, + "security": {"allowDumps": true, "allowNodeMetricsCollection": true, "allowPodMetricsCollection": + true}, "services": [{"name": "controller", "port": 30080, "serviceType": "LoadBalancer"}], + "settings": {"ElasticSearch": {"vm.max_map_count": "-1"}, "azure": {"autoUploadMetrics": + "true", "autoUploadLogs": "true", "subscription": "a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39", + "resourceGroup": "chachan-eastus-rg", "location": "eastus", "connectionMode": + "direct"}, "controller": {"logs.rotation.days": "7", "logs.rotation.size": "5000", + "displayName": "dc-ipp"}}, "storage": {"data": {"accessMode": "ReadWriteOnce", + "className": "managed-premium", "size": "15Gi"}, "logs": {"accessMode": "ReadWriteOnce", + "className": "managed-premium", "size": "10Gi"}}, "infrastructure": "onpremises", + "docker": {"registry": "mcr.microsoft.com", "repository": "arcdata", "imageTag": + "v1.3.0_2022-01-27", "imagePullPolicy": "Always"}}, "metadata": {"namespace": + "arc", "name": "datacontroller"}, "apiVersion": "arcdata.microsoft.com/v3", + "status": {"azure": {"uploadStatus": {"metrics": {"lastUploadTime": "2022-03-04T16:01:40.111887Z", + "message": "No Azure resource to upload."}, "logs": {"lastUploadTime": "2022-03-04T16:13:40.133469Z", + "message": "Automatic upload of logs is disabled."}, "usage": {"lastUploadTime": + "2022-03-04T16:12:01.720251Z", "message": "Data controller upload final retry + status code: "}}}, "observedGeneration": 1, "state": "Ready", "runningVersion": + "v1.3.0_2022-01-27"}}, "provisioningState": "Succeeded", "logAnalyticsWorkspaceConfig": + {"workspaceId": "--", "primaryKey": "--"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2192' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-30-generic-x86_64-with-glibc2.29) + x-ms-client-request-id: + - c894cf98-9be7-11ec-aa7e-896a3a68e0a2 + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/chachan-eastus-rg/providers/Microsoft.AzureArcData//dataControllers/dc-ipp + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/chachan-eastus-rg/providers/Microsoft.AzureArcData/dataControllers/dc-ipp","name":"dc-ipp","type":"microsoft.azurearcdata/datacontrollers","location":"eastus","extendedLocation":{"name":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/chachan-eastus-rg/providers/Microsoft.ExtendedLocation/customLocations/cl-ipp","type":"CustomLocation"},"tags":{},"systemData":{"createdBy":"chachan@microsoft.com","createdByType":"User","createdAt":"2022-03-03T19:09:20.3895584Z","lastModifiedBy":"319f651f-7ddb-4fc6-9857-7aef9250bd05","lastModifiedByType":"Application","lastModifiedAt":"2022-03-04T18:13:40.7858323Z"},"properties":{"infrastructure":"onpremises","onPremiseProperty":null,"k8sRaw":{"kind":"DataController","spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"LoadBalancer"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"autoUploadMetrics":"true","autoUploadLogs":"true","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39","resourceGroup":"chachan-eastus-rg","location":"eastus","connectionMode":"direct"},"controller":{"logs.rotation.days":"7","logs.rotation.size":"5000","displayName":"dc-ipp"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"managed-premium","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"managed-premium","size":"10Gi"}},"infrastructure":"onpremises","docker":{"registry":"mcr.microsoft.com","repository":"arcdata","imageTag":"v1.3.0_2022-01-27","imagePullPolicy":"Always"}},"metadata":{"namespace":"arc","name":"datacontroller"},"apiVersion":"arcdata.microsoft.com/v3","status":{"azure":{"uploadStatus":{"metrics":{"lastUploadTime":"2022-03-04T16:01:40.111887Z","message":"No + Azure resource to upload."},"logs":{"lastUploadTime":"2022-03-04T16:13:40.133469Z","message":"Automatic + upload of logs is disabled."},"usage":{"lastUploadTime":"2022-03-04T16:12:01.720251Z","message":"Data + controller upload final retry status code: "}}},"observedGeneration":1,"state":"Ready","runningVersion":"v1.3.0_2022-01-27"}},"uploadWatermark":null,"lastUploadedDate":null,"basicLoginInformation":null,"metricsDashboardCredential":null,"logsDashboardCredential":null,"logAnalyticsWorkspaceConfig":{"workspaceId":"c873f536-4323-4cb0-b0d5-28d3633aa3c1"},"uploadServicePrincipal":null,"provisioningState":"Accepted","clusterId":null,"extensionId":null}}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS/operationStatuses/38ec03ae-8f4e-4bae-934a-f10b227c1072*7BFEBC91DE25B79DF41D8500FD3188B17611F6BECC931EB09D498BE30C98F56B?api-version=2021-11-01 + Cache-Control: + - no-cache + Content-Length: + - '2663' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Mar 2022 18:20:38 GMT + ETag: + - '"8d008ed5-0000-0100-0000-622258760000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=09db98473624bab61e3928788b9daa48a41fef3197a0ebdcdf7bd4c4ad6e75d3;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + - ARRAffinitySameSite=09db98473624bab61e3928788b9daa48a41fef3197a0ebdcdf7bd4c4ad6e75d3;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - 43fdb760-195f-4352-88e5-9a40ee76fe75 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-ms-request-id: + - 38ec03ae-8f4e-4bae-934a-f10b227c1072 + x-ms-routing-request-id: + - WESTUS:20220304T182038Z:43fdb760-195f-4352-88e5-9a40ee76fe75 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-30-generic-x86_64-with-glibc2.29) + x-ms-client-request-id: + - c894cf98-9be7-11ec-aa7e-896a3a68e0a2 + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/EASTUS/operationStatuses/38ec03ae-8f4e-4bae-934a-f10b227c1072*7BFEBC91DE25B79DF41D8500FD3188B17611F6BECC931EB09D498BE30C98F56B + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3V3V1WUxy+vm7hfFtK6a6rwdH/9gXefH9fRp1mZ3y2qatUW1bO6eHr9+89Xru9Uqr/mT123W + rpu8uXvvIJ/u3Mvy7YPz/Xx7f0K/Pby3n22f7+5M9vYeTHd3Hux968GTZ6dPTh7uPj3du//kwcOn + z/Z3nx7c39l59vTe7sHBk90Hn+7uPvv0yenJycN7u6dPdh4+3X948OT03s7Jw4Nn9z998tHoo2W2 + yAnnH1Z3dd5U63qanzGhmvWkmdbFCiNv7mb3dw72JrsPtw+yT4HD9D5hM5ttH+Tn9x7OzvPJ9N7D + uwbA53W1XjV3p/OM/rfczrOG6LZdX9xM/Bn9c1It27oqSzSbTbeL1Ypwa5j2hNfr9XSa57N8Jh/W + 7ZuCibS3s7e3vXNve2f/ze7Bo72dR/c+He8+3Hu4c//Tn6Km+XI21HD/wfhgZ/fBwcF9NCQUab7b + IqfOluuy/CX/D+uNjHo5AgAA + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Mar 2022 18:21:08 GMT + ETag: + - '"f700775c-0000-0100-0000-6222587f0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - a8b9fcce-40b6-478f-a3a4-df26398f6a95 + x-ms-ratelimit-remaining-tenant-reads: + - '11999' + x-ms-request-id: + - c083a7e9-635d-41f0-9a0a-c4b42ffb69ac + x-ms-routing-request-id: + - WESTUS:20220304T182108Z:a8b9fcce-40b6-478f-a3a4-df26398f6a95 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-30-generic-x86_64-with-glibc2.29) + x-ms-client-request-id: + - c894cf98-9be7-11ec-aa7e-896a3a68e0a2 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/chachan-eastus-rg/providers/Microsoft.AzureArcData//dataControllers/dc-ipp + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquTudZ/S/5XaeNe262a4v7q7q6rKY5XVz94tiWldNdd6Oj3+wrvPjevo0a7O7M/rnpFq2 + dVWWaDabbher1Uejj5bZIies7N/t9Qp/LyyYDGCyegoIDGbqwFD7sppmGAm9I+jQZ/m7Nl/O8tlz + +90vNv3c/WGN/rSDw93pummrhfmTwJThiE+C7z/6JfRFdtEQ6vRbc920+QKEpL8/mhI92nz25Jre + Ikzof8vf09FrWi0IqG3zRqB/1eS1+/i4pY/2dvb2tnfu0f/e7D58tPPw0d7O+N7Bw/v3D/Z/ipqW + NLwvqllxXgAMtb+3+/D80/u759sPZrPJ9v759NPthwf3H2w/yPLzh3v3dyaznfu997T749WqLHRk + YZMQlf03uweEx6P9h+ODnf2He58e/BQoQQRe5XVb5KDHR8XyvCYI9XraEmvQ69VyVeeLoqGvRx+9 + PWheZVdo97ZYguFBNsd61KJZ5VN8T8SY5cu2yEoGO6umb/P6VX5REGwMmJhue1UXl0Sx7dp8PKJ2 + i6xYvs7ry2KaH0+n1XqJMcjH20RnfL6dyRf0N3XT0mv6hXuhybbRg2NnjJSar+uipe5/8UdZWVZX + T9eLFaFHo81H8smLapZ/kbd1MW1O8N6Uqeq3eFnNBhpwD4wHwfyelQoPByJ2VRN693Z2DnZsa53G + 51U2e5KV2XJKLX/J9/F12xZLZtOPTjGtxfQ1hHWODy4X40X27vdfZKvf34x5exeDZJFGi2zdVl+t + SoKq+FIToElYuK+eV4BvPm88+aVPbyPA9FYgwvQayQz9z5NhahPTJESYpdCP+JVQ/mhW1PQ3BkFf + GZrRSEpCclxXLUMYz7JroPyAIIRfNMUPAOX+zs4OfTcrmlWZXb+QSZiJCvwlBJs0QZ1d0IfElcS9 + +En8lDeNYvEqz2bfJTbJv6SZIEBTIn2jYBbZkl6dEeeSSKyhC7TT3fufF0AcGH1DEHcAkUBulkgR + LHRppYiATutxV2nV+apqCho7GmSi8unjYkHdv8ku6MPL3fG98c7vL/pid3sPFOavX67L8mVFOgav + HpdXmABgtsjbjMFQ72D2ZpXR+Bg6vYpP6A808KaTXstWxU+SPqcpo6+pLVqE6N69vEcAGppXYhQC + bnl6zUz72n5BGAhnE5MQjYSn3xTcsYzD6L2d3Uf7O+Pdvd37e1DAhGxDI6NmL6qUjWlq2Dhtq1T6 + GQNbM6M3wN+9x/Dv7e8dfBp2cEzCtiAOnSrUtDpPATQtmpSYNJuUufS0lhdu7mqPRjN+sHfvftgR + dHHqSG26Oy+WWUmjI9ZIhaTUaJY/SmkOqddqAjWUzz7Pl3lNaGJW9oT4APrViqaHtBD1VK+XS/rN + zV2fYQCQxnZMPV7TiJvvVvVb5gqyEecFMdkv/ujKfHQG+zE9eHDv/P69T7f37+3d296fTna2Jzuz + +9t7B7N7n967l2X3pqzVyEhdFuiWEMD0A7XXaxIysjKzj37JL/l/AKw/9OeACQAA + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Mar 2022 18:21:08 GMT + ETag: + - '"8d00e0d5-0000-0100-0000-622258810000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - c7c9ee4c-9c96-4f5a-8d1f-9ba0d579ff8a + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-reads: + - '11990' + x-ms-request-id: + - 2087b5fd-7c22-466d-9d6e-727322eb74b1 + x-ms-routing-request-id: + - WESTUS:20220304T182109Z:c7c9ee4c-9c96-4f5a-8d1f-9ba0d579ff8a + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_update_arm_metrics_upload[chachan-eastus-rg-dc-ipp].yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_update_arm_metrics_upload[chachan-eastus-rg-dc-ipp].yaml new file mode 100644 index 00000000000..46a24548c29 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_update_arm_metrics_upload[chachan-eastus-rg-dc-ipp].yaml @@ -0,0 +1,499 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-30-generic-x86_64-with-glibc2.29) + x-ms-client-request-id: + - 27ac7a2d-9bec-11ec-aa7e-896a3a68e0a2 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/chachan-eastus-rg/providers/Microsoft.AzureArcData/dataControllers/dc-ipp + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquTudZ/S/5XaeNe262a4v7q7q6rKY5XVz94tiWldNdd6Oj3+wrvPjevo0a7O7M/rnpFq2 + dVWWaDabbher1Uejj5bZIies7N/t9Qp/LyyYDGCyegoIDGbqwFD7sppmGAm9I+jQZ/m7Nl/O8tlz + +90vNv3c/WGN/rSDw93pummrhfmTwJThiE+C7z/6JfRFdtEQ6vRbc920+QKEpL8/mhI92nz25Jre + Ikzof8vf09FrWi0IqG3zRqB/1eS1+/i4pY/2dvb2tnfu0f/e7D58tPPw0d7O+N7Bw/v3D/Z/ipqW + NLwvqllxXgAMtb+3+/D80/u759sPZrPJ9v759NPthwf3H2w/yPLzh3v3dyaznfu997T749WqLHRk + YZMQlf03uweP9vYe7e6N7326f3/vwYOfAiWIwKu8bosc9PioWJ7XBKFeT1tiDXq9Wq7qfFE09PXo + o7cHzavsCu3eFkswPMjmWI9aNKt8iu+JGLN82RZZyWBn1fRtXr/KLwqCjQET022v6uKSKLZdm49H + 1G6RFcvXeX1ZTPPj6bRaLzEG+Xib6IzPtzP5gv6mblp6Tb9wLzTZNnpw7IyRUvN1XbTU/S/+KCvL + 6urperEi9Gi0+Ug+eVHN8i/yti6mzQnemzJV/RYvq9lAA+6B8SCY37NS4eFAxK5qQu/ezs7Bjm2t + 0/i8ymZPsjJbTqnlL/k+vm7bYsls+tEpprWYvoawzvHB5WK8yN79/ots9fubMW/vYpAs0miRrdvq + q1VJUBVfagI0CQv31fMK8M3njSe/9OltBJjeCkSYXiOZof95MkxtYpqECLMU+hG/EsofzYqa/sYg + 6CtDMxpJSUiO66plCONZdg2UHxCE8Ium+AGg3N/Z2aHvZkWzKrPrFzIJM1GBv4Rgkyaoswv6kLiS + uBc/iZ/yplEsXuXZ7LvEJvmXNBMEaEqkbxTMIlvSqzPiXBKJNXSBdrp7//MCiAOjbwjiDiASyM0S + KYKFLq0UEdBpPe4qrTpfVU1BY0eDTFQ+fVwsqPs32QV9eLk7vjfe+f1FX+xu74HC/PXLdVm+rEjH + 4NXj8goTAMwWeZsxGOodzN6sMhofQ6dX8Qn9gQbedNJr2ar4SdLnNGX0NbVFixDdu5f3CEBD80qM + QsAtT6+ZaV/bLwgD4WxiEqKR8PSbgjuWcRi9t7P7aH9nvLu3e38PCpiQbWhk1OxFlbIxTQ0bp22V + Sj9jYGtm9Ab4u/cY/r39vYNPww6OSdgWxKFThZpW5ymApkWTEpNmkzKXntbywo1d7e2SFh/fe/Dg + 3sG9sCto49QR23R4XiyzksZHzJEKUanRLH+U0ixSv9UEiiiffZ4v85oQxbzsCfkBFNwL1Vyvl0tS + R27q+vwCaDS0Y+rumgbcfLeq3zJTkIk4L4jHfvFHV+ajM5iP6cGDe+f37326vX9v7972/nSysz3Z + md3f3juY3fv03r0suzdlpUY26rJAt4QAZh94vV6TjJGRmX30S37J/wNl7jZLfwkAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Mar 2022 18:51:52 GMT + ETag: + - '"8d00f5d8-0000-0100-0000-622258d40000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 1f583532-24ad-4fc6-8e79-e4695ffba2ba + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 23883e21-27e1-4cad-b5a6-46d21c68013a + x-ms-routing-request-id: + - WESTCENTRALUS:20220304T185152Z:1f583532-24ad-4fc6-8e79-e4695ffba2ba + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-azure-mgmt-extendedlocation/1.0.0 Python/3.8.10 (Linux-5.13.0-30-generic-x86_64-with-glibc2.29) + x-ms-client-request-id: + - 4b9770f6-9bec-11ec-aa7e-896a3a68e0a2 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/chachan-eastus-rg/providers/Microsoft.ExtendedLocation/customLocations/cl-ipp/enabledResourceTypes + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR5dZ + uc4/evS9X/xRMfvo0Ud3m/WkmdbFqi2qZXM3u79zsDfZfbh9kH2ab+9Ppve3D85ns+2D/Pzew9l5 + Ppnee3i3zptqXU/zi7par5q703lG/1tu51nTrpvt+uLuqq4ui1leN3cXxbSumuq8Hefv2nw5y2dl + Nc3Q193pummrhfmTwJTbxWp1N19mkzKfmT7a61Xe3N2d3T/f23vw8OH9nf2d+5PpLLu3s7+f79/P + 7mefTqYHk73Jzt7O7mznwV4+3Xl4sPPpw/3p3vledn6we+/g0/yj0UfLbEHD/ugbgESjW+V1W+TN + R49+8UfTksaR16cYXkMDOftQqn5+M1W/sFT9vdaTvF7mLdFoWi2X+bTNZyeCEX2iILK3jYK5AcZJ + tTwvLtY1z8hdnjEMiSDx3GzTJzR++lc+f0NzQ4N1c5zVRM82a/L6spgSeUYf8fR9kbcZPmeuy1bF + T1L/9Dq9urezt7u982B7Z3d7VeeXRX5F7xhCKPhV1bQX9NnZsmmzpYClP7nJSx3OC5rcZpVN0d4N + 7PgH6zo/rqdP0fcvGcX63qXudz2A2mfzi8pFtswu8lnxs9HrzsHPSa+b6fyz3PsApcEXxLltXZUl + veA1+OAeB6j8s9njZgp/Mz1//5eIWAVNWP2Qdn2u6lS1q/mzMWr1lXYIjIBAc02qYsGAocvqPCMF + 8uSaYJPmoP8tf08n3dNqQW/YNgBB7b4iaXcfH7f0EdFib3vnHv3vze7DRzv0v53xg/v7u/f2fopa + lqSJvqhmxXkBKNScuqH/9XsKG4bd+d/d2Ocv+SXf/yX/D2EyDij5BgAA + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Fri, 04 Mar 2022 18:52:53 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + X-Ms-Request-Id: + - be6a2eb4-51d2-4eb5-b0ae-3621ec32d2cd + x-ms-correlation-request-id: + - 080346fd-0638-4ecc-bdce-5b1790720b1f + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-routing-request-id: + - WESTCENTRALUS:20220304T185254Z:080346fd-0638-4ecc-bdce-5b1790720b1f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-30-generic-x86_64-with-glibc2.29) + x-ms-client-request-id: + - 4caaf48e-9bec-11ec-aa7e-896a3a68e0a2 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/chachan-eastus-rg/providers/Microsoft.Kubernetes/connectedClusters/chachan-aks-eastus/providers/Microsoft.KubernetesConfiguration/extensions/cl-ipp-ext + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquTudZ/S/5XaeNe262a4v7q7q6rKY5XVz94tiWldNdd6Of6/1JK+XeZvTC9VymU/bfHZS + rpsWzeh9+t9yO3vbKJgbYJxUy/PiYl1nQPtu/q7Nlw39RpDK7WK12qZPPhp9tMwWOY0x+Ky9XuGz + 9wFKbxE2q7xui7z56NEv/sh+9UaALSywrJ7OsjZr8vqymFLj0UfZuq2+Wl3U2Sz/olhW9U/SkOjN + jx619ToffVTnJQ04f1NnBX320es2m5Q5vXZpmn20O6b/Dh483N3Z2aEvmilhAiSmQjz8qkBe0HCb + VTalrz8iRD76Jb+EEb8sAKlYXhDwFt+9Xk+neT7LZwSuWDZtVpbmqzP5k7+iaXLkeJ23LYHg4Tva + nRAK1eJ5NeU249cy7OPptFovWwLXZNuEyPakqtqmrbMV0fAjQiqA/LKuWuYGrwtqQ3gQGxAJH33v + +0TFt81x0xQXy3x2NsuXbdFef/RouS5LtLwmOiyeEtnpzY+mdU5DmT3R76kz84FMVvDhMZDc29nb + 2965R/97s3vw6P79Rzv3x/f2dvfuHex9srPziKleElN+Uc2K8wKQDJTwUx++/80tO6GREL/r0H6x + 4dPXPDgzdsJkVRfLabHKyjOI72R3J59N98+3P907n5K83su2J3vT8+3797PzfRLhST67/9Ev+SX/ + D8bODmrtAwAA + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Mar 2022 18:52:55 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + api-supported-versions: + - 2020-07-01-Preview, 2021-05-01-preview, 2021-09-01, 2022-03-01 + x-ms-correlation-request-id: + - c62cb407-75eb-44fd-baa5-dc965dfa043c + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - c62cb407-75eb-44fd-baa5-dc965dfa043c + x-ms-routing-request-id: + - WESTCENTRALUS:20220304T185255Z:c62cb407-75eb-44fd-baa5-dc965dfa043c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.8.10 (Linux-5.13.0-30-generic-x86_64-with-glibc2.29) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python + accept-language: + - en-US + x-ms-client-request-id: + - c2bbb3a6-9bec-11ec-aa7e-896a3a68e0a2 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/chachan-eastus-rg/providers/Microsoft.Authorization/roleAssignments + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR5dZ + uc4/evS9X/zRqq5Wed0WefPRo1/8UV2V+dP8vFgWbVEtz2YfPfrobrOeNNO6WOGT5m52f+dgb7L7 + cPsg+zTf3p9M728fnM9m2wf5+b2Hs/N8Mr338C4BvSxmed3c/aKY1lVTnbfj43U7r+riBxng3A07 + au5O9vYfHhxk0+1Pdw92tvf3sp3tbHJwsL23c/7g3sHebLa3P/1oRNgWy2mxykpGbbK7k8+m++fb + n+6dTwmXe9n2ZG96vn3/fna+T+hN8tl9/6U31ysa9Eev8/qymOYvzcfUpJkSFeirrzPYOm+qdT3N + L+pqvWruTucZ/W+5nWdNu2626wsCP63zrM1nXy6pi72dvb3tnXv0vze7B492Hz66fzB+8Cn18+DB + T1HT9Wp226YK9ck1NaXBPji4t7Ozfb6zS6R4MNslJD+dbj94ON19sDvbyfYP7tErCv32r/yS0UcF + SH33Z4Ewt2ST46YpLpaLfNlSv/d27p/fJ5zvH2QPqN8HhMHOQb79YG9nf3rw6U423f2UhtnKRN8S + Kr2wzBZ44Vbgf8no/zVSc+/h7r37uzszEpjz/e39fH8PHdBvezsEcGfn/v18QqOzAsCo/f9AavZ2 + Hu3sjB/ufrp/7yGLgvL1bZoq1NuLgIV++1f+XyY159lsuruzd759b484ZH8y+5SU6/SAGGD3PqFE + HHPvnIb5daXmVuB/yfd/yf8Dc7yH4XcGAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Mar 2022 18:56:13 GMT + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 5e6a31c6-8873-49ec-b334-d641ae1e090d + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 7163ac36-3589-4c35-ab91-4c6d17b8ec14 + x-ms-routing-request-id: + - WESTCENTRALUS:20220304T185614Z:5e6a31c6-8873-49ec-b334-d641ae1e090d + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "extendedLocation": {"type": "CustomLocation", "name": + "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/chachan-eastus-rg/providers/Microsoft.ExtendedLocation/customLocations/cl-ipp"}, + "tags": {}, "properties": {"infrastructure": "onpremises", "k8sRaw": {"kind": + "DataController", "spec": {"credentials": {"dockerRegistry": "arc-private-registry", + "domainServiceAccount": "domain-service-account-secret", "serviceAccount": "sa-arc-controller"}, + "security": {"allowDumps": true, "allowNodeMetricsCollection": true, "allowPodMetricsCollection": + true}, "services": [{"name": "controller", "port": 30080, "serviceType": "LoadBalancer"}], + "settings": {"ElasticSearch": {"vm.max_map_count": "-1"}, "azure": {"autoUploadMetrics": + "true", "autoUploadLogs": "true", "subscription": "a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39", + "resourceGroup": "chachan-eastus-rg", "location": "eastus", "connectionMode": + "direct"}, "controller": {"logs.rotation.days": "7", "logs.rotation.size": "5000", + "displayName": "dc-ipp"}}, "storage": {"data": {"accessMode": "ReadWriteOnce", + "className": "managed-premium", "size": "15Gi"}, "logs": {"accessMode": "ReadWriteOnce", + "className": "managed-premium", "size": "10Gi"}}, "infrastructure": "onpremises", + "docker": {"registry": "mcr.microsoft.com", "repository": "arcdata", "imageTag": + "v1.3.0_2022-01-27", "imagePullPolicy": "Always"}}, "metadata": {"namespace": + "arc", "name": "datacontroller"}, "apiVersion": "arcdata.microsoft.com/v3", + "status": {"azure": {"uploadStatus": {"metrics": {"lastUploadTime": "2022-03-04T18:01:40.12152Z", + "message": "No Azure resource to upload."}, "logs": {"lastUploadTime": "2022-03-04T18:13:40.134286Z", + "message": "Automatic upload of logs is disabled."}, "usage": {"lastUploadTime": + "2022-03-04T18:21:22.377383Z", "message": "Data controller upload final retry + status code: "}}}, "observedGeneration": 2, "state": "Ready", "runningVersion": + "v1.3.0_2022-01-27"}}, "logAnalyticsWorkspaceConfig": {"workspaceId": "c873f536-4323-4cb0-b0d5-28d3633aa3c1"}, + "provisioningState": "Succeeded"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2085' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-30-generic-x86_64-with-glibc2.29) + x-ms-client-request-id: + - c3d362ee-9bec-11ec-aa7e-896a3a68e0a2 + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/chachan-eastus-rg/providers/Microsoft.AzureArcData//dataControllers/dc-ipp + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/chachan-eastus-rg/providers/Microsoft.AzureArcData/dataControllers/dc-ipp","name":"dc-ipp","type":"microsoft.azurearcdata/datacontrollers","location":"eastus","extendedLocation":{"name":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/chachan-eastus-rg/providers/Microsoft.ExtendedLocation/customLocations/cl-ipp","type":"CustomLocation"},"tags":{},"systemData":{"createdBy":"chachan@microsoft.com","createdByType":"User","createdAt":"2022-03-03T19:09:20.3895584Z","lastModifiedBy":"319f651f-7ddb-4fc6-9857-7aef9250bd05","lastModifiedByType":"Application","lastModifiedAt":"2022-03-04T18:55:24.2177328Z"},"properties":{"infrastructure":"onpremises","onPremiseProperty":null,"k8sRaw":{"kind":"DataController","spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"LoadBalancer"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"autoUploadMetrics":"true","autoUploadLogs":"true","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39","resourceGroup":"chachan-eastus-rg","location":"eastus","connectionMode":"direct"},"controller":{"logs.rotation.days":"7","logs.rotation.size":"5000","displayName":"dc-ipp"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"managed-premium","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"managed-premium","size":"10Gi"}},"infrastructure":"onpremises","docker":{"registry":"mcr.microsoft.com","repository":"arcdata","imageTag":"v1.3.0_2022-01-27","imagePullPolicy":"Always"}},"metadata":{"namespace":"arc","name":"datacontroller"},"apiVersion":"arcdata.microsoft.com/v3","status":{"azure":{"uploadStatus":{"metrics":{"lastUploadTime":"2022-03-04T18:01:40.12152Z","message":"No + Azure resource to upload."},"logs":{"lastUploadTime":"2022-03-04T18:13:40.134286Z","message":"Automatic + upload of logs is disabled."},"usage":{"lastUploadTime":"2022-03-04T18:21:22.377383Z","message":"Data + controller upload final retry status code: "}}},"observedGeneration":2,"state":"Ready","runningVersion":"v1.3.0_2022-01-27"}},"uploadWatermark":null,"lastUploadedDate":null,"basicLoginInformation":null,"metricsDashboardCredential":null,"logsDashboardCredential":null,"logAnalyticsWorkspaceConfig":{"workspaceId":"c873f536-4323-4cb0-b0d5-28d3633aa3c1","primaryKey":null},"uploadServicePrincipal":null,"provisioningState":"Accepted","clusterId":null,"extensionId":null}}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS/operationStatuses/69302db8-b806-410d-8354-ac571b50b1bd*7BFEBC91DE25B79DF41D8500FD3188B17611F6BECC931EB09D498BE30C98F56B?api-version=2021-11-01 + Cache-Control: + - no-cache + Content-Length: + - '2680' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Mar 2022 18:56:16 GMT + ETag: + - '"8e009830-0000-0100-0000-622260d00000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=09db98473624bab61e3928788b9daa48a41fef3197a0ebdcdf7bd4c4ad6e75d3;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + - ARRAffinitySameSite=09db98473624bab61e3928788b9daa48a41fef3197a0ebdcdf7bd4c4ad6e75d3;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - 8a36ddbf-100b-45bb-b71a-6b644d7cc7d4 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-ms-request-id: + - 69302db8-b806-410d-8354-ac571b50b1bd + x-ms-routing-request-id: + - WESTCENTRALUS:20220304T185616Z:8a36ddbf-100b-45bb-b71a-6b644d7cc7d4 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-30-generic-x86_64-with-glibc2.29) + x-ms-client-request-id: + - c3d362ee-9bec-11ec-aa7e-896a3a68e0a2 + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/EASTUS/operationStatuses/69302db8-b806-410d-8354-ac571b50b1bd*7BFEBC91DE25B79DF41D8500FD3188B17611F6BECC931EB09D498BE30C98F56B + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3V3V1WUxy+vm7hfFtK6a6rwdH/9gXefH9fRp1mZ3y2qatUW1bO6eHr9+89Xru9Uqr/mT123W + rpu8ufvpw3s7e7PJwfbkYOfT7f3dndn2wb37+9vZ9P6D3cn9ncnuZPatB0+enT45ebj79HTv/pMH + D58+2999enB/Z+fZ03u7BwdPdh98urv77NMnpycnD+/tnj7Zefh0/+HBk9N7OycPD57d//TJR6OP + ltkiJ5x/WN3VeVOt62l+xoRq1pNmWhcrjLy5m93fOdib7D7cPsg+zbf3J9P72wfnM0IkP7/3cHae + T6b3Ht41AD6vq/WquTudZ/S/5XaeNUS37friZuLP6J+TatnWVVmi2Wy6XaxWhFvDtCe8Xq+n0zyf + 5TP5sG7fFEykvZ29ve2de9s7+292Dx7d//TR7v3xg08fPjjY2/8papovZ0MN93bG9/cP9h58eh8N + CUWa77bIqbPluix/yf8DaLxv6DkCAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Mar 2022 18:56:45 GMT + ETag: + - '"f7000dcd-0000-0100-0000-622260d40000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 311d1a38-5ea7-4490-ae4f-38a5c6364836 + x-ms-ratelimit-remaining-tenant-reads: + - '11999' + x-ms-request-id: + - 2bd569a7-d190-460b-a3b3-4ad491efc71d + x-ms-routing-request-id: + - WESTCENTRALUS:20220304T185646Z:311d1a38-5ea7-4490-ae4f-38a5c6364836 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-30-generic-x86_64-with-glibc2.29) + x-ms-client-request-id: + - c3d362ee-9bec-11ec-aa7e-896a3a68e0a2 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/chachan-eastus-rg/providers/Microsoft.AzureArcData//dataControllers/dc-ipp + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquTudZ/S/5XaeNe262a4v7q7q6rKY5XVz94tiWldNdd6Oj3+wrvPjevo0a7O7M/rnpFq2 + dVWWaDabbher1Uejj5bZIies7N/t9Qp/LyyYDGCyegoIDGbqwFD7sppmGAm9I+jQZ/m7Nl/O8tlz + +90vNv3c/WGN/rSDw93pummrhfmTwJThiE+C7z/6JfRFdtEQ6vRbc920+QKEpL8/mhI92nz25Jre + Ikzof8vf09FrWi0IqG3zRqB/1eS1+/i4pY/2dvb2tnfu0f/e7D58tPPw0d7O+N7Bw/v3D/Z/ipqW + NLwvqllxXgAMtb+3+/D80/u759sPZrPJ9v759NPthwf3H2w/yPLzh3v3dyaznfu997T749WqLHRk + YZMQlf03uweP7t9/tLc/3tt98ODe3sFPgRJE4FVet0UOenxULM9rglCvpy2xBr1eLVd1viga+npE + f7yUP17KS4T6cl2Wo4/eHjSvsisAeFssIQmgp+NJerVZ5VN8T1Sa5cu2yErub1ZN3+b1q/yioE4J + 3EfEjdururgkUm7X5uMRtVtkxfJ1Xl8W0/x4Oq3WSwxOPt6mCcDn25l8QX9TNy29pl+4F5psGz04 + PgcJqPm6LjCaX/xRVpbV1dP1YkXoERnykXzyoprlX+RtXUybE7w3ZXL7LV5Ws4EG3APjQTC/Z8XF + w4FmoaoJvXs7Owc7trXO7/Mqmz3Jymw5pZa/5Pv4um2LJfPvR6eY72L6GlI8xweXi/Eie/f7L7LV + 72/GvL2LQbKso0W2bquvViVBVXypCdAkLNxXzyvAN583nmDTp7eRbHorkG16jYSJ/ucJN7WJqRgi + zFLoR4xMKH80K2r6G4OgrwzNaCQlITmuq5YhjGfZNVB+QBDCL5riB4Byf2dnh76bFc2qzK5fyCTM + RDf+EoJNKqLOLuhD4kriXvwkfsqbRrF4lWez7xKb5F/STBCgKZG+UTCLbEmvzohzSTzWUBLa6e79 + zwsgDoy+IYg7gEggN4uqCBa6tFJEQKf1uKvN6nxVNQWNHQ0ysQX0cbGg7t9kF/Th5e743njn9xdF + sru9Bwrz1y9J9l9WpHzw6nF5hQkAZou8zRgM9Q5mb1YZjY+h06v4hP5AA2866bVsVfwkKXqaMvqa + 2qJFiO7dy3sEoKF5JUYh4Jan18y0r+0XhIFwNjEJ0Uh4+k3BHcs4jELc2X20vzPe3du9vwfNTMg2 + NDJq9qJK2cqmho3TtkqlnzGwNTN6A/zdewz/3v7ewadhB8ckbAvi0KlCTavzFEDTokmJSbNJmUtP + a3nhxq72dh/t7Y3vkWo/uBd2BW2cOmKbDs+LZVbS+Ig5UiEqNZrlj1KaReq3mkAR5bPP82VeE6KY + lz0hP4CCe6Ga6/VySerITV2fXwBN+vwuvVsvsvqtsRxuTPmM0CTA8vkka4opaaFiebY8r+gV6V++ + 1Ol9mjXzSZXVsxNrVEwLEHLz18c09muifvPdqn7LHEr26rwghv/FH12Zj85gy6YHD+6d37/36fb+ + vb172/vTyc72ZGd2f3vvYHbv03v3suzedJfoQFaLBnb9e+UkDejFjlmt1su6WE6LlUOCLO9lAZoR + 9cC6NPaPXq9JQRC2MwI4LcltyWvgIC+w74UXzEe/5Jf8P2BiNAx5CgAA + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 04 Mar 2022 18:56:45 GMT + ETag: + - '"8e00c630-0000-0100-0000-622260d40000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - f93158bc-3925-465f-89e6-0d4453b24f60 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 898141a3-15e4-4543-88f2-1ac9fe9b1d2b + x-ms-routing-request-id: + - WESTCENTRALUS:20220304T185646Z:f93158bc-3925-465f-89e6-0d4453b24f60 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_update_maintenance_window[test].yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_update_maintenance_window[test].yaml new file mode 100644 index 00000000000..00fb20c82b0 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_update_maintenance_window[test].yaml @@ -0,0 +1,479 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"2224","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":1,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3461"}} + + ' + headers: + Audit-Id: + - ffb31c2f-9155-4f5f-9963-faad521598e6 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:33 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: '{"spec": {"settings": {"maintenance": {"start": "2022-01-01T23:00", "duration": + "3:00", "recurrence": "Saturday", "timeZone": "US/Pacific"}}}}' + headers: + Accept: + - application/json + Content-Type: + - application/merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers/datacontroller-sachaga-8d71c8658 + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:33Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"3462","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":1,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Ready"}} + + ' + headers: + Audit-Id: + - 6b99a5e0-bb35-4ea1-809b-29bacf881c89 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:34 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:33Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"3462","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":1,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3462"}} + + ' + headers: + Audit-Id: + - 60159dea-c80d-4925-a441-2b351c674812 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:34 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:33Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{},"f:state":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:58:34Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"3494","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":2,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Updating"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3511"}} + + ' + headers: + Audit-Id: + - a3c419d9-8953-4ecc-b804-14cfaad4fe69 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:33Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{},"f:state":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:58:34Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"3494","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":2,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Updating"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3547"}} + + ' + headers: + Audit-Id: + - 5ae36870-e2dc-4504-9a85-3855f725cc9f + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:44 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:33Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{},"f:state":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:58:34Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"3494","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":2,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Updating"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3553"}} + + ' + headers: + Audit-Id: + - 139f76c5-8a35-4a45-9c49-f5e79f4fee05 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:33Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{},"f:state":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:58:34Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"3494","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":2,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Updating"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3559"}} + + ' + headers: + Audit-Id: + - ee387579-701d-4600-b090-d78c857259c9 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:54 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:33Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{},"f:state":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:58:34Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"3494","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":2,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Updating"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3565"}} + + ' + headers: + Audit-Id: + - 25a45976-6936-4231-a5a5-2480e2b33d8c + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:59 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:33Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{},"f:state":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:58:34Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"3494","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":2,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Updating"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3571"}} + + ' + headers: + Audit-Id: + - 505d581e-96b5-4965-8de7-51b0561ad3d9 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:59:04 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:33Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{},"f:state":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:58:34Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"3494","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":2,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Updating"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3577"}} + + ' + headers: + Audit-Id: + - 6900b825-a5b5-4859-aa46-97b3805d2c96 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:59:09 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:33Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{},"f:state":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:58:34Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"3494","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":2,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Updating"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3583"}} + + ' + headers: + Audit-Id: + - c98447b4-45af-4cf8-88d8-d58908a25b76 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:59:14 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:33Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:58:34Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:59:14Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"3586","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:59:14.61411Z","observedGeneration":2,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"UpdatingDependentResources"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3594"}} + + ' + headers: + Audit-Id: + - e6f0ebe7-5aa8-4388-9b41-5bb1423f99e7 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:59:19 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:33Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:58:34Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:59:14Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"3586","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:59:14.61411Z","observedGeneration":2,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"UpdatingDependentResources"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3602"}} + + ' + headers: + Audit-Id: + - 5051d307-f732-454b-be50-6e83b9c6fa74 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:59:24 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:33Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:58:34Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:59:26Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"3606","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:59:26.913633Z","observedGeneration":2,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3610"}} + + ' + headers: + Audit-Id: + - 6696243b-73f0-4cf1-9e3f-d135fe5b8b6b + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:59:29 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_upgrade_fails_when_pg_present[test].yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_upgrade_fails_when_pg_present[test].yaml new file mode 100644 index 00000000000..eae7fceb051 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDC.test_upgrade_fails_when_pg_present[test].yaml @@ -0,0 +1,625 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3437"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"c6821ca6-1185-4641-ae1b-f85637f217bb","resourceVersion":"1451","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"domainControllers":{"type":"object","properties":{"primaryDomainController":{"type":"object","properties":{"hostname":{"type":"string"}}},"secondaryDomainControllers":{"type":"array","items":{"type":"object","properties":{"hostname":{"type":"string"}}}}}},"domainServiceAccountSecret":{"type":"string"},"netbiosDomainName":{"type":"string"},"ouDistinguishedName":{"type":"string"},"realm":{"type":"string"},"serviceAccountProvisioning":{"type":"string"}}},"dns":{"type":"object","properties":{"domainName":{"type":"string"},"nameserverIPAddresses":{"type":"array","items":{"type":"string"}},"preferK8sDnsForPtrLookups":{"type":"boolean"},"replicas":{"type":"integer"}}},"fileOverrideConfigMap":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"5939407b-7d04-48d0-b9f4-3b77e01487fe","resourceVersion":"1458","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"ac3d34ba-f540-495c-8cd1-0df8f5a40f11","resourceVersion":"1460","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"73e9d919-a800-4dd1-a657-29e75c66c18e","resourceVersion":"1461","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"a0b153e7-75d5-45e2-b193-1a302dbd06d2","resourceVersion":"1466","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"a64fc9fd-1e3a-4348-aecc-518f572df060","resourceVersion":"1474","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"logs":{"type":"object","properties":{"database":{"type":"object","properties":{"influxdb":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}},"opensearch":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"userInterface":{"type":"object","properties":{"grafana":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"dnsName":{"type":"string"},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}},"opensearchDashboards":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"dnsName":{"type":"string"},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}}}}}},"metrics":{"type":"object","properties":{"database":{"type":"object","properties":{"influxdb":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}},"opensearch":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"userInterface":{"type":"object","properties":{"grafana":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"dnsName":{"type":"string"},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}},"opensearchDashboards":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"dnsName":{"type":"string"},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}}}}}},"security":{"type":"object","properties":{"allowDumps":{"type":"boolean","default":true},"allowNodeMetricsCollection":{"type":"boolean","default":true},"allowPodMetricsCollection":{"type":"boolean","default":true},"grafana":{"type":"object","properties":{"AdminLoginSecret":{"type":"string"},"ServiceCertificateSecret":{"type":"string"}}},"opensearchDashboards":{"type":"object","properties":{"AdminLoginSecret":{"type":"string"},"ServiceCertificateSecret":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"logsDbReadyReplicas":{"type":"string"},"logsUiReadyReplicas":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"metricsDbReadyReplicas":{"type":"string"},"metricsUiReadyReplicas":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v3"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"06e06797-c0e7-4b5b-b0ed-437cb6ce21ee","resourceVersion":"1479","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"816a25c9-dd56-4b6d-9340-a320537d7c93","resourceVersion":"1478","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the PostgreSQL recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSQL instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the PostgreSQL recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSQL instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta6","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"initdbDebugFlag":{"description":"If + true, sets the debug flag on initdb.","type":"boolean"},"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the PostgreSQL recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSQL instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta6"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"623255f5-719c-4829-b8f2-a7ec82d5a015","resourceVersion":"1480","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"92286c1d-3b35-442d-890f-73aa9b689ddb","resourceVersion":"1507","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"81a117a6-32ef-45ba-884d-f00150db6a26","resourceVersion":"1509","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"f67438e7-b634-4ee7-937e-129ef2e87f26","resourceVersion":"1506","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v11","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v12","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"fileOverrideConfigMap":{"type":"string"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v13","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"fileOverrideConfigMap":{"type":"string"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"},"protectorSecret":{"type":"string"}}}}},"serverConfigurations":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"integer"}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v13"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"8878dbf6-963f-4d5b-baa3-d2b6854ae17c","resourceVersion":"1510","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ecf8bcd5-f99a-4e98-ab93-b0d6472c9fc2","resourceVersion":"1512","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Audit-Id: + - d225ffa0-5587-4135-8ca5-4f5a95002298 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:32 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"2224","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":1,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3437"}} + + ' + headers: + Audit-Id: + - 38e8b6de-1160-4c80-8330-93532b8fe3f0 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:32 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta6/namespaces/test/postgresqls/pg1 + response: + body: + string: '{"kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", + "message": "postgresqls.arcdata.microsoft.com \"pg1\" not found", "reason": + "NotFound", "details": {"name": "pg1", "group": "arcdata.microsoft.com", "kind": + "postgresqls"}, "code": 404}' + headers: + Audit-Id: + - 662c3578-9c0a-428c-95b5-e2fa72ac2dcf + Cache-Control: + - no-cache, private + Content-Length: + - '242' + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:32 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"2224","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":1,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3437"}} + + ' + headers: + Audit-Id: + - c0fb8a07-ff03-42d1-8486-bc5a1b0ff55a + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:32 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/pg1-login-secret + response: + body: + string: '{"kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", + "message": "secrets \"pg1-login-secret\" not found", "reason": "NotFound", + "details": {"name": "pg1-login-secret", "kind": "secrets"}, "code": 404}' + headers: + Audit-Id: + - a9c5fcfe-577f-4ac2-b494-7b8bfe6469fd + Cache-Control: + - no-cache, private + Content-Length: + - '206' + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:32 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "pg1-login-secret"}, + "type": "Opaque", "data": {"username": "username", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind": "Secret", "apiVersion": "v1", "metadata": {"name": "pg1-login-secret", + "namespace": "test", "uid": "2c2e749a-be3a-46a8-bb68-6ceecfa0a074", "resourceVersion": + "3438", "creationTimestamp": "2024-03-21T19:58:32Z", "managedFields": [{"manager": + "OpenAPI-Generator", "operation": "Update", "apiVersion": "v1", "time": "2024-03-21T19:58:32Z", + "fieldsType": "FieldsV1", "fieldsV1": {"f:data": {".": {}, "f:password": {}, + "f:username": {}}, "f:type": {}}}]}, "data": {"password": "Placeholder001", + "username": "username"}, "type": "Opaque"}' + headers: + Audit-Id: + - 4045769b-2dc3-4517-9f83-7918d2e9e431 + Cache-Control: + - no-cache, private + Content-Length: + - '506' + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:32 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "arcdata.microsoft.com/v1beta6", "kind": "PostgreSql", "metadata": + {"name": "pg1", "namespace": "test"}, "spec": {"scheduling": {"default": {"resources": + {"limits": {}, "requests": {"memory": "256Mi"}}}}, "security": {"adminLoginSecret": + "pg1-login-secret"}, "services": {"primary": {"type": "NodePort"}}, "storage": + {"backups": {"volumes": [{"size": "5Gi"}]}, "data": {"volumes": [{"size": "5Gi"}]}, + "logs": {"volumes": [{"size": "5Gi"}]}}}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta6/namespaces/test/postgresqls + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1beta6","kind":"PostgreSql","metadata":{"creationTimestamp":"2024-03-21T19:58:33Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1beta6","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:scheduling":{".":{},"f:default":{".":{},"f:resources":{".":{},"f:limits":{},"f:requests":{".":{},"f:memory":{}}}}},"f:security":{".":{},"f:adminLoginSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}}},"f:storage":{".":{},"f:backups":{".":{},"f:volumes":{}},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:32Z"}],"name":"pg1","namespace":"test","resourceVersion":"3439","uid":"48c3b26e-5f40-45ef-b2f4-551bec7d03f3"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-sachaga-8d71c8658","namespace":"test"},"scheduling":{"default":{"resources":{"requests":{"memory":"256Mi"}}}},"security":{"adminLoginSecret":"pg1-login-secret"},"services":{"primary":{"type":"NodePort"}},"settings":{"log_min_messages":"WARNING"},"storage":{"backups":{"volumes":[{"size":"5Gi"},{"size":"5Gi"}]},"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}}}} + + ' + headers: + Audit-Id: + - 02a16f96-23f8-4aa2-b15a-cb1b1af2d233 + Cache-Control: + - no-cache, private + Content-Length: + - '1515' + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:33 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta6/namespaces/test/postgresqls + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1beta6","items":[{"apiVersion":"arcdata.microsoft.com/v1beta6","kind":"PostgreSql","metadata":{"creationTimestamp":"2024-03-21T19:58:33Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1beta6","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:scheduling":{".":{},"f:default":{".":{},"f:resources":{".":{},"f:limits":{},"f:requests":{".":{},"f:memory":{}}}}},"f:security":{".":{},"f:adminLoginSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}}},"f:storage":{".":{},"f:backups":{".":{},"f:volumes":{}},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:32Z"}],"name":"pg1","namespace":"test","resourceVersion":"3439","uid":"48c3b26e-5f40-45ef-b2f4-551bec7d03f3"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-sachaga-8d71c8658","namespace":"test"},"scheduling":{"default":{"resources":{"requests":{"memory":"256Mi"}}}},"security":{"adminLoginSecret":"pg1-login-secret"},"services":{"primary":{"type":"NodePort"}},"settings":{"log_min_messages":"WARNING"},"storage":{"backups":{"volumes":[{"size":"5Gi"},{"size":"5Gi"}]},"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}}}}],"kind":"PostgreSqlList","metadata":{"continue":"","resourceVersion":"3440"}} + + ' + headers: + Audit-Id: + - 2eefeadc-0a5b-424c-8803-b2d2ef3d616d + Cache-Control: + - no-cache, private + Content-Length: + - '1648' + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:33 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3441"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"c6821ca6-1185-4641-ae1b-f85637f217bb","resourceVersion":"1451","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"domainControllers":{"type":"object","properties":{"primaryDomainController":{"type":"object","properties":{"hostname":{"type":"string"}}},"secondaryDomainControllers":{"type":"array","items":{"type":"object","properties":{"hostname":{"type":"string"}}}}}},"domainServiceAccountSecret":{"type":"string"},"netbiosDomainName":{"type":"string"},"ouDistinguishedName":{"type":"string"},"realm":{"type":"string"},"serviceAccountProvisioning":{"type":"string"}}},"dns":{"type":"object","properties":{"domainName":{"type":"string"},"nameserverIPAddresses":{"type":"array","items":{"type":"string"}},"preferK8sDnsForPtrLookups":{"type":"boolean"},"replicas":{"type":"integer"}}},"fileOverrideConfigMap":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"5939407b-7d04-48d0-b9f4-3b77e01487fe","resourceVersion":"1458","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"ac3d34ba-f540-495c-8cd1-0df8f5a40f11","resourceVersion":"1460","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"73e9d919-a800-4dd1-a657-29e75c66c18e","resourceVersion":"1461","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"a0b153e7-75d5-45e2-b193-1a302dbd06d2","resourceVersion":"1466","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"a64fc9fd-1e3a-4348-aecc-518f572df060","resourceVersion":"1474","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"logs":{"type":"object","properties":{"database":{"type":"object","properties":{"influxdb":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}},"opensearch":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"userInterface":{"type":"object","properties":{"grafana":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"dnsName":{"type":"string"},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}},"opensearchDashboards":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"dnsName":{"type":"string"},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}}}}}},"metrics":{"type":"object","properties":{"database":{"type":"object","properties":{"influxdb":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}},"opensearch":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"userInterface":{"type":"object","properties":{"grafana":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"dnsName":{"type":"string"},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}},"opensearchDashboards":{"type":"object","properties":{"enable":{"type":"boolean"},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"dnsName":{"type":"string"},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}}}}}}}},"security":{"type":"object","properties":{"allowDumps":{"type":"boolean","default":true},"allowNodeMetricsCollection":{"type":"boolean","default":true},"allowPodMetricsCollection":{"type":"boolean","default":true},"grafana":{"type":"object","properties":{"AdminLoginSecret":{"type":"string"},"ServiceCertificateSecret":{"type":"string"}}},"opensearchDashboards":{"type":"object","properties":{"AdminLoginSecret":{"type":"string"},"ServiceCertificateSecret":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"logsDbReadyReplicas":{"type":"string"},"logsUiReadyReplicas":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"metricsDbReadyReplicas":{"type":"string"},"metricsUiReadyReplicas":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v3"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"06e06797-c0e7-4b5b-b0ed-437cb6ce21ee","resourceVersion":"1479","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"816a25c9-dd56-4b6d-9340-a320537d7c93","resourceVersion":"1478","generation":1,"creationTimestamp":"2024-03-21T19:37:38Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the PostgreSQL recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSQL instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the PostgreSQL recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSQL instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta6","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"initdbDebugFlag":{"description":"If + true, sets the debug flag on initdb.","type":"boolean"},"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the PostgreSQL recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSQL instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:38Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta6"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"623255f5-719c-4829-b8f2-a7ec82d5a015","resourceVersion":"1480","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"92286c1d-3b35-442d-890f-73aa9b689ddb","resourceVersion":"1507","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"81a117a6-32ef-45ba-884d-f00150db6a26","resourceVersion":"1509","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"f67438e7-b634-4ee7-937e-129ef2e87f26","resourceVersion":"1506","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v11","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v12","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"fileOverrideConfigMap":{"type":"string"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v13","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"fileOverrideConfigMap":{"type":"string"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"},"protectorSecret":{"type":"string"}}}}},"serverConfigurations":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"integer"}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v13"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"8878dbf6-963f-4d5b-baa3-d2b6854ae17c","resourceVersion":"1510","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ecf8bcd5-f99a-4e98-ab93-b0d6472c9fc2","resourceVersion":"1512","generation":1,"creationTimestamp":"2024-03-21T19:37:39Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2024-03-21T19:37:39Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2024-03-21T19:37:39Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Audit-Id: + - aaf345a6-0153-47b8-9e29-6c92675aea7d + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:33 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta6/namespaces/test/postgresqls/pg1 + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1beta6","kind":"PostgreSql","metadata":{"creationTimestamp":"2024-03-21T19:58:33Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1beta6","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:scheduling":{".":{},"f:default":{".":{},"f:resources":{".":{},"f:limits":{},"f:requests":{".":{},"f:memory":{}}}}},"f:security":{".":{},"f:adminLoginSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}}},"f:storage":{".":{},"f:backups":{".":{},"f:volumes":{}},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:58:32Z"},{"apiVersion":"arcdata.microsoft.com/v1beta6","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:58:33Z"}],"name":"pg1","namespace":"test","resourceVersion":"3442","uid":"48c3b26e-5f40-45ef-b2f4-551bec7d03f3"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-sachaga-8d71c8658","namespace":"test"},"scheduling":{"default":{"resources":{"requests":{"memory":"256Mi"}}}},"security":{"adminLoginSecret":"pg1-login-secret"},"services":{"primary":{"type":"NodePort"}},"settings":{"log_min_messages":"WARNING"},"storage":{"backups":{"volumes":[{"size":"5Gi"},{"size":"5Gi"}]},"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}}},"status":{"lastUpdateTime":"2024-03-21T19:58:33.265848Z","observedGeneration":1,"state":"Creating"}} + + ' + headers: + Audit-Id: + - 7183185a-0d84-41f5-a13e-148e2ea533fd + Cache-Control: + - no-cache, private + Content-Length: + - '1874' + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:33 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2024-03-21T19:37:54Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","subresource":"status","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:resources":{".":{},"f:controller":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}},"f:controllerDb":{".":{},"f:limits":{".":{},"f:cpu":{},"f:memory":{}},"f:requests":{".":{},"f:cpu":{},"f:memory":{}}}},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2024-03-21T19:37:54Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","subresource":"status","time":"2024-03-21T19:41:53Z"}],"name":"datacontroller-sachaga-8d71c8658","namespace":"test","resourceVersion":"2224","uid":"80c9528e-0c25-407c-95e4-1676444a9b5b"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.28.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","resources":{"controller":{"limits":{"cpu":"1800m","memory":"2Gi"},"requests":{"cpu":"400m","memory":"2Gi"}},"controllerDb":{"limits":{"cpu":"800m","memory":"6Gi"},"requests":{"cpu":"200m","memory":"4Gi"}}},"security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-8d71c8658","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.28.0","lastUpdateTime":"2024-03-21T19:41:53.908357Z","observedGeneration":1,"runningVersion":"v1.28.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3451"}} + + ' + headers: + Audit-Id: + - af6c05ce-d9aa-423b-8e74-712f59c10216 + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:33 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta6/namespaces/test/postgresqls/pg1 + response: + body: + string: '{"kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Success", + "details": {"name": "pg1", "group": "arcdata.microsoft.com", "kind": "postgresqls", + "uid": "48c3b26e-5f40-45ef-b2f4-551bec7d03f3"}}' + headers: + Audit-Id: + - 76ddbf5b-4742-4ddf-8d3e-8e3a4bbaf2c1 + Cache-Control: + - no-cache, private + Content-Length: + - '192' + Content-Type: + - application/json + Date: + - Thu, 21 Mar 2024 19:58:33 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - c620aabc-ba57-40ab-a7a3-a6ce90926842 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 3bf46d6f-0b24-4e4e-bcba-ee46e1e9021c + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDataControllerARM.test_arcdata_dc_create_no_wait[azure-arc-aks-default-storage].yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDataControllerARM.test_arcdata_dc_create_no_wait[azure-arc-aks-default-storage].yaml new file mode 100644 index 00000000000..2744f16cf4d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDataControllerARM.test_arcdata_dc_create_no_wait[azure-arc-aks-default-storage].yaml @@ -0,0 +1,581 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.0.0 Python/3.9.7 (Windows-10-10.0.19044-SP0) + x-ms-client-request-id: + - 591387a1-b961-11ec-8f9f-1ebfceef0777 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.AzureArcData/dataControllers + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR5dZ + uc4/evS97/+S/wdC6kBEDAAAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Length: + - '133' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Apr 2022 06:33:51 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 45f090ee-fe26-4984-a223-de3add8bdd02 + x-ms-original-request-ids: + - 42ad8472-666c-42fe-85d8-9248eb5db17f + - eb5d5355-a7ea-4b52-9b4f-be812117e1bf + - 983618ab-53ff-41e0-be07-67bb42d4ddff + - 9c253307-bb12-4f62-b789-4bd56075f474 + - 6e693d82-5525-4518-ac3d-192db304bfc6 + - ff1ee6f2-429c-4b0f-a722-08cf6dfcbc42 + - 05f286f6-6fe1-4218-99db-43f947d28a39 + - 197653f8-f6ca-4839-88ac-e6c277e692df + - bc555814-95db-4e6c-83bd-01bac9f5f49e + - b2948cac-90f3-4e2c-b3b2-077cce58f299 + - 98c9fbe8-2148-4472-9d62-0c7e4b95d121 + - d683794e-a964-4491-a2fb-b9cc15efae6f + - 134e08ac-ddb7-4afc-9e39-dd0d32adc6c2 + - 573432e4-d73c-43e5-9ea9-b9414d2c5ffb + - b96461f9-2a18-4389-a175-3476700733a5 + - b40649d9-3673-443f-b04d-bf0213fe6783 + - d819a331-bddd-4ccb-9e31-a871c9be6aeb + - 12148f88-acf6-406f-b6a0-97abc3636964 + - 005b70b9-1fa3-4389-8b42-7a86d9c76a57 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 45f090ee-fe26-4984-a223-de3add8bdd02 + x-ms-routing-request-id: + - WESTUS:20220411T063351Z:45f090ee-fe26-4984-a223-de3add8bdd02 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.27.1 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.Kubernetes/connectedClusters + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR5dZ + uc4/evS9X/xRMfvo0Ud3m/WkmdbFqi2qZXM3u79zsDfZfbh9kH2ab+9Ppve3D85ns+2D/Pzew9l5 + Ppnee3i3zptqXU/zz+tqvWru1hfb07LYbvOmvbuqq8tiltfN3S+KaV011Xk7/r3Wk7xe5vT93Wm1 + XObTNp+dlOumRTPzJoHgTz4afbTMFoTgR5Fv2usVvllY0G8joLV5Q+3LapphXPROnjXtutnL19mK + vmizi+ajR7/4l4w+aq6p8eJp1mb090fTOs8IxJNreqPJs+XV7+n6mlYLetO2eCO4fNUwZvrxcUsf + 7e3s7W3v7G/v7r7Z+fTR7v1H9+6NP91/8PDgwac/RU1LwuSLalacFwBD7T/dn+zuzYjcn97ff7i9 + f7A/3T6YTj/d/nTvYPfg3sNJdu/hfu897f54tSoLHWTYJILKvd1H+w/HD3ce3Nvf2f+pj2j0NFXL + tmgJi1/80aoultNilZVn4Ivz8/08v7d7b3u2/+B8ez/79MH2wcPdyfb0/s6n96b3H2T3H06oxzZf + ZsuW33iwd/7w4GByvn3w6fnu9v5udr79cDebbO/NHkxnO7u7s8n+A7whiL9muh83TXGxzGfAhVhn + lddtkWNm8Ndl0dCwiuXF65Zoi3fW02mez6g5EVymu7gk7PH9mt766EQ+5AbZBQ3t5XpC5Pm98usT + QD4HpQDoi7Ozk5OL3+vk+OL0+Dr7av3yq596cnrvi9VPHazu/vTDnyxevvjp5/cWd/eevjrdP357 + v3zy5dmz9pMf/NTJJ4vJy+nsB+fNF0/Ln/h82Xx+/IP27Hr+01/eL3/Rxb0vvvrqq9+7/n1+6ur5 + 7/P07MtXv+jZ1f3s4N3q7fnrn2w+2Ztd/eQXO9f37n21u6ia9nL1k0/mXxa793/vF59/ml3Xn7wj + unz6bvbl0xcnv88n89+n/mr15vT3flM0n0+nB/nVm9/r4id3nr5++FUxf9W8+unX2dn9L99NzrL1 + 6bPVm+vvzu5/8u3vfr5oXlxOm73yfP7u3e/1+svV7/Xl8qf3vvP8+KfKl/PlxbcXb549eTf7wevv + Tu4ePDj+Ravluy9flN/9fO8X1fe/W/3k09/78vWLt9lP/eAnvlp/Ot9f3p1Ozp+Uy5OX84Pd9Xf2 + fvI79dn6zavF7/XtL/d/erXTfPF77f/E27dv6/ZFflB+/vucVD/9+ev6q72Hx7/XT2TPftHyZK/9 + yfl3Zt9evfzpV88PXv9e80/Ov/P7/PTnP/325OCTN6/uNc1PXX+y+Or1ov6J77zYLx7O2re7+cn9 + ZvWD3SeT+9fv6s/3T+9fvW0/f/nw/k/95Kd7Pzj96bNV++mni29/Z3k/u/r2FyfH059484u+3J0+ + a5+9ejr7qW+fv12uZ7NqefFm9smz61mzf0I8/vbt7/WTL55OfrLc+e7DN89/4tW9T4+//O7pd1+V + +U9elF9c54tXq5+6e7Kor3/R7/Pth+9+Kpv+xPHr3/vFJ5dfzor8p37yuwdf7Lz58vXT+2ffnU6+ + /d3LX3R39aT5qZ/cuZ6eXXznwfzL8/Of+OTsefbk7k8tLxa/9xefFp8/bOafX3/nBzvfPivPP39z + d/Hwk/v3D35qWT39qrn/nbsvquPyZfn2p3/wU/t1853fZ293Vv7er5pPf7A4PTnZPb2+v/Pg8id2 + Hiy/vGynb7NP7h/83qc/+dXbt5cvz7+Tv87vnb/eOTm+Oj0+/onPPiP2nhVNWxeTNUv+o4+yt9B3 + xfK8JhVQr6ftugajZz/Az9FHTk/+JGlGeWV3vLc7fkhftlWblS+qWX5SrZekNfZVePymn453PzVN + T6raNN39VJSOCh5L45uC1XdP9ezdG+98eh8acJEtqYPZmSofTzZP362KmrVZAOXB9u4OoOzuPNrZ + IcX1S77/S/4fH2jLEskGAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Length: + - '1556' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Apr 2022 06:33:53 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - fd891192-c43f-4c6e-a1cd-deecf592d8d1 + x-ms-original-request-ids: + - 007649e1-c866-4e58-a40f-e6f0c752afee + - d8918ae9-710d-4e91-8f59-0979ec014c80 + - 9d46c298-345a-455a-a7ca-b473e4500fae + - 2b18d1c5-233c-437f-bf62-f4348967d42b + - 1a56e1cc-24e2-4afb-9e5e-ba5314fab630 + - ba033dac-87c0-44d3-82d0-69672d42c2d7 + - d3b1f519-c12d-47c8-9aa2-a4a98868ef30 + - 00544992-9857-4fe9-9efd-a672900a0b82 + - 6f0b8673-9440-4cec-afd7-7ddf3990d638 + - 3a67e919-01a7-456b-bec4-6f771a731268 + - f8879224-79f8-407d-ab9e-e97549b4e0e9 + - d1207f01-3520-43e9-bc45-f14a37557680 + - e586467a-4306-4a9e-a436-2660b886523e + - e7210f4c-e998-4034-b8f3-90531463e696 + - bc096aa9-bfac-4980-a297-4045162a66f0 + - c0b44c38-d226-4ff6-9164-dd8b09839818 + - 1879ef34-9f1b-46cc-a32d-18741040cc58 + - c315701e-b1e5-4448-9896-a41ec8110c67 + - 3062075b-7c2d-486a-a2b5-439563178f7f + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - fd891192-c43f-4c6e-a1cd-deecf592d8d1 + x-ms-routing-request-id: + - WESTUS:20220411T063353Z:fd891192-c43f-4c6e-a1cd-deecf592d8d1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.27.1 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.Kubernetes/connectedClusters/cli-test-cluster/providers/Microsoft.KubernetesConfiguration/extensions + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR5dZ + uc4/evS9748+Wubv2ufF8u1Hj5brsvwl/w/xUGnmHAAAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Apr 2022 06:33:53 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + api-supported-versions: + - 2020-07-01-Preview, 2021-05-01-preview, 2021-09-01, 2022-03-01, 2022-04-02-preview + x-ms-correlation-request-id: + - 5ac1ad0e-ba70-4e0a-8cf5-6c43f8927d92 + x-ms-ratelimit-remaining-subscription-reads: + - '11998' + x-ms-request-id: + - 5ac1ad0e-ba70-4e0a-8cf5-6c43f8927d92 + x-ms-routing-request-id: + - WESTUS:20220411T063353Z:5ac1ad0e-ba70-4e0a-8cf5-6c43f8927d92 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.27.1 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.Kubernetes/connectedClusters/cli-test-cluster/providers/Microsoft.KubernetesConfiguration/extensions + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR5dZ + uc4/evS9748+Wubv2ufF8u1Hj5brsvwl/w/xUGnmHAAAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Apr 2022 06:33:54 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + api-supported-versions: + - 2020-07-01-Preview, 2021-05-01-preview, 2021-09-01, 2022-03-01, 2022-04-02-preview + x-ms-correlation-request-id: + - 30483fbb-7b47-4da9-9c56-fa98bb881062 + x-ms-ratelimit-remaining-subscription-reads: + - '11997' + x-ms-request-id: + - 30483fbb-7b47-4da9-9c56-fa98bb881062 + x-ms-routing-request-id: + - WESTUS:20220411T063354Z:30483fbb-7b47-4da9-9c56-fa98bb881062 + status: + code: 200 + message: OK +- request: + body: "{\n \"subscriptions\": [\n \"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39\"\n + \ ],\n \"query\": \" resources | where subscriptionId + =~ 'a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39' | where resourceGroup + == 'rg-cli-test' | where type =~ 'microsoft.kubernetes/connectedclusters' + \ | where properties.provisioningState =~ 'succeeded' | + where name == 'cli-test-cluster' | project clusterId=id, subscriptionId, + clusterName=name | join kind=leftouter (kubernetesconfigurationresources + \ | where subscriptionId =~ 'a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39' + \ | where resourceGroup == 'rg-cli-test' | + where type =~ 'microsoft.kubernetesconfiguration/extensions' | + where properties.ExtensionType =~ 'microsoft.arcdataservices' | + where (properties.ProvisioningState =~ 'succeeded' or properties.InstallState + =~ 'installed') | project extensionId=id, subscriptionId, + namespace=properties.Scope.cluster.ReleaseNamespace) on $left.subscriptionId + == $right.subscriptionId | where extensionId contains clusterId + \ | extend namespace=tostring(namespace) | where + namespace =~ 'test-cl' | join (resources | + where subscriptionId =~ 'a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39' | + where resourceGroup == 'rg-cli-test' | where type =~ 'microsoft.extendedLocation/customLocations' + \ | where properties.provisioningState =~ 'succeeded' | + extend hostClusterId = tostring(properties.hostResourceId) | + extend namespace = tostring(properties.namespace) | project + hostClusterId, customLocationName=name, namespace) on $left.clusterId + == $right.hostClusterId and $left.namespace == $right.namespace | + project clusterName, namespace, customLocationName \"\n}" + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2076' + Content-Type: + - application/json + User-Agent: + - python-requests/2.27.1 + method: POST + uri: https://mock-host/providers/Microsoft.ResourceGraph/resources + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR23V + ZuWrfFrVs+ajRzujj6bVetnyb7OszT569L3vjz46z6Z5S1/j9zpv1mX7pl4vp1mbzz56RN+WTf7R + L/l/AF94fd1MAAAA + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Apr 2022 06:33:55 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 2e9ece51-22e3-4e31-9d3b-9d626d8994d2 + x-ms-ratelimit-remaining-tenant-reads: + - '11999' + x-ms-ratelimit-remaining-tenant-resource-requests: + - '14' + x-ms-request-id: + - 2e9ece51-22e3-4e31-9d3b-9d626d8994d2 + x-ms-routing-request-id: + - WESTUS:20220411T063355Z:2e9ece51-22e3-4e31-9d3b-9d626d8994d2 + x-ms-user-quota-remaining: + - '14' + x-ms-user-quota-resets-after: + - 00:00:05 + status: + code: 200 + message: OK +- request: + body: '{"properties": {"mode": "incremental", "debugSetting": {"detailLevel": + "none"}, "parameters": {"apiVersion": {"value": "2021-09-01"}, "apiVersion_1": + {"value": "2018-09-01-preview"}, "apiVersion_2": {"value": "2018-09-01-preview"}, + "apiVersion_3": {"value": "2021-08-15"}, "apiVersion_4": {"value": "2021-11-01"}, + "imagePullPolicy": {"value": "Always"}, "parentResource": {"value": "Microsoft.Kubernetes/connectedClusters/cli-test-cluster"}, + "resourceName": {"value": "test-cl-ext"}, "namespace": {"value": "test-cl"}, + "releaseTrain": {"value": "stable"}, "version": {"value": "1.1.19211001"}, "imageRegistry": + {"value": "mcr.microsoft.com"}, "imageVersion": {"value": "mcr.microsoft.com/arcdata/arc-bootstrapper:v1.5.0_2022-04-05"}, + "imageUsername": {"value": ""}, "imagePassword": {"value": ""}, "roleNameGuid_1": + {"value": "07e058ab-1d22-4475-b195-d8b17b335979"}, "roleDefinitionId_1": {"value": + "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c"}, + "resourceName_1": {"value": "07e058ab-1d22-4475-b195-d8b17b335979"}, "roleNameGuid_2": + {"value": "734dd7c2-be0a-486d-a66a-66a32d21b956"}, "roleDefinitionId_2": {"value": + "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.Authorization/roleDefinitions/3913510d-42f4-4e42-8a64-420c390055eb"}, + "resourceName_2": {"value": "734dd7c2-be0a-486d-a66a-66a32d21b956"}, "resourceName_3": + {"value": "test-cl"}, "customLocationId_3": {"value": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.ExtendedLocation/customLocations/test-cl"}, + "location_3": {"value": "eastus2euap"}, "hostResourceId_3": {"value": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.Kubernetes/connectedClusters/cli-test-cluster"}, + "namespace_3": {"value": "test-cl"}, "clusterExtensionIds_3": {"value": ["/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.Kubernetes/connectedClusters/cli-test-cluster/providers/Microsoft.KubernetesConfiguration/extensions/test-cl-ext"]}, + "namespace_4": {"value": "test-cl"}, "connectionMode_4": {"value": "direct"}, + "controllerName_4": {"value": "cli-test-dc"}, "metricsAndLogsDashboardUsername_4": + {"value": "username"}, "metricsAndLogsDashboardPassword_4": {"value": "Placeholder001"}, + "customLocationId_4": {"value": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.ExtendedLocation/customLocations/test-cl"}, + "metricsAutoUploadSelected_4": {"value": "false"}, "logsAutoUploadSelected_4": + {"value": "false"}, "logAnalyticsWorkspaceId_4": {"value": ""}, "logAnalyticsPrimaryKey_4": + {"value": ""}, "resourceTags_4": {"value": {}}, "infrastructure_4": {"value": + "azure"}, "dockerRegistryCredential_4": {"value": "arc-private-registry"}, "dockerImagePullPolicy_4": + {"value": "Always"}, "dockerImageTag_4": {"value": "v1.5.0_2022-04-05"}, "dockerRegistry_4": + {"value": "mcr.microsoft.com"}, "dockerRepository_4": {"value": "arcdata"}, + "dataStorageClass_4": {"value": "default"}, "dataStorageSize_4": {"value": "15Gi"}, + "logsStorageClass_4": {"value": "default"}, "logsStorageSize_4": {"value": "10Gi"}, + "serviceType_4": {"value": "LoadBalancer"}, "controllerPort_4": {"value": 30080}, + "subscription_4": {"value": "a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"}, "resourceGroup_4": + {"value": "rg-cli-test"}, "location_4": {"value": "eastus2euap"}, "resourceName_4": + {"value": "cli-test-dc"}, "resourceSyncApiVersion": {"value": "2021-08-31-preview"}, + "resourceSyncRuleName": {"value": "defaultResourceSyncRule"}, "resourceSyncTargetResourceGroup": + {"value": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test"}, + "resourceSyncRulePriority": {"value": 100}, "resourceSyncMatchLabels": {"value": + {"management.azure.com/resourceProvider": "Microsoft.AzureArcData"}}}, "template": + {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {"imagePullPolicy": {"type": "string"}, + "parentResource": {"type": "string"}, "resourceName": {"type": "string"}, "namespace": + {"type": "string"}, "releaseTrain": {"type": "string"}, "version": {"type": + "string"}, "imageRegistry": {"type": "string"}, "imageVersion": {"type": "string"}, + "imageUsername": {"type": "string"}, "imagePassword": {"type": "string"}, "apiVersion": + {"type": "string"}, "roleNameGuid_1": {"type": "string"}, "roleDefinitionId_1": + {"type": "string"}, "resourceName_1": {"type": "string"}, "apiVersion_1": {"type": + "string"}, "roleNameGuid_2": {"type": "string"}, "roleDefinitionId_2": {"type": + "string"}, "resourceName_2": {"type": "string"}, "apiVersion_2": {"type": "string"}, + "resourceName_3": {"type": "string"}, "customLocationId_3": {"type": "string"}, + "location_3": {"type": "string"}, "hostResourceId_3": {"type": "string"}, "namespace_3": + {"type": "string"}, "clusterExtensionIds_3": {"type": "array"}, "apiVersion_3": + {"type": "string"}, "namespace_4": {"type": "string"}, "connectionMode_4": {"type": + "string"}, "controllerName_4": {"type": "string"}, "metricsAndLogsDashboardUsername_4": + {"type": "string"}, "metricsAndLogsDashboardPassword_4": {"type": "secureString"}, + "customLocationId_4": {"type": "string"}, "metricsAutoUploadSelected_4": {"type": + "string"}, "logsAutoUploadSelected_4": {"type": "string"}, "logAnalyticsWorkspaceId_4": + {"type": "String"}, "logAnalyticsPrimaryKey_4": {"type": "String"}, "resourceTags_4": + {"type": "object"}, "infrastructure_4": {"type": "string"}, "dockerRegistryCredential_4": + {"type": "string"}, "dockerImagePullPolicy_4": {"type": "string"}, "dockerImageTag_4": + {"type": "string"}, "dockerRegistry_4": {"type": "string"}, "dockerRepository_4": + {"type": "string"}, "dataStorageClass_4": {"type": "string"}, "dataStorageSize_4": + {"type": "string"}, "logsStorageClass_4": {"type": "string"}, "logsStorageSize_4": + {"type": "string"}, "serviceType_4": {"type": "string"}, "controllerPort_4": + {"type": "int"}, "subscription_4": {"type": "string"}, "resourceGroup_4": {"type": + "string"}, "location_4": {"type": "string"}, "resourceName_4": {"type": "string"}, + "apiVersion_4": {"type": "string"}, "resourceSyncApiVersion": {"type": "string"}, + "resourceSyncRuleName": {"type": "string"}, "resourceSyncTargetResourceGroup": + {"type": "string"}, "resourceSyncRulePriority": {"type": "int"}, "resourceSyncMatchLabels": + {"type": "object"}}, "functions": [], "variables": {}, "resources": [{"identity": + {"type": "SystemAssigned"}, "scope": "[parameters(''parentResource'')]", "properties": + {"extensionType": "microsoft.arcdataservices", "autoUpgradeMinorVersion": false, + "releaseTrain": "[parameters(''releaseTrain'')]", "version": "[parameters(''version'')]", + "scope": {"cluster": {"releaseNamespace": "[parameters(''namespace'')]"}}, "configurationSettings": + {"Microsoft.CustomLocation.ServiceAccount": "sa-arc-bootstrapper", "aad.customLocationObjectId": + "51dfe1e8-70c6-4de5-a08e-e18aff23d815", "imageCredentials.username": "[parameters(''imageUsername'')]", + "imageCredentials.registry": "[parameters(''imageRegistry'')]", "systemDefaultValues.image": + "[parameters(''imageVersion'')]", "systemDefaultValues.imagePullPolicy": "[parameters(''imagePullPolicy'')]"}, + "configurationProtectedSettings": {"imageCredentials.password": "[parameters(''imagePassword'')]"}}, + "apiVersion": "[parameters(''apiVersion'')]", "type": "Microsoft.KubernetesConfiguration/extensions", + "name": "[parameters(''resourceName'')]"}, {"type": "Microsoft.Authorization/roleAssignments", + "apiVersion": "[parameters(''apiVersion_1'')]", "name": "[parameters(''resourceName_1'')]", + "properties": {"roleDefinitionId": "[parameters(''roleDefinitionId_1'')]", "principalId": + "[reference(parameters(''resourceName''), parameters(''apiVersion''), ''Full'').identity.principalId]"}, + "dependsOn": ["[parameters(''resourceName'')]"]}, {"type": "Microsoft.Authorization/roleAssignments", + "apiVersion": "[parameters(''apiVersion_2'')]", "name": "[parameters(''resourceName_2'')]", + "properties": {"roleDefinitionId": "[parameters(''roleDefinitionId_2'')]", "principalId": + "[reference(parameters(''resourceName''), parameters(''apiVersion''), ''Full'').identity.principalId]"}, + "dependsOn": ["[parameters(''resourceName_1'')]"]}, {"name": "[parameters(''resourceName_3'')]", + "location": "[parameters(''location_3'')]", "type": "Microsoft.ExtendedLocation/customLocations", + "properties": {"hostType": "Kubernetes", "hostResourceId": "[parameters(''hostResourceId_3'')]", + "namespace": "[parameters(''namespace_3'')]", "displayName": "", "clusterExtensionIds": + "[parameters(''clusterExtensionIds_3'')]", "authentication": {}}, "apiVersion": + "[parameters(''apiVersion_3'')]", "dependsOn": ["[parameters(''resourceName_2'')]"]}, + {"extendedLocation": {"name": "[parameters(''customLocationId_4'')]", "type": + "CustomLocation"}, "location": "[parameters(''location_4'')]", "tags": "[parameters(''resourceTags_4'')]", + "properties": {"metricsDashboardCredential": {"username": "[parameters(''metricsAndLogsDashboardUsername_4'')]", + "password": "[parameters(''metricsAndLogsDashboardPassword_4'')]"}, "logsDashboardCredential": + {"username": "[parameters(''metricsAndLogsDashboardUsername_4'')]", "password": + "[parameters(''metricsAndLogsDashboardPassword_4'')]"}, "logAnalyticsWorkspaceConfig": + {}, "infrastructure": "[parameters(''infrastructure_4'')]", "k8sRaw": {"kind": + "DataController", "spec": {"credentials": {"dockerRegistry": "[parameters(''dockerRegistryCredential_4'')]", + "domainServiceAccount": "domain-service-account-secret", "serviceAccount": "sa-arc-controller"}, + "security": {"allowDumps": true, "allowNodeMetricsCollection": true, "allowPodMetricsCollection": + true}, "services": [{"name": "controller", "port": "[parameters(''controllerPort_4'')]", + "serviceType": "[parameters(''serviceType_4'')]"}], "settings": {"ElasticSearch": + {"vm.max_map_count": "-1"}, "azure": {"autoUploadMetrics": "[parameters(''metricsAutoUploadSelected_4'')]", + "autoUploadLogs": "[parameters(''logsAutoUploadSelected_4'')]", "subscription": + "[parameters(''subscription_4'')]", "resourceGroup": "[parameters(''resourceGroup_4'')]", + "location": "[parameters(''location_4'')]", "connectionMode": "[parameters(''connectionMode_4'')]"}, + "controller": {"logs.rotation.days": "7", "logs.rotation.size": "5000", "displayName": + "[parameters(''controllerName_4'')]"}}, "storage": {"data": {"accessMode": "ReadWriteOnce", + "className": "[parameters(''dataStorageClass_4'')]", "size": "[parameters(''dataStorageSize_4'')]"}, + "logs": {"accessMode": "ReadWriteOnce", "className": "[parameters(''logsStorageClass_4'')]", + "size": "[parameters(''logsStorageSize_4'')]"}}, "infrastructure": "[parameters(''infrastructure_4'')]", + "docker": {"registry": "[parameters(''dockerRegistry_4'')]", "repository": "[parameters(''dockerRepository_4'')]", + "imageTag": "[parameters(''dockerImageTag_4'')]", "imagePullPolicy": "[parameters(''dockerImagePullPolicy_4'')]"}}, + "metadata": {"namespace": "[parameters(''namespace_4'')]", "name": "datacontroller"}, + "apiVersion": "arcdata.microsoft.com/v4", "status": {"azure": {"uploadStatus": + {"metrics": {}, "logs": {}, "usage": {}}}}}}, "apiVersion": "[parameters(''apiVersion_4'')]", + "type": "Microsoft.AzureArcData/dataControllers", "name": "[parameters(''resourceName_4'')]", + "dependsOn": ["[parameters(''resourceName_3'')]"]}], "outputs": {}}, "validationLevel": + "Template"}, "tags": {"marketplaceItemId": "Microsoft.DataController"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '11477' + Content-Type: + - application/json + User-Agent: + - python-requests/2.27.1 + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.Resources/deployments/cli-test-dc + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquVtfbE/LYrvNm/buqq4ui1leN3e/KKZ11VTn7fiVNm/uzvJVWV0v8mXb3DWvbM+mH40+ + WmaLnLAJP2yvV/jwBkhomF00Hz36xR8tsvpt3q7KbJqftfniDAN0bz/N2uykWrZ1VZZ5/dEvGX1E + 2K7yui1yfpveoFfb/NtZM6cXH+4+3N9/ePDp/ft7u/sPdj/df7hLXa2ymlBtaYR4pVhkF/nLdVm+ + rMpieo2PFOnXbV0sL+iFy6xc44Pj8iq7brjXrCa8zVg2veNw/73Wk7xeUr9EuGq5zKdtPjsp1w0Q + caScyifoxMzRiwyEHe5C39vO37V4DfPQrIh+t3gH7eu8zLMmf1NnxXLTK02bTcocb1wSxsRqmxrv + jum/h3u7uzs7u3iFqfwqvyiatt5I48W0Hi8szabVwr79kzf32nv5blZPZ8Qz+Lk9qaqWus9WxDCP + LnfH98c7v//ezt7e9s7+9s59289XDU1TtpnktvHLrGmuqpq4dHPjbFXcAn/CZnd75+G20IyYnOf+ + 83Ux+/13N7238yDfuX+QTbZ3ZzSc/f0H97dJAdzfnh1Mdh9M7t27//DBQwPxaX5eLAuoirMboN5t + ftb1yvG6nVd18YMMXdwN0WvuTvZIeA+y6fanuwc72/t72c52Njk42N7bOX9w72BvNtvbn/KwtFMQ + a/OQbksoN12b4e3t7B7IhG2v6vyyyK/wNsYBXHji9ja9/+De/mz2YLq3Pcl3su39g09n29mnn2bb + 9P97e7O93cnD+58aiI4yNHEbod79uZ64ew93793f3ZnRnJ3vb+/n+3vom37b26G+dnbu388nPCzt + FMTaPKTbEsqbuI3wBibOx+fepvdBGKIQXpqSwq4Wz6sp04LmZuOLd3/25+b0XZsvZ/nMoHQ3xLC5 + izcJBJAv9cPNSJN9aNfNXr7OVnhpXjXW9v2/YLzvbVih3dlCbkZdX8Mb+jJTFsx1NmuCd4/rOrt2 + r37v/3XDvgEC+VTnxcW6Zl64S46EDNOyCvsW3ydCePLlj79HO7FkB9u7bFcdwfc3vaSd4Q0dEfXz + RTW74bVZUVNTfUtdQ5bgjW9ZCpGfSq+SQ1gX0+Z4SWJz0Twl/3FSZfXMOAObYWWzBflOw1CMlxBC + yafrOldY9G4opSRXQWNp5rq8+7PPYMztt9QjZuDrtvqK3Pps9pq8SnDk5lGcZ2XDLmVJ5PqQl4+X + WXndEgbfreq3zGo3EbD74suaHLr6+vfKr29+zxDyDQUtQesvJz9NiLvWv/iXUOtieV5nTVuvpy1N + eNC+Bz37ATVBF7Nq+javjcd8UuczCjiKrLzhdXJzV3VxSSHQdq3vOmhn7LHaUGczKBfseC/TgDe/ + FXWrBYAZy2YAPRfeB7CqmqKtbgJBRIDPzy/Sz9f0BqF+UmZNOFm9F2f5ebYuWZN4L74ufnDDpO3e + /7zAS8ROjb70fr15L96itx3pjTTTZUE8SM02v/CcJOpJVmbLqZg/pyVfVnUbvHu29Jj33s7OwQ61 + bzxNE7Tu9XQbLQQMjPywItoM0lNSeNP6Kxtf6vgrprv3Ngqetdv4GrH77vYuGTyJ27S719fL6bGF + cOP7ZC3vRb1RwHm1lpBiExRlKOOZmde6oN5k9UVuW/EUbIJ615/+DzY0XWSAIGleCiVaPy0Q8CHl + EDpvfZG10/nzbJKXnMLRl3rKl5JJSxIppJjGrFihTyxyL9Xk0ZvO5h2j2XE9RaLpo18C7b0g/4Oa + nC2nNUPKSuphlk/WF6/ztgWtqKNZ3mZF+Ty/zEtq+6JaMtXZqGLuqdXrlnQyfXc8neYrMm0EpC3I + K2qzBZEfHMAKc3f3zc6nj+7de3T/wfgBRaYHew9/iprO1DWjli/f7Ix3KKuyd+/ha/pmWtWUwOEv + OVc23X/wYJpPs+2DhwRx//zBw+3sPDvYPt+d7T7YP8/uP8g/pdcYNRo80e97v9j5ZwTA0WLAPaS3 + DQmhewSC/wkBIXdRPUhqbWQWLZdkfb7/S8iTHOqUnAAXWNLLPmAA6HVFmiw/bpriYonZee/+uk4O + ve93ABi9Ljt+EL3idxlon419B8x2i35hlGgqVHnf2O/3iW/yFUa3nHJ+lCDKB82XxEn01w8rfew4 + 6YcUqoTEpEG+DyTvbVG5JjBh0JjOH9EtBsl7O0I335rSV6TwyOQhAfMRGPWHRdFAvXDe6tjpjru3 + Sg+6UfZotBG696KS51bdgd9+bqR242j+X0urHxZ1nDz8SDa/GYpu5Ii7t8oAu1H2aLQRuveikudW + 3YHf/t8om7dC3g35h0OrHyIndZ26wcyVG0qPBjfB8N5VMhigPzSu+H/buH+IM+y7znc7frHTvhTF + O2x7I90Ew3tPR+kDxUgpyCzoJRqhCfve5IsVRWIU+v2S/wcNxA0amiEAAA== + headers: + Azure-AsyncOperation: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/rg-cli-test/providers/Microsoft.Resources/deployments/cli-test-dc/operationStatuses/08585519480490764905?api-version=2020-06-01 + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Apr 2022 06:33:57 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - c477ceca-8922-4f79-afa8-f1d174fa57e6 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-ms-request-id: + - c477ceca-8922-4f79-afa8-f1d174fa57e6 + x-ms-routing-request-id: + - WESTUS:20220411T063358Z:c477ceca-8922-4f79-afa8-f1d174fa57e6 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDataControllerARM.test_arcdata_dc_delete.yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDataControllerARM.test_arcdata_dc_delete.yaml new file mode 100644 index 00000000000..a67640b767d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDataControllerARM.test_arcdata_dc_delete.yaml @@ -0,0 +1,263 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.0.0 Python/3.9.7 (Windows-10-10.0.19044-SP0) + x-ms-client-request-id: + - 9f581c91-b962-11ec-80cd-1ebfceef0777 + method: DELETE + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.AzureArcData/dataControllers/cli-test-dc + response: + body: + string: 'null' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS2EUAP/operationStatuses/f500f732-1059-4a15-9d0f-fb869bf85f41*31166A9FA34F1B78B3BF555C065B27AC91B68EF940B0F0704ED715268388A6AC?api-version=2021-11-01 + Cache-Control: + - no-cache + Content-Length: + - '4' + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Apr 2022 06:42:58 GMT + ETag: + - '"000041cb-0000-3400-0000-6253cdf20000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS2EUAP/operationStatuses/f500f732-1059-4a15-9d0f-fb869bf85f41*31166A9FA34F1B78B3BF555C065B27AC91B68EF940B0F0704ED715268388A6AC?api-version=2021-11-01 + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + mise-correlation-id: + - f954fc9a-81dd-4858-b82a-c0bd4fed764c + x-ms-correlation-request-id: + - ae7e6d46-a3de-48fa-9ffd-cd3305ed3b54 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + x-ms-request-id: + - 00000000-0000-0000-0000-000000000000 + x-ms-routing-request-id: + - WESTUS:20220411T064258Z:ae7e6d46-a3de-48fa-9ffd-cd3305ed3b54 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.0.0 Python/3.9.7 (Windows-10-10.0.19044-SP0) + x-ms-client-request-id: + - a062afea-b962-11ec-a836-1ebfceef0777 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.AzureArcData/dataControllers/cli-test-dc + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquVtfbE/LYrvNm/buqq4ui1leN3e/KKZ11VTn7fj4B+s6P66nT7M2uzujf06qZVtXZYlm + 5s3t2fSj0UfLbJETUuGH7fUKHy4swAwAs3oKWAxw6gBS+7KaZhgNvZNnTbtu9vJ1tqIv8ndtvpzl + s+e2wS82Pd792SfDaaf3u9N101YL82dzF28SCEJUR3wSNPjol9AX2UVDWNNvzXXT5guQlP7+aEr0 + aPPZk2t6q8mz5dXv6ag1rRYE0rZ4I7C/avLafXzc0kd7O3t72zv727u7b3Y+fXTv/qP7O+NPP324 + 8+D+/Z+ipiXR8otqVpwXAEPt7+0+PP/0/u759oPZbLK9fz79dPvhwf0H2w+y/Pzh3v2dyWznfu89 + 7f54tSoLHVfYJILK/s6jewfjvd2HDx7c3/0p0IHou8rrtshBjY+K5XlNEOr1tCXGoNeZQQju24Pm + VXaFJm+LJbgd9HLcRy2aVT7F90SHWb5si6xkiLNq+javX+UXBYHFWInbtld1cUnE2q7NxyNqt8iK + 5eu8viym+fF0Wq2XQF8+3iYS4/PtTL6gv6mbll7TL9wLTbaNHhwfY5DUfF0XLXX/iz/KyrK6erpe + rAg9Gmg+kk9eVLP8i7yti2lzgvemTFC/xctqNtCAe2A8COb3rCR4OBCdq5rQu7ezc7BjW+sMPq+y + 2ZOszJZTavlLvo+v27ZYMn9+dIoZLaavIaVzfHC5GC+yd7//Ilv9/mbM27sYpEwVtcjWbfXVqiSo + ii81OafpwDy6755X6MB+0XhSSx/fRmzprUBw6TVPcunbQfVBlFkKAYlXCeePZkVNf2MU9JUhGg2l + JCTHddUymPEsuwbKDwhC+EVT/ABQ7u/s7NB3s6JZldn1C50FxQca8JdQB6QI6uyCviHeJB7GT+Kq + vGkUlVd5NvsuMUv+Jc0HQZvSBDQKa5afZ+sSQ9Med+9/XgBroPOBkHYAiUANiqBIEnqxYkOqfFqP + uwqqzldVU9Aw0SAT5U4fFwsa9pvsgj683B3fH+/8/kY3sHLhr1+uy/JlRfoErx6XVyA4kFrkbcZg + qHdwd7PKaEiPPmLCsqLFp/QBGnlTSK9mq+InSX3TNNHXik2I8t3LfQLQ0FyuhYg8YPplzYz62n5B + WAg7E2MQiYSP3xTcMU397jb/783OziP+H1QtodrQuKgBcDHT9PXeXsvvkdcNIUXJ3ntA/xvvfXrv + 0/1PQyjPsqLMZ+l0nk9JjV6ki2qJeaKhT9+mRpbS/B3NbjMmwlOn1QTKIp99ni/zmrn9o0e7Qi1A + BI9BfQpKRNs8itI+6f2d8YNPH3x6/x5QqtfLJSHgJqbPEeicjMNlgRbUFtMAwE/zMod2+uiX/JL/ + B8gB8EH5CAAA + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Apr 2022 06:42:58 GMT + ETag: + - '"000041cb-0000-3400-0000-6253cdf20000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 28d104c4-ccc0-43b3-ba4f-219e9e1dc8fc + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-reads: + - '11998' + x-ms-request-id: + - efa9878b-0e70-4a48-8192-9b4643e73b8b + x-ms-routing-request-id: + - WESTUS:20220411T064258Z:28d104c4-ccc0-43b3-ba4f-219e9e1dc8fc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.0.0 Python/3.9.7 (Windows-10-10.0.19044-SP0) + x-ms-client-request-id: + - a3752f79-b962-11ec-9d10-1ebfceef0777 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.AzureArcData/dataControllers/cli-test-dc + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquVtfbE/LYrvNm/buqq4ui1leN3e/KKZ11VTn7fj4B+s6P66nT7M2uzujf06qZVtXZYlm + 5s3t2fSj0UfLbJETUuGH7fUKHy4swAwAs3oKWAxw6gBS+7KaZhgNvZNnTbtu9vJ1tqIv8ndtvpzl + s+e2wS82Pd792SfDaaf3u9N101YL82dzF28SCEJUR3wSNPjol9AX2UVDWNNvzXXT5guQlP7+aEr0 + aPPZk2t6q8mz5dXv6ag1rRYE0rZ4I7C/avLafXzc0kd7O3t72zv727u7b3Y+fXTv/qP7O+NPP324 + 8+D+/Z+ipiXR8otqVpwXAEPt7+0+PP/0/u759oPZbLK9fz79dPvhwf0H2w+y/Pzh3v2dyWznfu89 + 7f54tSoLHVfYJILK/s6jewfjvd2HDx7c3/0p0IHou8rrtshBjY+K5XlNEOr1tCXGoNeZQQju24Pm + VXaFJm+LJbgd9HLcRy2aVT7F90SHWb5si6xkiLNq+javX+UXBYHFWInbtld1cUnE2q7NxyNqt8iK + 5eu8viym+fF0Wq2XQF8+3iYS4/PtTL6gv6mbll7TL9wLTbaNHhwfY5DUfF0XLXX/iz/KyrK6erpe + rAg9Gmg+kk9eVLP8i7yti2lzgvemTFC/xctqNtCAe2A8COb3rCR4OBCdq5rQu7ezc7BjW+sMPq+y + 2ZOszJZTavlLvo+v27ZYMn9+dIoZLaavIaVzfHC5GC+yd7//Ilv9/mbM27sYpEwVtcjWbfXVqiSo + ii81OafpwDy6755X6MB+0XhSSx/fRmzprUBw6TVPcunbQfVBlFkKAYlXCeePZkVNf2MU9JUhGg2l + JCTHddUymPEsuwbKDwhC+EVT/ABQ7u/s7NB3s6JZldn1C50FxQca8JdQB6QI6uyCviHeJB7GT+Kq + vGkUlVd5NvsuMUv+Jc0HQZvSBDQKa5afZ+sSQ9Med+9/XgBroPOBkHYAiUANiqBIEnqxYkOqfFqP + uwqqzldVU9Aw0SAT5U4fFwsa9pvsgj683B3fH+/8/kY3sHLhr1+uy/JlRfoErx6XVyA4kFrkbcZg + qHdwd7PKaEiPPmLCsqLFp/QBGnlTSK9mq+InSX3TNNHXik2I8t3LfQLQ0FyuhYg8YPplzYz62n5B + WAg7E2MQiYSP3xTcMU397jb/783OziP+H1QtodrQuKgBcDHT9PXeXsvvkdcNIUXJ3ntA/xvvfXrv + 0/1PQyjPsqLMZ+l0nk9JjV6ki2qJeaKhT9+mRpbS/B3NbjMmwlOn1QTKIp99ni/zmrn9o0e7Qi1A + BI9BfQpKRNs8itI+6f2d8YNPH3x6/x5QqtfLJSHgJqbPEeicjMNlgRbUFtMAwE/zMod2+uiX/JL/ + B8gB8EH5CAAA + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Apr 2022 06:43:03 GMT + ETag: + - '"000041cb-0000-3400-0000-6253cdf20000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - d17ebb38-8e1f-4a3a-aeea-a9ea3358b77f + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-reads: + - '11997' + x-ms-request-id: + - 07fb4c34-8410-4473-9182-16c96ee2a2b3 + x-ms-routing-request-id: + - WESTUS:20220411T064303Z:d17ebb38-8e1f-4a3a-aeea-a9ea3358b77f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.0.0 Python/3.9.7 (Windows-10-10.0.19044-SP0) + x-ms-client-request-id: + - a687dda9-b962-11ec-9064-1ebfceef0777 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.AzureArcData/dataControllers/cli-test-dc + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The resource ''Microsoft.AzureArcData/dataControllers/cli-test-dc'' + could not be found."}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '135' + Content-Type: + - application/json + Date: + - Mon, 11 Apr 2022 06:43:08 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 883ca2ef-efa9-4220-9ea7-de2eb6353449 + x-ms-failure-cause: + - gateway + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-reads: + - '11996' + x-ms-request-id: + - cf8c0012-3501-457f-8751-6244ecf35c1f + x-ms-routing-request-id: + - WESTUS:20220411T064308Z:883ca2ef-efa9-4220-9ea7-de2eb6353449 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDataControllerARM.test_arcdata_dc_status_show.yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDataControllerARM.test_arcdata_dc_status_show.yaml new file mode 100644 index 00000000000..89677ce1f90 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDataControllerARM.test_arcdata_dc_status_show.yaml @@ -0,0 +1,78 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.0.0 Python/3.9.7 (Windows-10-10.0.19044-SP0) + x-ms-client-request-id: + - 98a91491-b962-11ec-8a1e-1ebfceef0777 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.AzureArcData/dataControllers/cli-test-dc + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquVtfbE/LYrvNm/buqq4ui1leN3e/KKZ11VTn7fj4B+s6P66nT7M2uzujf06qZVtXZYlm + 5s3t2fSj0UfLbJETUuGH7fUKHy4swAwAs3oKWAxw6gBS+7KaZhgNvZNnTbtu9vJ1tqIv8ndtvpzl + s+e2wS82Pd792SfDaaf3u9N101YL82dzF28SCEJUR3wSNPjol9AX2UVDWNNvzXXT5guQlP7+aEr0 + aPPZk2t6q8mz5dXv6ag1rRYE0rZ4I7C/avLafXzc0kd7O3t72zv727u7b3Y+fXTv/qP7O+NPP324 + 8+D+/Z+ipiXR8otqVpwXAEPt7+0+PP/0/u759oPZbLK9fz79dPvhwf0H2w+y/Pzh3v2dyWznfu89 + 7f54tSoLHVfYJILK/s6jewfjvd2HDx7c3/0p0IHou8rrtshBjY+K5XlNEOr1tCXGoNeZQQju24Pm + VXaFJm+LJbgd9HLcRy2aVT7F90SHWb5si6xkiLNq+javX+UXBYHFWInbtld1cUnE2q7NxyNqt8iK + 5eu8viym+fF0Wq2XQF8+3iYS4/PtTL6gv6mbll7TL9wLTbaNHhwfY5DUfF0XLXX/iz/KyrK6erpe + rAg9Gmg+kk9eVLP8i7yti2lzgvemTFC/xctqNtCAe2A8COb3rCR4OBCdq5rQu7ezc7BjW+sMPq+y + 2ZOszJZTavlLvo+v27ZYMn9+dIoZLaavIaVzfHC5GC+yd7//Ilv9/mbM27sYpEwVtcjWbfXVqiSo + ii81OafpwDy6755X6MB+0XhSSx/fRmzprUBw6TVPcunbQfVBlFkKAYlXCeePZkVNf2MU9JUhGg2l + JCTHddUymPEsuwbKDwhC+EVT/ABQ7u/s7NB3s6JZldn1C50FxQca8JdQB6QI6uyCviHeJB7GT+Kq + vGkUlVd5NvsuMUv+Jc0HQZvSBDQKa5afZ+sSQ9Med+9/XgBroPOBkHYAiUANiqBIEnqxYkOqfFqP + uwqqzldVU9Aw0SAT5U4fFwsa9pvsgj683B3fH+/8/kY3sHLhr1+uy/JlRfoErx6XVyA4kFrkbcZg + qHdwd7PKaEiPPmLCsqLFp/QBGnlTSK9mq+InSX3TNNHXik2I8t3LfQLQ0FyuhYg8YPplzYz62n5B + WAg7E2MQiYSP3xTcMU397jb/783OziP+H1QtodrQuKgBcDHT9PXeXsvvkdcNIUXJ3ntA/xvvfXrv + 0/1PQyjPsqLMZ+l0nk9JjV6ki2qJeaKhT9+mRpbS/B3NbjMmwlOn1QTKIp99ni/zmrn9o0e7Qi1A + BI9BfQpKRNs8itI+6f2d8YNPH3x6/x5QqtfLJSHgJqbPEeicjMNlgRbUFtMAwK/XxOOk4mcf/ZJf + 8v8Am/9aSPoIAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Apr 2022 06:42:45 GMT + ETag: + - '"00002bcb-0000-3400-0000-6253cd660000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - ad2cee57-4963-4085-9302-fbd8235e40b8 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - c5284488-2bdf-46da-ac54-4dbec143721d + x-ms-routing-request-id: + - WESTUS:20220411T064245Z:ad2cee57-4963-4085-9302-fbd8235e40b8 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDataControllerARM.test_arcdata_dc_upgrade_hydrationrule.yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDataControllerARM.test_arcdata_dc_upgrade_hydrationrule.yaml new file mode 100644 index 00000000000..7b0dc0215f4 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestDataControllerARM.test_arcdata_dc_upgrade_hydrationrule.yaml @@ -0,0 +1,1199 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.28.1 + x-ms-client-request-id: + - a5a55b1e-0169-11ed-bd2c-191631d1b15e + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.AzureArcData/dataControllers/cli-test-dc + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquVtmV9fL5XaeNdfr1d1VXV0Ws7xu7n5RTOuqqc7b8fEP1nV+XE+fZm12d0b/nFTLtq7K + Es3kve29nb29nQc7B9u793f37t/fnk0/Gn20zBY5IbmpSXu9QpOF7SxDZ1k9RT/c2dR1Ru3Lapph + rPQOgW3XzV6+zlb0Rf6uzZezfPbcNvjFpv+7PwwinXb6vztdN221MH8OEmpaEvJKhZPglY9+CX2R + XTQ0EvqtuW7afIEpoL8/mhKN2nz25JreEtx+T0fCabUgmLbJGwH+VZPX7uPjlj4CLts7D7Z3Dt7s + 7T7aO3h078H4/r293b2dez9FTUsi8BfVrDgvAIba39t9eP7p/d3z7Qez2WR7/3z66fbDg/sPth9k + +fnDvfs7k9nO/d572v3xalUWOrCwSYDK7u6bvb1HuzuP7h+MHzzYv/fg4cOfAiGI5Ku8bosc5Pio + WJ7XBKFeT1viFnqduYbgVsuXdb4omvyltCesqTUkZS+bffoAGE8+/TQj3CeT7Yf7+/vb+cH+7oNs + kj882M8IwGo9ITRfFxfLYnnxe+X0/kdfnJ09/cmfPjk5/ulPL46vzp4cX5x95/h59lMn199+dn48 + 3fnieOfzk9e/6PPXZ5N7T3/i9MnJ1VfHX5xcvPvOTx+/fXLx4iefHH/x5ttfvWhmv/eLnZ/6vc8u + fmLvJ69nn5eL7Lsv5rPPv7r4id/7J3eyzx9eZ7/3q/tfPNn/vZ++Obv+4un06sunZ++++MHpD754 + VuGze/jsxQ/sZ1ef//Tp7/PFk9/n8+Pdr06P333x8vdZlM3k83L9U9e7P8i+O1tn372/JNyfnP30 + 8YsnF29/0fxt8fnDq50nxz9x+uz4+MuT4584OMb3Jxe/F/1+erx68Gp2Xr7+7vQnHy7Psuynv9z5 + wXX5i7KvJqfnP93eq5u9b6/P315++dX5dz7/8nV2cnp9drDcffpq9ZO/z6tXX37+nW8vf7q6uPv6 + 27vvDt7u/fRPlMXLg5+6fvrTv/dq+fa7y4Mnq3vTFz/18rz6qd9rVv30bH7xi969/UXf/u6TveN3 + LyfZIjtd/PT6q4PPn1fP9n+vy9/n/Pf+znr/O9PTn3j95OSrLz7Jlt/+6tm7/f3Tn3pw94uzy6/y + 6elPf/p7ffXy/rN31188e3332ezL6b15fXZ5/eY7v/ez/Qc/1b69/nw//6lnpxc/cf9VWbz7wct2 + 93T5U+e7B5/O8ueffnn68P5Pz05fTJ8dZyfPflF5dm+1/+bVJ/mnT948n3z65FW7/s67V08eXu59 + l3TL8cXJdbvcP7g3/6nnX+6Uzy+/czyvXhRffGc5v5o+++6ni/03D++ePL36/JPi4O7J/k9WV1m+ + t35+78HT3R/Mvrg6e3r8E8dPqv3Pf+KLs89ffHFyjPmafYf45O7VT3z3iyc/8fnJSfP58U989ezJ + 1RcnTy4u6icXp8+e/MT06fGb4y/BP9/+iYMnx+cHp8RHJ0+y46vv/sTv8/QnX+28evLs7Oqrs7Mv + f5+9h+vZt79zOfn8XTktqNPFlyff+e6Ly8ny1fVk711DPNdO7/3UTz9fviqn935izb8vLD+uJ58/ + /Onf57vXJ8/2Nr8T4/PjfZKHnzj+zsX9Zf2g/vTF59ffXfzkF9Mnr1/Ps+OfejN91/6i+2eLV5Pq + bDZdfPfFxXdnVyc/+YMXu+295cPdL+8t16c/uD97+Om8uLu/e7/eP9l7d3W/vTvZXzz89tm7dxfr + 3/tJ8eSnm+Nf9Hs/XVRPv8x/0cGTV+8+/c7OVwf7n84vn+w/m79qv7ts28nB3Z+6OC/Of6KelcXs + yduv1q8mu6/f/sSbvU8//erl6f6r67PF8ul0Pp29nRe7y2Knar/86tt7v9enXy0uf/L3/uLd6S+6 + 9+Ts3fos/4mzL9/9Pi+erV+9Pv5BW0y+PP3O2/YH12+bpz+9ePPJq/NPf3DVLqrZd9bHL3a/erCY + nK3vfb5sfnr//k+s9w8eNg+/u5ifvHn4+stm8snd6ZurZllMX7x6QjNdvn354NXD756+JGP25Pe5 + 98ny+l59Wn7ypPnp5uTezsnv9enTX3SyPPlF1995dvrkk5989vu83Pvpu1B7bw+aV9kVlNjbYgk1 + BgPgzC8prGaVT/E96fVZvmyLrGQNOaumb/P6VX5RkJqEFiOTur2qi0tS/tu1+XhE7RZZsXyd15fF + ND+eTqv1EupYPt4mk4HPtzP5gv6mblp6Tb9wLzTZNnpwxhrYU/N1XYgSzsqyunq6XqwIPVLc+Ug+ + eVHN8i/yti6mzQnem7KB8Fu8rGYDDbgHxoNgfs+aew8H0udVTejd29k52LGt1SI9r7LZk6zMllNq + +Uu+j6/blrQ+AfvFH53CQpEhgCsyxweXi/Eie/f7L7LV72/GvL2LQYrpoRbZuq2+WpUEVfGlJuc0 + HbBL7rvnFTqwXzSea0If38Y3obcC74ReExdA3RP6ftBLItoshYRkfQnrj2ZFTX9jHPSVIRsNpiQ0 + x3XVMpjxLLsG0g8IQvhFU/wAUO7v7OzQd7OiWZXZ9QuZB+qZsOk5POT2/RLqjjydOrugdsSrxNP4 + SVyWN40i9irPZt8l5sm/pPkh2FOakEYhz/LzbF0yH0r/u/c/LzAGIPeBkHYAiUANuhgiWejFihF9 + KQ6reK/TelxU1LLOV1VT0Di9Ftvr1UWdzfLtNm/QbbEgIrzJLqjF5e74YLzz+4Ne2zufbu/um69f + rsvyZUVuCeAcl1eYDKC4yNsMMIELeL9ZZTTARx8paHxEfw1PA7HlcqkzyWRbZEvqbkFqRAYCT/Ju + tip+klxdakPAAGV75972zi4pk/yyyK8ISvS1aVmtZ6fLy6KulviKXuY44gSfD75U1XVeMkJn0HYP + DmZ7B/mn94kee+S0zfbIfds/z7bPs+nBfXLnJvkDUCkOK3Sm/78QBkTHMSjL0dbwerk502+S7T58 + 8HD30+292WS2vX//4b3th9m9T7fzhzvTvcmD3fv3d6bfurf35OmDZ0+enBw82dt9cP/+6e7x/WfP + 9vbv7T/c29t/dvDsdOfg+MH+A/L8n56c7D94eHKyc//e/XtPd+7vnjw5+HQIFUM7xuTuD4P4zGBf + J1CN4k8TmS1bxv7B3vnDg4PJ+fbBp+e72/u72fn2w91sQmR9MJ3t7O7OJvvQjW1NArjKaoJDL+3s + bD/Yn+ycP7w/2304y+99ur9/cP4g3783m+2d7+9nu/fub9OMnO/vHuwe7Oxl+b3phAQLeoysLE/i + m4Kkus0W0PFAHBGSDdb2DxCkXeRLnfGPHu1B5wjNnMg+/HT/Uw7L1rePgwiFQOxVeY2DGPPuJaAS + esST0B5MOfyyZkP32n5htDLp3VaMIMZFYM2QXNB3b7y7++n9T/cxMhp6Q7NC7Y7XJEI0xmkqoNPq + PAXQtGhSsjnZpMxnYyBNGlEM742d7Uhne7u7+7foTOH2+lvLOzf0tvvo3sNHu7vj3Z17ew/Czr7C + T9PRebHMypQcrPo6FbKmUzJhj9LvfT/NlrM0f0fchZl+lL6Z59TwF62JO9KrjNrBiyGs0tk6T9sq + bel7MujnxQXNySz9dtuuTsqC+HIM/Kp1i1Ht7uyk5KJVy1mTktZdNeT80LBgWmQ8NOc52hOi/njs + VO0f3N/5FAOqJnCt8tnneciM6yXCaMdHMROHkaIHmOlr6p18Nog23qB3wUX49llW0PA++iW/5P8B + +r7xkvkSAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Jul 2022 22:34:38 GMT + ETag: + - '"2000e3e2-0000-3400-0000-62cc9ff20000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - ebd89eac-bae3-4116-843b-28f72d4da2bc + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - cd0ef56c-f266-4c8a-867a-9c57f111635b + x-ms-routing-request-id: + - WESTUS:20220711T223438Z:ebd89eac-bae3-4116-843b-28f72d4da2bc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.28.1 + x-ms-client-request-id: + - a5a55b1f-0169-11ed-bd2c-191631d1b15e + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.AzureArcData/dataControllers/cli-test-dc + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquVtmV9fL5XaeNdfr1d1VXV0Ws7xu7n5RTOuqqc7b8fEP1nV+XE+fZm12d0b/nFTLtq7K + Es3kve29nb29nQc7B9u793f37t/fnk0/Gn20zBY5IbmpSXu9QpOF7SxDZ1k9RT/c2dR1Ru3Lapph + rPQOgW3XzV6+zlb0Rf6uzZezfPbcNvjFpv+7PwwinXb6vztdN221MH8OEmpaEvJKhZPglY9+CX2R + XTQ0EvqtuW7afIEpoL8/mhKN2nz25JreEtx+T0fCabUgmLbJGwH+VZPX7uPjlj4CLts7D7Z3Dt7s + 7T7aO3h078H4/r293b2dez9FTUsi8BfVrDgvAIba39t9eP7p/d3z7Qez2WR7/3z66fbDg/sPth9k + +fnDvfs7k9nO/d572v3xalUWOrCwSYDK7u6bvb1HuzuP7h+MHzzYv/fg4cOfAiGI5Ku8bosc5Pio + WJ7XBKFeT1viFnqduYbgVsuXdb4omvyltCesqTUkZS+bffoAGE8+/TQj3CeT7Yf7+/vb+cH+7oNs + kj882M8IwGo9ITRfFxfLYnnxe+X0/kdfnJ09/cmfPjk5/ulPL46vzp4cX5x95/h59lMn199+dn48 + 3fnieOfzk9e/6PPXZ5N7T3/i9MnJ1VfHX5xcvPvOTx+/fXLx4iefHH/x5ttfvWhmv/eLnZ/6vc8u + fmLvJ69nn5eL7Lsv5rPPv7r4id/7J3eyzx9eZ7/3q/tfPNn/vZ++Obv+4un06sunZ++++MHpD754 + VuGze/jsxQ/sZ1ef//Tp7/PFk9/n8+Pdr06P333x8vdZlM3k83L9U9e7P8i+O1tn372/JNyfnP30 + 8YsnF29/0fxt8fnDq50nxz9x+uz4+MuT4584OMb3Jxe/F/1+erx68Gp2Xr7+7vQnHy7Psuynv9z5 + wXX5i7KvJqfnP93eq5u9b6/P315++dX5dz7/8nV2cnp9drDcffpq9ZO/z6tXX37+nW8vf7q6uPv6 + 27vvDt7u/fRPlMXLg5+6fvrTv/dq+fa7y4Mnq3vTFz/18rz6qd9rVv30bH7xi969/UXf/u6TveN3 + LyfZIjtd/PT6q4PPn1fP9n+vy9/n/Pf+znr/O9PTn3j95OSrLz7Jlt/+6tm7/f3Tn3pw94uzy6/y + 6elPf/p7ffXy/rN31188e3332ezL6b15fXZ5/eY7v/ez/Qc/1b69/nw//6lnpxc/cf9VWbz7wct2 + 93T5U+e7B5/O8ueffnn68P5Pz05fTJ8dZyfPflF5dm+1/+bVJ/mnT948n3z65FW7/s67V08eXu59 + l3TL8cXJdbvcP7g3/6nnX+6Uzy+/czyvXhRffGc5v5o+++6ni/03D++ePL36/JPi4O7J/k9WV1m+ + t35+78HT3R/Mvrg6e3r8E8dPqv3Pf+KLs89ffHFyjPmafYf45O7VT3z3iyc/8fnJSfP58U989ezJ + 1RcnTy4u6icXp8+e/MT06fGb4y/BP9/+iYMnx+cHp8RHJ0+y46vv/sTv8/QnX+28evLs7Oqrs7Mv + f5+9h+vZt79zOfn8XTktqNPFlyff+e6Ly8ny1fVk711DPNdO7/3UTz9fviqn935izb8vLD+uJ58/ + /Onf57vXJ8/2Nr8T4/PjfZKHnzj+zsX9Zf2g/vTF59ffXfzkF9Mnr1/Ps+OfejN91/6i+2eLV5Pq + bDZdfPfFxXdnVyc/+YMXu+295cPdL+8t16c/uD97+Om8uLu/e7/eP9l7d3W/vTvZXzz89tm7dxfr + 3/tJ8eSnm+Nf9Hs/XVRPv8x/0cGTV+8+/c7OVwf7n84vn+w/m79qv7ts28nB3Z+6OC/Of6KelcXs + yduv1q8mu6/f/sSbvU8//erl6f6r67PF8ul0Pp29nRe7y2Knar/86tt7v9enXy0uf/L3/uLd6S+6 + 9+Ts3fos/4mzL9/9Pi+erV+9Pv5BW0y+PP3O2/YH12+bpz+9ePPJq/NPf3DVLqrZd9bHL3a/erCY + nK3vfb5sfnr//k+s9w8eNg+/u5ifvHn4+stm8snd6ZurZllMX7x6QjNdvn354NXD756+JGP25Pe5 + 98ny+l59Wn7ypPnp5uTezsnv9enTX3SyPPlF1995dvrkk5989vu83Pvpu1B7bw+aV9kVlNjbYgk1 + BgPgzC8prGaVT/E96fVZvmyLrGQNOaumb/P6VX5RkJqEFiOTur2qi0tS/tu1+XhE7RZZsXyd15fF + ND+eTqv1EupYPt4mk4HPtzP5gv6mblp6Tb9wLzTZNnpwxhrYU/N1XYgSzsqyunq6XqwIPVLc+Ug+ + eVHN8i/yti6mzQnem7KB8Fu8rGYDDbgHxoNgfs+aew8H0udVTejd29k52LGt1SI9r7LZk6zMllNq + +Uu+j6/blrQ+AfvFH53CQpEhgCsyxweXi/Eie/f7L7LV72/GvL2LQYrpoRbZuq2+WpUEVfGlJuc0 + HbBL7rvnFTqwXzSea0If38Y3obcC74ReExdA3RP6ftBLItoshYRkfQnrj2ZFTX9jHPSVIRsNpiQ0 + x3XVMpjxLLsG0g8IQvhFU/wAUO7v7OzQd7OiWZXZ9QuZB+qZsOk5POT2/RLqjjydOrugdsSrxNP4 + SVyWN40i9irPZt8l5sm/pPkh2FOakEYhz/LzbF0yH0r/u/c/LzAGIPeBkHYAiUANuhgiWejFihF9 + KQ6reK/TelxU1LLOV1VT0Di9Ftvr1UWdzfLtNm/QbbEgIrzJLqjF5e74YLzz+4Ne2zufbu/um69f + rsvyZUVuCeAcl1eYDKC4yNsMMIELeL9ZZTTARx8paHxEfw1PA7HlcqkzyWRbZEvqbkFqRAYCT/Ju + tip+klxdakPAAGV75972zi4pk/yyyK8ISvS1aVmtZ6fLy6KulviKXuY44gSfD75U1XVeMkJn0HYP + DmZ7B/mn94kee+S0zfbIfds/z7bPs+nBfXLnJvkDUCkOK3Sm/78QBkTHMSjL0dbwerk502+S7T58 + 8HD30+292WS2vX//4b3th9m9T7fzhzvTvcmD3fv3d6bfurf35OmDZ0+enBw82dt9cP/+6e7x/WfP + 9vbv7T/c29t/dvDsdOfg+MH+A/L8n56c7D94eHKyc//e/XtPd+7vnjw5+HQIFUM7xuTuD4P4zGBf + J1CN4k8TmS1bxv7B3vnDg4PJ+fbBp+e72/u72fn2w91sQmR9MJ3t7O7OJvvQjW1NArjKaoJDL+3s + bD/Yn+ycP7w/2304y+99ur9/cP4g3783m+2d7+9nu/fub9OMnO/vHuwe7Oxl+b3phAQLeoysLE/i + m4Kkus0W0PFAHBGSDdb2DxCkXeRLnfGPHu1B5wjNnMg+/HT/Uw7L1rePgwiFQOxVeY2DGPPuJaAS + esST0B5MOfyyZkP32n5htDLp3VaMIMZFYM2QXNB3b7y7++n9T/cxMhp6Q7NC7Y7XJEI0xmkqoNPq + PAXQtGhSsjnZpMxnYyBNGlEM742d7Uhne7u7+7foTOH2+lvLOzf0tvvo3sNHu7vj3Z17ew/Czr7C + T9PRebHMypQcrPo6FbKmUzJhj9LvfT/NlrM0f0fchZl+lL6Z59TwF62JO9KrjNrBiyGs0tk6T9sq + bel7MujnxQXNySz9dtuuTsqC+HIM/Kp1i1Ht7uyk5KJVy1mTktZdNeT80LBgWmQ8NOc52hOi/njs + VO0f3N/5FAOqJnCt8tnneciM6yXCaMdHMROHkaIHmOlr6p18Nog23qB3wUX49llW0PA++iW/5P8B + +r7xkvkSAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Jul 2022 22:34:39 GMT + ETag: + - '"2000e3e2-0000-3400-0000-62cc9ff20000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 7dd59511-8722-42a5-9406-a8e104c57b56 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-reads: + - '11998' + x-ms-request-id: + - abb10de5-ac4d-444c-a1de-24fe3e3fc55a + x-ms-routing-request-id: + - WESTUS:20220711T223439Z:7dd59511-8722-42a5-9406-a8e104c57b56 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.28.1 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.ExtendedLocation/customLocations/easyup-20220708-151255-cl + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zS/qar1q7pbZ1fVyuZ1nzfV6dXdVV5fFLK+bu4tiWldNdd6O83dtvpzls7KaZujn7nTdtNXC/Nnc + lXe393b29nYe7Bxs797f3bt/f3tafjT6aJktckJ0UxMDSJq162YvX2cr+qK9XuHdLywmp4rJc31D + MTF/NvROc920+eJp1mYfPfrFH03rPGvz2ZNrAiMD/T3duKbVgl6wTd5Ib181ee0+Pm7pI2C9vfNg + e+fgzd7uo72DR7ufju/vHtx/sL//U9S0JKS/qGbFeQEw1H6gp7Bd2J3/3c19/pLRRzRRq7xui7zB + OOdV0yrA32s9yetl3tIXI/78lc732YcyzOf1RoZx0+RQuDutlst8SoQ8KWmq0Eze63IC4QpOaVbZ + FIOgV1v6iIE3hGmxvHjd0nzQV6/X02meExPQ91MBymyBZmczosb3/l87yBvgnFTL8+JiXTMv32Wp + w6CGoJHwbFOjj74/+ihbt/N82RYiBsQQv+SX/JL/B2TD22EiBAAA + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Mon, 11 Jul 2022 22:34: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 + X-Ms-Request-Id: + - ef0e5627-bb82-4309-8fc1-8746cf88aa28 + x-ms-correlation-request-id: + - 38146506-6c75-4709-9053-8dce0b33eaf2 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-routing-request-id: + - WESTUS:20220711T223440Z:38146506-6c75-4709-9053-8dce0b33eaf2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.28.1 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.Kubernetes/connectedClusters/easyup-20220708-151255/providers/Microsoft.KubernetesConfiguration/extensions + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR5dZ + uc4/evS9X/xRMfvo0Ud3m/WkmdbFqi2qZXM3u79zsDfZfbh9kH2ab+9Ppve3D85ns+2D/Pzew9l5 + Ppnee3i3zptqXU/zz+tqvWrultnV9XK5nWfN9Xp1d1VXl8Usr5u7XxTTumqq83b8e60neb3M27y5 + O62Wy3za5rOTct20aCbvbe/t7O3tPNg52N69v7t3//4NcE6q5Xlxsa4zoH03f9fmy4Z+G4K2PS23 + qdFHo4+W2YJG/9FNzdrrFZq9T9f0FuG8yuu2yJuPHv3ij+xXbwTYwgLL6uksa7Mmry+LKTUefZSt + 2+qr1UWdzfIvimVV/yQNnN786NF5Vjb56KM6Lwnl/E2dFfThR02bTcqc3rs07T7aHe+Ndx8e3Nvd + 2blHXzRTQgVYTIXO+FWBvCASNKtsSl9/RONpP/olv4RRvywAqlhevG6zFl+e1DkNcnlB4IoldVmW + 5puvlm+X1dWSvqD5dNR4nbdoz6N3pDshBKrF82rKbcavZdTH02m1XrYErMm2iSDbk6pqm7bOVkRC + Apxls/E0ePPLyU8T55yBa+/vEi/u5gfbD3amn27vz/L729nOQb6d7x5k5+d792YHu/cJRrHILnIa + xSxftgURcrwmkisHxL6u84uCULimrwkjTNE4+8G6zqf1uKjoheaaSLl4mp9n67L9yYwEqRkzkOgL + d/Wj7bVM7DaIjQ+DoT663B0fjHd+f7Di9s6n27v7mzp6uS7Ll1VZTIHjcXmVXTcf0ewFs/Cyrloi + VD7zp4Pf9se6yprmqqpBTUCg6W2JOtT2e98n4r9tjpumuFjmszN+o6X+ltQ3WgpuNDDAnYJH8tkT + /Z5QMR8I1wcfHmO6ZaAPtncO3uztPtp78Gh3Z3zv4b2dg51PP9nZebSzQ+Mvs6b9opoV5wUgGSjh + pz58/5ugk93dN3t7j6gf6uRgb//hzqcPtRMaCakXHdovNgL/mgdnxk6YrOpiOS1WWcl8l2ezvZ3Z + w3z7YOfeg+3980lGivJ8tv3wwez++acH053sfJfEiSi4JOl/XizfCoa/5P8B6iE6UXgFAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Jul 2022 22:34:40 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + api-supported-versions: + - '2021-09-01' + x-ms-correlation-request-id: + - f3c1a49e-3e10-4ece-9fcc-b657aeeccd9c + x-ms-ratelimit-remaining-subscription-reads: + - '11998' + x-ms-request-id: + - f3c1a49e-3e10-4ece-9fcc-b657aeeccd9c + x-ms-routing-request-id: + - WESTUS:20220711T223441Z:f3c1a49e-3e10-4ece-9fcc-b657aeeccd9c + status: + code: 200 + message: OK +- request: + body: '{"properties": {"mode": "incremental", "debugSetting": {"detailLevel": + "none"}, "parameters": {"apiVersion": {"value": "2021-09-01"}, "apiVersion_1": + {"value": "2018-09-01-preview"}, "apiVersion_2": {"value": "2018-09-01-preview"}, + "apiVersion_3": {"value": "2021-08-15"}, "apiVersion_4": {"value": "2022-03-01-preview"}, + "imagePullPolicy": {"value": "Always"}, "parentResource": {"value": "Microsoft.Kubernetes/connectedClusters/easyup-20220708-151255"}, + "resourceName": {"value": "easyup-20220708-151255-cl-ext"}, "namespace": {"value": + "test"}, "releaseTrain": {"value": "stable"}, "version": {"value": "1.2.19831003"}, + "imageRegistry": {"value": "arcdata.azurecr.io"}, "imageVersion": {"value": + "arcdata.azurecr.io/arcdata-upgrade-test/arc-bootstrapper:v1.8.0_2022-06-14"}, + "imageUsername": {"value": ""}, "imagePassword": {"value": ""}, "roleNameGuid_1": + {"value": ""}, "roleDefinitionId_1": {"value": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c"}, + "resourceName_1": {"value": ""}, "roleNameGuid_2": {"value": ""}, "roleDefinitionId_2": + {"value": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.Authorization/roleDefinitions/3913510d-42f4-4e42-8a64-420c390055eb"}, + "resourceName_2": {"value": ""}, "resourceName_3": {"value": "easyup-20220708-151255-cl"}, + "customLocationId_3": {"value": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.ExtendedLocation/customLocations/easyup-20220708-151255-cl"}, + "location_3": {"value": "eastus2euap"}, "hostResourceId_3": {"value": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.Kubernetes/connectedClusters/easyup-20220708-151255"}, + "namespace_3": {"value": "test"}, "clusterExtensionIds_3": {"value": ["/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.Kubernetes/connectedClusters/easyup-20220708-151255/providers/Microsoft.KubernetesConfiguration/extensions/easyup-20220708-151255-cl-ext"]}, + "namespace_4": {"value": "test"}, "connectionMode_4": {"value": "direct"}, "controllerName_4": + {"value": "cli-test-dc"}, "metricsAndLogsDashboardUsername_4": + {"value": ""}, "metricsAndLogsDashboardPassword_4": {"value": ""}, "customLocationId_4": + {"value": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.ExtendedLocation/customLocations/easyup-20220708-151255-cl"}, + "metricsAutoUploadSelected_4": {"value": "false"}, "logsAutoUploadSelected_4": + {"value": "false"}, "logAnalyticsWorkspaceId_4": {"value": ""}, "logAnalyticsPrimaryKey_4": + {"value": ""}, "resourceTags_4": {"value": {}}, "infrastructure_4": {"value": + "azure"}, "dockerRegistryCredential_4": {"value": "arc-private-registry"}, "dockerImagePullPolicy_4": + {"value": "Always"}, "dockerImageTag_4": {"value": "v1.8.0_2022-06-14"}, "dockerRegistry_4": + {"value": "arcdata.azurecr.io"}, "dockerRepository_4": {"value": "arcdata-upgrade-test"}, + "dataStorageClass_4": {"value": "default"}, "dataStorageSize_4": {"value": "15Gi"}, + "logsStorageClass_4": {"value": "default"}, "logsStorageSize_4": {"value": "10Gi"}, + "serviceType_4": {"value": "LoadBalancer"}, "controllerPort_4": {"value": 30080}, + "subscription_4": {"value": "a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"}, "resourceGroup_4": + {"value": "rg-cli-test"}, "location_4": {"value": "eastus2euap"}, "resourceName_4": + {"value": "cli-test-dc"}, "resourceSyncApiVersion": {"value": + "2021-08-31-preview"}, "resourceSyncRuleName": {"value": "defaultResourceSyncRule"}, + "resourceSyncTargetResourceGroup": {"value": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test"}, + "resourceSyncRulePriority": {"value": 100}, "resourceSyncMatchLabels": {"value": + {"management.azure.com/resourceProvider": "Microsoft.AzureArcData"}}}, "template": + {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {"imagePullPolicy": {"type": "string"}, + "parentResource": {"type": "string"}, "resourceName": {"type": "string"}, "namespace": + {"type": "string"}, "releaseTrain": {"type": "string"}, "version": {"type": + "string"}, "imageRegistry": {"type": "string"}, "imageVersion": {"type": "string"}, + "imageUsername": {"type": "string"}, "imagePassword": {"type": "string"}, "apiVersion": + {"type": "string"}, "roleNameGuid_1": {"type": "string"}, "roleDefinitionId_1": + {"type": "string"}, "resourceName_1": {"type": "string"}, "apiVersion_1": {"type": + "string"}, "roleNameGuid_2": {"type": "string"}, "roleDefinitionId_2": {"type": + "string"}, "resourceName_2": {"type": "string"}, "apiVersion_2": {"type": "string"}, + "resourceName_3": {"type": "string"}, "customLocationId_3": {"type": "string"}, + "location_3": {"type": "string"}, "hostResourceId_3": {"type": "string"}, "namespace_3": + {"type": "string"}, "clusterExtensionIds_3": {"type": "array"}, "apiVersion_3": + {"type": "string"}, "namespace_4": {"type": "string"}, "connectionMode_4": {"type": + "string"}, "controllerName_4": {"type": "string"}, "metricsAndLogsDashboardUsername_4": + {"type": "string"}, "metricsAndLogsDashboardPassword_4": {"type": "secureString"}, + "customLocationId_4": {"type": "string"}, "metricsAutoUploadSelected_4": {"type": + "string"}, "logsAutoUploadSelected_4": {"type": "string"}, "logAnalyticsWorkspaceId_4": + {"type": "String"}, "logAnalyticsPrimaryKey_4": {"type": "String"}, "resourceTags_4": + {"type": "object"}, "infrastructure_4": {"type": "string"}, "dockerRegistryCredential_4": + {"type": "string"}, "dockerImagePullPolicy_4": {"type": "string"}, "dockerImageTag_4": + {"type": "string"}, "dockerRegistry_4": {"type": "string"}, "dockerRepository_4": + {"type": "string"}, "dataStorageClass_4": {"type": "string"}, "dataStorageSize_4": + {"type": "string"}, "logsStorageClass_4": {"type": "string"}, "logsStorageSize_4": + {"type": "string"}, "serviceType_4": {"type": "string"}, "controllerPort_4": + {"type": "int"}, "subscription_4": {"type": "string"}, "resourceGroup_4": {"type": + "string"}, "location_4": {"type": "string"}, "resourceName_4": {"type": "string"}, + "apiVersion_4": {"type": "string"}, "resourceSyncApiVersion": {"type": "string"}, + "resourceSyncRuleName": {"type": "string"}, "resourceSyncTargetResourceGroup": + {"type": "string"}, "resourceSyncRulePriority": {"type": "int"}, "resourceSyncMatchLabels": + {"type": "object"}}, "functions": [], "variables": {}, "resources": [{"identity": + {"type": "SystemAssigned"}, "scope": "[parameters(''parentResource'')]", "properties": + {"extensionType": "microsoft.arcdataservices", "autoUpgradeMinorVersion": false, + "releaseTrain": "[parameters(''releaseTrain'')]", "version": "[parameters(''version'')]", + "scope": {"cluster": {"releaseNamespace": "[parameters(''namespace'')]"}}, "configurationSettings": + {"Microsoft.CustomLocation.ServiceAccount": "sa-arc-bootstrapper", "aad.customLocationObjectId": + "51dfe1e8-70c6-4de5-a08e-e18aff23d815", "imageCredentials.username": "[parameters(''imageUsername'')]", + "imageCredentials.registry": "[parameters(''imageRegistry'')]", "systemDefaultValues.image": + "[parameters(''imageVersion'')]", "systemDefaultValues.imagePullPolicy": "[parameters(''imagePullPolicy'')]"}, + "configurationProtectedSettings": {"imageCredentials.password": "[parameters(''imagePassword'')]"}}, + "apiVersion": "[parameters(''apiVersion'')]", "type": "Microsoft.KubernetesConfiguration/extensions", + "name": "[parameters(''resourceName'')]"}, {"type": "Microsoft.ExtendedLocation/customLocations/resourceSyncRules", + "apiVersion": "[parameters(''resourceSyncApiVersion'')]", "name": "[concat(parameters(''resourceName_3''), + ''/'', parameters(''resourceSyncRuleName''))]", "location": "[parameters(''location_3'')]", + "properties": {"targetResourceGroup": "[parameters(''resourceSyncTargetResourceGroup'')]", + "priority": "[parameters(''resourceSyncRulePriority'')]", "selector": {"matchLabels": + "[parameters(''resourceSyncMatchLabels'')]"}}, "dependsOn": ["[parameters(''resourceName'')]"]}, + {"extendedLocation": {"name": "[parameters(''customLocationId_4'')]", "type": + "CustomLocation"}, "location": "[parameters(''location_4'')]", "tags": "[parameters(''resourceTags_4'')]", + "properties": {"metricsDashboardCredential": {}, "logsDashboardCredential": + {}, "logAnalyticsWorkspaceConfig": {}, "infrastructure": "[parameters(''infrastructure_4'')]", + "k8sRaw": {"kind": "DataController", "spec": {"credentials": {"dockerRegistry": + "[parameters(''dockerRegistryCredential_4'')]", "domainServiceAccount": "domain-service-account-secret", + "serviceAccount": "sa-arc-controller"}, "security": {"allowDumps": true, "allowNodeMetricsCollection": + true, "allowPodMetricsCollection": true}, "services": [{"name": "controller", + "port": "[parameters(''controllerPort_4'')]", "serviceType": "[parameters(''serviceType_4'')]"}], + "settings": {"ElasticSearch": {"vm.max_map_count": "-1"}, "azure": {"autoUploadMetrics": + "[parameters(''metricsAutoUploadSelected_4'')]", "autoUploadLogs": "[parameters(''logsAutoUploadSelected_4'')]", + "subscription": "[parameters(''subscription_4'')]", "resourceGroup": "[parameters(''resourceGroup_4'')]", + "location": "[parameters(''location_4'')]", "connectionMode": "[parameters(''connectionMode_4'')]"}, + "controller": {"logs.rotation.days": "7", "logs.rotation.size": "5000", "displayName": + "[parameters(''controllerName_4'')]"}}, "storage": {"data": {"accessMode": "ReadWriteOnce", + "className": "[parameters(''dataStorageClass_4'')]", "size": "[parameters(''dataStorageSize_4'')]"}, + "logs": {"accessMode": "ReadWriteOnce", "className": "[parameters(''logsStorageClass_4'')]", + "size": "[parameters(''logsStorageSize_4'')]"}}, "infrastructure": "[parameters(''infrastructure_4'')]", + "docker": {"registry": "[parameters(''dockerRegistry_4'')]", "repository": "[parameters(''dockerRepository_4'')]", + "imageTag": "[parameters(''dockerImageTag_4'')]", "imagePullPolicy": "[parameters(''dockerImagePullPolicy_4'')]"}}, + "metadata": {"namespace": "[parameters(''namespace_4'')]", "name": "datacontroller"}, + "apiVersion": "arcdata.microsoft.com/v5"}}, "apiVersion": "[parameters(''apiVersion_4'')]", + "type": "Microsoft.AzureArcData/dataControllers", "name": "[parameters(''resourceName_4'')]", + "dependsOn": ["[parameters(''resourceSyncRuleName'')]"]}], "outputs": {}}, "validationLevel": + "Template"}, "tags": {"marketplaceItemId": "Microsoft.DataController"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '10464' + Content-Type: + - application/json + User-Agent: + - python-requests/2.28.1 + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.Resources/deployments/cli-test-dc + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquVtmV9fL5XaeNdfr1d1VXV0Ws7xu7n5RTOuqqc7b8St9obk7y1dldb3Il21zV17Y3tvZ + 29t5sHOwvXt/d+/+/e3Z9KPRR8tskRN2m5q01ys0uaEXNMwumo8e/eKPFln9Nm9XZTbNz9p8cYbh + u7efZm12Ui3buirLvP7ol4w+opGs8rotcn6b3qBX2/zbWTOnF3d39w529nYP7u883L3/cOfBvQe7 + 96mvVVYT5i0NH+8Ui+wif7kuy5dVWUyv8ZFi/bqti+UFvXCZlWt8cFxeZdcNd5vVhLgZzKZ3HPK/ + 13qS10vqt7k7rZbLfNrms5Ny3QCRATqjKzORLzJQe7ijOITtabmdv2sBCNPVrIiwm6AQdty4zksC + mL+ps2K5qX3TZpMyxxuXNAxiz02Nd8d7492HB/d2d3bu4RUm/av8omjaeiPhs3o6o6kfZz9Y1/m0 + HheVff0nb+62//Zd/Wh7vbqos1m+jWHjw+1JVbWETbYirnp0uTs+GO/8/iDp9s6n27v7ttevGprK + bPOE2MYvs6a5qmpi5c2Ns1Vxi9EQNrvbOw+3d3bxDkkCc8bn62L2++9ues+0fpqfF8sCmuTshjfu + Nj8EtXO8budVXfwgQyd3QwSbu5O9/YcHB9l0+9Pdg53t/b1sZzubHBwQl58/uHewN5vt7U95YNot + SLF5UGjtCL257d7O7oGQentV55dFfoW3gSP6YZLvbXrftHYjIpJvfOPuzz3J7z3cvXd/d2dG1D7f + 397P9/fQO/22t0O97ezcv59PeGDaLUixeVBo7ZF8Y9sBkvt93dv0vgyb+KOrBQFmSsq2Wjyvpjxy + mouNoO7+MObi9F2bL2f5zCB1N8RxyDDogEpttnkgBKJdN3v5OlvhpXnVWMv1/woafE3DCP3L9mzz + EAgsW7SpQGSCgw/PZk3w4nFdZ9fuve/9v3bsN8Ah/+i8uFjXzBh3yfbLcIegESexg/B9IpEnpD5l + eiQlEGSCAAGEdfOwv+klQk3mQYZJnXxRzW54Z1aQwTZvqdfHOmDjWwMDJYeUAJHjVxfT5nhJInfR + PCVHcVJl9cwY9M2QNwAwRj4EkE/J5VAw9G4o3CR8QWNp5nq7+8NgQJaHr62ADDHWbfUVufPZ7DX5 + jeDhzSM7z8qGncaSSPghLx8vs/K6JQy+W9VvmQlvImr3xZc1+Wj19e+VX9/8niHuGwpWgtZfTn6a + EHetf/EvodbF8rzOmrZeT1tigqB9Dzq7puhiVk3f5rXxiU/qfEZxRpGVN7xOnuuqLi4p9Nmu9V0H + 7YydUBvhbAblYhzvZRrw5reinrIAMGPZDIBGAIfc89F9CKuqKdrqljACp56h0Iev6XUayEmZNeHU + 9aDM8vNsXXZffF384IYp3L3/eYGXiLkafen9evNevEVvO9Ibqa3LgjiSmm1+4TnJ15OszJZTCZyd + Qn1Z1W3w7tnSY+V7OzsHO9S+8XRR0LrX0230FDAw0sSqajPIQI3hXev4bHyN2vuOj+nwAy2IZyU3 + AsHb2zv3BlzZ19fL6bGFdAMctrb3BuG8WktEsgmKMppx/MxrXVBvsvoit614ajZBveuzxTdgorro + AEXS0BSttH6CIOBQyiZ03voia6fz59kkLznDoy/1lDQlm5YkbEhBid4ZT6uFRe+lGkt601nLYzQ7 + rqdIRH30S6DlF+TEUJOz5bRmSFlJPczyyfridd62oBZ1NMvbrCif55d5SW1fVEumO5tjzD61et2S + 7qbvjqfTfEUmkIC0BflVbbagCQAPEC892N7dfbO39+je/qP9B+P7D+7f3985+ClqOlN3j1q+fLMz + 3tnZ2Xtw/8Fr+mZa1ZTK4S85lzbLHu4eZDvn2/Tm/e3989nO9sF9mqHdyXQ2OZhMHz54yCkyoEaD + J/p97xc7D48AOFoMuJz0tiEhtJJA8D8hIORwqldKrY0so+WSrNT3fwn5okOddt0Vet+HDRi93roe + jfkarAIG6yIB8bd6YyM2ATvcAhMYFCKWKt4b+/0+zWy+wniXU85wEkT5oPmS5pr++uGlh91s/xwH + KiGZafjvA9t7WxQmaL6hM0zBD4/GXea+vS9u+7I8fXdI4TsK9Oh3Y//mTQPsfeg5iBDE6+eKq28c + sbwbG47py4zj/0sU/6Fyta8k73Y04BB9ydNy4+xRbRNE773N9KEuQAdyBgoCQeM35vmNLiJ99Et+ + yf8DkhqWTIAbAAA= + headers: + Azure-AsyncOperation: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/rg-cli-test/providers/Microsoft.Resources/deployments/cli-test-dc/operationStatuses/08585440279992945804?api-version=2020-06-01 + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Jul 2022 22:34:47 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - da918a0f-4085-4fd0-85dd-1bcdb8bc9795 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-ms-request-id: + - da918a0f-4085-4fd0-85dd-1bcdb8bc9795 + x-ms-routing-request-id: + - WESTUS:20220711T223447Z:da918a0f-4085-4fd0-85dd-1bcdb8bc9795 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.28.1 + x-ms-client-request-id: + - ae80397a-0169-11ed-bd2c-191631d1b15e + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.AzureArcData/dataControllers/cli-test-dc + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquVtmV9fL5XaeNdfr1d1VXV0Ws7xu7n5RTOuqqc7b8fEP1nV+XE+fZm12d0b/nFTLtq7K + Es3kve29nb29nQc7B9u793f37t/fnk0/Gn20zBY5IbmpSXu9QpOF7SxDZ1k9RT/c2dR1Ru3Lapph + rPQOgW3XzV6+zlb0Rf6uzZezfPbcNvjFpv+7PwwinXb6vztdN221MH8OEmpaEvJKhZPglY9+CX2R + XTQ0EvqtuW7afIEpoL8/mhKN2nz25JreEtx+T0fCabUgmLbJGwH+VZPX7uPjlj4CLts7D7Z3Dt7s + 7T7aO3h078H4/r293b2dez9FTUsi8BfVrDgvAIba39t9eP7p/d3z7Qez2WR7/3z66fbDg/sPth9k + +fnDvfs7k9nO/d572v3xalUWOrCwSYDK7u6bvb1HuzuP7h+MHzzYv/fg4cOfAiGI5Ku8bosc5Pio + WJ7XBKFeT1viFnqduYbgVsuXdb4omvyltCesqTUkZS+bffoAGE8+/TQj3CeT7Yf7+/vb+cH+7oNs + kj882M8IwGo9ITRfFxfLYnnxe+X0/kdfnJ09/cmfPjk5/ulPL46vzp4cX5x95/h59lMn199+dn48 + 3fnieOfzk9e/6PPXZ5N7T3/i9MnJ1VfHX5xcvPvOTx+/fXLx4iefHH/x5ttfvWhmv/eLnZ/6vc8u + fmLvJ69nn5eL7Lsv5rPPv7r4id/7J3eyzx9eZ7/3q/tfPNn/vZ++Obv+4un06sunZ++++MHpD754 + VuGze/jsxQ/sZ1ef//Tp7/PFk9/n8+Pdr06P333x8vdZlM3k83L9U9e7P8i+O1tn372/JNyfnP30 + 8YsnF29/0fxt8fnDq50nxz9x+uz4+MuT4584OMb3Jxe/F/1+erx68Gp2Xr7+7vQnHy7Psuynv9z5 + wXX5i7KvJqfnP93eq5u9b6/P315++dX5dz7/8nV2cnp9drDcffpq9ZO/z6tXX37+nW8vf7q6uPv6 + 27vvDt7u/fRPlMXLg5+6fvrTv/dq+fa7y4Mnq3vTFz/18rz6qd9rVv30bH7xi969/UXf/u6TveN3 + LyfZIjtd/PT6q4PPn1fP9n+vy9/n/Pf+znr/O9PTn3j95OSrLz7Jlt/+6tm7/f3Tn3pw94uzy6/y + 6elPf/p7ffXy/rN31188e3332ezL6b15fXZ5/eY7v/ez/Qc/1b69/nw//6lnpxc/cf9VWbz7wct2 + 93T5U+e7B5/O8ueffnn68P5Pz05fTJ8dZyfPflF5dm+1/+bVJ/mnT948n3z65FW7/s67V08eXu59 + l3TL8cXJdbvcP7g3/6nnX+6Uzy+/czyvXhRffGc5v5o+++6ni/03D++ePL36/JPi4O7J/k9WV1m+ + t35+78HT3R/Mvrg6e3r8E8dPqv3Pf+KLs89ffHFyjPmafYf45O7VT3z3iyc/8fnJSfP58U989ezJ + 1RcnTy4u6icXp8+e/MT06fGb4y/BP9/+iYMnx+cHp8RHJ0+y46vv/sTv8/QnX+28evLs7Oqrs7Mv + f5+9h+vZt79zOfn8XTktqNPFlyff+e6Ly8ny1fVk711DPNdO7/3UTz9fviqn935izb8vLD+uJ58/ + /Onf57vXJ8/2Nr8T4/PjfZKHnzj+zsX9Zf2g/vTF59ffXfzkF9Mnr1/Ps+OfejN91/6i+2eLV5Pq + bDZdfPfFxXdnVyc/+YMXu+295cPdL+8t16c/uD97+Om8uLu/e7/eP9l7d3W/vTvZXzz89tm7dxfr + 3/tJ8eSnm+Nf9Hs/XVRPv8x/0cGTV+8+/c7OVwf7n84vn+w/m79qv7ts28nB3Z+6OC/Of6KelcXs + yduv1q8mu6/f/sSbvU8//erl6f6r67PF8ul0Pp29nRe7y2Knar/86tt7v9enXy0uf/L3/uLd6S+6 + 9+Ts3fos/4mzL9/9Pi+erV+9Pv5BW0y+PP3O2/YH12+bpz+9ePPJq/NPf3DVLqrZd9bHL3a/erCY + nK3vfb5sfnr//k+s9w8eNg+/u5ifvHn4+stm8snd6ZurZllMX7x6QjNdvn354NXD756+JGP25Pe5 + 98ny+l59Wn7ypPnp5uTezsnv9enTX3SyPPlF1995dvrkk5989vu83Pvpu1B7bw+aV9kVlNjbYgk1 + BgPgzC8prGaVT/E96fVZvmyLrGQNOaumb/P6VX5RkJqEFiOTur2qi0tS/tu1+XhE7RZZsXyd15fF + ND+eTqv1EupYPt4mk4HPtzP5gv6mblp6Tb9wLzTZNnpwxhrYU/N1XYgSzsqyunq6XqwIPVLc+Ug+ + eVHN8i/yti6mzQnem7KB8Fu8rGYDDbgHxoNgfs+aew8H0udVTejd29k52LGt1SI9r7LZk6zMllNq + +Uu+j6/blrQ+AfvFH53CQpEhgCsyxweXi/Eie/f7L7LV72/GvL2LQYrpoRbZuq2+WpUEVfGlJuc0 + HbBL7rvnFTqwXzSea0If38Y3obcC74ReExdA3RP6ftBLItoshYRkfQnrj2ZFTX9jHPSVIRsNpiQ0 + x3XVMpjxLLsG0g8IQvhFU/wAUO7v7OzQd7OiWZXZ9QuZB+qZsOk5POT2/RLqjjydOrugdsSrxNP4 + SVyWN40i9irPZt8l5sm/pPkh2FOakEYhz/LzbF0yH0r/u/c/LzAGIPeBkHYAiUANuhgiWejFihF9 + KQ6reK/TelxU1LLOV1VT0Di9Ftvr1UWdzfLtNm/QbbEgIrzJLqjF5e74YLzz+4Ne2zufbu/um69f + rsvyZUVuCeAcl1eYDKC4yNsMMIELeL9ZZTTARx8paHxEfw1PA7HlcqkzyWRbZEvqbkFqRAYCT/Ju + tip+klxdakPAAGV75972zi4pk/yyyK8ISvS1aVmtZ6fLy6KulviKXuY44gSfD75U1XVeMkJn0HYP + DmZ7B/mn94kee+S0zfbIfds/z7bPs+nBfXLnJvkDUCkOK3Sm/78QBkTHMSjL0dbwerk502+S7T58 + 8HD30+292WS2vX//4b3th9m9T7fzhzvTvcmD3fv3d6bfurf35OmDZ0+enBw82dt9cP/+6e7x/WfP + 9vbv7T/c29t/dvDsdOfg+MH+A/L8n56c7D94eHKyc//e/XtPd+7vnjw5+HQIFUM7xuTuD4P4zGBf + J1CN4k8TmS1bxv7B3vnDg4PJ+fbBp+e72/u72fn2w91sQmR9MJ3t7O7OJvvQjW1NArjKaoJDL+3s + bD/Yn+ycP7w/2304y+99ur9/cP4g3783m+2d7+9nu/fub9OMnO/vHuwe7Oxl+b3phAQLeoysLE/i + m4Kkus0W0PFAHBGSDdb2DxCkXeRLnfGPHu1B5wjNnMg+/HT/Uw7L1rePgwiFQOxVeY2DGPPuJaAS + esST0B5MOfyyZkP32n5htDLp3VaMIMZFYM2QXNB3b7y7++n9T/cxMhp6Q7NC7Y7XJEI0xmkqoNPq + PAXQtGhSsjnZpMxnYyBNGlEM742d7Uhne7u7+7foTOH2+lvLOzf0tvvo3sNHu7vj3Z17ew/Czr7C + T9PRebHMypQcrPo6FbKmUzJhj9LvfT/NlrM0f0fchZl+lL6Z59TwF62JO9KrjNrBiyGs0tk6T9sq + bel7MujnxQXNySz9dtuuTsqC+HIM/Kp1i1Ht7uyk5KJVy1mTktZdNeT80LBgWmQ8NOc52hOi/njs + VO0f3N/5FAOqJnCt8tnneciM6yXCaMdHMROHkaIHmOlr6p18Nog23qB3wUX49llW0PA++iW/5P8B + +r7xkvkSAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Jul 2022 22:34:52 GMT + ETag: + - '"2000e3e2-0000-3400-0000-62cc9ff20000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 2f6e7f1b-824b-4983-a951-c438450fcb31 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-reads: + - '11997' + x-ms-request-id: + - 1fe1363f-9523-4925-a4f8-37ca8f6f5d23 + x-ms-routing-request-id: + - WESTUS:20220711T223453Z:2f6e7f1b-824b-4983-a951-c438450fcb31 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.28.1 + x-ms-client-request-id: + - b19dde96-0169-11ed-bd2c-191631d1b15e + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.AzureArcData/dataControllers/cli-test-dc + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquVtmV9fL5XaeNdfr1d1VXV0Ws7xu7n5RTOuqqc7b8fEP1nV+XE+fZm12d0b/nFTLtq7K + Es3kve29nb29nQc7B9u793f37t/fnk0/Gn20zBY5IbmpSXu9QpOF7SxDZ1k9RT/c2dR1Ru3Lapph + rPQOgW3XzV6+zlb0Rf6uzZezfPbcNvjFpv+7PwwinXb6vztdN221MH8OEmpaEvJKhZPglY9+CX2R + XTQ0EvqtuW7afIEpoL8/mhKN2nz25JreEtx+T0fCabUgmLbJGwH+VZPX7uPjlj4CLts7D7Z3Dt7s + 7T7aO3h078H4/r293b2dez9FTUsi8BfVrDgvAIba39t9eP7p/d3z7Qez2WR7/3z66fbDg/sPth9k + +fnDvfs7k9nO/d572v3xalUWOrCwSYDK7u6bvb1HuzuP7h+MHzzYv/fg4cOfAiGI5Ku8bosc5Pio + WJ7XBKFeT1viFnqduYbgVsuXdb4omvyltCesqTUkZS+bffoAGE8+/TQj3CeT7Yf7+/vb+cH+7oNs + kj882M8IwGo9ITRfFxfLYnnxe+X0/kdfnJ09/cmfPjk5/ulPL46vzp4cX5x95/h59lMn199+dn48 + 3fnieOfzk9e/6PPXZ5N7T3/i9MnJ1VfHX5xcvPvOTx+/fXLx4iefHH/x5ttfvWhmv/eLnZ/6vc8u + fmLvJ69nn5eL7Lsv5rPPv7r4id/7J3eyzx9eZ7/3q/tfPNn/vZ++Obv+4un06sunZ++++MHpD754 + VuGze/jsxQ/sZ1ef//Tp7/PFk9/n8+Pdr06P333x8vdZlM3k83L9U9e7P8i+O1tn372/JNyfnP30 + 8YsnF29/0fxt8fnDq50nxz9x+uz4+MuT4584OMb3Jxe/F/1+erx68Gp2Xr7+7vQnHy7Psuynv9z5 + wXX5i7KvJqfnP93eq5u9b6/P315++dX5dz7/8nV2cnp9drDcffpq9ZO/z6tXX37+nW8vf7q6uPv6 + 27vvDt7u/fRPlMXLg5+6fvrTv/dq+fa7y4Mnq3vTFz/18rz6qd9rVv30bH7xi969/UXf/u6TveN3 + LyfZIjtd/PT6q4PPn1fP9n+vy9/n/Pf+znr/O9PTn3j95OSrLz7Jlt/+6tm7/f3Tn3pw94uzy6/y + 6elPf/p7ffXy/rN31188e3332ezL6b15fXZ5/eY7v/ez/Qc/1b69/nw//6lnpxc/cf9VWbz7wct2 + 93T5U+e7B5/O8ueffnn68P5Pz05fTJ8dZyfPflF5dm+1/+bVJ/mnT948n3z65FW7/s67V08eXu59 + l3TL8cXJdbvcP7g3/6nnX+6Uzy+/czyvXhRffGc5v5o+++6ni/03D++ePL36/JPi4O7J/k9WV1m+ + t35+78HT3R/Mvrg6e3r8E8dPqv3Pf+KLs89ffHFyjPmafYf45O7VT3z3iyc/8fnJSfP58U989ezJ + 1RcnTy4u6icXp8+e/MT06fGb4y/BP9/+iYMnx+cHp8RHJ0+y46vv/sTv8/QnX+28evLs7Oqrs7Mv + f5+9h+vZt79zOfn8XTktqNPFlyff+e6Ly8ny1fVk711DPNdO7/3UTz9fviqn935izb8vLD+uJ58/ + /Onf57vXJ8/2Nr8T4/PjfZKHnzj+zsX9Zf2g/vTF59ffXfzkF9Mnr1/Ps+OfejN91/6i+2eLV5Pq + bDZdfPfFxXdnVyc/+YMXu+295cPdL+8t16c/uD97+Om8uLu/e7/eP9l7d3W/vTvZXzz89tm7dxfr + 3/tJ8eSnm+Nf9Hs/XVRPv8x/0cGTV+8+/c7OVwf7n84vn+w/m79qv7ts28nB3Z+6OC/Of6KelcXs + yduv1q8mu6/f/sSbvU8//erl6f6r67PF8ul0Pp29nRe7y2Knar/86tt7v9enXy0uf/L3/uLd6S+6 + 9+Ts3fos/4mzL9/9Pi+erV+9Pv5BW0y+PP3O2/YH12+bpz+9ePPJq/NPf3DVLqrZd9bHL3a/erCY + nK3vfb5sfnr//k+s9w8eNg+/u5ifvHn4+stm8snd6ZurZllMX7x6QjNdvn354NXD756+JGP25Pe5 + 98ny+l59Wn7ypPnp5uTezsnv9enTX3SyPPlF1995dvrkk5989vu83Pvpu1B7bw+aV9kVlNjbYgk1 + BgPgzC8prGaVT/E96fVZvmyLrGQNOaumb/P6VX5RkJqEFiOTur2qi0tS/tu1+XhE7RZZsXyd15fF + ND+eTqv1EupYPt4mk4HPtzP5gv6mblp6Tb9wLzTZNnpwxhrYU/N1XYgSzsqyunq6XqwIPVLc+Ug+ + eVHN8i/yti6mzQnem7KB8Fu8rGYDDbgHxoNgfs+aew8H0udVTejd29k52LGt1SI9r7LZk6zMllNq + +Uu+j6/blrQ+AfvFH53CQpEhgCsyxweXi/Eie/f7L7LV72/GvL2LQYrpoRbZuq2+WpUEVfGlJuc0 + HbBL7rvnFTqwXzSea0If38Y3obcC74ReExdA3RP6ftBLItoshYRkfQnrj2ZFTX9jHPSVIRsNpiQ0 + x3XVMpjxLLsG0g8IQvhFU/wAUO7v7OzQd7OiWZXZ9QuZB+qZsOk5POT2/RLqjjydOrugdsSrxNP4 + SVyWN40i9irPZt8l5sm/pPkh2FOakEYhz/LzbF0yH0r/u/c/LzAGIPeBkHYAiUANuhgiWejFihF9 + KQ6reK/TelxU1LLOV1VT0Di9Ftvr1UWdzfLtNm/QbbEgIrzJLqjF5e74YLzz+4Ne2zufbu/um69f + rsvyZUVuCeAcl1eYDKC4yNsMMIELeL9ZZTTARx8paHxEfw1PA7HlcqkzyWRbZEvqbkFqRAYCT/Ju + tip+klxdakPAAGV75972zi4pk/yyyK8ISvS1aVmtZ6fLy6KulviKXuY44gSfD75U1XVeMkJn0HYP + DmZ7B/mn94kee+S0zfbIfds/z7bPs+nBfXLnJvkDUCkOK3Sm/78QBkTHMSjL0dbwerk502+S7T58 + 8HD30+292WS2vX//4b3th9m9T7fzhzvTvcmD3fv3d6bfurf35OmDZ0+enBw82dt9cP/+6e7x/WfP + 9vbv7T/c29t/dvDsdOfg+MH+A/L8n56c7D94eHKyc//e/XtPd+7vnjw5+HQIFUM7xuTuD4P4zGBf + J1CN4k8TmS1bxv7B3vnDg4PJ+fbBp+e72/u72fn2w91sQmR9MJ3t7O7OJvvQjW1NArjKaoJDL+3s + bD/Yn+ycP7w/2304y+99ur9/cP4g3783m+2d7+9nu/fub9OMnO/vHuwe7Oxl+b3phAQLeoysLE/i + m4Kkus0W0PFAHBGSDdb2DxCkXeRLnfGPHu1B5wjNnMg+/HT/Uw7L1rePgwiFQOxVeY2DGPPuJaAS + esST0B5MOfyyZkP32n5htDLp3VaMIMZFYM2QXNB3b7y7++n9T/cxMhp6Q7NC7Y7XJEI0xmkqoNPq + PAXQtGhSsjnZpMxnYyBNGlEM742d7Uhne7u7+7foTOH2+lvLOzf0tvvo3sNHu7vj3Z17ew/Czr7C + T9PRebHMypQcrPo6FbKmUzJhj9LvfT/NlrM0f0fchZl+lL6Z59TwF62JO9KrjNrBiyGs0tk6T9sq + bel7MujnxQXNySz9dtuuTsqC+HIM/Kp1i1Ht7uyk5KJVy1mTktZdNeT80LBgWmQ8NOc52hOi/njs + VO0f3N/5FAOqJnCt8tnneciM6yXCaMdHMROHkaIHmOlr6p18Nog23qB3wUX49llW0PA++iW/5P8B + +r7xkvkSAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Jul 2022 22:34:58 GMT + ETag: + - '"2000e3e2-0000-3400-0000-62cc9ff20000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - c936ab6d-33ae-4d97-9467-241f53ee27dd + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-reads: + - '11996' + x-ms-request-id: + - 49b065a8-7a4f-413f-a33f-124b00501944 + x-ms-routing-request-id: + - WESTUS:20220711T223458Z:c936ab6d-33ae-4d97-9467-241f53ee27dd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.28.1 + x-ms-client-request-id: + - b19dde97-0169-11ed-bd2c-191631d1b15e + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.AzureArcData/dataControllers/cli-test-dc + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquVtmV9fL5XaeNdfr1d1VXV0Ws7xu7n5RTOuqqc7b8fEP1nV+XE+fZm12d0b/nFTLtq7K + Es3kve29nb29nQc7B9u793f37t/fnk0/Gn20zBY5IbmpSXu9QpOF7SxDZ1k9RT/c2dR1Ru3Lapph + rPQOgW3XzV6+zlb0Rf6uzZezfPbcNvjFpv+7PwwinXb6vztdN221MH8OEmpaEvJKhZPglY9+CX2R + XTQ0EvqtuW7afIEpoL8/mhKN2nz25JreEtx+T0fCabUgmLbJGwH+VZPX7uPjlj4CLts7D7Z3Dt7s + 7T7aO3h078H4/r293b2dez9FTUsi8BfVrDgvAIba39t9eP7p/d3z7Qez2WR7/3z66fbDg/sPth9k + +fnDvfs7k9nO/d572v3xalUWOrCwSYDK7u6bvb1HuzuP7h+MHzzYv/fg4cOfAiGI5Ku8bosc5Pio + WJ7XBKFeT1viFnqduYbgVsuXdb4omvyltCesqTUkZS+bffoAGE8+/TQj3CeT7Yf7+/vb+cH+7oNs + kj882M8IwGo9ITRfFxfLYnnxe+X0/kdfnJ09/cmfPjk5/ulPL46vzp4cX5x95/h59lMn199+dn48 + 3fnieOfzk9e/6PPXZ5N7T3/i9MnJ1VfHX5xcvPvOTx+/fXLx4iefHH/x5ttfvWhmv/eLnZ/6vc8u + fmLvJ69nn5eL7Lsv5rPPv7r4id/7J3eyzx9eZ7/3q/tfPNn/vZ++Obv+4un06sunZ++++MHpD754 + VuGze/jsxQ/sZ1ef//Tp7/PFk9/n8+Pdr06P333x8vdZlM3k83L9U9e7P8i+O1tn372/JNyfnP30 + 8YsnF29/0fxt8fnDq50nxz9x+uz4+MuT4584OMb3Jxe/F/1+erx68Gp2Xr7+7vQnHy7Psuynv9z5 + wXX5i7KvJqfnP93eq5u9b6/P315++dX5dz7/8nV2cnp9drDcffpq9ZO/z6tXX37+nW8vf7q6uPv6 + 27vvDt7u/fRPlMXLg5+6fvrTv/dq+fa7y4Mnq3vTFz/18rz6qd9rVv30bH7xi969/UXf/u6TveN3 + LyfZIjtd/PT6q4PPn1fP9n+vy9/n/Pf+znr/O9PTn3j95OSrLz7Jlt/+6tm7/f3Tn3pw94uzy6/y + 6elPf/p7ffXy/rN31188e3332ezL6b15fXZ5/eY7v/ez/Qc/1b69/nw//6lnpxc/cf9VWbz7wct2 + 93T5U+e7B5/O8ueffnn68P5Pz05fTJ8dZyfPflF5dm+1/+bVJ/mnT948n3z65FW7/s67V08eXu59 + l3TL8cXJdbvcP7g3/6nnX+6Uzy+/czyvXhRffGc5v5o+++6ni/03D++ePL36/JPi4O7J/k9WV1m+ + t35+78HT3R/Mvrg6e3r8E8dPqv3Pf+KLs89ffHFyjPmafYf45O7VT3z3iyc/8fnJSfP58U989ezJ + 1RcnTy4u6icXp8+e/MT06fGb4y/BP9/+iYMnx+cHp8RHJ0+y46vv/sTv8/QnX+28evLs7Oqrs7Mv + f5+9h+vZt79zOfn8XTktqNPFlyff+e6Ly8ny1fVk711DPNdO7/3UTz9fviqn935izb8vLD+uJ58/ + /Onf57vXJ8/2Nr8T4/PjfZKHnzj+zsX9Zf2g/vTF59ffXfzkF9Mnr1/Ps+OfejN91/6i+2eLV5Pq + bDZdfPfFxXdnVyc/+YMXu+295cPdL+8t16c/uD97+Om8uLu/e7/eP9l7d3W/vTvZXzz89tm7dxfr + 3/tJ8eSnm+Nf9Hs/XVRPv8x/0cGTV+8+/c7OVwf7n84vn+w/m79qv7ts28nB3Z+6OC/Of6KelcXs + yduv1q8mu6/f/sSbvU8//erl6f6r67PF8ul0Pp29nRe7y2Knar/86tt7v9enXy0uf/L3/uLd6S+6 + 9+Ts3fos/4mzL9/9Pi+erV+9Pv5BW0y+PP3O2/YH12+bpz+9ePPJq/NPf3DVLqrZd9bHL3a/erCY + nK3vfb5sfnr//k+s9w8eNg+/u5ifvHn4+stm8snd6ZurZllMX7x6QjNdvn354NXD756+JGP25Pe5 + 98ny+l59Wn7ypPnp5uTezsnv9enTX3SyPPlF1995dvrkk5989vu83Pvpu1B7bw+aV9kVlNjbYgk1 + BgPgzC8prGaVT/E96fVZvmyLrGQNOaumb/P6VX5RkJqEFiOTur2qi0tS/tu1+XhE7RZZsXyd15fF + ND+eTqv1EupYPt4mk4HPtzP5gv6mblp6Tb9wLzTZNnpwxhrYU/N1XYgSzsqyunq6XqwIPVLc+Ug+ + eVHN8i/yti6mzQnem7KB8Fu8rGYDDbgHxoNgfs+aew8H0udVTejd29k52LGt1SI9r7LZk6zMllNq + +Uu+j6/blrQ+AfvFH53CQpEhgCsyxweXi/Eie/f7L7LV72/GvL2LQYrpoRbZuq2+WpUEVfGlJuc0 + HbBL7rvnFTqwXzSea0If38Y3obcC74ReExdA3RP6ftBLItoshYRkfQnrj2ZFTX9jHPSVIRsNpiQ0 + x3XVMpjxLLsG0g8IQvhFU/wAUO7v7OzQd7OiWZXZ9QuZB+qZsOk5POT2/RLqjjydOrugdsSrxNP4 + SVyWN40i9irPZt8l5sm/pPkh2FOakEYhz/LzbF0yH0r/u/c/LzAGIPeBkHYAiUANuhgiWejFihF9 + KQ6reK/TelxU1LLOV1VT0Di9Ftvr1UWdzfLtNm/QbbEgIrzJLqjF5e74YLzz+4Ne2zufbu/um69f + rsvyZUVuCeAcl1eYDKC4yNsMMIELeL9ZZTTARx8paHxEfw1PA7HlcqkzyWRbZEvqbkFqRAYCT/Ju + tip+klxdakPAAGV75972zi4pk/yyyK8ISvS1aVmtZ6fLy6KulviKXuY44gSfD75U1XVeMkJn0HYP + DmZ7B/mn94kee+S0zfbIfds/z7bPs+nBfXLnJvkDUCkOK3Sm/78QBkTHMSjL0dbwerk502+S7T58 + 8HD30+292WS2vX//4b3th9m9T7fzhzvTvcmD3fv3d6bfurf35OmDZ0+enBw82dt9cP/+6e7x/WfP + 9vbv7T/c29t/dvDsdOfg+MH+A/L8n56c7D94eHKyc//e/XtPd+7vnjw5+HQIFUM7xuTuD4P4zGBf + J1CN4k8TmS1bxv7B3vnDg4PJ+fbBp+e72/u72fn2w91sQmR9MJ3t7O7OJvvQjW1NArjKaoJDL+3s + bD/Yn+ycP7w/2304y+99ur9/cP4g3783m+2d7+9nu/fub9OMnO/vHuwe7Oxl+b3phAQLeoysLE/i + m4Kkus0W0PFAHBGSDdb2DxCkXeRLnfGPHu1B5wjNnMg+/HT/Uw7L1rePgwiFQOxVeY2DGPPuJaAS + esST0B5MOfyyZkP32n5htDLp3VaMIMZFYM2QXNB3b7y7++n9T/cxMhp6Q7NC7Y7XJEI0xmkqoNPq + PAXQtGhSsjnZpMxnYyBNGlEM742d7Uhne7u7+7foTOH2+lvLOzf0tvvo3sNHu7vj3Z17ew/Czr7C + T9PRebHMypQcrPo6FbKmUzJhj9LvfT/NlrM0f0fchZl+lL6Z59TwF62JO9KrjNrBiyGs0tk6T9sq + bel7MujnxQXNySz9dtuuTsqC+HIM/Kp1i1Ht7uyk5KJVy1mTktZdNeT80LBgWmQ8NOc52hOi/njs + VO0f3N/5FAOqJnCt8tnneciM6yXCaMdHMROHkaIHmOlr6p18Nog23qB3wUX49llW0PA++iW/5P8B + +r7xkvkSAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Jul 2022 22:34:58 GMT + ETag: + - '"2000e3e2-0000-3400-0000-62cc9ff20000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - c9e486dc-efd5-4aa3-b912-9eaf90965130 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-reads: + - '11995' + x-ms-request-id: + - 756d52df-890c-4ff3-8965-bb0d2f112592 + x-ms-routing-request-id: + - WESTUS:20220711T223458Z:c9e486dc-efd5-4aa3-b912-9eaf90965130 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.28.1 + x-ms-client-request-id: + - b4d8a636-0169-11ed-bd2c-191631d1b15e + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.AzureArcData/dataControllers/cli-test-dc + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquVtmV9fL5XaeNdfr1d1VXV0Ws7xu7n5RTOuqqc7b8fEP1nV+XE+fZm12d0b/nFTLtq7K + Es3kve29nb29nQc7B9u793f37t/fnk0/Gn20zBY5IbmpSXu9QpOF7SxDZ1k9RT/c2dR1Ru3Lapph + rPQOgW3XzV6+zlb0Rf6uzZezfPbcNvjFpv+7PwwinXb6vztdN221MH8OEmpaEvJKhZPglY9+CX2R + XTQ0EvqtuW7afIEpoL8/mhKN2nz25JreEtx+T0fCabUgmLbJGwH+VZPX7uPjlj4CLts7D7Z3Dt7s + 7T7aO3h078H4/r293b2dez9FTUsi8BfVrDgvAIba39t9eP7p/d3z7Qez2WR7/3z66fbDg/sPth9k + +fnDvfs7k9nO/d572v3xalUWOrCwSYDK7u6bvb1HuzuP7h+MHzzYv/fg4cOfAiGI5Ku8bosc5Pio + WJ7XBKFeT1viFnqduYbgVsuXdb4omvyltCesqTUkZS+bffoAGE8+/TQj3CeT7Yf7+/vb+cH+7oNs + kj882M8IwGo9ITRfFxfLYnnxe+X0/kdfnJ09/cmfPjk5/ulPL46vzp4cX5x95/h59lMn199+dn48 + 3fnieOfzk9e/6PPXZ5N7T3/i9MnJ1VfHX5xcvPvOTx+/fXLx4iefHH/x5ttfvWhmv/eLnZ/6vc8u + fmLvJ69nn5eL7Lsv5rPPv7r4id/7J3eyzx9eZ7/3q/tfPNn/vZ++Obv+4un06sunZ++++MHpD754 + VuGze/jsxQ/sZ1ef//Tp7/PFk9/n8+Pdr06P333x8vdZlM3k83L9U9e7P8i+O1tn372/JNyfnP30 + 8YsnF29/0fxt8fnDq50nxz9x+uz4+MuT4584OMb3Jxe/F/1+erx68Gp2Xr7+7vQnHy7Psuynv9z5 + wXX5i7KvJqfnP93eq5u9b6/P315++dX5dz7/8nV2cnp9drDcffpq9ZO/z6tXX37+nW8vf7q6uPv6 + 27vvDt7u/fRPlMXLg5+6fvrTv/dq+fa7y4Mnq3vTFz/18rz6qd9rVv30bH7xi969/UXf/u6TveN3 + LyfZIjtd/PT6q4PPn1fP9n+vy9/n/Pf+znr/O9PTn3j95OSrLz7Jlt/+6tm7/f3Tn3pw94uzy6/y + 6elPf/p7ffXy/rN31188e3332ezL6b15fXZ5/eY7v/ez/Qc/1b69/nw//6lnpxc/cf9VWbz7wct2 + 93T5U+e7B5/O8ueffnn68P5Pz05fTJ8dZyfPflF5dm+1/+bVJ/mnT948n3z65FW7/s67V08eXu59 + l3TL8cXJdbvcP7g3/6nnX+6Uzy+/czyvXhRffGc5v5o+++6ni/03D++ePL36/JPi4O7J/k9WV1m+ + t35+78HT3R/Mvrg6e3r8E8dPqv3Pf+KLs89ffHFyjPmafYf45O7VT3z3iyc/8fnJSfP58U989ezJ + 1RcnTy4u6icXp8+e/MT06fGb4y/BP9/+iYMnx+cHp8RHJ0+y46vv/sTv8/QnX+28evLs7Oqrs7Mv + f5+9h+vZt79zOfn8XTktqNPFlyff+e6Ly8ny1fVk711DPNdO7/3UTz9fviqn935izb8vLD+uJ58/ + /Onf57vXJ8/2Nr8T4/PjfZKHnzj+zsX9Zf2g/vTF59ffXfzkF9Mnr1/Ps+OfejN91/6i+2eLV5Pq + bDZdfPfFxXdnVyc/+YMXu+295cPdL+8t16c/uD97+Om8uLu/e7/eP9l7d3W/vTvZXzz89tm7dxfr + 3/tJ8eSnm+Nf9Hs/XVRPv8x/0cGTV+8+/c7OVwf7n84vn+w/m79qv7ts28nB3Z+6OC/Of6KelcXs + yduv1q8mu6/f/sSbvU8//erl6f6r67PF8ul0Pp29nRe7y2Knar/86tt7v9enXy0uf/L3/uLd6S+6 + 9+Ts3fos/4mzL9/9Pi+erV+9Pv5BW0y+PP3O2/YH12+bpz+9ePPJq/NPf3DVLqrZd9bHL3a/erCY + nK3vfb5sfnr//k+s9w8eNg+/u5ifvHn4+stm8snd6ZurZllMX7x6QjNdvn354NXD756+JGP25Pe5 + 98ny+l59Wn7ypPnp5uTezsnv9enTX3SyPPlF1995dvrkk5989vu83Pvpu1B7bw+aV9kVlNjbYgk1 + BgPgzC8prGaVT/E96fVZvmyLrGQNOaumb/P6VX5RkJqEFiOTur2qi0tS/tu1+XhE7RZZsXyd15fF + ND+eTqv1EupYPt4mk4HPtzP5gv6mblp6Tb9wLzTZNnpwxhrYU/N1XYgSzsqyunq6XqwIPVLc+Ug+ + eVHN8i/yti6mzQnem7KB8Fu8rGYDDbgHxoNgfs+aew8H0udVTejd29k52LGt1SI9r7LZk6zMllNq + +Uu+j6/blrQ+AfvFH53CQpEhgCsyxweXi/Eie/f7L7LV72/GvL2LQYrpoRbZuq2+WpUEVfGlJuc0 + HbBL7rvnFTqwXzSea0If38Y3obcC74ReExdA3RP6ftBLItoshYRkfQnrj2ZFTX9jHPSVIRsNpiQ0 + x3XVMpjxLLsG0g8IQvhFU/wAUO7v7OzQd7OiWZXZ9QuZB+qZsOk5POT2/RLqjjydOrugdsSrxNP4 + SVyWN40i9irPZt8l5sm/pPkh2FOakEYhz/LzbF0yH0r/u/c/LzAGIPeBkHYAiUANuhgiWejFihF9 + KQ6reK/TelxU1LLOV1VT0Di9Ftvr1UWdzfLtNm/QbbEgIrzJLqjF5e74YLzz+4Ne2zufbu/um69f + rsvyZUVuCeAcl1eYDKC4yNsMMIELeL9ZZTTARx8paHxEfw1PA7HlcqkzyWRbZEvqbkFqRAYCT/Ju + tip+klxdakPAAGV75972zi4pk/yyyK8ISvS1aVmtZ6fLy6KulviKXuY44gSfD75U1XVeMkJn0HYP + DmZ7B/mn94kee+S0zfbIfds/z7bPs+nBfXLnJvkDUCkOK3Sm/78QBkTHMSjL0dbwerk502+S7T58 + 8HD30+292WS2vX//4b3th9m9T7fzhzvTvcmD3fv3d6bfurf35OmDZ0+enBw82dt9cP/+6e7x/WfP + 9vbv7T/c29t/dvDsdOfg+MH+A/L8n56c7D94eHKyc//e/XtPd+7vnjw5+HQIFUM7xuTuD4P4zGBf + J1CN4k8TmS1bxv7B3vnDg4PJ+fbBp+e72/u72fn2w91sQmR9MJ3t7O7OJvvQjW1NArjKaoJDL+3s + bD/Yn+ycP7w/2304y+99ur9/cP4g3783m+2d7+9nu/fub9OMnO/vHuwe7Oxl+b3phAQLeoysLE/i + m4Kkus0W0PFAHBGSDdb2DxCkXeRLnfGPHu1B5wjNnMg+/HT/Uw7L1rePgwiFQOxVeY2DGPPuJaAS + esST0B5MOfyyZkP32n5htDLp3VaMIMZFYM2QXNB3b7y7++n9T/cxMhp6Q7NC7Y7XJEI0xmkqoNPq + PAXQtGhSsjnZpMxnYyBNGlEM742d7Uhne7u7+7foTOH2+lvLOzf0tvvo3sNHu7vj3Z17ew/Czr7C + T9PRebHMypQcrPo6FbKmUzJhj9LvfT/NlrM0f0fchZl+lL6Z59TwF62JO9KrjNrBiyGs0tk6T9sq + bel7MujnxQXNySz9dtuuTsqC+HIM/Kp1i1Ht7uyk5KJVy1mTktZdNeT80LBgWmQ8NOc52hOi/njs + VO0f3N/5FAOqJnCt8tnneciM6yXCaMdHMROHkaIHmOlr6p18Nog23qB3wUX49llW0PA++iW/5P8B + +r7xkvkSAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Jul 2022 22:35:03 GMT + ETag: + - '"2000e3e2-0000-3400-0000-62cc9ff20000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 50b1b8c2-235d-4d53-a459-4a966cdc762c + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-reads: + - '11994' + x-ms-request-id: + - 549010bc-d5d4-4f27-8ae9-8f850339d571 + x-ms-routing-request-id: + - WESTUS:20220711T223503Z:50b1b8c2-235d-4d53-a459-4a966cdc762c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.28.1 + x-ms-client-request-id: + - b7f6f246-0169-11ed-bd2c-191631d1b15e + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.AzureArcData/dataControllers/cli-test-dc + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquVtmV9fL5XaeNdfr1d1VXV0Ws7xu7n5RTOuqqc7b8fEP1nV+XE+fZm12d0b/nFTLtq7K + Es3kve29nb29nQc7B9u793f37t/fnk0/Gn20zBY5IbmpSXu9QpOF7SxDZ1k9RT/c2dR1Ru3Lapph + rPQOgW3XzV6+zlb0Rf6uzZezfPbcNvjFpv+7PwwinXb6vztdN221MH8OEmpaEvJKhZPglY9+CX2R + XTQ0EvqtuW7afIEpoL8/mhKN2nz25JreEtx+T0fCabUgmLbJGwH+VZPX7uPjlj4CLts7D7Z3Dt7s + 7T7aO3h078H4/r293b2dez9FTUsi8BfVrDgvAIba39t9eP7p/d3z7Qez2WR7/3z66fbDg/sPth9k + +fnDvfs7k9nO/d572v3xalUWOrCwSYDK7u6bvb1HuzuP7h+MHzzYv/fg4cOfAiGI5Ku8bosc5Pio + WJ7XBKFeT1viFnqduYbgVsuXdb4omvyltCesqTUkZS+bffoAGE8+/TQj3CeT7Yf7+/vb+cH+7oNs + kj882M8IwGo9ITRfFxfLYnnxe+X0/kdfnJ09/cmfPjk5/ulPL46vzp4cX5x95/h59lMn199+dn48 + 3fnieOfzk9e/6PPXZ5N7T3/i9MnJ1VfHX5xcvPvOTx+/fXLx4iefHH/x5ttfvWhmv/eLnZ/6vc8u + fmLvJ69nn5eL7Lsv5rPPv7r4id/7J3eyzx9eZ7/3q/tfPNn/vZ++Obv+4un06sunZ++++MHpD754 + VuGze/jsxQ/sZ1ef//Tp7/PFk9/n8+Pdr06P333x8vdZlM3k83L9U9e7P8i+O1tn372/JNyfnP30 + 8YsnF29/0fxt8fnDq50nxz9x+uz4+MuT4584OMb3Jxe/F/1+erx68Gp2Xr7+7vQnHy7Psuynv9z5 + wXX5i7KvJqfnP93eq5u9b6/P315++dX5dz7/8nV2cnp9drDcffpq9ZO/z6tXX37+nW8vf7q6uPv6 + 27vvDt7u/fRPlMXLg5+6fvrTv/dq+fa7y4Mnq3vTFz/18rz6qd9rVv30bH7xi969/UXf/u6TveN3 + LyfZIjtd/PT6q4PPn1fP9n+vy9/n/Pf+znr/O9PTn3j95OSrLz7Jlt/+6tm7/f3Tn3pw94uzy6/y + 6elPf/p7ffXy/rN31188e3332ezL6b15fXZ5/eY7v/ez/Qc/1b69/nw//6lnpxc/cf9VWbz7wct2 + 93T5U+e7B5/O8ueffnn68P5Pz05fTJ8dZyfPflF5dm+1/+bVJ/mnT948n3z65FW7/s67V08eXu59 + l3TL8cXJdbvcP7g3/6nnX+6Uzy+/czyvXhRffGc5v5o+++6ni/03D++ePL36/JPi4O7J/k9WV1m+ + t35+78HT3R/Mvrg6e3r8E8dPqv3Pf+KLs89ffHFyjPmafYf45O7VT3z3iyc/8fnJSfP58U989ezJ + 1RcnTy4u6icXp8+e/MT06fGb4y/BP9/+iYMnx+cHp8RHJ0+y46vv/sTv8/QnX+28evLs7Oqrs7Mv + f5+9h+vZt79zOfn8XTktqNPFlyff+e6Ly8ny1fVk711DPNdO7/3UTz9fviqn935izb8vLD+uJ58/ + /Onf57vXJ8/2Nr8T4/PjfZKHnzj+zsX9Zf2g/vTF59ffXfzkF9Mnr1/Ps+OfejN91/6i+2eLV5Pq + bDZdfPfFxXdnVyc/+YMXu+295cPdL+8t16c/uD97+Om8uLu/e7/eP9l7d3W/vTvZXzz89tm7dxfr + 3/tJ8eSnm+Nf9Hs/XVRPv8x/0cGTV+8+/c7OVwf7n84vn+w/m79qv7ts28nB3Z+6OC/Of6KelcXs + yduv1q8mu6/f/sSbvU8//erl6f6r67PF8ul0Pp29nRe7y2Knar/86tt7v9enXy0uf/L3/uLd6S+6 + 9+Ts3fos/4mzL9/9Pi+erV+9Pv5BW0y+PP3O2/YH12+bpz+9ePPJq/NPf3DVLqrZd9bHL3a/erCY + nK3vfb5sfnr//k+s9w8eNg+/u5ifvHn4+stm8snd6ZurZllMX7x6QjNdvn354NXD756+JGP25Pe5 + 98ny+l59Wn7ypPnp5uTezsnv9enTX3SyPPlF1995dvrkk5989vu83Pvpu1B7bw+aV9kVlNjbYgk1 + BgPgzC8prGaVT/E96fVZvmyLrGQNOaumb/P6VX5RkJqEFiOTur2qi0tS/tu1+XhE7RZZsXyd15fF + ND+eTqv1EupYPt4mk4HPtzP5gv6mblp6Tb9wLzTZNnpwxhrYU/N1XYgSzsqyunq6XqwIPVLc+Ug+ + eVHN8i/yti6mzQnem7KB8Fu8rGYDDbgHxoNgfs+aew8H0udVTejd29k52LGt1SI9r7LZk6zMllNq + +Uu+j6/blrQ+AfvFH53CQpEhgCsyxweXi/Eie/f7L7LV72/GvL2LQYrpoRbZuq2+WpUEVfGlJuc0 + HbBL7rvnFTqwXzSea0If38Y3obcC74ReExdA3RP6ftBLItoshYRkfQnrj2ZFTX9jHPSVIRsNpiQ0 + x3XVMpjxLLsG0g8IQvhFU/wAUO7v7OzQd7OiWZXZ9QuZB+qZsOk5POT2/RLqjjydOrugdsSrxNP4 + SVyWN40i9irPZt8l5sm/pPkh2FOakEYhz/LzbF0yH0r/u/c/LzAGIPeBkHYAiUANuhgiWejFihF9 + KQ6reK/TelxU1LLOV1VT0Di9Ftvr1UWdzfLtNm/QbbEgIrzJLqjF5e74YLzz+4Ne2zufbu/um69f + rsvyZUVuCeAcl1eYDKC4yNsMMIELeL9ZZTTARx8paHxEfw1PA7HlcqkzyWRbZEvqbkFqRAYCT/Ju + tip+klxdakPAAGV75972zi4pk/yyyK8ISvS1aVmtZ6fLy6KulviKXuY44gSfD75U1XVeMkJn0HYP + DmZ7B/mn94kee+S0zfbIfds/z7bPs+nBfXLnJvkDUCkOK3Sm/78QBkTHMSjL0dbwerk502+S7T58 + 8HD30+292WS2vX//4b3th9m9T7fzhzvTvcmD3fv3d6bfurf35OmDZ0+enBw82dt9cP/+6e7x/WfP + 9vbv7T/c29t/dvDsdOfg+MH+A/L8n56c7D94eHKyc//e/XtPd+7vnjw5+HQIFUM7xuTuD4P4zGBf + J1CN4k8TmS1bxv7B3vnDg4PJ+fbBp+e72/u72fn2w91sQmR9MJ3t7O7OJvvQjW1NArjKaoJDL+3s + bD/Yn+ycP7w/2304y+99ur9/cP4g3783m+2d7+9nu/fub9OMnO/vHuwe7Oxl+b3phAQLeoysLE/i + m4Kkus0W0PFAHBGSDdb2DxCkXeRLnfGPHu1B5wjNnMg+/HT/Uw7L1rePgwiFQOxVeY2DGPPuJaAS + esST0B5MOfyyZkP32n5htDLp3VaMIMZFYM2QXNB3b7y7++n9T/cxMhp6Q7NC7Y7XJEI0xmkqoNPq + PAXQtGhSsjnZpMxnYyBNGlEM742d7Uhne7u7+7foTOH2+lvLOzf0tvvo3sNHu7vj3Z17ew/Czr7C + T9PRebHMypQcrPo6FbKmUzJhj9LvfT/NlrM0f0fchZl+lL6Z59TwF62JO9KrjNrBiyGs0tk6T9sq + bel7MujnxQXNySz9dtuuTsqC+HIM/Kp1i1Ht7uyk5KJVy1mTktZdNeT80LBgWmQ8NOc52hOi/njs + VO0f3N/5FAOqJnCt8tnneciM6yXCaMdHMROHkaIHmOlr6p18Nog23qB3wUX49llW0PA++iW/5P8B + +r7xkvkSAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Jul 2022 22:35:08 GMT + ETag: + - '"2000e3e2-0000-3400-0000-62cc9ff20000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 47d4d9a5-7337-47a4-a7f8-408a76c7e352 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-reads: + - '11993' + x-ms-request-id: + - 3457d8de-885e-4a72-8e1b-089d2caf9b07 + x-ms-routing-request-id: + - WESTUS:20220711T223508Z:47d4d9a5-7337-47a4-a7f8-408a76c7e352 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.28.1 + x-ms-client-request-id: + - b7f6f247-0169-11ed-bd2c-191631d1b15e + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/rg-cli-test/providers/Microsoft.AzureArcData/dataControllers/cli-test-dc + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WquVtmV9fL5XaeNdfr1d1VXV0Ws7xu7n5RTOuqqc7b8fEP1nV+XE+fZm12d0b/nFTLtq7K + Es3kve29nb29nQc7B9u793f37t/fnk0/Gn20zBY5IbmpSXu9QpOF7SxDZ1k9RT/c2dR1Ru3Lapph + rPQOgW3XzV6+zlb0Rf6uzZezfPbcNvjFpv+7PwwinXb6vztdN221MH8OEmpaEvJKhZPglY9+CX2R + XTQ0EvqtuW7afIEpoL8/mhKN2nz25JreEtx+T0fCabUgmLbJGwH+VZPX7uPjlj4CLts7D7Z3Dt7s + 7T7aO3h078H4/r293b2dez9FTUsi8BfVrDgvAIba39t9eP7p/d3z7Qez2WR7/3z66fbDg/sPth9k + +fnDvfs7k9nO/d572v3xalUWOrCwSYDK7u6bvb1HuzuP7h+MHzzYv/fg4cOfAiGI5Ku8bosc5Pio + WJ7XBKFeT1viFnqduYbgVsuXdb4omvyltCesqTUkZS+bffoAGE8+/TQj3CeT7Yf7+/vb+cH+7oNs + kj882M8IwGo9ITRfFxfLYnnxe+X0/kdfnJ09/cmfPjk5/ulPL46vzp4cX5x95/h59lMn199+dn48 + 3fnieOfzk9e/6PPXZ5N7T3/i9MnJ1VfHX5xcvPvOTx+/fXLx4iefHH/x5ttfvWhmv/eLnZ/6vc8u + fmLvJ69nn5eL7Lsv5rPPv7r4id/7J3eyzx9eZ7/3q/tfPNn/vZ++Obv+4un06sunZ++++MHpD754 + VuGze/jsxQ/sZ1ef//Tp7/PFk9/n8+Pdr06P333x8vdZlM3k83L9U9e7P8i+O1tn372/JNyfnP30 + 8YsnF29/0fxt8fnDq50nxz9x+uz4+MuT4584OMb3Jxe/F/1+erx68Gp2Xr7+7vQnHy7Psuynv9z5 + wXX5i7KvJqfnP93eq5u9b6/P315++dX5dz7/8nV2cnp9drDcffpq9ZO/z6tXX37+nW8vf7q6uPv6 + 27vvDt7u/fRPlMXLg5+6fvrTv/dq+fa7y4Mnq3vTFz/18rz6qd9rVv30bH7xi969/UXf/u6TveN3 + LyfZIjtd/PT6q4PPn1fP9n+vy9/n/Pf+znr/O9PTn3j95OSrLz7Jlt/+6tm7/f3Tn3pw94uzy6/y + 6elPf/p7ffXy/rN31188e3332ezL6b15fXZ5/eY7v/ez/Qc/1b69/nw//6lnpxc/cf9VWbz7wct2 + 93T5U+e7B5/O8ueffnn68P5Pz05fTJ8dZyfPflF5dm+1/+bVJ/mnT948n3z65FW7/s67V08eXu59 + l3TL8cXJdbvcP7g3/6nnX+6Uzy+/czyvXhRffGc5v5o+++6ni/03D++ePL36/JPi4O7J/k9WV1m+ + t35+78HT3R/Mvrg6e3r8E8dPqv3Pf+KLs89ffHFyjPmafYf45O7VT3z3iyc/8fnJSfP58U989ezJ + 1RcnTy4u6icXp8+e/MT06fGb4y/BP9/+iYMnx+cHp8RHJ0+y46vv/sTv8/QnX+28evLs7Oqrs7Mv + f5+9h+vZt79zOfn8XTktqNPFlyff+e6Ly8ny1fVk711DPNdO7/3UTz9fviqn935izb8vLD+uJ58/ + /Onf57vXJ8/2Nr8T4/PjfZKHnzj+zsX9Zf2g/vTF59ffXfzkF9Mnr1/Ps+OfejN91/6i+2eLV5Pq + bDZdfPfFxXdnVyc/+YMXu+295cPdL+8t16c/uD97+Om8uLu/e7/eP9l7d3W/vTvZXzz89tm7dxfr + 3/tJ8eSnm+Nf9Hs/XVRPv8x/0cGTV+8+/c7OVwf7n84vn+w/m79qv7ts28nB3Z+6OC/Of6KelcXs + yduv1q8mu6/f/sSbvU8//erl6f6r67PF8ul0Pp29nRe7y2Knar/86tt7v9enXy0uf/L3/uLd6S+6 + 9+Ts3fos/4mzL9/9Pi+erV+9Pv5BW0y+PP3O2/YH12+bpz+9ePPJq/NPf3DVLqrZd9bHL3a/erCY + nK3vfb5sfnr//k+s9w8eNg+/u5ifvHn4+stm8snd6ZurZllMX7x6QjNdvn354NXD756+JGP25Pe5 + 98ny+l59Wn7ypPnp5uTezsnv9enTX3SyPPlF1995dvrkk5989vu83Pvpu1B7bw+aV9kVlNjbYgk1 + BgPgzC8prGaVT/E96fVZvmyLrGQNOaumb/P6VX5RkJqEFiOTur2qi0tS/tu1+XhE7RZZsXyd15fF + ND+eTqv1EupYPt4mk4HPtzP5gv6mblp6Tb9wLzTZNnpwxhrYU/N1XYgSzsqyunq6XqwIPVLc+Ug+ + eVHN8i/yti6mzQnem7KB8Fu8rGYDDbgHxoNgfs+aew8H0udVTejd29k52LGt1SI9r7LZk6zMllNq + +Uu+j6/blrQ+AfvFH53CQpEhgCsyxweXi/Eie/f7L7LV72/GvL2LQYrpoRbZuq2+WpUEVfGlJuc0 + HbBL7rvnFTqwXzSea0If38Y3obcC74ReExdA3RP6ftBLItoshYRkfQnrj2ZFTX9jHPSVIRsNpiQ0 + x3XVMpjxLLsG0g8IQvhFU/wAUO7v7OzQd7OiWZXZ9QuZB+qZsOk5POT2/RLqjjydOrugdsSrxNP4 + SVyWN40i9irPZt8l5sm/pPkh2FOakEYhz/LzbF0yH0r/u/c/LzAGIPeBkHYAiUANuhgiWejFihF9 + KQ6reK/TelxU1LLOV1VT0Di9Ftvr1UWdzfLtNm/QbbEgIrzJLqjF5e74YLzz+4Ne2zufbu/um69f + rsvyZUVuCeAcl1eYDKC4yNsMMIELeL9ZZTTARx8paHxEfw1PA7HlcqkzyWRbZEvqbkFqRAYCT/Ju + tip+klxdakPAAGV75972zi4pk/yyyK8ISvS1aVmtZ6fLy6KulviKXuY44gSfD75U1XVeMkJn0HYP + DmZ7B/mn94kee+S0zfbIfds/z7bPs+nBfXLnJvkDUCkOK3Sm/78QBkTHMSjL0dbwerk502+S7T58 + 8HD30+292WS2vX//4b3th9m9T7fzhzvTvcmD3fv3d6bfurf35OmDZ0+enBw82dt9cP/+6e7x/WfP + 9vbv7T/c29t/dvDsdOfg+MH+A/L8n56c7D94eHKyc//e/XtPd+7vnjw5+HQIFUM7xuTuD4P4zGBf + J1CN4k8TmS1bxv7B3vnDg4PJ+fbBp+e72/u72fn2w91sQmR9MJ3t7O7OJvvQjW1NArjKaoJDL+3s + bD/Yn+ycP7w/2304y+99ur9/cP4g3783m+2d7+9nu/fub9OMnO/vHuwe7Oxl+b3phAQLeoysLE/i + m4Kkus0W0PFAHBGSDdb2DxCkXeRLnfGPHu1B5wjNnMg+/HT/Uw7L1rePgwiFQOxVeY2DGPPuJaAS + esST0B5MOfyyZkP32n5htDLp3VaMIMZFYM2QXNB3b7y7++n9T/cxMhp6Q7NC7Y7XJEI0xmkqoNPq + PAXQtGhSsjnZpMxnYyBNGlEM742d7Uhne7u7+7foTOH2+lvLOzf0tvvo3sNHu7vj3Z17ew/Czr7C + T9PRebHMypQcrPo6FbKmUzJhj9LvfT/NlrM0f0fchZl+lL6Z59TwF62JO9KrjNrBiyGs0tk6T9sq + bel7MujnxQXNySz9dtuuTsqC+HIM/Kp1i1Ht7uyk5KJVy1mTktZdNeT80LBgWmQ8NOc52hOi/njs + VO0f3N/5FAOqJnCt8tnneciM6yXCaMdHMROHkaIHmOlr6p18Nog23qB3wUX49llW0PA++iW/5P8B + +r7xkvkSAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 11 Jul 2022 22:35:08 GMT + ETag: + - '"2000e3e2-0000-3400-0000-62cc9ff20000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 110ccee3-18e5-4bfe-a332-e523c40480be + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-reads: + - '11992' + x-ms-request-id: + - 309fb7fb-fc49-47db-ba81-708831dae836 + x-ms-routing-request-id: + - WESTUS:20220711T223509Z:110ccee3-18e5-4bfe-a332-e523c40480be + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestMonitoring.test_dc_create_env_vars_full_create.yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestMonitoring.test_dc_create_env_vars_full_create.yaml new file mode 100644 index 00000000000..a4a06cc8e1d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestMonitoring.test_dc_create_env_vars_full_create.yaml @@ -0,0 +1,1581 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/logsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"logsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"logsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '224' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:51 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/metricsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"metricsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"metricsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '230' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:51 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:51 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/statefulsets + response: + body: + string: '{"kind":"StatefulSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293301"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '101' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:51 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/daemonsets + response: + body: + string: '{"kind":"DaemonSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293301"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '99' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/deployments + response: + body: + string: '{"kind":"DeploymentList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293303"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/replicasets + response: + body: + string: '{"kind":"ReplicaSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293303"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/services + response: + body: + string: '{"kind":"ServiceList","apiVersion":"v1","metadata":{"resourceVersion":"293303"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '92' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/persistentvolumeclaims + response: + body: + string: '{"kind":"PersistentVolumeClaimList","apiVersion":"v1","metadata":{"resourceVersion":"293303"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '106' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/pods + response: + body: + string: '{"kind":"PodList","apiVersion":"v1","metadata":{"resourceVersion":"293303"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '88' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"annotations": {"openshift.io/sa.scc.supplemental-groups": + "1000700001/10000", "openshift.io/sa.scc.uid-range": "1000700001/10000"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293303"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "postgresqls.arcdata.microsoft.com", "resourceVersion": + "293263"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": ".status.readyPods"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", + "jsonPath": ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": + ".status.readyPods"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "PostgreSql", "plural": + "postgresqls", "shortNames": ["postgres"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/postgresqls.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293303"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstances.sql.arcdata.microsoft.com", "resourceVersion": + "293264"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": ".status.readyReplicas"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v3", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v4", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", + "jsonPath": ".status.endpoints.primary"}, {"name": "Age", "type": "date", "jsonPath": + ".metadata.creationTimestamp"}]}, {"name": "v5", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "Status", "type": "string", "jsonPath": ".status.state"}, {"name": "Replicas", + "type": "string", "jsonPath": ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", + "type": "string", "jsonPath": ".status.endpoints.primary"}, {"name": "Age", + "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], "conversion": + {"strategy": "None"}, "names": {"kind": "SqlManagedInstance", "plural": "sqlmanagedinstances", + "shortNames": ["sqlmi"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstances.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293303"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com", + "resourceVersion": "293265"}, "spec": {"group": "tasks.sql.arcdata.microsoft.com", + "versions": [{"name": "v1beta1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v1", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "SqlManagedInstanceRestoreTask", "singular": "sqlmanagedinstancerestoretask", + "plural": "sqlmanagedinstancerestoretasks", "shortNames": ["sqlmirestoretask"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293303"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "exporttasks.tasks.arcdata.microsoft.com", "resourceVersion": + "293266"}, "spec": {"group": "tasks.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v2", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "ExportTask", "singular": "exporttask", "plural": "exporttasks", "shortNames": + ["export"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/exporttasks.tasks.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293303"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "failovergroups.sql.arcdata.microsoft.com", "resourceVersion": + "293267"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".status.role", "name": "Role", "type": "string"}, {"jsonPath": + ".metadata.creationTimestamp", "name": "Age", "type": "date"}]}, {"name": "v1beta2", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", "type": + "date"}]}, {"name": "v1", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": + "Status", "type": "string"}, {"jsonPath": ".status.results", "name": "Results", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}], "conversion": {"strategy": "None"}, "names": {"kind": "FailoverGroup", + "singular": "failovergroup", "plural": "failovergroups", "shortNames": ["fog"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/failovergroups.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293303"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "activedirectoryconnectors.arcdata.microsoft.com", "resourceVersion": + "293268"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "names": {"kind": "ActiveDirectoryConnector", "plural": "activedirectoryconnectors", + "shortNames": ["adc", "adcon", "adconnector"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/activedirectoryconnectors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293303"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "monitors.arcdata.microsoft.com", "resourceVersion": "293273"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Monitor", "plural": "monitors", + "shortNames": ["monitor"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/monitors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293303"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "kafkas.arcdata.microsoft.com", "resourceVersion": "293276"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Kafka", "plural": "kafkas", + "shortNames": ["kafka"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/kafkas.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:53 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293303"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:53 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "datacontrollers.arcdata.microsoft.com", "resourceVersion": + "293282"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v2", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v3", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v4", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v5", "served": + true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}], "conversion": {"strategy": + "None"}, "names": {"kind": "DataController", "plural": "datacontrollers"}, "scope": + "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/datacontrollers.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:53 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-metricsdc-reader"}, "rules": [{"apiGroups": [""], "resources": + ["pods", "nodes/stats", "nodes/proxy"], "verbs": ["get"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-metricsdc-reader","uid":"e84ef834-37e4-468f-acb9-c97f2db54128","resourceVersion":"216124","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["get"],"apiGroups":[""],"resources":["pods","nodes/stats","nodes/proxy"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1243' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:53 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-metricsdc-reader"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-metricsdc-reader"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-metricsdc-reader", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-metricsdc-reader","uid":"d021fe77-f819-4ecd-908c-08a24cb92971","resourceVersion":"216127","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-metricsdc-reader","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-metricsdc-reader"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1415' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:53 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-dc-watch"}, "rules": [{"apiGroups": ["apiextensions.k8s.io"], + "resources": ["customresourcedefinitions"], "verbs": ["watch", "get", "list"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-dc-watch","uid":"211bf763-8a69-4d8f-aaeb-94c3b96dd218","resourceVersion":"216123","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["watch","get","list"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1263' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:53 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-dc-watch"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-dc-watch"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-controller", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-dc-watch","uid":"d868d606-87e8-45a7-8aae-965c458b6cdf","resourceVersion":"216126","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-controller","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-dc-watch"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1393' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:53 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "logsui-admin-secret"}, + "type": "Opaque", "data": {"username": "YWRtaW4y", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"logsui-admin-secret","namespace":"test","uid":"43f09e9e-ce26-4746-9fbf-e2a066675e19","resourceVersion":"293304","creationTimestamp":"2022-06-06T18:37:53Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:53Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"YWRtaW4y"},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '507' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:53 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "metricsui-admin-secret"}, + "type": "Opaque", "data": {"username": "YWRtaW4=", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"metricsui-admin-secret","namespace":"test","uid":"88f1b843-69ce-4b73-8f3c-866b97e12b89","resourceVersion":"293305","creationTimestamp":"2022-06-06T18:37:53Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:53Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"YWRtaW4="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '510' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:53 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/logsui-admin-secret + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"logsui-admin-secret","namespace":"test","uid":"43f09e9e-ce26-4746-9fbf-e2a066675e19","resourceVersion":"293304","creationTimestamp":"2022-06-06T18:37:53Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:53Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"YWRtaW4y"},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '507' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:53 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/metricsui-admin-secret + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"metricsui-admin-secret","namespace":"test","uid":"88f1b843-69ce-4b73-8f3c-866b97e12b89","resourceVersion":"293305","creationTimestamp":"2022-06-06T18:37:53Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:53Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"YWRtaW4="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '510' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:53 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestMonitoring.test_dc_create_env_vars_no_tty.yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestMonitoring.test_dc_create_env_vars_no_tty.yaml new file mode 100644 index 00000000000..ce7736a9337 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestMonitoring.test_dc_create_env_vars_no_tty.yaml @@ -0,0 +1,7247 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/logsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"logsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"logsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '224' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:44 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/metricsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"metricsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"metricsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '230' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:44 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:44 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/statefulsets + response: + body: + string: '{"kind":"StatefulSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293294"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '101' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:44 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/daemonsets + response: + body: + string: '{"kind":"DaemonSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293294"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '99' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:44 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/deployments + response: + body: + string: '{"kind":"DeploymentList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293294"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:44 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/replicasets + response: + body: + string: '{"kind":"ReplicaSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293294"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:44 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/services + response: + body: + string: '{"kind":"ServiceList","apiVersion":"v1","metadata":{"resourceVersion":"293294"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '92' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:44 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/persistentvolumeclaims + response: + body: + string: '{"kind":"PersistentVolumeClaimList","apiVersion":"v1","metadata":{"resourceVersion":"293294"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '106' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:44 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/pods + response: + body: + string: '{"kind":"PodList","apiVersion":"v1","metadata":{"resourceVersion":"293294"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '88' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:44 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:44 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"annotations": {"openshift.io/sa.scc.supplemental-groups": + "1000700001/10000", "openshift.io/sa.scc.uid-range": "1000700001/10000"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:44 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293294"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "postgresqls.arcdata.microsoft.com", "resourceVersion": + "293263"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": ".status.readyPods"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", + "jsonPath": ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": + ".status.readyPods"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "PostgreSql", "plural": + "postgresqls", "shortNames": ["postgres"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/postgresqls.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293294"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstances.sql.arcdata.microsoft.com", "resourceVersion": + "293264"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": ".status.readyReplicas"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v3", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v4", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", + "jsonPath": ".status.endpoints.primary"}, {"name": "Age", "type": "date", "jsonPath": + ".metadata.creationTimestamp"}]}, {"name": "v5", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "Status", "type": "string", "jsonPath": ".status.state"}, {"name": "Replicas", + "type": "string", "jsonPath": ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", + "type": "string", "jsonPath": ".status.endpoints.primary"}, {"name": "Age", + "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], "conversion": + {"strategy": "None"}, "names": {"kind": "SqlManagedInstance", "plural": "sqlmanagedinstances", + "shortNames": ["sqlmi"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstances.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293294"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com", + "resourceVersion": "293265"}, "spec": {"group": "tasks.sql.arcdata.microsoft.com", + "versions": [{"name": "v1beta1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v1", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "SqlManagedInstanceRestoreTask", "singular": "sqlmanagedinstancerestoretask", + "plural": "sqlmanagedinstancerestoretasks", "shortNames": ["sqlmirestoretask"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293294"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "exporttasks.tasks.arcdata.microsoft.com", "resourceVersion": + "293266"}, "spec": {"group": "tasks.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v2", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "ExportTask", "singular": "exporttask", "plural": "exporttasks", "shortNames": + ["export"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/exporttasks.tasks.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293294"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "failovergroups.sql.arcdata.microsoft.com", "resourceVersion": + "293267"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".status.role", "name": "Role", "type": "string"}, {"jsonPath": + ".metadata.creationTimestamp", "name": "Age", "type": "date"}]}, {"name": "v1beta2", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", "type": + "date"}]}, {"name": "v1", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": + "Status", "type": "string"}, {"jsonPath": ".status.results", "name": "Results", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}], "conversion": {"strategy": "None"}, "names": {"kind": "FailoverGroup", + "singular": "failovergroup", "plural": "failovergroups", "shortNames": ["fog"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/failovergroups.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293294"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "activedirectoryconnectors.arcdata.microsoft.com", "resourceVersion": + "293268"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "names": {"kind": "ActiveDirectoryConnector", "plural": "activedirectoryconnectors", + "shortNames": ["adc", "adcon", "adconnector"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/activedirectoryconnectors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293294"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "monitors.arcdata.microsoft.com", "resourceVersion": "293273"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Monitor", "plural": "monitors", + "shortNames": ["monitor"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/monitors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293294"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "kafkas.arcdata.microsoft.com", "resourceVersion": "293276"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Kafka", "plural": "kafkas", + "shortNames": ["kafka"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/kafkas.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293294"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "datacontrollers.arcdata.microsoft.com", "resourceVersion": + "293282"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v2", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v3", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v4", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v5", "served": + true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}], "conversion": {"strategy": + "None"}, "names": {"kind": "DataController", "plural": "datacontrollers"}, "scope": + "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/datacontrollers.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-metricsdc-reader"}, "rules": [{"apiGroups": [""], "resources": + ["pods", "nodes/stats", "nodes/proxy"], "verbs": ["get"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-metricsdc-reader","uid":"e84ef834-37e4-468f-acb9-c97f2db54128","resourceVersion":"216124","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["get"],"apiGroups":[""],"resources":["pods","nodes/stats","nodes/proxy"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1243' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:45 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-metricsdc-reader"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-metricsdc-reader"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-metricsdc-reader", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-metricsdc-reader","uid":"d021fe77-f819-4ecd-908c-08a24cb92971","resourceVersion":"216127","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-metricsdc-reader","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-metricsdc-reader"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1415' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-dc-watch"}, "rules": [{"apiGroups": ["apiextensions.k8s.io"], + "resources": ["customresourcedefinitions"], "verbs": ["watch", "get", "list"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-dc-watch","uid":"211bf763-8a69-4d8f-aaeb-94c3b96dd218","resourceVersion":"216123","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["watch","get","list"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1263' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-dc-watch"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-dc-watch"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-controller", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-dc-watch","uid":"d868d606-87e8-45a7-8aae-965c458b6cdf","resourceVersion":"216126","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-controller","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-dc-watch"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1393' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/logsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"logsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"logsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '224' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/metricsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"metricsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"metricsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '230' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/statefulsets + response: + body: + string: '{"kind":"StatefulSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293296"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '101' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/daemonsets + response: + body: + string: '{"kind":"DaemonSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293296"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '99' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/deployments + response: + body: + string: '{"kind":"DeploymentList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293296"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/replicasets + response: + body: + string: '{"kind":"ReplicaSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293296"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/services + response: + body: + string: '{"kind":"ServiceList","apiVersion":"v1","metadata":{"resourceVersion":"293296"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '92' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/persistentvolumeclaims + response: + body: + string: '{"kind":"PersistentVolumeClaimList","apiVersion":"v1","metadata":{"resourceVersion":"293296"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '106' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/pods + response: + body: + string: '{"kind":"PodList","apiVersion":"v1","metadata":{"resourceVersion":"293296"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '88' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"annotations": {"openshift.io/sa.scc.supplemental-groups": + "1000700001/10000", "openshift.io/sa.scc.uid-range": "1000700001/10000"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293296"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "postgresqls.arcdata.microsoft.com", "resourceVersion": + "293263"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": ".status.readyPods"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", + "jsonPath": ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": + ".status.readyPods"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "PostgreSql", "plural": + "postgresqls", "shortNames": ["postgres"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/postgresqls.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293296"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstances.sql.arcdata.microsoft.com", "resourceVersion": + "293264"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": ".status.readyReplicas"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v3", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v4", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", + "jsonPath": ".status.endpoints.primary"}, {"name": "Age", "type": "date", "jsonPath": + ".metadata.creationTimestamp"}]}, {"name": "v5", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "Status", "type": "string", "jsonPath": ".status.state"}, {"name": "Replicas", + "type": "string", "jsonPath": ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", + "type": "string", "jsonPath": ".status.endpoints.primary"}, {"name": "Age", + "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], "conversion": + {"strategy": "None"}, "names": {"kind": "SqlManagedInstance", "plural": "sqlmanagedinstances", + "shortNames": ["sqlmi"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstances.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293296"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com", + "resourceVersion": "293265"}, "spec": {"group": "tasks.sql.arcdata.microsoft.com", + "versions": [{"name": "v1beta1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v1", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "SqlManagedInstanceRestoreTask", "singular": "sqlmanagedinstancerestoretask", + "plural": "sqlmanagedinstancerestoretasks", "shortNames": ["sqlmirestoretask"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293296"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "exporttasks.tasks.arcdata.microsoft.com", "resourceVersion": + "293266"}, "spec": {"group": "tasks.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v2", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "ExportTask", "singular": "exporttask", "plural": "exporttasks", "shortNames": + ["export"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/exporttasks.tasks.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293296"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "failovergroups.sql.arcdata.microsoft.com", "resourceVersion": + "293267"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".status.role", "name": "Role", "type": "string"}, {"jsonPath": + ".metadata.creationTimestamp", "name": "Age", "type": "date"}]}, {"name": "v1beta2", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", "type": + "date"}]}, {"name": "v1", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": + "Status", "type": "string"}, {"jsonPath": ".status.results", "name": "Results", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}], "conversion": {"strategy": "None"}, "names": {"kind": "FailoverGroup", + "singular": "failovergroup", "plural": "failovergroups", "shortNames": ["fog"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/failovergroups.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293296"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:46 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "activedirectoryconnectors.arcdata.microsoft.com", "resourceVersion": + "293268"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "names": {"kind": "ActiveDirectoryConnector", "plural": "activedirectoryconnectors", + "shortNames": ["adc", "adcon", "adconnector"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/activedirectoryconnectors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293296"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "monitors.arcdata.microsoft.com", "resourceVersion": "293273"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Monitor", "plural": "monitors", + "shortNames": ["monitor"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/monitors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293296"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "kafkas.arcdata.microsoft.com", "resourceVersion": "293276"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Kafka", "plural": "kafkas", + "shortNames": ["kafka"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/kafkas.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293296"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "datacontrollers.arcdata.microsoft.com", "resourceVersion": + "293282"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v2", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v3", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v4", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v5", "served": + true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}], "conversion": {"strategy": + "None"}, "names": {"kind": "DataController", "plural": "datacontrollers"}, "scope": + "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/datacontrollers.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-metricsdc-reader"}, "rules": [{"apiGroups": [""], "resources": + ["pods", "nodes/stats", "nodes/proxy"], "verbs": ["get"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-metricsdc-reader","uid":"e84ef834-37e4-468f-acb9-c97f2db54128","resourceVersion":"216124","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["get"],"apiGroups":[""],"resources":["pods","nodes/stats","nodes/proxy"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1243' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-metricsdc-reader"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-metricsdc-reader"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-metricsdc-reader", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-metricsdc-reader","uid":"d021fe77-f819-4ecd-908c-08a24cb92971","resourceVersion":"216127","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-metricsdc-reader","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-metricsdc-reader"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1415' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-dc-watch"}, "rules": [{"apiGroups": ["apiextensions.k8s.io"], + "resources": ["customresourcedefinitions"], "verbs": ["watch", "get", "list"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-dc-watch","uid":"211bf763-8a69-4d8f-aaeb-94c3b96dd218","resourceVersion":"216123","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["watch","get","list"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1263' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-dc-watch"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-dc-watch"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-controller", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-dc-watch","uid":"d868d606-87e8-45a7-8aae-965c458b6cdf","resourceVersion":"216126","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-controller","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-dc-watch"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1393' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/logsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"logsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"logsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '224' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/metricsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"metricsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"metricsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '230' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/statefulsets + response: + body: + string: '{"kind":"StatefulSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293296"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '101' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/daemonsets + response: + body: + string: '{"kind":"DaemonSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293296"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '99' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/deployments + response: + body: + string: '{"kind":"DeploymentList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293296"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/replicasets + response: + body: + string: '{"kind":"ReplicaSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293296"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/services + response: + body: + string: '{"kind":"ServiceList","apiVersion":"v1","metadata":{"resourceVersion":"293296"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '92' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/persistentvolumeclaims + response: + body: + string: '{"kind":"PersistentVolumeClaimList","apiVersion":"v1","metadata":{"resourceVersion":"293296"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '106' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/pods + response: + body: + string: '{"kind":"PodList","apiVersion":"v1","metadata":{"resourceVersion":"293296"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '88' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"annotations": {"openshift.io/sa.scc.supplemental-groups": + "1000700001/10000", "openshift.io/sa.scc.uid-range": "1000700001/10000"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293296"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "postgresqls.arcdata.microsoft.com", "resourceVersion": + "293263"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": ".status.readyPods"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", + "jsonPath": ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": + ".status.readyPods"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "PostgreSql", "plural": + "postgresqls", "shortNames": ["postgres"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/postgresqls.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293296"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstances.sql.arcdata.microsoft.com", "resourceVersion": + "293264"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": ".status.readyReplicas"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v3", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v4", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", + "jsonPath": ".status.endpoints.primary"}, {"name": "Age", "type": "date", "jsonPath": + ".metadata.creationTimestamp"}]}, {"name": "v5", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "Status", "type": "string", "jsonPath": ".status.state"}, {"name": "Replicas", + "type": "string", "jsonPath": ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", + "type": "string", "jsonPath": ".status.endpoints.primary"}, {"name": "Age", + "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], "conversion": + {"strategy": "None"}, "names": {"kind": "SqlManagedInstance", "plural": "sqlmanagedinstances", + "shortNames": ["sqlmi"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstances.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:47 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293298"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com", + "resourceVersion": "293265"}, "spec": {"group": "tasks.sql.arcdata.microsoft.com", + "versions": [{"name": "v1beta1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v1", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "SqlManagedInstanceRestoreTask", "singular": "sqlmanagedinstancerestoretask", + "plural": "sqlmanagedinstancerestoretasks", "shortNames": ["sqlmirestoretask"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293299"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "exporttasks.tasks.arcdata.microsoft.com", "resourceVersion": + "293266"}, "spec": {"group": "tasks.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v2", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "ExportTask", "singular": "exporttask", "plural": "exporttasks", "shortNames": + ["export"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/exporttasks.tasks.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293299"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "failovergroups.sql.arcdata.microsoft.com", "resourceVersion": + "293267"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".status.role", "name": "Role", "type": "string"}, {"jsonPath": + ".metadata.creationTimestamp", "name": "Age", "type": "date"}]}, {"name": "v1beta2", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", "type": + "date"}]}, {"name": "v1", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": + "Status", "type": "string"}, {"jsonPath": ".status.results", "name": "Results", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}], "conversion": {"strategy": "None"}, "names": {"kind": "FailoverGroup", + "singular": "failovergroup", "plural": "failovergroups", "shortNames": ["fog"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/failovergroups.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293299"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "activedirectoryconnectors.arcdata.microsoft.com", "resourceVersion": + "293268"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "names": {"kind": "ActiveDirectoryConnector", "plural": "activedirectoryconnectors", + "shortNames": ["adc", "adcon", "adconnector"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/activedirectoryconnectors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293299"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "monitors.arcdata.microsoft.com", "resourceVersion": "293273"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Monitor", "plural": "monitors", + "shortNames": ["monitor"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/monitors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293299"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "kafkas.arcdata.microsoft.com", "resourceVersion": "293276"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Kafka", "plural": "kafkas", + "shortNames": ["kafka"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/kafkas.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293299"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "datacontrollers.arcdata.microsoft.com", "resourceVersion": + "293282"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v2", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v3", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v4", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v5", "served": + true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}], "conversion": {"strategy": + "None"}, "names": {"kind": "DataController", "plural": "datacontrollers"}, "scope": + "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/datacontrollers.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-metricsdc-reader"}, "rules": [{"apiGroups": [""], "resources": + ["pods", "nodes/stats", "nodes/proxy"], "verbs": ["get"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-metricsdc-reader","uid":"e84ef834-37e4-468f-acb9-c97f2db54128","resourceVersion":"216124","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["get"],"apiGroups":[""],"resources":["pods","nodes/stats","nodes/proxy"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1243' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-metricsdc-reader"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-metricsdc-reader"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-metricsdc-reader", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-metricsdc-reader","uid":"d021fe77-f819-4ecd-908c-08a24cb92971","resourceVersion":"216127","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-metricsdc-reader","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-metricsdc-reader"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1415' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-dc-watch"}, "rules": [{"apiGroups": ["apiextensions.k8s.io"], + "resources": ["customresourcedefinitions"], "verbs": ["watch", "get", "list"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-dc-watch","uid":"211bf763-8a69-4d8f-aaeb-94c3b96dd218","resourceVersion":"216123","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["watch","get","list"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1263' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-dc-watch"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-dc-watch"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-controller", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-dc-watch","uid":"d868d606-87e8-45a7-8aae-965c458b6cdf","resourceVersion":"216126","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-controller","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-dc-watch"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1393' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/logsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"logsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"logsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '224' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/metricsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"metricsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"metricsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '230' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/statefulsets + response: + body: + string: '{"kind":"StatefulSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293299"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '101' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:48 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/daemonsets + response: + body: + string: '{"kind":"DaemonSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293299"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '99' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/deployments + response: + body: + string: '{"kind":"DeploymentList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293299"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/replicasets + response: + body: + string: '{"kind":"ReplicaSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293299"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/services + response: + body: + string: '{"kind":"ServiceList","apiVersion":"v1","metadata":{"resourceVersion":"293299"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '92' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/persistentvolumeclaims + response: + body: + string: '{"kind":"PersistentVolumeClaimList","apiVersion":"v1","metadata":{"resourceVersion":"293299"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '106' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/pods + response: + body: + string: '{"kind":"PodList","apiVersion":"v1","metadata":{"resourceVersion":"293299"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '88' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"annotations": {"openshift.io/sa.scc.supplemental-groups": + "1000700001/10000", "openshift.io/sa.scc.uid-range": "1000700001/10000"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293299"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "postgresqls.arcdata.microsoft.com", "resourceVersion": + "293263"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": ".status.readyPods"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", + "jsonPath": ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": + ".status.readyPods"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "PostgreSql", "plural": + "postgresqls", "shortNames": ["postgres"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/postgresqls.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293299"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstances.sql.arcdata.microsoft.com", "resourceVersion": + "293264"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": ".status.readyReplicas"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v3", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v4", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", + "jsonPath": ".status.endpoints.primary"}, {"name": "Age", "type": "date", "jsonPath": + ".metadata.creationTimestamp"}]}, {"name": "v5", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "Status", "type": "string", "jsonPath": ".status.state"}, {"name": "Replicas", + "type": "string", "jsonPath": ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", + "type": "string", "jsonPath": ".status.endpoints.primary"}, {"name": "Age", + "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], "conversion": + {"strategy": "None"}, "names": {"kind": "SqlManagedInstance", "plural": "sqlmanagedinstances", + "shortNames": ["sqlmi"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstances.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293299"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com", + "resourceVersion": "293265"}, "spec": {"group": "tasks.sql.arcdata.microsoft.com", + "versions": [{"name": "v1beta1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v1", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "SqlManagedInstanceRestoreTask", "singular": "sqlmanagedinstancerestoretask", + "plural": "sqlmanagedinstancerestoretasks", "shortNames": ["sqlmirestoretask"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293299"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "exporttasks.tasks.arcdata.microsoft.com", "resourceVersion": + "293266"}, "spec": {"group": "tasks.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v2", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "ExportTask", "singular": "exporttask", "plural": "exporttasks", "shortNames": + ["export"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/exporttasks.tasks.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293299"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "failovergroups.sql.arcdata.microsoft.com", "resourceVersion": + "293267"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".status.role", "name": "Role", "type": "string"}, {"jsonPath": + ".metadata.creationTimestamp", "name": "Age", "type": "date"}]}, {"name": "v1beta2", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", "type": + "date"}]}, {"name": "v1", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": + "Status", "type": "string"}, {"jsonPath": ".status.results", "name": "Results", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}], "conversion": {"strategy": "None"}, "names": {"kind": "FailoverGroup", + "singular": "failovergroup", "plural": "failovergroups", "shortNames": ["fog"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/failovergroups.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293299"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "activedirectoryconnectors.arcdata.microsoft.com", "resourceVersion": + "293268"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "names": {"kind": "ActiveDirectoryConnector", "plural": "activedirectoryconnectors", + "shortNames": ["adc", "adcon", "adconnector"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/activedirectoryconnectors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293299"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "monitors.arcdata.microsoft.com", "resourceVersion": "293273"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Monitor", "plural": "monitors", + "shortNames": ["monitor"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/monitors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293299"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "kafkas.arcdata.microsoft.com", "resourceVersion": "293276"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Kafka", "plural": "kafkas", + "shortNames": ["kafka"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/kafkas.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:49 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293301"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "datacontrollers.arcdata.microsoft.com", "resourceVersion": + "293282"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v2", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v3", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v4", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v5", "served": + true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}], "conversion": {"strategy": + "None"}, "names": {"kind": "DataController", "plural": "datacontrollers"}, "scope": + "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/datacontrollers.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-metricsdc-reader"}, "rules": [{"apiGroups": [""], "resources": + ["pods", "nodes/stats", "nodes/proxy"], "verbs": ["get"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-metricsdc-reader","uid":"e84ef834-37e4-468f-acb9-c97f2db54128","resourceVersion":"216124","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["get"],"apiGroups":[""],"resources":["pods","nodes/stats","nodes/proxy"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1243' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-metricsdc-reader"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-metricsdc-reader"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-metricsdc-reader", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-metricsdc-reader","uid":"d021fe77-f819-4ecd-908c-08a24cb92971","resourceVersion":"216127","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-metricsdc-reader","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-metricsdc-reader"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1415' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-dc-watch"}, "rules": [{"apiGroups": ["apiextensions.k8s.io"], + "resources": ["customresourcedefinitions"], "verbs": ["watch", "get", "list"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-dc-watch","uid":"211bf763-8a69-4d8f-aaeb-94c3b96dd218","resourceVersion":"216123","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["watch","get","list"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1263' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-dc-watch"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-dc-watch"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-controller", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-dc-watch","uid":"d868d606-87e8-45a7-8aae-965c458b6cdf","resourceVersion":"216126","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-controller","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-dc-watch"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1393' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/logsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"logsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"logsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '224' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/metricsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"metricsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"metricsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '230' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/statefulsets + response: + body: + string: '{"kind":"StatefulSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293301"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '101' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/daemonsets + response: + body: + string: '{"kind":"DaemonSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293301"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '99' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/deployments + response: + body: + string: '{"kind":"DeploymentList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293301"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/replicasets + response: + body: + string: '{"kind":"ReplicaSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293301"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/services + response: + body: + string: '{"kind":"ServiceList","apiVersion":"v1","metadata":{"resourceVersion":"293301"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '92' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/persistentvolumeclaims + response: + body: + string: '{"kind":"PersistentVolumeClaimList","apiVersion":"v1","metadata":{"resourceVersion":"293301"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '106' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/pods + response: + body: + string: '{"kind":"PodList","apiVersion":"v1","metadata":{"resourceVersion":"293301"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '88' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"annotations": {"openshift.io/sa.scc.supplemental-groups": + "1000700001/10000", "openshift.io/sa.scc.uid-range": "1000700001/10000"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293301"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "postgresqls.arcdata.microsoft.com", "resourceVersion": + "293263"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": ".status.readyPods"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", + "jsonPath": ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": + ".status.readyPods"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "PostgreSql", "plural": + "postgresqls", "shortNames": ["postgres"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/postgresqls.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293301"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstances.sql.arcdata.microsoft.com", "resourceVersion": + "293264"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": ".status.readyReplicas"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v3", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v4", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", + "jsonPath": ".status.endpoints.primary"}, {"name": "Age", "type": "date", "jsonPath": + ".metadata.creationTimestamp"}]}, {"name": "v5", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "Status", "type": "string", "jsonPath": ".status.state"}, {"name": "Replicas", + "type": "string", "jsonPath": ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", + "type": "string", "jsonPath": ".status.endpoints.primary"}, {"name": "Age", + "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], "conversion": + {"strategy": "None"}, "names": {"kind": "SqlManagedInstance", "plural": "sqlmanagedinstances", + "shortNames": ["sqlmi"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstances.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293301"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com", + "resourceVersion": "293265"}, "spec": {"group": "tasks.sql.arcdata.microsoft.com", + "versions": [{"name": "v1beta1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v1", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "SqlManagedInstanceRestoreTask", "singular": "sqlmanagedinstancerestoretask", + "plural": "sqlmanagedinstancerestoretasks", "shortNames": ["sqlmirestoretask"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293301"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "exporttasks.tasks.arcdata.microsoft.com", "resourceVersion": + "293266"}, "spec": {"group": "tasks.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v2", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "ExportTask", "singular": "exporttask", "plural": "exporttasks", "shortNames": + ["export"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/exporttasks.tasks.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:50 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293301"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:51 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "failovergroups.sql.arcdata.microsoft.com", "resourceVersion": + "293267"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".status.role", "name": "Role", "type": "string"}, {"jsonPath": + ".metadata.creationTimestamp", "name": "Age", "type": "date"}]}, {"name": "v1beta2", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", "type": + "date"}]}, {"name": "v1", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": + "Status", "type": "string"}, {"jsonPath": ".status.results", "name": "Results", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}], "conversion": {"strategy": "None"}, "names": {"kind": "FailoverGroup", + "singular": "failovergroup", "plural": "failovergroups", "shortNames": ["fog"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/failovergroups.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:51 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293301"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:51 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "activedirectoryconnectors.arcdata.microsoft.com", "resourceVersion": + "293268"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "names": {"kind": "ActiveDirectoryConnector", "plural": "activedirectoryconnectors", + "shortNames": ["adc", "adcon", "adconnector"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/activedirectoryconnectors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:51 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293301"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:51 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "monitors.arcdata.microsoft.com", "resourceVersion": "293273"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Monitor", "plural": "monitors", + "shortNames": ["monitor"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/monitors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:51 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293301"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:51 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "kafkas.arcdata.microsoft.com", "resourceVersion": "293276"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Kafka", "plural": "kafkas", + "shortNames": ["kafka"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/kafkas.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:51 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293301"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:51 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "datacontrollers.arcdata.microsoft.com", "resourceVersion": + "293282"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v2", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v3", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v4", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v5", "served": + true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}], "conversion": {"strategy": + "None"}, "names": {"kind": "DataController", "plural": "datacontrollers"}, "scope": + "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/datacontrollers.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:51 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-metricsdc-reader"}, "rules": [{"apiGroups": [""], "resources": + ["pods", "nodes/stats", "nodes/proxy"], "verbs": ["get"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-metricsdc-reader","uid":"e84ef834-37e4-468f-acb9-c97f2db54128","resourceVersion":"216124","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["get"],"apiGroups":[""],"resources":["pods","nodes/stats","nodes/proxy"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1243' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:51 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-metricsdc-reader"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-metricsdc-reader"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-metricsdc-reader", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-metricsdc-reader","uid":"d021fe77-f819-4ecd-908c-08a24cb92971","resourceVersion":"216127","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-metricsdc-reader","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-metricsdc-reader"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1415' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:51 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-dc-watch"}, "rules": [{"apiGroups": ["apiextensions.k8s.io"], + "resources": ["customresourcedefinitions"], "verbs": ["watch", "get", "list"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-dc-watch","uid":"211bf763-8a69-4d8f-aaeb-94c3b96dd218","resourceVersion":"216123","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["watch","get","list"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1263' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:51 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-dc-watch"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-dc-watch"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-controller", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-dc-watch","uid":"d868d606-87e8-45a7-8aae-965c458b6cdf","resourceVersion":"216126","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-controller","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-dc-watch"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1393' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:51 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestMonitoring.test_dc_create_env_vars_tty.yaml b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestMonitoring.test_dc_create_env_vars_tty.yaml new file mode 100644 index 00000000000..37e64b28f3e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/cassettes/TestMonitoring.test_dc_create_env_vars_tty.yaml @@ -0,0 +1,11572 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/logsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"logsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"logsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '224' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:33 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/metricsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"metricsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"metricsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '230' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:33 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"namespaces + \"test\" not found","reason":"NotFound","details":{"name":"test","kind":"namespaces"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '188' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:33 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: '{"metadata": {"labels": {}, "name": "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: POST + uri: https://mock-host/api/v1/namespaces + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293257","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:33Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '520' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:33 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/statefulsets + response: + body: + string: '{"kind":"StatefulSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293259"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '101' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:33 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/daemonsets + response: + body: + string: '{"kind":"DaemonSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293261"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '99' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:33 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/deployments + response: + body: + string: '{"kind":"DeploymentList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293261"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:33 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/replicasets + response: + body: + string: '{"kind":"ReplicaSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293261"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:33 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/services + response: + body: + string: '{"kind":"ServiceList","apiVersion":"v1","metadata":{"resourceVersion":"293261"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '92' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/persistentvolumeclaims + response: + body: + string: '{"kind":"PersistentVolumeClaimList","apiVersion":"v1","metadata":{"resourceVersion":"293261"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '106' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/pods + response: + body: + string: '{"kind":"PodList","apiVersion":"v1","metadata":{"resourceVersion":"293261"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '88' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293257","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:33Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '520' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"annotations": {"openshift.io/sa.scc.supplemental-groups": + "1000700001/10000", "openshift.io/sa.scc.uid-range": "1000700001/10000"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293262"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"216114","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"216116","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"216117","generation":2,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}},"f:spec":{"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"216120","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"216122","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"216121","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "postgresqls.arcdata.microsoft.com", "resourceVersion": + "216120"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": ".status.readyPods"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", + "jsonPath": ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": + ".status.readyPods"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "PostgreSql", "plural": + "postgresqls", "shortNames": ["postgres"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/postgresqls.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293263"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"216114","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"216116","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"216117","generation":2,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}},"f:spec":{"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"216122","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"216121","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstances.sql.arcdata.microsoft.com", "resourceVersion": + "216121"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": ".status.readyReplicas"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v3", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v4", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", + "jsonPath": ".status.endpoints.primary"}, {"name": "Age", "type": "date", "jsonPath": + ".metadata.creationTimestamp"}]}, {"name": "v5", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "Status", "type": "string", "jsonPath": ".status.state"}, {"name": "Replicas", + "type": "string", "jsonPath": ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", + "type": "string", "jsonPath": ".status.endpoints.primary"}, {"name": "Age", + "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], "conversion": + {"strategy": "None"}, "names": {"kind": "SqlManagedInstance", "plural": "sqlmanagedinstances", + "shortNames": ["sqlmi"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstances.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293264"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"216114","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"216116","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"216117","generation":2,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}},"f:spec":{"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"216122","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com", + "resourceVersion": "216122"}, "spec": {"group": "tasks.sql.arcdata.microsoft.com", + "versions": [{"name": "v1beta1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v1", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "SqlManagedInstanceRestoreTask", "singular": "sqlmanagedinstancerestoretask", + "plural": "sqlmanagedinstancerestoretasks", "shortNames": ["sqlmirestoretask"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293265"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"216114","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"216116","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"216117","generation":2,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}},"f:spec":{"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "exporttasks.tasks.arcdata.microsoft.com", "resourceVersion": + "216116"}, "spec": {"group": "tasks.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v2", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "ExportTask", "singular": "exporttask", "plural": "exporttasks", "shortNames": + ["export"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/exporttasks.tasks.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293266"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"216114","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"216117","generation":2,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}},"f:spec":{"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "failovergroups.sql.arcdata.microsoft.com", "resourceVersion": + "216117"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".status.role", "name": "Role", "type": "string"}, {"jsonPath": + ".metadata.creationTimestamp", "name": "Age", "type": "date"}]}, {"name": "v1beta2", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", "type": + "date"}]}, {"name": "v1", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": + "Status", "type": "string"}, {"jsonPath": ".status.results", "name": "Results", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}], "conversion": {"strategy": "None"}, "names": {"kind": "FailoverGroup", + "singular": "failovergroup", "plural": "failovergroups", "shortNames": ["fog"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/failovergroups.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293267"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"216114","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:helm.sh/resource-policy":{}},"f:labels":{"f:helm.sh/chart":{}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "activedirectoryconnectors.arcdata.microsoft.com", "resourceVersion": + "216114"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "names": {"kind": "ActiveDirectoryConnector", "plural": "activedirectoryconnectors", + "shortNames": ["adc", "adcon", "adconnector"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/activedirectoryconnectors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293268"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "monitors.arcdata.microsoft.com"}, "spec": {"group": "arcdata.microsoft.com", + "versions": [{"name": "v1beta1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "Status", "type": "string", "jsonPath": ".status.state"}, {"name": "Age", "type": + "date", "jsonPath": ".metadata.creationTimestamp"}]}, {"name": "v1", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "Status", "type": "string", "jsonPath": ".status.state"}, {"name": "Age", "type": + "date", "jsonPath": ".metadata.creationTimestamp"}]}, {"name": "v2", "served": + true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "Status", "type": "string", "jsonPath": ".status.state"}, {"name": "Age", "type": + "date", "jsonPath": ".metadata.creationTimestamp"}]}], "conversion": {"strategy": + "None"}, "names": {"kind": "Monitor", "plural": "monitors", "shortNames": ["monitor"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: POST + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293269","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":null,"acceptedNames":{"plural":"","kind":""},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1911' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293273"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "kafkas.arcdata.microsoft.com"}, "spec": {"group": "arcdata.microsoft.com", + "versions": [{"name": "v1beta1", "served": true, "storage": true, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "Status", "type": "string", "jsonPath": ".status.state"}, {"name": "Age", "type": + "date", "jsonPath": ".metadata.creationTimestamp"}]}], "conversion": {"strategy": + "None"}, "names": {"kind": "Kafka", "plural": "kafkas", "shortNames": ["kafka"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: POST + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293274","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":null,"acceptedNames":{"plural":"","kind":""},"storedVersions":["v1beta1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1256' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293276"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "datacontrollers.arcdata.microsoft.com"}, "spec": {"group": + "arcdata.microsoft.com", "versions": [{"name": "v1beta1", "served": true, "storage": + false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v1", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v2", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v3", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v4", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v5", "served": + true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}], "conversion": {"strategy": + "None"}, "names": {"kind": "DataController", "plural": "datacontrollers"}, "scope": + "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: POST + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293277","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":null,"acceptedNames":{"plural":"","kind":""},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-metricsdc-reader"}, "rules": [{"apiGroups": [""], "resources": + ["pods", "nodes/stats", "nodes/proxy"], "verbs": ["get"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-metricsdc-reader","uid":"e84ef834-37e4-468f-acb9-c97f2db54128","resourceVersion":"216124","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["get"],"apiGroups":[""],"resources":["pods","nodes/stats","nodes/proxy"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1243' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-metricsdc-reader"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-metricsdc-reader"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-metricsdc-reader", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-metricsdc-reader","uid":"d021fe77-f819-4ecd-908c-08a24cb92971","resourceVersion":"216127","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-metricsdc-reader","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-metricsdc-reader"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1415' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-dc-watch"}, "rules": [{"apiGroups": ["apiextensions.k8s.io"], + "resources": ["customresourcedefinitions"], "verbs": ["watch", "get", "list"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-dc-watch","uid":"211bf763-8a69-4d8f-aaeb-94c3b96dd218","resourceVersion":"216123","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["watch","get","list"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1263' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-dc-watch"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-dc-watch"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-controller", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-dc-watch","uid":"d868d606-87e8-45a7-8aae-965c458b6cdf","resourceVersion":"216126","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-controller","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-dc-watch"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1393' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:34 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/logsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"logsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"logsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '224' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/metricsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"metricsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"metricsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '230' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/statefulsets + response: + body: + string: '{"kind":"StatefulSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293282"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '101' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/daemonsets + response: + body: + string: '{"kind":"DaemonSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293282"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '99' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/deployments + response: + body: + string: '{"kind":"DeploymentList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293282"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/replicasets + response: + body: + string: '{"kind":"ReplicaSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293282"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/services + response: + body: + string: '{"kind":"ServiceList","apiVersion":"v1","metadata":{"resourceVersion":"293282"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '92' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/persistentvolumeclaims + response: + body: + string: '{"kind":"PersistentVolumeClaimList","apiVersion":"v1","metadata":{"resourceVersion":"293282"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '106' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/pods + response: + body: + string: '{"kind":"PodList","apiVersion":"v1","metadata":{"resourceVersion":"293282"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '88' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"annotations": {"openshift.io/sa.scc.supplemental-groups": + "1000700001/10000", "openshift.io/sa.scc.uid-range": "1000700001/10000"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293282"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "postgresqls.arcdata.microsoft.com", "resourceVersion": + "293263"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": ".status.readyPods"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", + "jsonPath": ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": + ".status.readyPods"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "PostgreSql", "plural": + "postgresqls", "shortNames": ["postgres"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/postgresqls.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293282"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstances.sql.arcdata.microsoft.com", "resourceVersion": + "293264"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": ".status.readyReplicas"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v3", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v4", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", + "jsonPath": ".status.endpoints.primary"}, {"name": "Age", "type": "date", "jsonPath": + ".metadata.creationTimestamp"}]}, {"name": "v5", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "Status", "type": "string", "jsonPath": ".status.state"}, {"name": "Replicas", + "type": "string", "jsonPath": ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", + "type": "string", "jsonPath": ".status.endpoints.primary"}, {"name": "Age", + "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], "conversion": + {"strategy": "None"}, "names": {"kind": "SqlManagedInstance", "plural": "sqlmanagedinstances", + "shortNames": ["sqlmi"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstances.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293282"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com", + "resourceVersion": "293265"}, "spec": {"group": "tasks.sql.arcdata.microsoft.com", + "versions": [{"name": "v1beta1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v1", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "SqlManagedInstanceRestoreTask", "singular": "sqlmanagedinstancerestoretask", + "plural": "sqlmanagedinstancerestoretasks", "shortNames": ["sqlmirestoretask"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293282"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "exporttasks.tasks.arcdata.microsoft.com", "resourceVersion": + "293266"}, "spec": {"group": "tasks.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v2", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "ExportTask", "singular": "exporttask", "plural": "exporttasks", "shortNames": + ["export"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/exporttasks.tasks.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293284"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "failovergroups.sql.arcdata.microsoft.com", "resourceVersion": + "293267"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".status.role", "name": "Role", "type": "string"}, {"jsonPath": + ".metadata.creationTimestamp", "name": "Age", "type": "date"}]}, {"name": "v1beta2", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", "type": + "date"}]}, {"name": "v1", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": + "Status", "type": "string"}, {"jsonPath": ".status.results", "name": "Results", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}], "conversion": {"strategy": "None"}, "names": {"kind": "FailoverGroup", + "singular": "failovergroup", "plural": "failovergroups", "shortNames": ["fog"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/failovergroups.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:35 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293284"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "activedirectoryconnectors.arcdata.microsoft.com", "resourceVersion": + "293268"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "names": {"kind": "ActiveDirectoryConnector", "plural": "activedirectoryconnectors", + "shortNames": ["adc", "adcon", "adconnector"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/activedirectoryconnectors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293284"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "monitors.arcdata.microsoft.com", "resourceVersion": "293273"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Monitor", "plural": "monitors", + "shortNames": ["monitor"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/monitors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293284"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "kafkas.arcdata.microsoft.com", "resourceVersion": "293276"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Kafka", "plural": "kafkas", + "shortNames": ["kafka"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/kafkas.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293284"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "datacontrollers.arcdata.microsoft.com", "resourceVersion": + "293282"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v2", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v3", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v4", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v5", "served": + true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}], "conversion": {"strategy": + "None"}, "names": {"kind": "DataController", "plural": "datacontrollers"}, "scope": + "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/datacontrollers.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-metricsdc-reader"}, "rules": [{"apiGroups": [""], "resources": + ["pods", "nodes/stats", "nodes/proxy"], "verbs": ["get"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-metricsdc-reader","uid":"e84ef834-37e4-468f-acb9-c97f2db54128","resourceVersion":"216124","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["get"],"apiGroups":[""],"resources":["pods","nodes/stats","nodes/proxy"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1243' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-metricsdc-reader"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-metricsdc-reader"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-metricsdc-reader", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-metricsdc-reader","uid":"d021fe77-f819-4ecd-908c-08a24cb92971","resourceVersion":"216127","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-metricsdc-reader","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-metricsdc-reader"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1415' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-dc-watch"}, "rules": [{"apiGroups": ["apiextensions.k8s.io"], + "resources": ["customresourcedefinitions"], "verbs": ["watch", "get", "list"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-dc-watch","uid":"211bf763-8a69-4d8f-aaeb-94c3b96dd218","resourceVersion":"216123","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["watch","get","list"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1263' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-dc-watch"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-dc-watch"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-controller", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-dc-watch","uid":"d868d606-87e8-45a7-8aae-965c458b6cdf","resourceVersion":"216126","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-controller","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-dc-watch"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1393' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/logsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"logsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"logsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '224' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/metricsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"metricsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"metricsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '230' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/statefulsets + response: + body: + string: '{"kind":"StatefulSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293284"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '101' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/daemonsets + response: + body: + string: '{"kind":"DaemonSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293284"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '99' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/deployments + response: + body: + string: '{"kind":"DeploymentList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293284"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/replicasets + response: + body: + string: '{"kind":"ReplicaSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293284"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/services + response: + body: + string: '{"kind":"ServiceList","apiVersion":"v1","metadata":{"resourceVersion":"293284"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '92' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/persistentvolumeclaims + response: + body: + string: '{"kind":"PersistentVolumeClaimList","apiVersion":"v1","metadata":{"resourceVersion":"293284"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '106' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/pods + response: + body: + string: '{"kind":"PodList","apiVersion":"v1","metadata":{"resourceVersion":"293284"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '88' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"annotations": {"openshift.io/sa.scc.supplemental-groups": + "1000700001/10000", "openshift.io/sa.scc.uid-range": "1000700001/10000"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293284"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "postgresqls.arcdata.microsoft.com", "resourceVersion": + "293263"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": ".status.readyPods"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", + "jsonPath": ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": + ".status.readyPods"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "PostgreSql", "plural": + "postgresqls", "shortNames": ["postgres"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/postgresqls.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293284"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstances.sql.arcdata.microsoft.com", "resourceVersion": + "293264"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": ".status.readyReplicas"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v3", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v4", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", + "jsonPath": ".status.endpoints.primary"}, {"name": "Age", "type": "date", "jsonPath": + ".metadata.creationTimestamp"}]}, {"name": "v5", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "Status", "type": "string", "jsonPath": ".status.state"}, {"name": "Replicas", + "type": "string", "jsonPath": ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", + "type": "string", "jsonPath": ".status.endpoints.primary"}, {"name": "Age", + "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], "conversion": + {"strategy": "None"}, "names": {"kind": "SqlManagedInstance", "plural": "sqlmanagedinstances", + "shortNames": ["sqlmi"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstances.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:36 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293284"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com", + "resourceVersion": "293265"}, "spec": {"group": "tasks.sql.arcdata.microsoft.com", + "versions": [{"name": "v1beta1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v1", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "SqlManagedInstanceRestoreTask", "singular": "sqlmanagedinstancerestoretask", + "plural": "sqlmanagedinstancerestoretasks", "shortNames": ["sqlmirestoretask"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293284"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "exporttasks.tasks.arcdata.microsoft.com", "resourceVersion": + "293266"}, "spec": {"group": "tasks.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v2", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "ExportTask", "singular": "exporttask", "plural": "exporttasks", "shortNames": + ["export"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/exporttasks.tasks.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293284"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "failovergroups.sql.arcdata.microsoft.com", "resourceVersion": + "293267"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".status.role", "name": "Role", "type": "string"}, {"jsonPath": + ".metadata.creationTimestamp", "name": "Age", "type": "date"}]}, {"name": "v1beta2", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", "type": + "date"}]}, {"name": "v1", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": + "Status", "type": "string"}, {"jsonPath": ".status.results", "name": "Results", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}], "conversion": {"strategy": "None"}, "names": {"kind": "FailoverGroup", + "singular": "failovergroup", "plural": "failovergroups", "shortNames": ["fog"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/failovergroups.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293284"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "activedirectoryconnectors.arcdata.microsoft.com", "resourceVersion": + "293268"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "names": {"kind": "ActiveDirectoryConnector", "plural": "activedirectoryconnectors", + "shortNames": ["adc", "adcon", "adconnector"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/activedirectoryconnectors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293284"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "monitors.arcdata.microsoft.com", "resourceVersion": "293273"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Monitor", "plural": "monitors", + "shortNames": ["monitor"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/monitors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293284"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "kafkas.arcdata.microsoft.com", "resourceVersion": "293276"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Kafka", "plural": "kafkas", + "shortNames": ["kafka"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/kafkas.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293284"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "datacontrollers.arcdata.microsoft.com", "resourceVersion": + "293282"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v2", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v3", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v4", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v5", "served": + true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}], "conversion": {"strategy": + "None"}, "names": {"kind": "DataController", "plural": "datacontrollers"}, "scope": + "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/datacontrollers.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-metricsdc-reader"}, "rules": [{"apiGroups": [""], "resources": + ["pods", "nodes/stats", "nodes/proxy"], "verbs": ["get"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-metricsdc-reader","uid":"e84ef834-37e4-468f-acb9-c97f2db54128","resourceVersion":"216124","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["get"],"apiGroups":[""],"resources":["pods","nodes/stats","nodes/proxy"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1243' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-metricsdc-reader"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-metricsdc-reader"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-metricsdc-reader", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-metricsdc-reader","uid":"d021fe77-f819-4ecd-908c-08a24cb92971","resourceVersion":"216127","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-metricsdc-reader","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-metricsdc-reader"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1415' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-dc-watch"}, "rules": [{"apiGroups": ["apiextensions.k8s.io"], + "resources": ["customresourcedefinitions"], "verbs": ["watch", "get", "list"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-dc-watch","uid":"211bf763-8a69-4d8f-aaeb-94c3b96dd218","resourceVersion":"216123","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["watch","get","list"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1263' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-dc-watch"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-dc-watch"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-controller", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-dc-watch","uid":"d868d606-87e8-45a7-8aae-965c458b6cdf","resourceVersion":"216126","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-controller","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-dc-watch"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1393' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/logsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"logsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"logsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '224' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/metricsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"metricsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"metricsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '230' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/statefulsets + response: + body: + string: '{"kind":"StatefulSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293286"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '101' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/daemonsets + response: + body: + string: '{"kind":"DaemonSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293286"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '99' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/deployments + response: + body: + string: '{"kind":"DeploymentList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293286"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/replicasets + response: + body: + string: '{"kind":"ReplicaSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293286"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/services + response: + body: + string: '{"kind":"ServiceList","apiVersion":"v1","metadata":{"resourceVersion":"293286"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '92' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:37 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/persistentvolumeclaims + response: + body: + string: '{"kind":"PersistentVolumeClaimList","apiVersion":"v1","metadata":{"resourceVersion":"293286"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '106' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/pods + response: + body: + string: '{"kind":"PodList","apiVersion":"v1","metadata":{"resourceVersion":"293286"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '88' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"annotations": {"openshift.io/sa.scc.supplemental-groups": + "1000700001/10000", "openshift.io/sa.scc.uid-range": "1000700001/10000"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293287"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "postgresqls.arcdata.microsoft.com", "resourceVersion": + "293263"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": ".status.readyPods"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", + "jsonPath": ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": + ".status.readyPods"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "PostgreSql", "plural": + "postgresqls", "shortNames": ["postgres"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/postgresqls.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293287"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstances.sql.arcdata.microsoft.com", "resourceVersion": + "293264"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": ".status.readyReplicas"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v3", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v4", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", + "jsonPath": ".status.endpoints.primary"}, {"name": "Age", "type": "date", "jsonPath": + ".metadata.creationTimestamp"}]}, {"name": "v5", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "Status", "type": "string", "jsonPath": ".status.state"}, {"name": "Replicas", + "type": "string", "jsonPath": ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", + "type": "string", "jsonPath": ".status.endpoints.primary"}, {"name": "Age", + "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], "conversion": + {"strategy": "None"}, "names": {"kind": "SqlManagedInstance", "plural": "sqlmanagedinstances", + "shortNames": ["sqlmi"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstances.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293287"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com", + "resourceVersion": "293265"}, "spec": {"group": "tasks.sql.arcdata.microsoft.com", + "versions": [{"name": "v1beta1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v1", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "SqlManagedInstanceRestoreTask", "singular": "sqlmanagedinstancerestoretask", + "plural": "sqlmanagedinstancerestoretasks", "shortNames": ["sqlmirestoretask"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293287"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "exporttasks.tasks.arcdata.microsoft.com", "resourceVersion": + "293266"}, "spec": {"group": "tasks.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v2", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "ExportTask", "singular": "exporttask", "plural": "exporttasks", "shortNames": + ["export"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/exporttasks.tasks.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293287"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "failovergroups.sql.arcdata.microsoft.com", "resourceVersion": + "293267"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".status.role", "name": "Role", "type": "string"}, {"jsonPath": + ".metadata.creationTimestamp", "name": "Age", "type": "date"}]}, {"name": "v1beta2", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", "type": + "date"}]}, {"name": "v1", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": + "Status", "type": "string"}, {"jsonPath": ".status.results", "name": "Results", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}], "conversion": {"strategy": "None"}, "names": {"kind": "FailoverGroup", + "singular": "failovergroup", "plural": "failovergroups", "shortNames": ["fog"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/failovergroups.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293287"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "activedirectoryconnectors.arcdata.microsoft.com", "resourceVersion": + "293268"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "names": {"kind": "ActiveDirectoryConnector", "plural": "activedirectoryconnectors", + "shortNames": ["adc", "adcon", "adconnector"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/activedirectoryconnectors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293287"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "monitors.arcdata.microsoft.com", "resourceVersion": "293273"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Monitor", "plural": "monitors", + "shortNames": ["monitor"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/monitors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293287"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "kafkas.arcdata.microsoft.com", "resourceVersion": "293276"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Kafka", "plural": "kafkas", + "shortNames": ["kafka"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/kafkas.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293287"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "datacontrollers.arcdata.microsoft.com", "resourceVersion": + "293282"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v2", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v3", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v4", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v5", "served": + true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}], "conversion": {"strategy": + "None"}, "names": {"kind": "DataController", "plural": "datacontrollers"}, "scope": + "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/datacontrollers.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:38 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-metricsdc-reader"}, "rules": [{"apiGroups": [""], "resources": + ["pods", "nodes/stats", "nodes/proxy"], "verbs": ["get"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-metricsdc-reader","uid":"e84ef834-37e4-468f-acb9-c97f2db54128","resourceVersion":"216124","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["get"],"apiGroups":[""],"resources":["pods","nodes/stats","nodes/proxy"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1243' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-metricsdc-reader"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-metricsdc-reader"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-metricsdc-reader", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-metricsdc-reader","uid":"d021fe77-f819-4ecd-908c-08a24cb92971","resourceVersion":"216127","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-metricsdc-reader","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-metricsdc-reader"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1415' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-dc-watch"}, "rules": [{"apiGroups": ["apiextensions.k8s.io"], + "resources": ["customresourcedefinitions"], "verbs": ["watch", "get", "list"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-dc-watch","uid":"211bf763-8a69-4d8f-aaeb-94c3b96dd218","resourceVersion":"216123","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["watch","get","list"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1263' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-dc-watch"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-dc-watch"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-controller", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-dc-watch","uid":"d868d606-87e8-45a7-8aae-965c458b6cdf","resourceVersion":"216126","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-controller","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-dc-watch"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1393' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/logsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"logsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"logsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '224' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/metricsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"metricsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"metricsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '230' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/statefulsets + response: + body: + string: '{"kind":"StatefulSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293287"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '101' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/daemonsets + response: + body: + string: '{"kind":"DaemonSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293287"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '99' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/deployments + response: + body: + string: '{"kind":"DeploymentList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293287"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/replicasets + response: + body: + string: '{"kind":"ReplicaSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293287"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/services + response: + body: + string: '{"kind":"ServiceList","apiVersion":"v1","metadata":{"resourceVersion":"293287"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '92' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/persistentvolumeclaims + response: + body: + string: '{"kind":"PersistentVolumeClaimList","apiVersion":"v1","metadata":{"resourceVersion":"293287"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '106' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/pods + response: + body: + string: '{"kind":"PodList","apiVersion":"v1","metadata":{"resourceVersion":"293287"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '88' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"annotations": {"openshift.io/sa.scc.supplemental-groups": + "1000700001/10000", "openshift.io/sa.scc.uid-range": "1000700001/10000"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293287"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "postgresqls.arcdata.microsoft.com", "resourceVersion": + "293263"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": ".status.readyPods"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", + "jsonPath": ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": + ".status.readyPods"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "PostgreSql", "plural": + "postgresqls", "shortNames": ["postgres"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/postgresqls.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293287"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstances.sql.arcdata.microsoft.com", "resourceVersion": + "293264"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": ".status.readyReplicas"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v3", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v4", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", + "jsonPath": ".status.endpoints.primary"}, {"name": "Age", "type": "date", "jsonPath": + ".metadata.creationTimestamp"}]}, {"name": "v5", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "Status", "type": "string", "jsonPath": ".status.state"}, {"name": "Replicas", + "type": "string", "jsonPath": ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", + "type": "string", "jsonPath": ".status.endpoints.primary"}, {"name": "Age", + "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], "conversion": + {"strategy": "None"}, "names": {"kind": "SqlManagedInstance", "plural": "sqlmanagedinstances", + "shortNames": ["sqlmi"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstances.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293287"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com", + "resourceVersion": "293265"}, "spec": {"group": "tasks.sql.arcdata.microsoft.com", + "versions": [{"name": "v1beta1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v1", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "SqlManagedInstanceRestoreTask", "singular": "sqlmanagedinstancerestoretask", + "plural": "sqlmanagedinstancerestoretasks", "shortNames": ["sqlmirestoretask"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293287"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "exporttasks.tasks.arcdata.microsoft.com", "resourceVersion": + "293266"}, "spec": {"group": "tasks.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v2", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "ExportTask", "singular": "exporttask", "plural": "exporttasks", "shortNames": + ["export"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/exporttasks.tasks.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293289"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "failovergroups.sql.arcdata.microsoft.com", "resourceVersion": + "293267"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".status.role", "name": "Role", "type": "string"}, {"jsonPath": + ".metadata.creationTimestamp", "name": "Age", "type": "date"}]}, {"name": "v1beta2", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", "type": + "date"}]}, {"name": "v1", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": + "Status", "type": "string"}, {"jsonPath": ".status.results", "name": "Results", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}], "conversion": {"strategy": "None"}, "names": {"kind": "FailoverGroup", + "singular": "failovergroup", "plural": "failovergroups", "shortNames": ["fog"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/failovergroups.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293289"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "activedirectoryconnectors.arcdata.microsoft.com", "resourceVersion": + "293268"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "names": {"kind": "ActiveDirectoryConnector", "plural": "activedirectoryconnectors", + "shortNames": ["adc", "adcon", "adconnector"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/activedirectoryconnectors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293289"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "monitors.arcdata.microsoft.com", "resourceVersion": "293273"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Monitor", "plural": "monitors", + "shortNames": ["monitor"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/monitors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293289"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "kafkas.arcdata.microsoft.com", "resourceVersion": "293276"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Kafka", "plural": "kafkas", + "shortNames": ["kafka"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/kafkas.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293289"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "datacontrollers.arcdata.microsoft.com", "resourceVersion": + "293282"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v2", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v3", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v4", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v5", "served": + true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}], "conversion": {"strategy": + "None"}, "names": {"kind": "DataController", "plural": "datacontrollers"}, "scope": + "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/datacontrollers.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-metricsdc-reader"}, "rules": [{"apiGroups": [""], "resources": + ["pods", "nodes/stats", "nodes/proxy"], "verbs": ["get"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-metricsdc-reader","uid":"e84ef834-37e4-468f-acb9-c97f2db54128","resourceVersion":"216124","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["get"],"apiGroups":[""],"resources":["pods","nodes/stats","nodes/proxy"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1243' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-metricsdc-reader"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-metricsdc-reader"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-metricsdc-reader", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-metricsdc-reader","uid":"d021fe77-f819-4ecd-908c-08a24cb92971","resourceVersion":"216127","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-metricsdc-reader","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-metricsdc-reader"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1415' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-dc-watch"}, "rules": [{"apiGroups": ["apiextensions.k8s.io"], + "resources": ["customresourcedefinitions"], "verbs": ["watch", "get", "list"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-dc-watch","uid":"211bf763-8a69-4d8f-aaeb-94c3b96dd218","resourceVersion":"216123","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["watch","get","list"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1263' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-dc-watch"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-dc-watch"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-controller", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-dc-watch","uid":"d868d606-87e8-45a7-8aae-965c458b6cdf","resourceVersion":"216126","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-controller","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-dc-watch"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1393' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/logsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"logsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"logsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '224' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/metricsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"metricsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"metricsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '230' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/statefulsets + response: + body: + string: '{"kind":"StatefulSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293289"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '101' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/daemonsets + response: + body: + string: '{"kind":"DaemonSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293289"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '99' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/deployments + response: + body: + string: '{"kind":"DeploymentList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293289"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/replicasets + response: + body: + string: '{"kind":"ReplicaSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293289"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/services + response: + body: + string: '{"kind":"ServiceList","apiVersion":"v1","metadata":{"resourceVersion":"293289"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '92' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/persistentvolumeclaims + response: + body: + string: '{"kind":"PersistentVolumeClaimList","apiVersion":"v1","metadata":{"resourceVersion":"293289"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '106' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/pods + response: + body: + string: '{"kind":"PodList","apiVersion":"v1","metadata":{"resourceVersion":"293289"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '88' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"annotations": {"openshift.io/sa.scc.supplemental-groups": + "1000700001/10000", "openshift.io/sa.scc.uid-range": "1000700001/10000"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293289"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "postgresqls.arcdata.microsoft.com", "resourceVersion": + "293263"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": ".status.readyPods"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", + "jsonPath": ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": + ".status.readyPods"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "PostgreSql", "plural": + "postgresqls", "shortNames": ["postgres"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/postgresqls.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293289"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstances.sql.arcdata.microsoft.com", "resourceVersion": + "293264"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": ".status.readyReplicas"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v3", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v4", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", + "jsonPath": ".status.endpoints.primary"}, {"name": "Age", "type": "date", "jsonPath": + ".metadata.creationTimestamp"}]}, {"name": "v5", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "Status", "type": "string", "jsonPath": ".status.state"}, {"name": "Replicas", + "type": "string", "jsonPath": ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", + "type": "string", "jsonPath": ".status.endpoints.primary"}, {"name": "Age", + "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], "conversion": + {"strategy": "None"}, "names": {"kind": "SqlManagedInstance", "plural": "sqlmanagedinstances", + "shortNames": ["sqlmi"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstances.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293289"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:40 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com", + "resourceVersion": "293265"}, "spec": {"group": "tasks.sql.arcdata.microsoft.com", + "versions": [{"name": "v1beta1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v1", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "SqlManagedInstanceRestoreTask", "singular": "sqlmanagedinstancerestoretask", + "plural": "sqlmanagedinstancerestoretasks", "shortNames": ["sqlmirestoretask"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293289"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "exporttasks.tasks.arcdata.microsoft.com", "resourceVersion": + "293266"}, "spec": {"group": "tasks.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v2", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "ExportTask", "singular": "exporttask", "plural": "exporttasks", "shortNames": + ["export"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/exporttasks.tasks.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293289"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "failovergroups.sql.arcdata.microsoft.com", "resourceVersion": + "293267"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".status.role", "name": "Role", "type": "string"}, {"jsonPath": + ".metadata.creationTimestamp", "name": "Age", "type": "date"}]}, {"name": "v1beta2", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", "type": + "date"}]}, {"name": "v1", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": + "Status", "type": "string"}, {"jsonPath": ".status.results", "name": "Results", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}], "conversion": {"strategy": "None"}, "names": {"kind": "FailoverGroup", + "singular": "failovergroup", "plural": "failovergroups", "shortNames": ["fog"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/failovergroups.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293289"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "activedirectoryconnectors.arcdata.microsoft.com", "resourceVersion": + "293268"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "names": {"kind": "ActiveDirectoryConnector", "plural": "activedirectoryconnectors", + "shortNames": ["adc", "adcon", "adconnector"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/activedirectoryconnectors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293289"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "monitors.arcdata.microsoft.com", "resourceVersion": "293273"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Monitor", "plural": "monitors", + "shortNames": ["monitor"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/monitors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293289"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "kafkas.arcdata.microsoft.com", "resourceVersion": "293276"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Kafka", "plural": "kafkas", + "shortNames": ["kafka"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/kafkas.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293289"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "datacontrollers.arcdata.microsoft.com", "resourceVersion": + "293282"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v2", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v3", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v4", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v5", "served": + true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}], "conversion": {"strategy": + "None"}, "names": {"kind": "DataController", "plural": "datacontrollers"}, "scope": + "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/datacontrollers.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-metricsdc-reader"}, "rules": [{"apiGroups": [""], "resources": + ["pods", "nodes/stats", "nodes/proxy"], "verbs": ["get"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-metricsdc-reader","uid":"e84ef834-37e4-468f-acb9-c97f2db54128","resourceVersion":"216124","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["get"],"apiGroups":[""],"resources":["pods","nodes/stats","nodes/proxy"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1243' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-metricsdc-reader"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-metricsdc-reader"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-metricsdc-reader", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-metricsdc-reader","uid":"d021fe77-f819-4ecd-908c-08a24cb92971","resourceVersion":"216127","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-metricsdc-reader","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-metricsdc-reader"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1415' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-dc-watch"}, "rules": [{"apiGroups": ["apiextensions.k8s.io"], + "resources": ["customresourcedefinitions"], "verbs": ["watch", "get", "list"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-dc-watch","uid":"211bf763-8a69-4d8f-aaeb-94c3b96dd218","resourceVersion":"216123","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["watch","get","list"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1263' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-dc-watch"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-dc-watch"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-controller", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-dc-watch","uid":"d868d606-87e8-45a7-8aae-965c458b6cdf","resourceVersion":"216126","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-controller","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-dc-watch"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1393' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/logsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"logsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"logsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '224' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/metricsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"metricsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"metricsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '230' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/statefulsets + response: + body: + string: '{"kind":"StatefulSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293289"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '101' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/daemonsets + response: + body: + string: '{"kind":"DaemonSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293289"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '99' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/deployments + response: + body: + string: '{"kind":"DeploymentList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293289"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/replicasets + response: + body: + string: '{"kind":"ReplicaSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293289"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/services + response: + body: + string: '{"kind":"ServiceList","apiVersion":"v1","metadata":{"resourceVersion":"293289"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '92' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/persistentvolumeclaims + response: + body: + string: '{"kind":"PersistentVolumeClaimList","apiVersion":"v1","metadata":{"resourceVersion":"293289"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '106' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/pods + response: + body: + string: '{"kind":"PodList","apiVersion":"v1","metadata":{"resourceVersion":"293290"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '88' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"annotations": {"openshift.io/sa.scc.supplemental-groups": + "1000700001/10000", "openshift.io/sa.scc.uid-range": "1000700001/10000"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293291"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:41 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "postgresqls.arcdata.microsoft.com", "resourceVersion": + "293263"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": ".status.readyPods"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", + "jsonPath": ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": + ".status.readyPods"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "PostgreSql", "plural": + "postgresqls", "shortNames": ["postgres"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/postgresqls.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293291"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstances.sql.arcdata.microsoft.com", "resourceVersion": + "293264"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": ".status.readyReplicas"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v3", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v4", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", + "jsonPath": ".status.endpoints.primary"}, {"name": "Age", "type": "date", "jsonPath": + ".metadata.creationTimestamp"}]}, {"name": "v5", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "Status", "type": "string", "jsonPath": ".status.state"}, {"name": "Replicas", + "type": "string", "jsonPath": ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", + "type": "string", "jsonPath": ".status.endpoints.primary"}, {"name": "Age", + "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], "conversion": + {"strategy": "None"}, "names": {"kind": "SqlManagedInstance", "plural": "sqlmanagedinstances", + "shortNames": ["sqlmi"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstances.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293291"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com", + "resourceVersion": "293265"}, "spec": {"group": "tasks.sql.arcdata.microsoft.com", + "versions": [{"name": "v1beta1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v1", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "SqlManagedInstanceRestoreTask", "singular": "sqlmanagedinstancerestoretask", + "plural": "sqlmanagedinstancerestoretasks", "shortNames": ["sqlmirestoretask"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293291"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "exporttasks.tasks.arcdata.microsoft.com", "resourceVersion": + "293266"}, "spec": {"group": "tasks.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v2", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "ExportTask", "singular": "exporttask", "plural": "exporttasks", "shortNames": + ["export"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/exporttasks.tasks.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293291"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "failovergroups.sql.arcdata.microsoft.com", "resourceVersion": + "293267"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".status.role", "name": "Role", "type": "string"}, {"jsonPath": + ".metadata.creationTimestamp", "name": "Age", "type": "date"}]}, {"name": "v1beta2", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", "type": + "date"}]}, {"name": "v1", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": + "Status", "type": "string"}, {"jsonPath": ".status.results", "name": "Results", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}], "conversion": {"strategy": "None"}, "names": {"kind": "FailoverGroup", + "singular": "failovergroup", "plural": "failovergroups", "shortNames": ["fog"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/failovergroups.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293291"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "activedirectoryconnectors.arcdata.microsoft.com", "resourceVersion": + "293268"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "names": {"kind": "ActiveDirectoryConnector", "plural": "activedirectoryconnectors", + "shortNames": ["adc", "adcon", "adconnector"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/activedirectoryconnectors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293291"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "monitors.arcdata.microsoft.com", "resourceVersion": "293273"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Monitor", "plural": "monitors", + "shortNames": ["monitor"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/monitors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293291"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "kafkas.arcdata.microsoft.com", "resourceVersion": "293276"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Kafka", "plural": "kafkas", + "shortNames": ["kafka"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/kafkas.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293291"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "datacontrollers.arcdata.microsoft.com", "resourceVersion": + "293282"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v2", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v3", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v4", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v5", "served": + true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}], "conversion": {"strategy": + "None"}, "names": {"kind": "DataController", "plural": "datacontrollers"}, "scope": + "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/datacontrollers.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-metricsdc-reader"}, "rules": [{"apiGroups": [""], "resources": + ["pods", "nodes/stats", "nodes/proxy"], "verbs": ["get"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-metricsdc-reader","uid":"e84ef834-37e4-468f-acb9-c97f2db54128","resourceVersion":"216124","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["get"],"apiGroups":[""],"resources":["pods","nodes/stats","nodes/proxy"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1243' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-metricsdc-reader"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-metricsdc-reader"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-metricsdc-reader", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-metricsdc-reader","uid":"d021fe77-f819-4ecd-908c-08a24cb92971","resourceVersion":"216127","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-metricsdc-reader","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-metricsdc-reader"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1415' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-dc-watch"}, "rules": [{"apiGroups": ["apiextensions.k8s.io"], + "resources": ["customresourcedefinitions"], "verbs": ["watch", "get", "list"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-dc-watch","uid":"211bf763-8a69-4d8f-aaeb-94c3b96dd218","resourceVersion":"216123","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["watch","get","list"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1263' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-dc-watch"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-dc-watch"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-controller", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-dc-watch","uid":"d868d606-87e8-45a7-8aae-965c458b6cdf","resourceVersion":"216126","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-controller","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-dc-watch"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1393' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/logsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"logsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"logsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '224' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/metricsui-certificate-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"metricsui-certificate-secret\" not found","reason":"NotFound","details":{"name":"metricsui-certificate-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '230' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:42 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/statefulsets + response: + body: + string: '{"kind":"StatefulSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293291"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '101' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/daemonsets + response: + body: + string: '{"kind":"DaemonSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293291"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '99' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/deployments + response: + body: + string: '{"kind":"DeploymentList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293291"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apps/v1/namespaces/test/replicasets + response: + body: + string: '{"kind":"ReplicaSetList","apiVersion":"apps/v1","metadata":{"resourceVersion":"293291"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '100' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/services + response: + body: + string: '{"kind":"ServiceList","apiVersion":"v1","metadata":{"resourceVersion":"293291"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '92' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/persistentvolumeclaims + response: + body: + string: '{"kind":"PersistentVolumeClaimList","apiVersion":"v1","metadata":{"resourceVersion":"293291"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '106' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/pods + response: + body: + string: '{"kind":"PodList","apiVersion":"v1","metadata":{"resourceVersion":"293291"},"items":[]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '88' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"annotations": {"openshift.io/sa.scc.supplemental-groups": + "1000700001/10000", "openshift.io/sa.scc.uid-range": "1000700001/10000"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/api/v1/namespaces/test + response: + body: + string: '{"kind":"Namespace","apiVersion":"v1","metadata":{"name":"test","uid":"3331353a-23e9-4004-a3ab-35839582f03b","resourceVersion":"293262","creationTimestamp":"2022-06-06T18:37:33Z","labels":{"kubernetes.io/metadata.name":"test"},"annotations":{"openshift.io/sa.scc.supplemental-groups":"1000700001/10000","openshift.io/sa.scc.uid-range":"1000700001/10000"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/sa.scc.supplemental-groups":{},"f:openshift.io/sa.scc.uid-range":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '757' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293291"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "postgresqls.arcdata.microsoft.com", "resourceVersion": + "293263"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": ".status.readyPods"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", + "jsonPath": ".status.state"}, {"name": "Ready-Pods", "type": "string", "jsonPath": + ".status.readyPods"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "PostgreSql", "plural": + "postgresqls", "shortNames": ["postgres"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/postgresqls.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293291"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstances.sql.arcdata.microsoft.com", "resourceVersion": + "293264"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": ".status.readyReplicas"}, + {"name": "Primary-Endpoint", "type": "string", "jsonPath": ".status.primaryEndpoint"}, + {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v3", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", "jsonPath": + ".status.primaryEndpoint"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v4", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Replicas", "type": "string", "jsonPath": + ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", "type": "string", + "jsonPath": ".status.endpoints.primary"}, {"name": "Age", "type": "date", "jsonPath": + ".metadata.creationTimestamp"}]}, {"name": "v5", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "Status", "type": "string", "jsonPath": ".status.state"}, {"name": "Replicas", + "type": "string", "jsonPath": ".status.roles.sql.readyReplicas"}, {"name": "Primary-Endpoint", + "type": "string", "jsonPath": ".status.endpoints.primary"}, {"name": "Age", + "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], "conversion": + {"strategy": "None"}, "names": {"kind": "SqlManagedInstance", "plural": "sqlmanagedinstances", + "shortNames": ["sqlmi"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstances.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293291"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com", + "resourceVersion": "293265"}, "spec": {"group": "tasks.sql.arcdata.microsoft.com", + "versions": [{"name": "v1beta1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v1", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "SqlManagedInstanceRestoreTask", "singular": "sqlmanagedinstancerestoretask", + "plural": "sqlmanagedinstancerestoretasks", "shortNames": ["sqlmirestoretask"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293291"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "exporttasks.tasks.arcdata.microsoft.com", "resourceVersion": + "293266"}, "spec": {"group": "tasks.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}, {"name": "v2", "served": true, "storage": + true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"jsonPath": + ".status.state", "name": "Status", "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", + "name": "Age", "type": "date"}]}], "conversion": {"strategy": "None"}, "names": + {"kind": "ExportTask", "singular": "exporttask", "plural": "exporttasks", "shortNames": + ["export"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/exporttasks.tasks.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293292"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "failovergroups.sql.arcdata.microsoft.com", "resourceVersion": + "293267"}, "spec": {"group": "sql.arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".status.role", "name": "Role", "type": "string"}, {"jsonPath": + ".metadata.creationTimestamp", "name": "Age", "type": "date"}]}, {"name": "v1beta2", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": "Status", + "type": "string"}, {"jsonPath": ".status.results", "name": "Results", "type": + "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", "type": + "date"}]}, {"name": "v1", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"jsonPath": ".status.state", "name": + "Status", "type": "string"}, {"jsonPath": ".status.results", "name": "Results", + "type": "string"}, {"jsonPath": ".metadata.creationTimestamp", "name": "Age", + "type": "date"}]}], "conversion": {"strategy": "None"}, "names": {"kind": "FailoverGroup", + "singular": "failovergroup", "plural": "failovergroups", "shortNames": ["fog"]}, + "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/failovergroups.sql.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293292"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "activedirectoryconnectors.arcdata.microsoft.com", "resourceVersion": + "293268"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1beta2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "names": {"kind": "ActiveDirectoryConnector", "plural": "activedirectoryconnectors", + "shortNames": ["adc", "adcon", "adconnector"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/activedirectoryconnectors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293292"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "monitors.arcdata.microsoft.com", "resourceVersion": "293273"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v1", "served": true, "storage": false, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}, + {"name": "v2", "served": true, "storage": true, "schema": {"openAPIV3Schema": + {"type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": + {"status": {}}, "additionalPrinterColumns": [{"name": "Status", "type": "string", + "jsonPath": ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Monitor", "plural": "monitors", + "shortNames": ["monitor"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/monitors.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293292"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "kafkas.arcdata.microsoft.com", "resourceVersion": "293276"}, + "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": "v1beta1", + "served": true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", + "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": {}}, + "additionalPrinterColumns": [{"name": "Status", "type": "string", "jsonPath": + ".status.state"}, {"name": "Age", "type": "date", "jsonPath": ".metadata.creationTimestamp"}]}], + "conversion": {"strategy": "None"}, "names": {"kind": "Kafka", "plural": "kafkas", + "shortNames": ["kafka"]}, "scope": "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/kafkas.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:43 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"293294"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"f8708bed-72fa-4f92-bf76-fd79864bdab3","resourceVersion":"293268","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6d6837e8-bfac-4002-af61-d08d85a300b5","resourceVersion":"293266","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"ed32bbc8-40b1-4e82-9b7f-61cf9c196849","resourceVersion":"293267","generation":3,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Role","type":"string","jsonPath":".status.role"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"e3e3dbb1-bfaa-432d-af73-9bb2dcff632a","resourceVersion":"293276","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"04d5c7e4-7f61-4b90-90d6-b6cb8a024345","resourceVersion":"293273","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"3220425b-d2b2-4a41-86f0-42e5d48bb8ed","resourceVersion":"293263","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"aca853a0-6e3f-43d4-a7a8-c1eabbdacbc8","resourceVersion":"293265","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"43edc72d-c975-44b6-abd5-a7f0174fb485","resourceVersion":"293264","generation":1,"creationTimestamp":"2022-06-04T02:54:36Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-04T02:54:36Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:44 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", + "metadata": {"name": "datacontrollers.arcdata.microsoft.com", "resourceVersion": + "293282"}, "spec": {"group": "arcdata.microsoft.com", "versions": [{"name": + "v1beta1", "served": true, "storage": false, "schema": {"openAPIV3Schema": {"type": + "object", "x-kubernetes-preserve-unknown-fields": true}}, "subresources": {"status": + {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": + ".status.state"}]}, {"name": "v1", "served": true, "storage": false, "schema": + {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v2", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v3", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v4", "served": + true, "storage": false, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}, {"name": "v5", "served": + true, "storage": true, "schema": {"openAPIV3Schema": {"type": "object", "x-kubernetes-preserve-unknown-fields": + true}}, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": + "State", "type": "string", "jsonPath": ".status.state"}]}], "conversion": {"strategy": + "None"}, "names": {"kind": "DataController", "plural": "datacontrollers"}, "scope": + "Namespaced"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PUT + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions/datacontrollers.arcdata.microsoft.com + response: + body: + string: '{"kind":"CustomResourceDefinition","apiVersion":"apiextensions.k8s.io/v1","metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"4fcb584f-aca8-4315-9ea5-54de113a10ee","resourceVersion":"293282","generation":1,"creationTimestamp":"2022-06-06T18:37:34Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-06-06T18:37:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-06-06T18:37:34Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:44 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-metricsdc-reader"}, "rules": [{"apiGroups": [""], "resources": + ["pods", "nodes/stats", "nodes/proxy"], "verbs": ["get"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-metricsdc-reader","uid":"e84ef834-37e4-468f-acb9-c97f2db54128","resourceVersion":"216124","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["get"],"apiGroups":[""],"resources":["pods","nodes/stats","nodes/proxy"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1243' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:44 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-metricsdc-reader"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-metricsdc-reader"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-metricsdc-reader", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-metricsdc-reader + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-metricsdc-reader","uid":"d021fe77-f819-4ecd-908c-08a24cb92971","resourceVersion":"216127","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-metricsdc-reader","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-metricsdc-reader"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1415' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:44 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "rbac.authorization.k8s.io/v1", "kind": "ClusterRole", "metadata": + {"name": "test:cr-arc-dc-watch"}, "rules": [{"apiGroups": ["apiextensions.k8s.io"], + "resources": ["customresourcedefinitions"], "verbs": ["watch", "get", "list"]}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterroles/test%3Acr-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRole","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:cr-arc-dc-watch","uid":"211bf763-8a69-4d8f-aaeb-94c3b96dd218","resourceVersion":"216123","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:rules":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"rules":[{"verbs":["watch","get","list"],"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"]}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1263' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:44 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +- request: + body: '{"metadata": {"name": "test:crb-arc-dc-watch"}, "roleRef": {"apiGroup": + "rbac.authorization.k8s.io", "kind": "ClusterRole", "name": "test:cr-arc-dc-watch"}, + "subjects": [{"kind": "ServiceAccount", "name": "sa-arc-controller", "namespace": + "test"}]}' + headers: + Accept: + - application/json + Content-Type: + - application/strategic-merge-patch+json + User-Agent: + - OpenAPI-Generator/12.0.1/python + method: PATCH + uri: https://mock-host/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/test%3Acrb-arc-dc-watch + response: + body: + string: '{"kind":"ClusterRoleBinding","apiVersion":"rbac.authorization.k8s.io/v1","metadata":{"name":"test:crb-arc-dc-watch","uid":"d868d606-87e8-45a7-8aae-965c458b6cdf","resourceVersion":"216126","creationTimestamp":"2022-06-04T02:54:36Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-04T02:54:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:roleRef":{"f:apiGroup":{},"f:kind":{},"f:name":{}},"f:subjects":{}}},{"manager":"Go-http-client","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}},{"manager":"bootstrapper","operation":"Update","apiVersion":"rbac.authorization.k8s.io/v1","time":"2022-06-06T01:41:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:helm.sh/chart":{}}}}}]},"subjects":[{"kind":"ServiceAccount","name":"sa-arc-controller","namespace":"test"}],"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"test:cr-arc-dc-watch"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1393' + Content-Type: + - application/json + Date: + - Mon, 06 Jun 2022 18:37:44 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - d1abfb67-7144-4de8-b5e9-39f46f3a352d + X-Kubernetes-Pf-Prioritylevel-Uid: + - 83f19286-9cce-422f-a571-968679ae7989 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/test_dc.py b/src/arcdata/arcdata/azext_arcdata/test/dc/test_dc.py new file mode 100644 index 00000000000..3dc7b0c82e1 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/test_dc.py @@ -0,0 +1,332 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from collections import namedtuple +from multiprocessing.sharedctypes import Value +from azext_arcdata.vendored_sdks.kubernetes_sdk.arc_docker_image_service import ( + ArcDataImageService, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.dc_utilities import ( + get_bootstrapper_deployment, + resolve_valid_target_version, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import KubernetesClient + +from pytest_az import VCRState, RECORD_MODES +import azext_arcdata.dc.validators +import os +import pytest +import random +import re +import string + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord +PG_NAME = "pg1" +NAMESPACE = "test" +RESOURCE_GROUP = "chachan-eastus-rg" +CONTROLLER_NAME = "dc-ipp" +TEST_PASSWORD = ( + "a" + + "".join(random.choices(string.ascii_uppercase + string.digits, k=10)) + + "aB1" +) + + +@pytest.mark.usefixtures("setup") +class TestDC(object): + @pytest.fixture + def setup(self, az_vcr_cassette, mock_kube_config): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "random-pwd" + st = VCRState() + if st.record_mode != RECORD_MODES["rerecord"] and st.cassette_exists: + mock_kube_config() + + @pytest.mark.skip( + reason="This is a particularly flakey test, and the functionality" + "is now being duplicated by the n-x to n CI upgrade tests." + ) + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "namespace, version", + [ + ( + NAMESPACE, + "v1.12.0_ubuntu2004-ravpate", # locally retaggged images + ) + ], + ) + def test_full_dc_upgrade(self, namespace, version, az): + result = az( + "arcdata dc upgrade --use-k8s --no-wait", + k8s_namespace=namespace, + desired_version=version, + ) + + assert result.exit_code == 0 + + dc, dc_config = KubernetesClient.get_arc_datacontroller(namespace, True) + bsr = get_bootstrapper_deployment(namespace, use_k8s=True) + assert bsr.spec.template.spec.containers[0].image.endswith(version) + assert dc.spec.docker.imageTag == version + + @pytest.mark.skip( + reason="The export generates unique urls which breaks the cassette on " + "subsequent runs. Should be run locally." + ) + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "namespace", + [NAMESPACE], + ) + def test_export(self, namespace, az): + result = az( + "arcdata dc export -t metrics -p m.json --use-k8s --force", + k8s_namespace=namespace, + ) + + # todo: need to re-enable when all images are properly published. + assert result.exit_code == 0 + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "namespace", + [NAMESPACE], + ) + def test_target_version_validation_default(self, namespace): + target = resolve_valid_target_version(namespace, use_k8s=True) + assert target is not None + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "namespace", + [NAMESPACE], + ) + def test_list_versions(self, namespace, az): + results = az( + "arcdata dc list-upgrades --use-k8s", + k8s_namespace=namespace, + ) + assert results.exit_code == 0 + + versions = results.out.split("\n") + assert len(versions) > 0 + + # Valid version could be 'v1.1.23' or 'v9.50.35' + version_prefix_regex = re.compile(r"v\d+\.\d+\.\d+") + assert version_prefix_regex.search( + versions[0] + ), "Expected current version did not match vX.XX.XX." + + version_result_regex = re.compile( + r"Found \d+ valid versions.\s+The current datacontroller version is v\d+\.\d+\.\d+" + ) + assert version_result_regex.search( + versions[0] + ), "Expected initial message not found in results." + + assert ( + "latest" not in versions + ), "'latest' version found but not expected in results." + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "namespace", + [NAMESPACE], + ) + def _test_dry_run_upgrade_indirect(self, namespace, az): + ( + cMajor, + cMinor, + cRevision, + cTag, + ) = ArcDataImageService.get_config_image_tag() + nextVersion = f"{cMajor}.{cMinor}.{cRevision+1}_{cTag}" + results = az( + f"arcdata dc upgrade --use-k8s --target {nextVersion} --dry-run", + k8s_namespace=namespace, + ) + assert results.exit_code == 0 + + dryrun_results = results.out.split("\n") + assert "****Dry Run****" in dryrun_results + assert ( + f"Data controller would be upgraded to: {nextVersion}" + in dryrun_results + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "resource_group, controller_name", + [(RESOURCE_GROUP, CONTROLLER_NAME)], + ) + @pytest.mark.skip( + "Skipping as it may be that ARM calls are not recorded by the VCR" + ) # Skipping as it may be that ARM calls are not recorded by the VCR + def test_dry_run_upgrade_direct(self, resource_group, controller_name, az): + results = az( + "arcdata dc upgrade --desired-version 20210928.13 --dry-run", + resource_group=resource_group, + name=controller_name, + ) + assert results.exit_code == 0 + + dryrun_results = results.out.split("\n") + assert "****Dry Run****" in dryrun_results + assert ( + "Data controller would be upgraded: 20210928.13" in dryrun_results + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "namespace", + [NAMESPACE], + ) + def test_upgrade_fails_when_pg_present(self, namespace, az): + az( + "postgres server-arc create -n {0} --no-wait --k8s-namespace {1} --use-k8s".format( + PG_NAME, NAMESPACE + ) + ) + + results = az( + "arcdata dc upgrade --use-k8s --desired-version 1.7.0_test --dry-run", + k8s_namespace=namespace, + ) + + dryrun_results = results.err + assert ( + "One or more postgres preview instances exist in the cluster " + "and must be deleted prior to upgrading the data controller." + in str(dryrun_results) + ) + + az( + "postgres server-arc delete -n {0} --force --k8s-namespace {1} --use-k8s".format( + PG_NAME, NAMESPACE + ) + ) + + @pytest.mark.skip( + "Skipping for now until we can get the recordings working correctly" + ) + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "namespace", + [NAMESPACE], + ) + def test_delete_dc(self, namespace, az): + results = az( + "arcdata dc delete -n arcdc -y -f --use-k8s", + k8s_namespace=namespace, + ) + + assert results.exit_code == 0 + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "namespace", + [NAMESPACE], + ) + def test_update_maintenance_window(self, namespace, az): + results = az( + 'arcdata dc update --use-k8s --maintenance-start "2022-01-01T23:00" --maintenance-duration 3:00 --maintenance-recurrence Saturday --maintenance-time-zone US/Pacific', + k8s_namespace=namespace, + ) + assert ( + results.exit_code == 0 + ), "az command line failed when calling arcdata dc update." + + @pytest.mark.skip( + "Skipping for now until we can get the recordings working correctly" + ) + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "resource_group, controller_name", + [(RESOURCE_GROUP, CONTROLLER_NAME)], + ) + def test_update_arm_log_upload(self, resource_group, controller_name, az): + results = az( + "arcdata dc update --auto-upload-logs true", + name=controller_name, + resource_group=RESOURCE_GROUP, + ) + assert ( + results.exit_code == 0 + ), "az command line failed when calling arcdata dc update." + + @pytest.mark.skip( + "Skipping for now until we can get the recordings working correctly" + ) + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "resource_group, controller_name", + [(RESOURCE_GROUP, CONTROLLER_NAME)], + ) + def test_update_arm_metrics_upload( + self, resource_group, controller_name, az + ): + results = az( + "arcdata dc update --auto-upload-metrics true", + name=controller_name, + resource_group=RESOURCE_GROUP, + ) + assert ( + results.exit_code == 0 + ), "az command line failed when calling arcdata dc update." + + def test_upgrade_version_validation_success(self): + from azext_arcdata.dc.validators import ( + validate_client_version_for_upgrade, + ) + + major, minor, release, tag = ArcDataImageService.get_config_image_tag() + command_values = namedtuple("command_values", ["desired_version"]) + command_values.desired_version = f"{major}.{minor}.{release}" + + validate_client_version_for_upgrade(command_values) + + def test_upgrade_version_validation_success_release_tag(self): + from azext_arcdata.dc.validators import ( + validate_client_version_for_upgrade, + ) + + major, minor, release, tag = ArcDataImageService.get_config_image_tag() + command_values = namedtuple("command_values", ["desired_version"]) + command_values.desired_version = f"{major}.{minor}.{release + 1}_zzz" + + validate_client_version_for_upgrade(command_values) + + def test_upgrade_version_validation_fail_major(self): + from azext_arcdata.dc.validators import ( + validate_client_version_for_upgrade, + ) + + major, minor, release, tag = ArcDataImageService.get_config_image_tag() + command_values = namedtuple("command_values", ["desired_version"]) + command_values.desired_version = f"{major + 1}.{minor}.{release}" + with pytest.raises(ValueError): + validate_client_version_for_upgrade(command_values) + + def test_upgrade_version_validation_fail_minor(self): + from azext_arcdata.dc.validators import ( + validate_client_version_for_upgrade, + ) + + major, minor, release, tag = ArcDataImageService.get_config_image_tag() + command_values = namedtuple("command_values", ["desired_version"]) + command_values.desired_version = f"{major}.{minor + 1}.{release}" + with pytest.raises(ValueError): + validate_client_version_for_upgrade(command_values) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_downgrade_fails_on_dry_run(self, az): + results = az( + "az arcdata dc upgrade -ktest --use-k8s --dry-run --desired-version v1.1.0_2021-11-02" + ) + assert ( + results.exit_code == 1 + ), "Dry-Run did not fail when attempting downgrade." diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/test_dc_arm.py b/src/arcdata/arcdata/azext_arcdata/test/dc/test_dc_arm.py new file mode 100644 index 00000000000..2ba9e727f77 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/test_dc_arm.py @@ -0,0 +1,84 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +import json +import os +import pytest + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord + + +@pytest.mark.usefixtures("setup") +@pytest.mark.skip(reason="Long running") +class TestDataControllerARM(object): + @pytest.fixture + def setup( + self, + credentials, + cluster_name, + resource_group, + custom_location, + dc_name, + subscription, + ): + os.environ["AZDATA_USERNAME"] = credentials[0] + os.environ["AZDATA_PASSWORD"] = credentials[1] + self.cluster_name = cluster_name + self.resource_group = resource_group + self.custom_location = custom_location + self.dc_name = dc_name + self.subscription = subscription + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "profile", + ["azure-arc-aks-default-storage"], + ) + def test_arcdata_dc_create_no_wait(self, az, profile): + result = az( + "az arcdata dc create --connectivity-mode direct --no-wait", + profile=profile, + name=self.dc_name, + cluster_name=self.cluster_name, + resource_group=self.resource_group, + custom_location=self.custom_location, + subscription=self.subscription, + ) + + assert result.exit_code == 0 + assert ( + f"The data controller '{self.dc_name}' " + f"is being created" in result.out + ), "Did not find output." + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_arcdata_dc_status_show(self, az): + result = az( + "az arcdata dc status show", + name=self.dc_name, + resource_group=self.resource_group, + ) + assert result.exit_code == 0 + result = json.loads(result.out) + assert result["name"] == self.dc_name + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_arcdata_dc_delete(self, az): + result = az( + "az arcdata dc delete --yes", + name=self.dc_name, + resource_group=self.resource_group, + ) + assert result.exit_code == 0 + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_arcdata_dc_upgrade_hydrationrule(self, az): + result = az( + "az arcdata dc upgrade -v v1.8.0_2022-06-14", + name=self.dc_name, + resource_group=self.resource_group, + ) + assert result.exit_code == 0 diff --git a/src/arcdata/arcdata/azext_arcdata/test/dc/test_monitoring.py b/src/arcdata/arcdata/azext_arcdata/test/dc/test_monitoring.py new file mode 100644 index 00000000000..6ac5fe33f72 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/dc/test_monitoring.py @@ -0,0 +1,623 @@ +import base64 +from typing import Dict, List +import io +from azext_arcdata.core.util import generate_certificate_and_key +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import KubernetesClient +import urllib3 +from azext_arcdata.core.constants import ( + DEFAULT_LOGSUI_CERT_SECRET_NAME, + DEFAULT_METRICSUI_CERT_SECRET_NAME, + LOGSUI_USERNAME, + LOGSUI_PASSWORD, + METRICSUI_USERNAME, + METRICSUI_PASSWORD, + AZDATA_USERNAME, + AZDATA_PASSWORD, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.constants import ( + LOGSUI_LOGIN_SECRET_NAME, + METRICSUI_LOGIN_SECRET_NAME, +) + +from pytest_az import VCRState, RECORD_MODES +from tempfile import TemporaryDirectory + +import os +import pytest +import random +import string + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord +NAMESPACE = "arc" +TEST_PASSWORD = ( + "a" + + "".join(random.choices(string.ascii_uppercase + string.digits, k=10)) + + "aB1" +) + + +@pytest.mark.usefixtures("setup") +class TestMonitoring(object): + @pytest.fixture + def setup(self, az_vcr_cassette, mock_kube_config): + st = VCRState() + if st.record_mode != RECORD_MODES["rerecord"] and st.cassette_exists: + mock_kube_config() + + @pytest.fixture + def mock_dc_create(self, monkeypatch): + def _prompt_pass_mock(msg: str, password: str): + print(msg) + return password + + monkeypatch.setattr( + "knack.prompting.prompt_pass", + lambda msg, confirm: _prompt_pass_mock(msg, "AAAbbb1234"), + ) + monkeypatch.setattr( + "azext_arcdata.core.kubernetes.is_instance_ready", + lambda *args, **kwargs: True, + ) + monkeypatch.setattr( + "azext_arcdata.vendored_sdks.kubernetes_sdk.dc.client.DataControllerClient._dc_create", + lambda *args, **kwargs: (None, None), + ) + monkeypatch.setattr( + "azext_arcdata.vendored_sdks.kubernetes_sdk.dc.client.DataControllerClient._await_dc_ready", + lambda *args, **kwargs: (None, None), + ) + + @pytest.fixture + def mock_dc_arm_create(self, monkeypatch): + monkeypatch.setattr( + "azext_arcdata.vendored_sdks.arm_sdk.client.ArmClient.create_dc", + lambda *args, **kwargs: (None, None), + ) + + @pytest.fixture + def mock_create_secret(self, monkeypatch): + monkeypatch.setattr( + "azext_arcdata.vendored_sdks.kubernetes_sdk.client.KubernetesClient.create_secret", + lambda *args, **kwargs: True, + ) + + @pytest.fixture + def mock_tty(self, monkeypatch): + newio = io.StringIO( + "telemtryadmin\n{0}\n{1}\n1".format(TEST_PASSWORD, TEST_PASSWORD) + ) + monkeypatch.setattr("sys.stdin", newio) + monkeypatch.setattr("sys.stdin.isatty", lambda: True) + + @pytest.fixture + def mock_no_tty(self, monkeypatch): + monkeypatch.setattr("sys.stdin.isatty", lambda: False) + + @pytest.mark.skip( + reason="Skipping to check in version change for release while under investigation." + ) + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_dc_create_env_vars_tty( + self, mock_dc_create, mock_create_secret, mock_tty, az + ): + metrics_prompts = [ + "Metrics administrator username:", + "Metrics administrator password:", + ] + logs_prompts = [ + "Logs administrator username:", + "Logs administrator password:", + ] + azdata_prompts = [ + "Monitoring administrator username:", + "Monitoring administrator password", + ] + all_prompts = metrics_prompts + logs_prompts + azdata_prompts + telemetry_prompts = metrics_prompts + logs_prompts + + def _check_out_text(a: List[str], none: List[str], results): + assert all(m in results.out for m in a) + assert not any(m in results.out for m in none) + + # -- Logsui vars set + self._set_dashboard_env_vars(logs_user="admin", logs_pass=TEST_PASSWORD) + results = az(self._get_dc_create_str()) + assert results.exit_code == 0 + _check_out_text(metrics_prompts, logs_prompts + azdata_prompts, results) + + # -- metricsui vars set + self._set_dashboard_env_vars( + metrics_user="admin", metrics_pass=TEST_PASSWORD + ) + results = az(self._get_dc_create_str()) + assert results.exit_code == 0 + _check_out_text(logs_prompts, metrics_prompts + azdata_prompts, results) + + # -- metricsui and azdata vars set + self._set_dashboard_env_vars( + metrics_user="admin", + metrics_pass=TEST_PASSWORD, + azdata_user="admin", + azdata_pass=TEST_PASSWORD, + ) + results = az(self._get_dc_create_str()) + assert results.exit_code == 0 + _check_out_text([], all_prompts, results) + + # -- logsui and azdata vars set + self._set_dashboard_env_vars( + logs_user="admin", + logs_pass=TEST_PASSWORD, + azdata_user="admin", + azdata_pass=TEST_PASSWORD, + ) + results = az(self._get_dc_create_str()) + assert results.exit_code == 0 + _check_out_text([], all_prompts, results) + + # -- azdata vars set + self._set_dashboard_env_vars( + azdata_user="admin", azdata_pass=TEST_PASSWORD + ) + results = az(self._get_dc_create_str()) + assert results.exit_code == 0 + _check_out_text([], all_prompts, results) + + # -- telemetry vars set + self._set_dashboard_env_vars( + metrics_user="admin", + metrics_pass=TEST_PASSWORD, + logs_user="admin", + logs_pass=TEST_PASSWORD, + ) + results = az(self._get_dc_create_str()) + assert results.exit_code == 0 + _check_out_text([], all_prompts, results) + + # -- all vars set + self._set_dashboard_env_vars( + "admin", + TEST_PASSWORD, + "admin", + TEST_PASSWORD, + "admin", + TEST_PASSWORD, + ) + results = az(self._get_dc_create_str()) + assert results.exit_code == 0 + _check_out_text([], all_prompts, results) + + # -- no vars set, prompts for azdata username/password + self._set_dashboard_env_vars() + results = az(self._get_dc_create_str()) + assert results.exit_code == 0 + _check_out_text(azdata_prompts, telemetry_prompts, results) + + @pytest.mark.skip( + reason="Skipping to check in version change for release while under investigation." + ) + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_dc_create_env_vars_no_tty( + self, mock_dc_create, mock_create_secret, mock_no_tty, az + ): + metrics_vars = [METRICSUI_USERNAME, METRICSUI_PASSWORD] + logs_vars = [LOGSUI_USERNAME, LOGSUI_PASSWORD] + azdata_vars = [AZDATA_USERNAME, AZDATA_PASSWORD] + all_vars = metrics_vars + logs_vars + azdata_vars + telemetry_vars = metrics_vars + logs_vars + + def _check_out_text(a: List[str], none: List[str], results): + assert all(m in str(results.err) for m in a) + assert not any(m in str(results.err) for m in none) + + # -- Logsui vars set + self._set_dashboard_env_vars(logs_user="admin", logs_pass=TEST_PASSWORD) + results = az(self._get_dc_create_str()) + assert results.exit_code == 1 + _check_out_text(metrics_vars + azdata_vars, logs_vars, results) + + # -- metricsui vars set + self._set_dashboard_env_vars( + metrics_user="admin", metrics_pass=TEST_PASSWORD + ) + results = az(self._get_dc_create_str()) + assert results.exit_code == 1 + _check_out_text(logs_vars + azdata_vars, metrics_vars, results) + + # -- metricsui and azdata vars set + self._set_dashboard_env_vars( + metrics_user="admin", + metrics_pass=TEST_PASSWORD, + azdata_user="admin", + azdata_pass=TEST_PASSWORD, + ) + results = az(self._get_dc_create_str()) + assert results.exit_code == 0 + _check_out_text([], all_vars, results) + + # -- logsui and azdata vars set + self._set_dashboard_env_vars( + logs_user="admin", + logs_pass=TEST_PASSWORD, + azdata_user="admin", + azdata_pass=TEST_PASSWORD, + ) + results = az(self._get_dc_create_str()) + assert results.exit_code == 0 + _check_out_text([], all_vars, results) + + # -- azdata vars set + self._set_dashboard_env_vars( + azdata_user="admin", azdata_pass=TEST_PASSWORD + ) + results = az(self._get_dc_create_str()) + assert results.exit_code == 0 + _check_out_text([], all_vars, results) + + # -- telemetry vars set + self._set_dashboard_env_vars( + metrics_user="admin", + metrics_pass=TEST_PASSWORD, + logs_user="admin", + logs_pass=TEST_PASSWORD, + ) + results = az(self._get_dc_create_str()) + assert results.exit_code == 0 + _check_out_text([], all_vars, results) + + # -- all vars set + self._set_dashboard_env_vars( + "admin", + TEST_PASSWORD, + "admin", + TEST_PASSWORD, + "admin", + TEST_PASSWORD, + ) + results = az(self._get_dc_create_str()) + assert results.exit_code == 0 + _check_out_text([], all_vars, results) + + # -- no vars set, prompts for azdata username/password + self._set_dashboard_env_vars() + results = az(self._get_dc_create_str()) + assert results.exit_code == 1 + _check_out_text(azdata_vars, telemetry_vars, results) + + @pytest.mark.skip( + reason="Skipping to check in version change for release while under investigation." + ) + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_dc_create_env_vars_full_create( + self, monkeypatch, az, mock_constants + ): + monkeypatch.setattr( + "azext_arcdata.vendored_sdks.kubernetes_sdk.dc.client.DataControllerClient._dc_create", + lambda *args, **kwargs: (None, None), + ) + monkeypatch.setattr( + "azext_arcdata.vendored_sdks.kubernetes_sdk.dc.client.DataControllerClient._await_dc_ready", + lambda *args, **kwargs: (None, None), + ) + LOGSUI_PASS = "AAAbbb1234" + METRICSUI_PASS = "AAAbbb12345" + + # -- All telemetry vars set + self._set_dashboard_env_vars( + metrics_user="admin", + metrics_pass=METRICSUI_PASS, + logs_user="admin2", + logs_pass=LOGSUI_PASS, + ) + results = az(self._get_dc_create_str()) + assert results.exit_code == 0 + + logsui_secret = KubernetesClient.get_secret( + "test", LOGSUI_LOGIN_SECRET_NAME + ) + logsui_creds = logsui_secret.data + + expected_username = mock_constants.body.username + expected_password = mock_constants.body.password + + # Bcause the pytest az plugin mocks sensitive info like + # username/password the encode/decode behavior this test is expecting + # will break since the mocked values are not encoded. Here we just + # encode them since that is the real behavior for the assertion. + logsui_creds["username"] = base64.b64encode( + logsui_creds["username"].encode("ascii") + ) + logsui_creds["password"] = base64.b64encode( + logsui_creds["password"].encode("ascii") + ) + + assert self.decode_data(logsui_creds["username"]) == expected_username + assert self.decode_data(logsui_creds["password"]) == expected_password + + metricsui_secret = KubernetesClient.get_secret( + "test", METRICSUI_LOGIN_SECRET_NAME + ) + metricsui_creds = metricsui_secret.data + + # Bcause the pytest az plugin mocks sensitive info like + # username/password the encode/decode behavior this test is expecting + # will break since the mocked values are not encoded. Here we just + # encode them since that is the real behavior for the assertion. + metricsui_creds["username"] = base64.b64encode( + metricsui_creds["username"].encode("ascii") + ) + metricsui_creds["password"] = base64.b64encode( + metricsui_creds["password"].encode("ascii") + ) + + assert ( + self.decode_data(metricsui_creds["username"]) == expected_username + ) + assert ( + self.decode_data(metricsui_creds["password"]) == expected_password + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "arguments, should_fail, expected_error", + [ + ( + "--logs-ui-private-key-file file1", + True, + "Logsui certificate public key file path must be provided " + "when private key file is provided.", + ), + ( + "--logs-ui-public-key-file file1", + True, + "Logsui certificate private key file path must be provided " + "when public key file is provided.", + ), + ( + "--metrics-ui-private-key-file file1", + True, + "Metricsui certificate public key file path must be provided " + "when private key file is provided.", + ), + ( + "--metrics-ui-public-key-file file1", + True, + "Metricsui certificate private key file path must be provided " + "when public key file is provided.", + ), + ], + ) + def test_dc_create_missing_args( + self, + monkeypatch, + mock_dc_create, + mock_create_secret, + az, + arguments, + should_fail, + expected_error, + ): + self._set_dashboard_env_vars( + "admin", "AAAbbb1234", "admin", "AAAbbb1234", "admin", "AAAbbb1234" + ) + results = az("{0} {1}".format(self._get_dc_create_str(), arguments)) + assert results.exit_code == 1 if should_fail else 0 + + if should_fail: + assert expected_error in str(results.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_dc_create_mutually_exclusive_monitor_arguments( + self, + monkeypatch, + mock_dc_create, + mock_create_secret, + mock_dc_arm_create, + az, + ): + self._set_dashboard_env_vars( + "admin", "AAAbbb1234", "admin", "AAAbbb1234", "admin", "AAAbbb1234" + ) + results = az( + "{0} {1} {2} {3}".format( + self._get_dc_create_str(use_k8s=False, namespace=None), + "--custom-location foo", + "--logs-ui-public-key-file file1", + "--logs-ui-private-key-file file2", + ) + ) + assert results.exit_code == 1 + assert ( + "Monitoring endpoint certificate arguments are for indirect mode only." + in str(results.err) + ) + + results = az( + "{0} {1} {2} {3}".format( + self._get_dc_create_str(use_k8s=False, namespace=None), + "--custom-location foo", + "--metrics-ui-public-key-file file1", + "--metrics-ui-private-key-file file2", + ) + ) + assert results.exit_code == 1 + assert ( + "Monitoring endpoint certificate arguments are for indirect mode only." + in str(results.err) + ) + + @pytest.mark.skip( + reason="This test uses random credentials which make cassettes unusable." + ) + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_mock_create_with_valid_certs_succeeds(self, monkeypatch, az): + def create_certificate_files( + public_key_pem: str, + private_key_pem: str, + tmp_dir: TemporaryDirectory, + ): + cert_file = open( + os.path.join(tmp_dir, "certificate.pem"), "wb" + ) # note: 'b' opens the file in binary mode + cert_file.write(public_key_pem) + cert_file.close() + private_key_file = open( + os.path.join(tmp_dir, "privatekey.pem"), "wb" + ) + private_key_file.write(private_key_pem) + private_key_file.close() + + return cert_file, private_key_file + + self._set_dashboard_env_vars( + "admin", "AAAbbb1234", "admin", "AAAbbb1234", "admin", "AAAbbb1234" + ) + + ( + logsui_cert_pem, + logsui_key_pem, + logsui_fp, + ) = generate_certificate_and_key( + "logsui-external-svc.test.svc.cluster.local", + "logsui-svc", + sans=["logsui-svc"], + ) + ( + metricsui_cert_pem, + metricsui_key_pem, + metricsui_fp, + ) = generate_certificate_and_key( + "metricsui-external-svc.test.svc.cluster.local", + "metricsui-svc", + sans=["metricsui-svc"], + ) + + # Creating temporary directories in a context ensures their cleanup functions are called + # + with TemporaryDirectory() as logsui_tmp_dir, TemporaryDirectory() as metricsui_tmp_dir: + # Create certificate files for logs and metrics in different tmp dirs + # + logsui_cert_file, logsui_key_file = create_certificate_files( + logsui_cert_pem, logsui_key_pem, logsui_tmp_dir + ) + metricsui_cert_file, metricsui_key_file = create_certificate_files( + metricsui_cert_pem, metricsui_key_pem, metricsui_tmp_dir + ) + + # Create dc with logs and metrics certificate arguments + # + az( + "{0} {1} {2} {3} {4}".format( + self._get_dc_create_str(), + "{0} {1}".format( + "--logs-ui-private-key-file", logsui_key_file.name + ), + "{0} {1}".format( + "--logs-ui-public-key-file", logsui_cert_file.name + ), + "{0} {1}".format( + "--metrics-ui-private-key-file", metricsui_key_file.name + ), + "{0} {1}".format( + "--metrics-ui-public-key-file", metricsui_cert_file.name + ), + ) + ) + + # Verify provided certificate data is present in the certificate secrets + # + logsui_secret = KubernetesClient.get_secret( + "test", DEFAULT_LOGSUI_CERT_SECRET_NAME + ) + logsui_creds = logsui_secret.data + assert ( + base64.b64decode(logsui_creds["certificate.pem"]) + == logsui_cert_pem + ) + assert ( + base64.b64decode(logsui_creds["privatekey.pem"]) + == logsui_key_pem + ) + + # Verify provided certificate data is present in the certificate secrets + # + metricsui_secret = KubernetesClient.get_secret( + "test", DEFAULT_METRICSUI_CERT_SECRET_NAME + ) + metricsui_creds = metricsui_secret.data + assert ( + base64.b64decode(metricsui_creds["certificate.pem"]) + == metricsui_cert_pem + ) + assert ( + base64.b64decode(metricsui_creds["privatekey.pem"]) + == metricsui_key_pem + ) + + monitor = KubernetesClient.get_namespaced_custom_object( + "monitorstack", + "test", + group="arcdata.microsoft.com", + version="v1beta1", + plural="monitors", + ) + logsui_endpoint = monitor["status"]["logSearchDashboard"] + + headers = urllib3.make_headers( + basic_auth="{0}:{1}".format("admin", "AAAbbb1234") + ) + http = urllib3.PoolManager( + ca_certs=logsui_cert_file.name, assert_hostname=False + ) + resp = http.request("GET", logsui_endpoint, headers=headers) + assert resp.status == 200 + + import ssl + + ssl.get_server_certificate( + logsui_endpoint[:-1].replace("//", "").split(":")[1:] + ) + + try: + http = urllib3.PoolManager(assert_hostname=False) + resp = http.request("GET", logsui_endpoint, headers=headers) + assert False + except Exception: + assert True + + def _get_dc_create_str(self, use_k8s=True, namespace="test"): + args = """ + --name datacontroller-alias-12345eee8 + --subscription a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39 + --resource-group GCI + --location eastus + --connectivity-mode indirect + --profile azure-arc-unit-test""" + + if use_k8s: + args += " --use-k8s" + + if namespace: + args += " --k8s-namespace {0}".format(namespace) + + return "arcdata dc create {0}".format(args) + + def _set_dashboard_env_vars( + self, + logs_user="", + logs_pass="", + metrics_user="", + metrics_pass="", + azdata_user="", + azdata_pass="", + ): + + os.environ[LOGSUI_USERNAME] = logs_user + os.environ[LOGSUI_PASSWORD] = logs_pass + os.environ[METRICSUI_USERNAME] = metrics_user + os.environ[METRICSUI_PASSWORD] = metrics_pass + os.environ[AZDATA_USERNAME] = azdata_user + os.environ[AZDATA_PASSWORD] = azdata_pass + + def decode_data(self, secret_data: str): + return str(base64.b64decode(secret_data), "utf-8") diff --git a/src/arcdata/arcdata/azext_arcdata/test/kubernetes_sdk/test_json_serialization.py b/src/arcdata/arcdata/azext_arcdata/test/kubernetes_sdk/test_json_serialization.py new file mode 100644 index 00000000000..f384cf4777f --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/kubernetes_sdk/test_json_serialization.py @@ -0,0 +1,452 @@ +from datetime import datetime +import json +from src.arcdata.arcdata.azext_arcdata.vendored_sdks.kubernetes_sdk.json_serialization import ( + jsonSerializable, + jsonType, + to_json, + from_json, + jsonProperty, + tags, + to_yaml, + from_yaml, +) +import pydash as _ +import unittest + + +class Test_Serialization(unittest.TestCase): + # ensures that the message monitor, when started will capture all messages sent to the service broker + def test_serializeAnonObject(self): + testObj = {"message": "test obj"} + + result = to_json(testObj) + self.assertTrue(result.find("test obj")) + + def test_deserializeAnonObject(self): + testJson = '{"message":"test obj"}' + result = from_json(testJson) + self.assertTrue(result["message"] == "test obj") + + def test_serialize_class(self): + t = SerializeClass() + result = to_json(t) + print(result) + dresult = from_json(result) + self.assertIsInstance(dresult, SerializeClass) + self.assertEqual("Prop1", t.prop1) + + def test_serialize_class_yaml(self): + t = SerializeClass() + result = to_yaml(t) + print(result) + dresult = from_yaml(result) + self.assertIsInstance(dresult, SerializeClass) + self.assertEqual("Prop1", t.prop1) + + def test_serialize_complex_classes(self): + c = ComplexSerializeClass() + result = to_json(c) + print(result) + dresult = from_json(result) + self.assertIsInstance(dresult, ComplexSerializeClass) + self.assertIsInstance(dresult.child, SerializeClass) + + def test_serialize_complex_classes_yaml(self): + c = ComplexSerializeClass() + result = to_yaml(c) + print(result) + dresult = from_yaml(result) + self.assertIsInstance(dresult, ComplexSerializeClass) + self.assertIsInstance(dresult.child, SerializeClass) + + def test_serialize_getters_setters(self): + testClass = GetterSetter() + testClass.prop1 = "TestValue" + json = to_json(testClass) + result = from_json(json) + self.assertEqual(result.prop1, testClass.prop1) + + def test_serialize_getters_setters_yaml(self): + testClass = GetterSetter() + testClass.prop1 = "TestValue" + json = to_json(testClass) + result = from_json(json) + self.assertEqual(result.prop1, testClass.prop1) + + def test_serialize_inherited_getters_setters(self): + testClass = GetterSetterSubClass() + testClass.prop1 = "TestValue" + json = to_json(testClass) + result = from_json(json) + self.assertEqual(result.prop1, testClass.prop1) + + def test_serialize_inherited_getters_setters_yaml(self): + testClass = GetterSetterSubClass() + testClass.prop1 = "TestValue" + yml = to_yaml(testClass) + result = from_yaml(yml) + self.assertEqual(result.prop1, testClass.prop1) + + def test_deserialize_references(self): + # ensure that serializations that contain circular references, or multiple references to the same instance will deserialize to the same instance structure. + test1 = GetterSetter() + test1.prop1 = "test" + testArr = [test1, test1, test1, test1] + testJson = to_json(testArr) + deserializedArr = from_json(testJson) + deserialized1 = deserializedArr[0] + for item in deserializedArr: + self.assertEqual(deserialized1, item) + self.assertEqual(4, len(deserializedArr)) + + def test_deserialize_references_yaml(self): + # ensure that serializations that contain circular references, or multiple references to the same instance will deserialize to the same instance structure. + test1 = GetterSetter() + test1.prop1 = "test" + testArr = [test1, test1, test1, test1] + testJson = to_yaml(testArr) + deserializedArr = from_yaml(testJson) + deserialized1 = deserializedArr[0] + for item in deserializedArr: + self.assertEqual(deserialized1, item) + self.assertEqual(4, len(deserializedArr)) + + def test_serialize_references(self): + test1 = GetterSetter() + test1.prop1 = "test" + testHash = str(hash(test1)) + test1.__ref__ = testHash + testArr = [test1, test1, test1, test1] + testJson = to_json(testArr) + + self.assertEqual(4, testJson.count(testHash)) + + def test_serialize_references_yaml(self): + test1 = GetterSetter() + test1.prop1 = "test" + testHash = str(hash(test1)) + test1.__ref__ = testHash + testArr = [test1, test1, test1, test1] + testYaml = to_yaml(testArr) + + self.assertEqual(4, testYaml.count(testHash)) + + def test_deserialize_subclass_with_parentclass_hint(self): + sub = GetterSetterSubClass() + subJson = to_json(sub) + subDeserialized = from_json(subJson, GetterSetter) + self.assertTrue(isinstance(subDeserialized, GetterSetterSubClass)) + + def test_deserialize_subclass_with_parentclass_hint_yaml(self): + sub = GetterSetterSubClass() + subJson = to_yaml(sub) + subDeserialized = from_yaml(subJson, GetterSetter) + self.assertTrue(isinstance(subDeserialized, GetterSetterSubClass)) + + def test_serialize_only_include_tags(self): + tc = TaggedClass() + tc.taggedStr = "test" + tc.taggedInt = 1 + tc.unTaggedStr = "Untagged" + tc.unTaggedInt = 1 + + json = to_json(tc, includeTags=["test1", "test2"], excludeUntagged=True) + dtc = from_json(json) + self.assertEqual(dtc.taggedStr, tc.taggedStr) + self.assertEqual(dtc.taggedInt, tc.taggedInt) + self.assertNotEqual(dtc.unTaggedStr, tc.unTaggedStr) + self.assertNotEqual(dtc.unTaggedInt, tc.unTaggedInt) + + def test_serialize_only_include_tags_2(self): + tc = TaggedClass() + tc.taggedStr = "test" + tc.taggedInt = 1 + tc.unTaggedStr = "Untagged" + tc.unTaggedInt = 1 + + json = to_json(tc, includeTags=["test1"], excludeUntagged=True) + dtc = from_json(json) + self.assertEqual(dtc.taggedStr, tc.taggedStr) + self.assertNotEqual(dtc.taggedInt, tc.taggedInt) + self.assertNotEqual(dtc.unTaggedStr, tc.unTaggedStr) + self.assertNotEqual(dtc.unTaggedInt, tc.unTaggedInt) + + def test_serialize_ignore_exclude_tags(self): + tc = TaggedClass() + tc.taggedStr = "test" + tc.taggedInt = 1 + tc.unTaggedStr = "Untagged" + tc.unTaggedInt = 1 + + json = to_json(tc, excludeTags=["test1"], excludeUntagged=True) + dtc = from_json(json) + self.assertNotEqual(dtc.taggedStr, tc.taggedStr) + self.assertEqual(dtc.taggedInt, tc.taggedInt) + self.assertNotEqual(dtc.unTaggedInt, tc.unTaggedInt) + self.assertNotEqual(dtc.unTaggedStr, tc.unTaggedStr) + + def test_serialize_ignore_exclude_tags_2(self): + tc = TaggedClass() + tc.taggedStr = "test" + tc.taggedInt = 1 + tc.unTaggedStr = "Untagged" + tc.unTaggedInt = 1 + + json = to_json(tc, excludeTags=["test1"]) + dtc = from_json(json) + self.assertNotEqual(dtc.taggedStr, tc.taggedStr) + self.assertEqual(dtc.taggedInt, tc.taggedInt) + self.assertEqual(dtc.unTaggedStr, tc.unTaggedStr) + self.assertEqual(dtc.unTaggedInt, tc.unTaggedInt) + + def test_decorated_serializable_class(self): + dsc = DecoratedSerializableClass() + serialized = dsc._to_dict() + assert serialized["prop1"] == "Prop1" + assert serialized["prop2"] == "Prop2" + serialized["prop1"] = "TestProp1" + serialized["prop2"] = "TestProp2" + dsc._hydrate(serialized) + assert dsc.prop1 == "TestProp1" + assert dsc.prop2 == "TestProp2" + + def test_decorated_complex_serializable_class(self): + dsc = ComplexDecoratedSerializeClass() + serialized = dsc._to_dict() + assert serialized["child"]["prop1"] == "ChildProp1" + assert serialized["child"]["prop2"] == "ChildProp2" + assert serialized["prop1"] == "Prop1" + serialized["child"]["prop1"] = "TestChildProp1" + serialized["child"]["prop2"] = "TestChildProp2" + serialized["prop1"] = "TestProp1" + dsc._hydrate(serialized) + assert dsc.child.prop1 == "TestChildProp1" + assert dsc.child.prop2 == "TestChildProp2" + assert dsc.prop1 == "TestProp1" + + def test_decorated_array_serializable_class(self): + dsc = ComplexDecoratedArraySerializeClass() + serialized = dsc._to_dict() + assert serialized["children"][0]["prop1"] == "Child1Prop1" + assert serialized["children"][0]["prop2"] == "Child1Prop2" + assert serialized["children"][1]["prop1"] == "Child2Prop1" + assert serialized["children"][1]["prop2"] == "Child2Prop2" + assert serialized["prop1"] == "Prop1" + serialized["children"][0]["prop1"] = "TestChild1Prop1" + serialized["children"][0]["prop2"] = "TestChild1Prop2" + serialized["children"][1]["prop1"] = "TestChild2Prop1" + serialized["children"][1]["prop2"] = "TestChild2Prop2" + serialized["prop1"] = "TestProp1" + dsc._hydrate(serialized) + assert dsc.children[0].prop1 == "TestChild1Prop1" + assert dsc.children[0].prop2 == "TestChild1Prop2" + assert dsc.children[1].prop1 == "TestChild2Prop1" + assert dsc.children[1].prop2 == "TestChild2Prop2" + assert dsc.prop1 == "TestProp1" + + def test_change_tracking_no_changes_on_init(self): + dsc = DecoratedSerializableClass() + assert len(dsc._changed_properties) == 0 + dsc.prop1 = "test" + assert len(dsc._changed_properties) == 1 + + def test_deep_change_tracking(self): + cdsc = ComplexDecoratedSerializeClass2() + cdsc.complexChild.child.prop1 = "childPropChanges" + cdsc.complexChild.name = "child1" + cdsc.complexChild2.prop1 = "testChange" + cdsc.complexChild2.name = "child2" + cdsc._changed_keys() + json_str = to_json(cdsc, changesOnly=True) + + deserialized = json.loads(json_str) + + assert ( + _.get(deserialized, "complexChild.child.prop1") + == "childPropChanges" + ) + assert _.get(deserialized, "complexChild.child.name") is None + assert _.get(deserialized, "complexChild.prop1") is None + assert ( + _.get(deserialized, "complexChild.name") is None + ) # this property is not marked as a jsonProperty, and should not be tracked in the change tracking. + assert _.get(deserialized, "complexChild2.prop1") == "testChange" + assert ( + _.get(deserialized, "complexChild.name") is None + ) # this property is not marked as a jsonProperty, and should not be tracked in the change tracking. + + +@jsonSerializable +class DecoratedSerializableClass: + def __init__(self): + self.prop1 = "Prop1" + self.prop2 = "Prop2" + + _prop1 = None + + @jsonProperty + def prop1(self): + return self._prop1 + + @prop1.setter + def prop1(self, value): + self._prop1 = value + + +@jsonSerializable +class ComplexDecoratedSerializeClass: + def __init__(self): + self.child = DecoratedSerializableClass() + self.child.prop1 = "ChildProp1" + self.child.prop2 = "ChildProp2" + self.prop1 = "Prop1" + + @jsonProperty + @jsonType(DecoratedSerializableClass) + def child(self): + return self._child + + @child.setter + def child(self, value): + self._child = value + + @jsonProperty + def prop1(self): + return self._prop1 + + @prop1.setter + def prop1(self, value): + self._prop1 = value + + +@jsonSerializable +class ComplexDecoratedSerializeClass2: + def __init__(self): + self.complexChild = ComplexDecoratedSerializeClass() + self.complexChild2 = ComplexDecoratedSerializeClass() + + @jsonProperty + def complexChild(self): + return self._complexChild + + @complexChild.setter + def complexChild(self, value): + self._complexChild = value + + @jsonProperty + def complexChild2(self): + return self._complexChild2 + + @complexChild2.setter + def complexChild2(self, value): + self._complexChild2 = value + + +@jsonSerializable +class ComplexDecoratedArraySerializeClass: + def __init__(self): + self.prop1 = "Prop1" + + self.children = list() + child = DecoratedSerializableClass() + child.prop1 = "Child1Prop1" + child.prop2 = "Child1Prop2" + self.children.append(child) + + child = DecoratedSerializableClass() + child.prop1 = "Child2Prop1" + child.prop2 = "Child2Prop2" + self.children.append(child) + + @jsonProperty + @jsonType(DecoratedSerializableClass, True) + def children(self): + return self._child + + @children.setter + def children(self, value): + self._child = value + + +class SerializeClass: + def __init__(self): + self.prop1 = "Prop1" + self.date2 = datetime.now() + self.prop3 = "Prop2" + + +class ComplexSerializeClass: + def __init__(self): + self.child = SerializeClass() + self.child.prop1 = "ChildProp1" + self.child.prop3 = "ChildProp3" + self.prop1 = "Prop1" + + +class TaggedClass: + def __init__(self): + self._taggedStr = "" + self._taggedInt = 0 + self._unTaggedStr = "" + self._unTaggedInt = 0 + + @jsonProperty + @tags("test1") + def taggedStr(self): + return self._taggedStr + + @taggedStr.setter + def taggedStr(self, value): + self._taggedStr = value + + @jsonProperty + @tags("test2") + def taggedInt(self): + return self._taggedInt + + @taggedInt.setter + def taggedInt(self, value): + self._taggedInt = value + + @jsonProperty + def unTaggedStr(self): + return self._unTaggedStr + + @unTaggedStr.setter + def unTaggedStr(self, value): + self._unTaggedStr = value + + @jsonProperty + def unTaggedInt(self): + return self._unTaggedInt + + @unTaggedInt.setter + def unTaggedInt(self, value): + self._unTaggedInt = value + + +class GetterSetter: + def __init__(self): + self.prop1 = "" + + @jsonProperty + @tags("test") + def prop1(self): + return self._prop1 + + @prop1.setter + def prop1(self, value): + self._prop1 = value + + +class GetterSetterSubClass(GetterSetter): + def __init__(self): + super().__init__() + + @jsonProperty + def prop1(self): + return self._prop1 + + @prop1.setter + def prop1(self, value): + self._prop1 = value diff --git a/src/arcdata/arcdata/azext_arcdata/test/kubernetes_sdk/test_kubernetes_sdk.py b/src/arcdata/arcdata/azext_arcdata/test/kubernetes_sdk/test_kubernetes_sdk.py new file mode 100644 index 00000000000..10b71729d7f --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/kubernetes_sdk/test_kubernetes_sdk.py @@ -0,0 +1,81 @@ +import pydash as _ +from azext_arcdata.vendored_sdks.kubernetes_sdk.arc_docker_image_service import ( + ArcDataImageService, +) +from azext_arcdata.core.util import retry_method + + +# todo: these are integration tests used for debugging early, we need to create recordings and wire these up for unit testing. +class TestArcDataImageService(object): + def test_remote_imagetag_list(self): + # versions = ArcDataImageService.get_available_image_versions("arc", True) + # assert versions.index("v1.0.0_2021-07-30") >= 0 + pass + + def test_image_tag_sort(self): + imageTags = [ + "1.0.1_test", + "1.0.2_test", + "1.0.3", + "1.0.10", + "some invalid tag", + ] + versions = ArcDataImageService.resolve_valid_image_versions(imageTags) + assert _.matches(["1.0.10", "1.0.3", "1.0.2_test", "1.0.1_test"])( + versions + ) + + def test_image_tag_validation(self): + assert ArcDataImageService.validate_image_tag("20210102.4") + assert ArcDataImageService.validate_image_tag("v1.0.0_label") + assert ArcDataImageService.validate_image_tag("v1.0.0") + assert ArcDataImageService.validate_image_tag("v1.0") + assert ArcDataImageService.validate_image_tag("v1") is False + assert ArcDataImageService.validate_image_tag("v1 tag") is False + assert ArcDataImageService.validate_image_tag("v1.0 tag") is False + + def test_imagetag_parsing(self): + (major, minor, revision, label) = ArcDataImageService.parse_image_tag( + "v1.2.3_2021-07-30" + ) + assert major == 1 + assert minor == 2 + assert revision == 3 + assert label == "2021-07-30" + + def test_retry_decorator_success(self): + retryCount = 0 + + @retry_method( + retry_count=5, + retry_delay=0.1, + retry_method_description="retry test", + retry_on_exceptions=(ValueError), + ) + def retry_this(): + nonlocal retryCount + retryCount += 1 + if retryCount < 4: + raise ValueError("Should fail") + return "Retried {0} times".format(retryCount) + + results = retry_this() + assert results == "Retried 4 times" + + def test_retry_decorator_failed(self): + @retry_method( + retry_count=5, + retry_delay=0.1, + retry_method_description="retry test", + retry_on_exceptions=(ValueError), + ) + def retry_this(): + raise ValueError("Should fail") + + try: + retry_this() + assert False + except Exception as e: + assert ( + "Failed to retry test after retrying for 0 minute(s)." == str(e) + ) diff --git a/src/arcdata/arcdata/azext_arcdata/test/kubernetes_sdk/test_models.py b/src/arcdata/arcdata/azext_arcdata/test/kubernetes_sdk/test_models.py new file mode 100644 index 00000000000..0a470088c64 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/kubernetes_sdk/test_models.py @@ -0,0 +1,20 @@ +from azext_arcdata.vendored_sdks.kubernetes_sdk.models.custom_resource_update import ( + Policy, + PolicyValue, + Update, +) +from src.arcdata.arcdata.azext_arcdata.vendored_sdks.kubernetes_sdk.json_serialization import jsonProperty, tags, to_json + + +class TestUpdateModelDeserialization: + def test_custom_resource_update_hydration(self): + update = { + "desiredVersion": "1.2.3", + } + + update_resource = Update() + update_resource._hydrate(update) + assert update_resource.desiredVersion == "1.2.3" + # todo: re-enable when policies are implemented. + # assert update_resource.policies[0].name == "MaintenanceWindow" + # assert update_resource.policies[0].values[0].name == "start" diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/__init__.py b/src/arcdata/arcdata/azext_arcdata/test/postgres/__init__.py new file mode 100644 index 00000000000..77350c40ee9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/__init__.py @@ -0,0 +1,5 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/assets/create_spec.json b/src/arcdata/arcdata/azext_arcdata/test/postgres/assets/create_spec.json new file mode 100644 index 00000000000..6e5d03d8379 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/assets/create_spec.json @@ -0,0 +1,23 @@ +{ + "apiVersion":"arcdata.microsoft.com/v1beta6", + "kind":"PostgreSql", + "metadata":{ + "name":"pg-ut00002", + "namespace":"test" + }, + "spec":{ + "scheduling": { + "default": { + "resources": { + "requests": {"memory": "256Mi", "cpu": 1}, + "limits": {"memory": "1Gi", "cpu": 4} + } + } + }, + "storage": { + "data": {"volumes": [{"size": "5Gi"}]}, + "logs": {"volumes": [{"size": "5Gi"}]}, + "backups": {"volumes": [{"size": "5Gi"}]} + } + } +} \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/assets/edit_spec.json b/src/arcdata/arcdata/azext_arcdata/test/postgres/assets/edit_spec.json new file mode 100644 index 00000000000..49695f8f520 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/assets/edit_spec.json @@ -0,0 +1,13 @@ +{ + "metadata": { + "namespace": "test", + "name": "pg1" + }, + "kind": "postgres", + "spec": { + "storage": { + "volumeSize": "500Mi" + } + }, + "apiVersion": "arcdata.microsoft.com/v1beta5" +} \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/assets/invalid_spec.json b/src/arcdata/arcdata/azext_arcdata/test/postgres/assets/invalid_spec.json new file mode 100644 index 00000000000..09c04be865d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/assets/invalid_spec.json @@ -0,0 +1,13 @@ +{ + "apiVersion": "arcdata.microsoft.com/v1beta5", + "kind": "foobar", + "metadata": { + "name": "foobar2", + "namespace": "test" + }, + "spec": { + "storage": { + "volumeSize": "500Mi" + } + } +} \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create[pg-ut00001-Deployed].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create[pg-ut00001-Deployed].yaml new file mode 100644 index 00000000000..2061b0331f5 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create[pg-ut00001-Deployed].yaml @@ -0,0 +1,543 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097931"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:13 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097931"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:13 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2023-02-25T00:07:24Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-25T00:11:15Z"}],"name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test","resourceVersion":"12097036","uid":"fe6f049b-6b33-4c9e-a683-c3020c95b559"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.17.0_ubuntu2004-mamacdon","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-mamacdon-1b3d84e15c","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.16.0","lastUpdateTime":"2023-02-27T20:11:50.840869Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.17.0_ubuntu2004-mamacdon","latest":"v1.17.0_ubuntu2004-","previous":"v1.17.0_ubuntu2004-"},"runningVersion":"v1.17.0_ubuntu2004-mamacdon","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"12097933"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:13 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/local-storage + response: + body: + string: '{"kind": "StorageClass", "apiVersion": "storage.k8s.io/v1", "metadata": + {"name": "local-storage", "uid": "aeadab00-fdfd-4ee5-ac06-40a78b23c45b", "resourceVersion": + "654", "creationTimestamp": "2022-11-04T22:28:25Z", "annotations": {"kubectl.kubernetes.io/last-applied-configuration": + "{\"apiVersion\":\"storage.k8s.io/v1\",\"kind\":\"StorageClass\",\"metadata\":{\"annotations\":{},\"name\":\"local-storage\"},\"provisioner\":\"kubernetes.io/no-provisioner\",\"volumeBindingMode\":\"WaitForFirstConsumer\"}\n", + "storageclass.kubernetes.io/is-default-class": "true"}, "managedFields": [{"manager": + "kubectl-client-side-apply", "operation": "Update", "apiVersion": "storage.k8s.io/v1", + "time": "2022-11-04T22:28:25Z", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": + {"f:annotations": {".": {}, "f:kubectl.kubernetes.io/last-applied-configuration": + {}}}, "f:provisioner": {}, "f:reclaimPolicy": {}, "f:volumeBindingMode": {}}}, + {"manager": "kubectl-patch", "operation": "Update", "apiVersion": "storage.k8s.io/v1", + "time": "2022-11-04T22:28:25Z", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": + {"f:annotations": {"f:storageclass.kubernetes.io/is-default-class": {}}}}}]}, + "provisioner": "kubernetes.io/no-provisioner", "reclaimPolicy": "Delete", + "volumeBindingMode": "WaitForFirstConsumer"}' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1237' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:13 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/local-storage + response: + body: + string: '{"kind": "StorageClass", "apiVersion": "storage.k8s.io/v1", "metadata": + {"name": "local-storage", "uid": "aeadab00-fdfd-4ee5-ac06-40a78b23c45b", "resourceVersion": + "654", "creationTimestamp": "2022-11-04T22:28:25Z", "annotations": {"kubectl.kubernetes.io/last-applied-configuration": + "{\"apiVersion\":\"storage.k8s.io/v1\",\"kind\":\"StorageClass\",\"metadata\":{\"annotations\":{},\"name\":\"local-storage\"},\"provisioner\":\"kubernetes.io/no-provisioner\",\"volumeBindingMode\":\"WaitForFirstConsumer\"}\n", + "storageclass.kubernetes.io/is-default-class": "true"}, "managedFields": [{"manager": + "kubectl-client-side-apply", "operation": "Update", "apiVersion": "storage.k8s.io/v1", + "time": "2022-11-04T22:28:25Z", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": + {"f:annotations": {".": {}, "f:kubectl.kubernetes.io/last-applied-configuration": + {}}}, "f:provisioner": {}, "f:reclaimPolicy": {}, "f:volumeBindingMode": {}}}, + {"manager": "kubectl-patch", "operation": "Update", "apiVersion": "storage.k8s.io/v1", + "time": "2022-11-04T22:28:25Z", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": + {"f:annotations": {"f:storageclass.kubernetes.io/is-default-class": {}}}}}]}, + "provisioner": "kubernetes.io/no-provisioner", "reclaimPolicy": "Delete", + "volumeBindingMode": "WaitForFirstConsumer"}' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1237' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:13 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta5/namespaces/test/postgresqls/pg-ut00001 + response: + body: + string: '{"kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", + "message": "postgresqls.arcdata.microsoft.com \"pg-ut00001\" not found", "reason": + "NotFound", "details": {"name": "pg-ut00001", "group": "arcdata.microsoft.com", + "kind": "postgresqls"}, "code": 404}' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '256' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:13 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2023-02-25T00:07:24Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-25T00:11:15Z"}],"name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test","resourceVersion":"12097036","uid":"fe6f049b-6b33-4c9e-a683-c3020c95b559"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.17.0_ubuntu2004-mamacdon","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-mamacdon-1b3d84e15c","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.16.0","lastUpdateTime":"2023-02-27T20:11:50.840869Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.17.0_ubuntu2004-mamacdon","latest":"v1.17.0_ubuntu2004-","previous":"v1.17.0_ubuntu2004-"},"runningVersion":"v1.17.0_ubuntu2004-mamacdon","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"12097933"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:13 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/pg-ut00001-login-secret + response: + body: + string: '{"kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", + "message": "secrets \"pg-ut00001-login-secret\" not found", "reason": "NotFound", + "details": {"name": "pg-ut00001-login-secret", "kind": "secrets"}, "code": + 404}' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '220' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:13 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "pg-ut00001-login-secret"}, + "type": "Opaque", "data": {"username": "username", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind": "Secret", "apiVersion": "v1", "metadata": {"name": "pg-ut00001-login-secret", + "namespace": "test", "uid": "04b9e116-1ec4-41cd-8ebf-d4cd5fef4f5a", "resourceVersion": + "12097934", "creationTimestamp": "2023-02-27T20:23:13Z", "managedFields": + [{"manager": "OpenAPI-Generator", "operation": "Update", "apiVersion": "v1", + "time": "2023-02-27T20:23:13Z", "fieldsType": "FieldsV1", "fieldsV1": {"f:data": + {".": {}, "f:password": {}, "f:username": {}}, "f:type": {}}}]}, "data": {"password": + "Placeholder001", "username": "username"}, "type": "Opaque"}' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '517' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:13 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "arcdata.microsoft.com/v1beta5", "kind": "PostgreSql", "metadata": + {"name": "pg-ut00001", "namespace": "test"}, "spec": {"scheduling": {"default": + {"resources": {"limits": {}, "requests": {"memory": "256Mi"}}}}, "security": + {"adminLoginSecret": "pg-ut00001-login-secret"}, "services": {"primary": {"type": + "NodePort"}}, "storage": {"backups": {"volumes": [{"size": "5Gi"}]}, "data": + {"volumes": [{"className": "local-storage", "size": "5Gi"}]}, "logs": {"volumes": + [{"className": "local-storage", "size": "5Gi"}]}}}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta5/namespaces/test/postgresqls + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1beta5","kind":"PostgreSql","metadata":{"creationTimestamp":"2023-02-27T20:23:13Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1beta5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:scheduling":{".":{},"f:default":{".":{},"f:resources":{".":{},"f:limits":{},"f:requests":{".":{},"f:memory":{}}}}},"f:security":{".":{},"f:adminLoginSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}}},"f:storage":{".":{},"f:backups":{".":{},"f:volumes":{}},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-27T20:23:13Z"}],"name":"pg-ut00001","namespace":"test","resourceVersion":"12097935","uid":"bca2f6d7-5680-443c-8bbb-fbe3109da730"},"spec":{"backup":{"retentionPeriodInDays":7},"config":{"postgreSqlExtensions":"''''"},"dev":false,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test"},"scheduling":{"default":{"resources":{"requests":{"memory":"256Mi"}}}},"security":{"adminLoginSecret":"pg-ut00001-login-secret"},"services":{"primary":{"type":"NodePort"}},"storage":{"backups":{"volumes":[{"size":"5Gi"}]},"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}}}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1517' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:13 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_conflict[pg-ut00001-exists].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_conflict[pg-ut00001-exists].yaml new file mode 100644 index 00000000000..f117b6b41ba --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_conflict[pg-ut00001-exists].yaml @@ -0,0 +1,277 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097937"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:13 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2023-02-25T00:07:24Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-25T00:11:15Z"}],"name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test","resourceVersion":"12097036","uid":"fe6f049b-6b33-4c9e-a683-c3020c95b559"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.17.0_ubuntu2004-mamacdon","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-mamacdon-1b3d84e15c","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.16.0","lastUpdateTime":"2023-02-27T20:11:50.840869Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.17.0_ubuntu2004-mamacdon","latest":"v1.17.0_ubuntu2004-","previous":"v1.17.0_ubuntu2004-"},"runningVersion":"v1.17.0_ubuntu2004-mamacdon","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"12097945"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:13 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/local-storage + response: + body: + string: '{"kind": "StorageClass", "apiVersion": "storage.k8s.io/v1", "metadata": + {"name": "local-storage", "uid": "aeadab00-fdfd-4ee5-ac06-40a78b23c45b", "resourceVersion": + "654", "creationTimestamp": "2022-11-04T22:28:25Z", "annotations": {"kubectl.kubernetes.io/last-applied-configuration": + "{\"apiVersion\":\"storage.k8s.io/v1\",\"kind\":\"StorageClass\",\"metadata\":{\"annotations\":{},\"name\":\"local-storage\"},\"provisioner\":\"kubernetes.io/no-provisioner\",\"volumeBindingMode\":\"WaitForFirstConsumer\"}\n", + "storageclass.kubernetes.io/is-default-class": "true"}, "managedFields": [{"manager": + "kubectl-client-side-apply", "operation": "Update", "apiVersion": "storage.k8s.io/v1", + "time": "2022-11-04T22:28:25Z", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": + {"f:annotations": {".": {}, "f:kubectl.kubernetes.io/last-applied-configuration": + {}}}, "f:provisioner": {}, "f:reclaimPolicy": {}, "f:volumeBindingMode": {}}}, + {"manager": "kubectl-patch", "operation": "Update", "apiVersion": "storage.k8s.io/v1", + "time": "2022-11-04T22:28:25Z", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": + {"f:annotations": {"f:storageclass.kubernetes.io/is-default-class": {}}}}}]}, + "provisioner": "kubernetes.io/no-provisioner", "reclaimPolicy": "Delete", + "volumeBindingMode": "WaitForFirstConsumer"}' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1237' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:13 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/local-storage + response: + body: + string: '{"kind": "StorageClass", "apiVersion": "storage.k8s.io/v1", "metadata": + {"name": "local-storage", "uid": "aeadab00-fdfd-4ee5-ac06-40a78b23c45b", "resourceVersion": + "654", "creationTimestamp": "2022-11-04T22:28:25Z", "annotations": {"kubectl.kubernetes.io/last-applied-configuration": + "{\"apiVersion\":\"storage.k8s.io/v1\",\"kind\":\"StorageClass\",\"metadata\":{\"annotations\":{},\"name\":\"local-storage\"},\"provisioner\":\"kubernetes.io/no-provisioner\",\"volumeBindingMode\":\"WaitForFirstConsumer\"}\n", + "storageclass.kubernetes.io/is-default-class": "true"}, "managedFields": [{"manager": + "kubectl-client-side-apply", "operation": "Update", "apiVersion": "storage.k8s.io/v1", + "time": "2022-11-04T22:28:25Z", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": + {"f:annotations": {".": {}, "f:kubectl.kubernetes.io/last-applied-configuration": + {}}}, "f:provisioner": {}, "f:reclaimPolicy": {}, "f:volumeBindingMode": {}}}, + {"manager": "kubectl-patch", "operation": "Update", "apiVersion": "storage.k8s.io/v1", + "time": "2022-11-04T22:28:25Z", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": + {"f:annotations": {"f:storageclass.kubernetes.io/is-default-class": {}}}}}]}, + "provisioner": "kubernetes.io/no-provisioner", "reclaimPolicy": "Delete", + "volumeBindingMode": "WaitForFirstConsumer"}' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1237' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:13 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta5/namespaces/test/postgresqls/pg-ut00001 + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1beta5","kind":"PostgreSql","metadata":{"creationTimestamp":"2023-02-27T20:23:13Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1beta5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:scheduling":{".":{},"f:default":{".":{},"f:resources":{".":{},"f:limits":{},"f:requests":{".":{},"f:memory":{}}}}},"f:security":{".":{},"f:adminLoginSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}}},"f:storage":{".":{},"f:backups":{".":{},"f:volumes":{}},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-27T20:23:13Z"},{"apiVersion":"arcdata.microsoft.com/v1beta5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-27T20:23:13Z"}],"name":"pg-ut00001","namespace":"test","resourceVersion":"12097938","uid":"bca2f6d7-5680-443c-8bbb-fbe3109da730"},"spec":{"backup":{"retentionPeriodInDays":7},"config":{"postgreSqlExtensions":"''''"},"dev":false,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test"},"scheduling":{"default":{"resources":{"requests":{"memory":"256Mi"}}}},"security":{"adminLoginSecret":"pg-ut00001-login-secret"},"services":{"primary":{"type":"NodePort"}},"storage":{"backups":{"volumes":[{"size":"5Gi"}]},"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}}},"status":{"lastUpdateTime":"2023-02-27T20:23:13.700257Z","observedGeneration":1,"state":"Creating"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1853' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:13 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_cores_exceed_limit[pg-ut00005-exceed].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_cores_exceed_limit[pg-ut00005-exceed].yaml new file mode 100644 index 00000000000..08c96d4540d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_cores_exceed_limit[pg-ut00005-exceed].yaml @@ -0,0 +1,159 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097995"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:16 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2023-02-25T00:07:24Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-25T00:11:15Z"}],"name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test","resourceVersion":"12097036","uid":"fe6f049b-6b33-4c9e-a683-c3020c95b559"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.17.0_ubuntu2004-mamacdon","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-mamacdon-1b3d84e15c","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.16.0","lastUpdateTime":"2023-02-27T20:11:50.840869Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.17.0_ubuntu2004-mamacdon","latest":"v1.17.0_ubuntu2004-","previous":"v1.17.0_ubuntu2004-"},"runningVersion":"v1.17.0_ubuntu2004-mamacdon","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"12097995"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:16 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_invalid_data_volume_size[pg-ut00011-5W-Invalid number format].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_invalid_data_volume_size[pg-ut00011-5W-Invalid number format].yaml new file mode 100644 index 00000000000..8f9753498bd --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_invalid_data_volume_size[pg-ut00011-5W-Invalid number format].yaml @@ -0,0 +1,159 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097997"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:18 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2023-02-25T00:07:24Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-25T00:11:15Z"}],"name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test","resourceVersion":"12097036","uid":"fe6f049b-6b33-4c9e-a683-c3020c95b559"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.17.0_ubuntu2004-mamacdon","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-mamacdon-1b3d84e15c","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.16.0","lastUpdateTime":"2023-02-27T20:11:50.840869Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.17.0_ubuntu2004-mamacdon","latest":"v1.17.0_ubuntu2004-","previous":"v1.17.0_ubuntu2004-"},"runningVersion":"v1.17.0_ubuntu2004-mamacdon","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"12097997"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:18 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_invalid_logs_volume_size[pg-ut00011-not_a_size-Invalid number format].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_invalid_logs_volume_size[pg-ut00011-not_a_size-Invalid number format].yaml new file mode 100644 index 00000000000..8f9753498bd --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_invalid_logs_volume_size[pg-ut00011-not_a_size-Invalid number format].yaml @@ -0,0 +1,159 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097997"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:18 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2023-02-25T00:07:24Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-25T00:11:15Z"}],"name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test","resourceVersion":"12097036","uid":"fe6f049b-6b33-4c9e-a683-c3020c95b559"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.17.0_ubuntu2004-mamacdon","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-mamacdon-1b3d84e15c","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.16.0","lastUpdateTime":"2023-02-27T20:11:50.840869Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.17.0_ubuntu2004-mamacdon","latest":"v1.17.0_ubuntu2004-","previous":"v1.17.0_ubuntu2004-"},"runningVersion":"v1.17.0_ubuntu2004-mamacdon","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"12097997"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:18 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_invalid_name[!nv@l!d-name '!nv@l!d' does not follow DNS requirements].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_invalid_name[!nv@l!d-name '!nv@l!d' does not follow DNS requirements].yaml new file mode 100644 index 00000000000..cad421fb7d5 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_invalid_name[!nv@l!d-name '!nv@l!d' does not follow DNS requirements].yaml @@ -0,0 +1,159 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097997"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:17 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2023-02-25T00:07:24Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-25T00:11:15Z"}],"name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test","resourceVersion":"12097036","uid":"fe6f049b-6b33-4c9e-a683-c3020c95b559"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.17.0_ubuntu2004-mamacdon","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-mamacdon-1b3d84e15c","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.16.0","lastUpdateTime":"2023-02-27T20:11:50.840869Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.17.0_ubuntu2004-mamacdon","latest":"v1.17.0_ubuntu2004-","previous":"v1.17.0_ubuntu2004-"},"runningVersion":"v1.17.0_ubuntu2004-mamacdon","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"12097997"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:18 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_ml_too_low[pg-ut00007-at least].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_ml_too_low[pg-ut00007-at least].yaml new file mode 100644 index 00000000000..08c96d4540d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_ml_too_low[pg-ut00007-at least].yaml @@ -0,0 +1,159 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097995"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:16 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2023-02-25T00:07:24Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-25T00:11:15Z"}],"name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test","resourceVersion":"12097036","uid":"fe6f049b-6b33-4c9e-a683-c3020c95b559"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.17.0_ubuntu2004-mamacdon","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-mamacdon-1b3d84e15c","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.16.0","lastUpdateTime":"2023-02-27T20:11:50.840869Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.17.0_ubuntu2004-mamacdon","latest":"v1.17.0_ubuntu2004-","previous":"v1.17.0_ubuntu2004-"},"runningVersion":"v1.17.0_ubuntu2004-mamacdon","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"12097995"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:16 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_mr_exceeds_ml[pg-ut00008-exceed].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_mr_exceeds_ml[pg-ut00008-exceed].yaml new file mode 100644 index 00000000000..5d1bcc22e98 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_mr_exceeds_ml[pg-ut00008-exceed].yaml @@ -0,0 +1,159 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097995"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:16 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2023-02-25T00:07:24Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-25T00:11:15Z"}],"name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test","resourceVersion":"12097036","uid":"fe6f049b-6b33-4c9e-a683-c3020c95b559"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.17.0_ubuntu2004-mamacdon","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-mamacdon-1b3d84e15c","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.16.0","lastUpdateTime":"2023-02-27T20:11:50.840869Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.17.0_ubuntu2004-mamacdon","latest":"v1.17.0_ubuntu2004-","previous":"v1.17.0_ubuntu2004-"},"runningVersion":"v1.17.0_ubuntu2004-mamacdon","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"12097995"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:17 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_mr_too_low[pg-ut00006-at least].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_mr_too_low[pg-ut00006-at least].yaml new file mode 100644 index 00000000000..08c96d4540d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_mr_too_low[pg-ut00006-at least].yaml @@ -0,0 +1,159 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097995"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:16 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2023-02-25T00:07:24Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-25T00:11:15Z"}],"name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test","resourceVersion":"12097036","uid":"fe6f049b-6b33-4c9e-a683-c3020c95b559"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.17.0_ubuntu2004-mamacdon","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-mamacdon-1b3d84e15c","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.16.0","lastUpdateTime":"2023-02-27T20:11:50.840869Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.17.0_ubuntu2004-mamacdon","latest":"v1.17.0_ubuntu2004-","previous":"v1.17.0_ubuntu2004-"},"runningVersion":"v1.17.0_ubuntu2004-mamacdon","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"12097995"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:16 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_name_length[waytoolonganameforthis-'waytoolonganameforthis' exceeds 13 character length limit].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_name_length[waytoolonganameforthis-'waytoolonganameforthis' exceeds 13 character length limit].yaml new file mode 100644 index 00000000000..71d2e46a05f --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_name_length[waytoolonganameforthis-'waytoolonganameforthis' exceeds 13 character length limit].yaml @@ -0,0 +1,159 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097997"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:17 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2023-02-25T00:07:24Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-25T00:11:15Z"}],"name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test","resourceVersion":"12097036","uid":"fe6f049b-6b33-4c9e-a683-c3020c95b559"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.17.0_ubuntu2004-mamacdon","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-mamacdon-1b3d84e15c","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.16.0","lastUpdateTime":"2023-02-27T20:11:50.840869Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.17.0_ubuntu2004-mamacdon","latest":"v1.17.0_ubuntu2004-","previous":"v1.17.0_ubuntu2004-"},"runningVersion":"v1.17.0_ubuntu2004-mamacdon","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"12097997"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:17 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_storage_class_data[pg-ut00010-does not exist].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_storage_class_data[pg-ut00010-does not exist].yaml new file mode 100644 index 00000000000..d94a5388a6e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_storage_class_data[pg-ut00010-does not exist].yaml @@ -0,0 +1,192 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097997"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:17 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2023-02-25T00:07:24Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-25T00:11:15Z"}],"name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test","resourceVersion":"12097036","uid":"fe6f049b-6b33-4c9e-a683-c3020c95b559"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.17.0_ubuntu2004-mamacdon","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-mamacdon-1b3d84e15c","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.16.0","lastUpdateTime":"2023-02-27T20:11:50.840869Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.17.0_ubuntu2004-mamacdon","latest":"v1.17.0_ubuntu2004-","previous":"v1.17.0_ubuntu2004-"},"runningVersion":"v1.17.0_ubuntu2004-mamacdon","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"12097997"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:17 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/DNE + response: + body: + string: '{"kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", + "message": "storageclasses.storage.k8s.io \"DNE\" not found", "reason": "NotFound", + "details": {"name": "DNE", "group": "storage.k8s.io", "kind": "storageclasses"}, + "code": 404}' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '234' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:17 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_storage_class_logs[ppg-ut00009-does not exist].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_storage_class_logs[ppg-ut00009-does not exist].yaml new file mode 100644 index 00000000000..852bb1a23c4 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_create_storage_class_logs[ppg-ut00009-does not exist].yaml @@ -0,0 +1,192 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097995"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:17 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2023-02-25T00:07:24Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-25T00:11:15Z"}],"name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test","resourceVersion":"12097036","uid":"fe6f049b-6b33-4c9e-a683-c3020c95b559"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.17.0_ubuntu2004-mamacdon","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-mamacdon-1b3d84e15c","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.16.0","lastUpdateTime":"2023-02-27T20:11:50.840869Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.17.0_ubuntu2004-mamacdon","latest":"v1.17.0_ubuntu2004-","previous":"v1.17.0_ubuntu2004-"},"runningVersion":"v1.17.0_ubuntu2004-mamacdon","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"12097995"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:17 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/DNE + response: + body: + string: '{"kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", + "message": "storageclasses.storage.k8s.io \"DNE\" not found", "reason": "NotFound", + "details": {"name": "DNE", "group": "storage.k8s.io", "kind": "storageclasses"}, + "code": 404}' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '234' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:17 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_delete[pg-ut00001-Deleted].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_delete[pg-ut00001-Deleted].yaml new file mode 100644 index 00000000000..5b5fc9d7b41 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_delete[pg-ut00001-Deleted].yaml @@ -0,0 +1,223 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097978"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:15 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta5/namespaces/test/postgresqls/pg-ut00001 + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1beta5","kind":"PostgreSql","metadata":{"creationTimestamp":"2023-02-27T20:23:13Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1beta5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:scheduling":{".":{},"f:default":{".":{},"f:resources":{".":{},"f:limits":{".":{},"f:memory":{}},"f:requests":{".":{},"f:memory":{}}}}},"f:security":{".":{},"f:adminLoginSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}}},"f:storage":{".":{},"f:backups":{".":{},"f:volumes":{}},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-27T20:23:14Z"},{"apiVersion":"arcdata.microsoft.com/v1beta5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:readyPods":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-27T20:23:14Z"}],"name":"pg-ut00001","namespace":"test","resourceVersion":"12097975","uid":"bca2f6d7-5680-443c-8bbb-fbe3109da730"},"spec":{"backup":{"retentionPeriodInDays":7},"config":{"postgreSqlExtensions":"''''"},"dev":false,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test"},"scheduling":{"default":{"resources":{"limits":{"memory":"10Gi"},"requests":{"memory":"256Mi"}}}},"security":{"adminLoginSecret":"pg-ut00001-login-secret"},"services":{"primary":{"type":"NodePort"}},"settings":{"shared_preload_libraries":"''''"},"storage":{"backups":{"volumes":[{"size":"5Gi"}]},"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}}},"status":{"lastUpdateTime":"2023-02-27T20:23:15.095977Z","observedGeneration":1,"readyPods":"0/1","state":"Creating"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1980' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:15 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2023-02-25T00:07:24Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-25T00:11:15Z"}],"name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test","resourceVersion":"12097036","uid":"fe6f049b-6b33-4c9e-a683-c3020c95b559"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.17.0_ubuntu2004-mamacdon","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-mamacdon-1b3d84e15c","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.16.0","lastUpdateTime":"2023-02-27T20:11:50.840869Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.17.0_ubuntu2004-mamacdon","latest":"v1.17.0_ubuntu2004-","previous":"v1.17.0_ubuntu2004-"},"runningVersion":"v1.17.0_ubuntu2004-mamacdon","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"12097978"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:15 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta5/namespaces/test/postgresqls/pg-ut00001 + response: + body: + string: '{"kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Success", + "details": {"name": "pg-ut00001", "group": "arcdata.microsoft.com", "kind": + "postgresqls", "uid": "bca2f6d7-5680-443c-8bbb-fbe3109da730"}}' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '199' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:15 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_delete_not_found[pg-ut00004-found].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_delete_not_found[pg-ut00004-found].yaml new file mode 100644 index 00000000000..2abf45d08a5 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_delete_not_found[pg-ut00004-found].yaml @@ -0,0 +1,192 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097992"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:15 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta5/namespaces/test/postgresqls/pg-ut00004 + response: + body: + string: '{"kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", + "message": "postgresqls.arcdata.microsoft.com \"pg-ut00004\" not found", "reason": + "NotFound", "details": {"name": "pg-ut00004", "group": "arcdata.microsoft.com", + "kind": "postgresqls"}, "code": 404}' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '256' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:16 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2023-02-25T00:07:24Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-25T00:11:15Z"}],"name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test","resourceVersion":"12097036","uid":"fe6f049b-6b33-4c9e-a683-c3020c95b559"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.17.0_ubuntu2004-mamacdon","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-mamacdon-1b3d84e15c","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.16.0","lastUpdateTime":"2023-02-27T20:11:50.840869Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.17.0_ubuntu2004-mamacdon","latest":"v1.17.0_ubuntu2004-","previous":"v1.17.0_ubuntu2004-"},"runningVersion":"v1.17.0_ubuntu2004-mamacdon","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"12097995"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:16 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_endpoint_list[pg-ut00001-pg-ut00001].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_endpoint_list[pg-ut00001-pg-ut00001].yaml new file mode 100644 index 00000000000..7cb30dd75c9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_endpoint_list[pg-ut00001-pg-ut00001].yaml @@ -0,0 +1,191 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097978"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:15 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta5/namespaces/test/postgresqls/pg-ut00001 + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1beta5","kind":"PostgreSql","metadata":{"creationTimestamp":"2023-02-27T20:23:13Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1beta5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:scheduling":{".":{},"f:default":{".":{},"f:resources":{".":{},"f:limits":{".":{},"f:memory":{}},"f:requests":{".":{},"f:memory":{}}}}},"f:security":{".":{},"f:adminLoginSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}}},"f:storage":{".":{},"f:backups":{".":{},"f:volumes":{}},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-27T20:23:14Z"},{"apiVersion":"arcdata.microsoft.com/v1beta5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:readyPods":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-27T20:23:14Z"}],"name":"pg-ut00001","namespace":"test","resourceVersion":"12097975","uid":"bca2f6d7-5680-443c-8bbb-fbe3109da730"},"spec":{"backup":{"retentionPeriodInDays":7},"config":{"postgreSqlExtensions":"''''"},"dev":false,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test"},"scheduling":{"default":{"resources":{"limits":{"memory":"10Gi"},"requests":{"memory":"256Mi"}}}},"security":{"adminLoginSecret":"pg-ut00001-login-secret"},"services":{"primary":{"type":"NodePort"}},"settings":{"shared_preload_libraries":"''''"},"storage":{"backups":{"volumes":[{"size":"5Gi"}]},"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}}},"status":{"lastUpdateTime":"2023-02-27T20:23:15.095977Z","observedGeneration":1,"readyPods":"0/1","state":"Creating"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1980' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:15 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/pg-ut00001-login-secret + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"pg-ut00001-login-secret","namespace":"test","uid":"04b9e116-1ec4-41cd-8ebf-d4cd5fef4f5a","resourceVersion":"12097939","creationTimestamp":"2023-02-27T20:23:13Z","ownerReferences":[{"apiVersion":"arcdata.microsoft.com/v1beta5","kind":"PostgreSql","name":"pg-ut00001","uid":"bca2f6d7-5680-443c-8bbb-fbe3109da730","controller":true}],"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2023-02-27T20:23:13Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}},{"manager":"unknown","operation":"Update","apiVersion":"v1","time":"2023-02-27T20:23:13Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:ownerReferences":{".":{},"k:{\"uid\":\"bca2f6d7-5680-443c-8bbb-fbe3109da730\"}":{".":{},"f:apiVersion":{},"f:controller":{},"f:kind":{},"f:name":{},"f:uid":{}}}}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '994' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:15 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_invalid_update[pg-ut00003-found].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_invalid_update[pg-ut00003-found].yaml new file mode 100644 index 00000000000..54a16be5a3d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_invalid_update[pg-ut00003-found].yaml @@ -0,0 +1,160 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097949"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:14 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta5/namespaces/test/postgresqls/pg-ut00003 + response: + body: + string: '{"kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", + "message": "postgresqls.arcdata.microsoft.com \"pg-ut00003\" not found", "reason": + "NotFound", "details": {"name": "pg-ut00003", "group": "arcdata.microsoft.com", + "kind": "postgresqls"}, "code": 404}' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '256' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:14 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_list[pg-ut00001].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_list[pg-ut00001].yaml new file mode 100644 index 00000000000..749fd12fbf0 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_list[pg-ut00001].yaml @@ -0,0 +1,159 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097968"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:15 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta5/namespaces/test/postgresqls + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1beta5","items":[{"apiVersion":"arcdata.microsoft.com/v1beta5","kind":"PostgreSql","metadata":{"creationTimestamp":"2023-02-27T20:23:13Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1beta5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:scheduling":{".":{},"f:default":{".":{},"f:resources":{".":{},"f:limits":{".":{},"f:memory":{}},"f:requests":{".":{},"f:memory":{}}}}},"f:security":{".":{},"f:adminLoginSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}}},"f:storage":{".":{},"f:backups":{".":{},"f:volumes":{}},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-27T20:23:14Z"},{"apiVersion":"arcdata.microsoft.com/v1beta5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:readyPods":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-27T20:23:14Z"}],"name":"pg-ut00001","namespace":"test","resourceVersion":"12097975","uid":"bca2f6d7-5680-443c-8bbb-fbe3109da730"},"spec":{"backup":{"retentionPeriodInDays":7},"config":{"postgreSqlExtensions":"''''"},"dev":false,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test"},"scheduling":{"default":{"resources":{"limits":{"memory":"10Gi"},"requests":{"memory":"256Mi"}}}},"security":{"adminLoginSecret":"pg-ut00001-login-secret"},"services":{"primary":{"type":"NodePort"}},"settings":{"shared_preload_libraries":"''''"},"storage":{"backups":{"volumes":[{"size":"5Gi"}]},"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}}},"status":{"lastUpdateTime":"2023-02-27T20:23:15.095977Z","observedGeneration":1,"readyPods":"0/1","state":"Creating"}}],"kind":"PostgreSqlList","metadata":{"continue":"","resourceVersion":"12097975"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:15 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_show[pg-ut00001-pg-ut00001].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_show[pg-ut00001-pg-ut00001].yaml new file mode 100644 index 00000000000..41853a4f553 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_show[pg-ut00001-pg-ut00001].yaml @@ -0,0 +1,159 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097950"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:14 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta5/namespaces/test/postgresqls/pg-ut00001 + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1beta5","kind":"PostgreSql","metadata":{"creationTimestamp":"2023-02-27T20:23:13Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1beta5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-27T20:23:13Z"},{"apiVersion":"arcdata.microsoft.com/v1beta5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:scheduling":{".":{},"f:default":{".":{},"f:resources":{".":{},"f:limits":{".":{},"f:memory":{}},"f:requests":{".":{},"f:memory":{}}}}},"f:security":{".":{},"f:adminLoginSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}}},"f:storage":{".":{},"f:backups":{".":{},"f:volumes":{}},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-27T20:23:14Z"}],"name":"pg-ut00001","namespace":"test","resourceVersion":"12097948","uid":"bca2f6d7-5680-443c-8bbb-fbe3109da730"},"spec":{"backup":{"retentionPeriodInDays":7},"config":{"postgreSqlExtensions":"''''"},"dev":false,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test"},"scheduling":{"default":{"resources":{"limits":{"memory":"10Gi"},"requests":{"memory":"256Mi"}}}},"security":{"adminLoginSecret":"pg-ut00001-login-secret"},"services":{"primary":{"type":"NodePort"}},"settings":{"shared_preload_libraries":"''''"},"storage":{"backups":{"volumes":[{"size":"5Gi"}]},"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}}},"status":{"lastUpdateTime":"2023-02-27T20:23:13.700257Z","observedGeneration":1,"state":"Creating"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1945' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:14 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_update[pg-ut00001-Updated].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_update[pg-ut00001-Updated].yaml new file mode 100644 index 00000000000..05859131755 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgres.test_arc_postgres_server_update[pg-ut00001-Updated].yaml @@ -0,0 +1,332 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097947"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:14 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta5/namespaces/test/postgresqls/pg-ut00001 + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1beta5","kind":"PostgreSql","metadata":{"creationTimestamp":"2023-02-27T20:23:13Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1beta5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:scheduling":{".":{},"f:default":{".":{},"f:resources":{".":{},"f:limits":{},"f:requests":{".":{},"f:memory":{}}}}},"f:security":{".":{},"f:adminLoginSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}}},"f:storage":{".":{},"f:backups":{".":{},"f:volumes":{}},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-27T20:23:13Z"},{"apiVersion":"arcdata.microsoft.com/v1beta5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-27T20:23:13Z"}],"name":"pg-ut00001","namespace":"test","resourceVersion":"12097938","uid":"bca2f6d7-5680-443c-8bbb-fbe3109da730"},"spec":{"backup":{"retentionPeriodInDays":7},"config":{"postgreSqlExtensions":"''''"},"dev":false,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test"},"scheduling":{"default":{"resources":{"requests":{"memory":"256Mi"}}}},"security":{"adminLoginSecret":"pg-ut00001-login-secret"},"services":{"primary":{"type":"NodePort"}},"storage":{"backups":{"volumes":[{"size":"5Gi"}]},"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}}},"status":{"lastUpdateTime":"2023-02-27T20:23:13.700257Z","observedGeneration":1,"state":"Creating"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1853' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:14 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/local-storage + response: + body: + string: '{"kind": "StorageClass", "apiVersion": "storage.k8s.io/v1", "metadata": + {"name": "local-storage", "uid": "aeadab00-fdfd-4ee5-ac06-40a78b23c45b", "resourceVersion": + "654", "creationTimestamp": "2022-11-04T22:28:25Z", "annotations": {"kubectl.kubernetes.io/last-applied-configuration": + "{\"apiVersion\":\"storage.k8s.io/v1\",\"kind\":\"StorageClass\",\"metadata\":{\"annotations\":{},\"name\":\"local-storage\"},\"provisioner\":\"kubernetes.io/no-provisioner\",\"volumeBindingMode\":\"WaitForFirstConsumer\"}\n", + "storageclass.kubernetes.io/is-default-class": "true"}, "managedFields": [{"manager": + "kubectl-client-side-apply", "operation": "Update", "apiVersion": "storage.k8s.io/v1", + "time": "2022-11-04T22:28:25Z", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": + {"f:annotations": {".": {}, "f:kubectl.kubernetes.io/last-applied-configuration": + {}}}, "f:provisioner": {}, "f:reclaimPolicy": {}, "f:volumeBindingMode": {}}}, + {"manager": "kubectl-patch", "operation": "Update", "apiVersion": "storage.k8s.io/v1", + "time": "2022-11-04T22:28:25Z", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": + {"f:annotations": {"f:storageclass.kubernetes.io/is-default-class": {}}}}}]}, + "provisioner": "kubernetes.io/no-provisioner", "reclaimPolicy": "Delete", + "volumeBindingMode": "WaitForFirstConsumer"}' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1237' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:14 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/local-storage + response: + body: + string: '{"kind": "StorageClass", "apiVersion": "storage.k8s.io/v1", "metadata": + {"name": "local-storage", "uid": "aeadab00-fdfd-4ee5-ac06-40a78b23c45b", "resourceVersion": + "654", "creationTimestamp": "2022-11-04T22:28:25Z", "annotations": {"kubectl.kubernetes.io/last-applied-configuration": + "{\"apiVersion\":\"storage.k8s.io/v1\",\"kind\":\"StorageClass\",\"metadata\":{\"annotations\":{},\"name\":\"local-storage\"},\"provisioner\":\"kubernetes.io/no-provisioner\",\"volumeBindingMode\":\"WaitForFirstConsumer\"}\n", + "storageclass.kubernetes.io/is-default-class": "true"}, "managedFields": [{"manager": + "kubectl-client-side-apply", "operation": "Update", "apiVersion": "storage.k8s.io/v1", + "time": "2022-11-04T22:28:25Z", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": + {"f:annotations": {".": {}, "f:kubectl.kubernetes.io/last-applied-configuration": + {}}}, "f:provisioner": {}, "f:reclaimPolicy": {}, "f:volumeBindingMode": {}}}, + {"manager": "kubectl-patch", "operation": "Update", "apiVersion": "storage.k8s.io/v1", + "time": "2022-11-04T22:28:25Z", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": + {"f:annotations": {"f:storageclass.kubernetes.io/is-default-class": {}}}}}]}, + "provisioner": "kubernetes.io/no-provisioner", "reclaimPolicy": "Delete", + "volumeBindingMode": "WaitForFirstConsumer"}' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1237' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:14 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2023-02-25T00:07:24Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-25T00:07:24Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-25T00:11:15Z"}],"name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test","resourceVersion":"12097036","uid":"fe6f049b-6b33-4c9e-a683-c3020c95b559"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.17.0_ubuntu2004-mamacdon","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-mamacdon-1b3d84e15c","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"1.16.0","lastUpdateTime":"2023-02-27T20:11:50.840869Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.17.0_ubuntu2004-mamacdon","latest":"v1.17.0_ubuntu2004-","previous":"v1.17.0_ubuntu2004-"},"runningVersion":"v1.17.0_ubuntu2004-mamacdon","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"12097947"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:14 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "arcdata.microsoft.com/v1beta5", "kind": "PostgreSql", "metadata": + {"creationTimestamp": "2023-02-27T20:23:13Z", "generation": 1, "labels": {"management.azure.com/resourceProvider": + "Microsoft.AzureArcData"}, "managedFields": [{"apiVersion": "arcdata.microsoft.com/v1beta5", + "fieldsType": "FieldsV1", "fieldsV1": {"f:spec": {".": {}, "f:scheduling": {".": + {}, "f:default": {".": {}, "f:resources": {".": {}, "f:limits": {}, "f:requests": + {".": {}, "f:memory": {}}}}}, "f:security": {".": {}, "f:adminLoginSecret": + {}}, "f:services": {".": {}, "f:primary": {".": {}, "f:type": {}}}, "f:storage": + {".": {}, "f:backups": {".": {}, "f:volumes": {}}, "f:data": {".": {}, "f:volumes": + {}}, "f:logs": {".": {}, "f:volumes": {}}}}}, "manager": "OpenAPI-Generator", + "operation": "Update", "time": "2023-02-27T20:23:13Z"}, {"apiVersion": "arcdata.microsoft.com/v1beta5", + "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {".": {}, "f:lastUpdateTime": + {}, "f:observedGeneration": {}, "f:state": {}}}, "manager": "unknown", "operation": + "Update", "time": "2023-02-27T20:23:13Z"}], "name": "pg-ut00001", "namespace": + "test", "resourceVersion": "12097938", "uid": "bca2f6d7-5680-443c-8bbb-fbe3109da730"}, + "spec": {"backup": {"retentionPeriodInDays": 7}, "config": {"postgreSqlExtensions": + "''''"}, "parentResource": {"apiGroup": "arcdata.microsoft.com", "kind": "DataController", + "name": "datacontroller-mamacdon-1b3d84e15c", "namespace": "test"}, "scheduling": + {"default": {"resources": {"limits": {"memory": "10Gi"}, "requests": {"memory": + "256Mi"}}}}, "security": {"adminLoginSecret": "pg-ut00001-login-secret"}, "services": + {"primary": {"type": "NodePort"}}, "storage": {"backups": {"volumes": [{"size": + "5Gi"}]}, "data": {"volumes": [{"accessMode": "ReadWriteOnce", "className": + "local-storage", "size": "5Gi"}]}, "logs": {"volumes": [{"accessMode": "ReadWriteOnce", + "className": "local-storage", "size": "5Gi"}]}}}, "status": {"lastUpdateTime": + "2023-02-27T20:23:13.700257Z", "observedGeneration": 1, "state": "Creating"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PUT + uri: https://mock-host/apis/arcdata.microsoft.com/v1beta5/namespaces/test/postgresqls/pg-ut00001 + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v1beta5","kind":"PostgreSql","metadata":{"creationTimestamp":"2023-02-27T20:23:13Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"arcdata.microsoft.com/v1beta5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2023-02-27T20:23:13Z"},{"apiVersion":"arcdata.microsoft.com/v1beta5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:scheduling":{".":{},"f:default":{".":{},"f:resources":{".":{},"f:limits":{".":{},"f:memory":{}},"f:requests":{".":{},"f:memory":{}}}}},"f:security":{".":{},"f:adminLoginSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}}},"f:storage":{".":{},"f:backups":{".":{},"f:volumes":{}},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-27T20:23:14Z"}],"name":"pg-ut00001","namespace":"test","resourceVersion":"12097948","uid":"bca2f6d7-5680-443c-8bbb-fbe3109da730"},"spec":{"backup":{"retentionPeriodInDays":7},"config":{"postgreSqlExtensions":"''''"},"dev":false,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-mamacdon-1b3d84e15c","namespace":"test"},"scheduling":{"default":{"resources":{"limits":{"memory":"10Gi"},"requests":{"memory":"256Mi"}}}},"security":{"adminLoginSecret":"pg-ut00001-login-secret"},"services":{"primary":{"type":"NodePort"}},"settings":{"shared_preload_libraries":"''''"},"storage":{"backups":{"volumes":[{"size":"5Gi"}]},"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}}},"status":{"lastUpdateTime":"2023-02-27T20:23:13.700257Z","observedGeneration":1,"state":"Creating"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1945' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:14 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgresRestoreTask.test_arc_postgres_restore[pg-ut00012-created].yaml b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgresRestoreTask.test_arc_postgres_restore[pg-ut00012-created].yaml new file mode 100644 index 00000000000..40d3ecc9d66 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/cassettes/TestPostgresRestoreTask.test_arc_postgres_restore[pg-ut00012-created].yaml @@ -0,0 +1,162 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12097997"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"5a513e67-1de2-40b6-bb0c-b97e89959a03","resourceVersion":"11796629","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"7b99875d-d389-4b06-bdcb-4ebaaf1358d6","resourceVersion":"11796633","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3f2b09e6-9ac7-4cfe-af68-1fb19705c406","resourceVersion":"11796639","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"407a2fb7-a0fb-4666-8fa3-3561a4a4b938","resourceVersion":"11796648","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"8d279f64-f219-408a-af7f-51d3adf5eb5e","resourceVersion":"11796652","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"replicas":{"type":"integer"},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"broker":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"controller":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"kraftControllerMode":{"type":"string","enum":["Combined","Separate"]},"security":{"type":"object","properties":{"superUsers":{"type":"array","items":{"type":"string"}}}},"server":{"type":"object","properties":{"heap":{"type":"object","properties":{"Xms":{"type":"string"},"Xmx":{"type":"string"}}},"replicas":{"type":"integer"},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta4"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"e865a6bf-2dcd-4610-9870-c18a88d67daf","resourceVersion":"11796654","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqlrestoretasks.tasks.postgresql.arcdata.microsoft.com","uid":"f3a64ae1-97ab-4aa5-a0c2-b5d6c54581a7","resourceVersion":"11796664","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.postgresql.arcdata.microsoft.com","names":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","required":["sourceName","destinationName","restorePoint"],"properties":{"destinationName":{"description":"The + name of the PostgreSql resource to restore to.","type":"string"},"destinationStorage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"dryRun":{"description":"If + true, the restore operation will be validated but not executed.","type":"boolean","default":false},"restorePoint":{"description":"Restore + point in time.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the PostgreSql resource to restore from.","type":"string"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"earliestRestoreTime":{"description":"The + earliest time that the instance can be restored to.","type":"string","format":"date-time"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"latestRestoreTime":{"description":"The + latest time that the instance can be restored to.","type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqlrestoretasks","singular":"postgresqlrestoretask","shortNames":["arcpsrt"],"kind":"PostgreSqlRestoreTask","listKind":"PostgreSqlRestoreTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"27e6cac2-7390-4151-b96d-316bc4706494","resourceVersion":"11796662","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"config":{"type":"object","required":["recoverySettings"],"properties":{"recoverySettings":{"type":"object","required":["recoveryTargetTime"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}}}}}},"security":{"type":"object","properties":{"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"config":{"type":"object","properties":{"postgreSqlExtensions":{"description":"Configure + extensions.","type":"string"},"startup":{"type":"object","properties":{"recoverySettings":{"type":"object","required":["sourceName"],"properties":{"recoveryTargetTime":{"description":"The + timestamp to which the postgres recovery will proceed.","type":"string","format":"date-time"},"sourceName":{"description":"The + name of the Postgres instance to restore from.","type":"string"}}}}}}},"dev":{"type":"boolean"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"scheduling":{"type":"object","properties":{"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"string"}},"requests":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"description":"Name + of the Kubernetes secret to generate that hosts the SSL certificate.","type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + postgres.conf.","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyPods":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres","pgsql"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"7275bd6f-2ca3-4f7e-86ba-23bb183f5afc","resourceVersion":"11796665","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"datasets":{"type":"object","properties":{"activeSessions":{"type":"object","properties":{"frequency":{"type":"string"}}},"cpuUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseReplicas":{"type":"object","properties":{"frequency":{"type":"string"}}},"databaseStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"healthDiagnostics":{"type":"object","properties":{"frequency":{"type":"string"}}},"memoryUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"performanceCounters":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryRuntimeStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"queryWaitStats":{"type":"object","properties":{"frequency":{"type":"string"}}},"serverProperties":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobHistory":{"type":"object","properties":{"frequency":{"type":"string"}}},"sqlAgentJobState":{"type":"object","properties":{"frequency":{"type":"string"}}},"storageIo":{"type":"object","properties":{"frequency":{"type":"string"}}},"volumeStorageUtilization":{"type":"object","properties":{"frequency":{"type":"string"}}},"waitStats":{"type":"object","properties":{"frequency":{"type":"string"}}}}},"xevents":{"type":"object"}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"description":"A + Sql Managed Instance Monitoring Profile is a resource that specifies what + monitoring data to collect for a SQL Managed Instances. The data specified + in this profile will be collected and sent to the Telemetry Router on the + SQL instances that reference this profile.","type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"description":"Specification + of the desired monitoring data to be collected for any SQL instance that references + this profile.","type":"object","properties":{"datasets":{"description":"List + of datasets available for collection.","type":"object","properties":{"activeSessions":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"cpuUtilization":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseReplicas":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"databaseStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"healthDiagnostics":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"memoryUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"performanceCounters":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryRuntimeStats":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"queryWaitStats":{"description":"Configuration for + the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"serverProperties":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobHistory":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"sqlAgentJobState":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"storageIo":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"volumeStorageUtilization":{"description":"Configuration + for the datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}},"waitStats":{"description":"Configuration for the + datasets.","type":"object","properties":{"frequency":{"description":"Frequency + desc.","type":"string"}}}}},"xevents":{"description":"List of Extended Events + sessions to collect.","type":"array","items":{"description":"Represents and + extended event session and target.","type":"object","properties":{"name":{"description":"The + name of the Extended Events session.","type":"string"},"target":{"description":"The + extended event session target to collect events from.","type":"object","properties":{"filename":{"description":"For + EventFile targets, this is the filename without a path specified when the + target was created (e.g: \"MySessionFile.xel\").","type":"string"},"type":{"description":"The + target type. Currently only EventFile is supported.","type":"string","enum":["None","EventFile"]}}}}}}}},"status":{"description":"Most + recently observed status of the monitoring profile.","type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"e340ea6c-deea-40e9-9c29-7abdba960866","resourceVersion":"11796687","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"4d51dcb5-91e1-405a-8cf8-a00ad4d47f08","resourceVersion":"11796688","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"7d7a3f21-418f-4c73-99c8-511487dd5eae","resourceVersion":"11796686","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v10","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"},"transparentDataEncryption":{"type":"object","properties":{"mode":{"type":"string"}}}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"},"managedCredentialsGeneration":{"type":"integer"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningManagedCredentialsGeneration":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v10"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"3ecd35e8-24df-4735-a7b7-e31e468e23fc","resourceVersion":"11796689","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}}},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"collector":{"type":"object","properties":{"exporters":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"extensions":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"processors":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"receivers":{"type":"object","x-kubernetes-preserve-unknown-fields":true},"service":{"type":"object","properties":{"extensions":{"type":"array","items":{"type":"string"}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}},"processors":{"type":"array","items":{"type":"string"}},"receivers":{"type":"array","items":{"type":"string"}}}}}}}}},"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"resources":{"type":"object","properties":{"limits":{"type":"object","additionalProperties":{"type":"object"}},"requests":{"type":"object","additionalProperties":{"type":"object"}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta5"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"ef40a046-ae77-4632-b34e-62b7638c1080","resourceVersion":"11796691","generation":1,"creationTimestamp":"2023-02-25T00:07:06Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2023-02-25T00:07:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"array","items":{"type":"string"}},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2023-02-25T00:07:06Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta5"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:18 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "tasks.postgresql.arcdata.microsoft.com/v1beta1", "kind": + "PostgreSqlRestoreTask", "metadata": {"name": "postgresql-restore-1677529398.553816", + "namespace": "test"}, "spec": {"destinationName": "pg-ut00012", "dryRun": false, + "restorePoint": "2023-02-27T20:23:18.553672Z", "sourceName": "pg-ut00012"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/tasks.postgresql.arcdata.microsoft.com/v1beta1/namespaces/test/postgresqlrestoretasks + response: + body: + string: '{"apiVersion":"tasks.postgresql.arcdata.microsoft.com/v1beta1","kind":"PostgreSqlRestoreTask","metadata":{"creationTimestamp":"2023-02-27T20:23:18Z","generation":1,"managedFields":[{"apiVersion":"tasks.postgresql.arcdata.microsoft.com/v1beta1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:destinationName":{},"f:dryRun":{},"f:restorePoint":{},"f:sourceName":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2023-02-27T20:23:18Z"}],"name":"postgresql-restore-1677529398.553816","namespace":"test","resourceVersion":"12097998","uid":"0ffab701-8f9e-4e87-8648-8f01c3dd81c0"},"spec":{"destinationName":"pg-ut00012","dryRun":false,"restorePoint":"2023-02-27T20:23:18.553672Z","sourceName":"pg-ut00012"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '724' + Content-Type: + - application/json + Date: + - Mon, 27 Feb 2023 20:23:18 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - bf5d6c17-4dd3-41e1-ba0d-9b14430a23cf + X-Kubernetes-Pf-Prioritylevel-Uid: + - e43debb6-9ba8-494f-b8cf-33e1c65d0873 + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/conftest.py b/src/arcdata/arcdata/azext_arcdata/test/postgres/conftest.py new file mode 100644 index 00000000000..e91b0927aec --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/conftest.py @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import pytest +import os + +base = os.path.dirname(__file__) + + +@pytest.fixture +def assets_path(): + return os.path.join(os.sep, base, "assets") + + +def pytest_configure(config): + """ + Called after command line options have been parsed and all plugins and + initial conftest files been loaded. + """ + pass diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/test_postgres.py b/src/arcdata/arcdata/azext_arcdata/test/postgres/test_postgres.py new file mode 100644 index 00000000000..c79ddc31c6d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/test_postgres.py @@ -0,0 +1,267 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import os +import pytest + +VCR_RECORD_MODE = "once" # options: once, rerecord, replay +NAMESPACE = "test" +STORAGE_CLASS = "local-storage" + + +def normalize_path(path, *paths): + """ + Windows needs this sometimes when running the e2e tests from the + `build unit-tests` task-runner. This can be slightly different than running + from PyCharm/editor. + """ + path = os.path.join(path, *paths) + return path.replace("\\", "/") + + +@pytest.mark.usefixtures("setup") +class TestPostgres(object): + @pytest.fixture + def setup(self, assets_path): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "random-pwd" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", + [("pg-ut00001", "Deployed")], + ) + def test_arc_postgres_server_create(self, name, expected, az): + result = az( + f"postgres server-arc create --storage-class-data {STORAGE_CLASS} " + f"--storage-class-logs {STORAGE_CLASS} --no-wait -n {name} " + f"--k8s-namespace {NAMESPACE} --use-k8s" + ) + + assert expected in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", + [("pg-ut00001", "exists")], + ) + def test_arc_postgres_server_create_conflict(self, name, expected, az): + result = az( + f"postgres server-arc create --storage-class-data {STORAGE_CLASS} " + f"--storage-class-logs {STORAGE_CLASS} --no-wait -n {name} " + f"--k8s-namespace {NAMESPACE} --use-k8s" + ) + print(result.err) + print("#############################") + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, exp", + [("pg-ut00001", "Updated")], + ) + def test_arc_postgres_server_update(self, name, exp, az): + result = az( + "postgres server-arc update --memory-limit 10Gi --no-wait -n " + f"{name} --k8s-namespace {NAMESPACE} --use-k8s" + ) + assert exp in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, exp", + [("pg-ut00003", "found")], + ) + def test_arc_postgres_server_invalid_update(self, name, exp, az): + result = az( + "postgres server-arc update --memory-limit 10Gi --no-wait " + f"-n {name} --k8s-namespace {NAMESPACE} --use-k8s" + ) + assert exp in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", + [("pg-ut00001", "pg-ut00001")], + ) + def test_arc_postgres_server_show(self, name, expected, az): + result = az( + f"postgres server-arc show --k8s-namespace {NAMESPACE} --use-k8s", + name=name, + ) + assert expected in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "expected", + ["pg-ut00001"], + ) + def test_arc_postgres_server_list(self, expected, az): + result = az( + f"postgres server-arc list --k8s-namespace {NAMESPACE} --use-k8s" + ) + assert "primaryEndpoint" in result.out + assert "replicas" in result.out + assert "desiredVersion" in result.out + assert "runningVersion" in result.out + assert "state" in result.out + assert expected in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", + [("pg-ut00001", "pg-ut00001")], + ) + def test_arc_postgres_server_endpoint_list(self, name, expected, az): + result = az( + f"postgres server-arc endpoint list -n {name} " + f"--k8s-namespace {NAMESPACE} --use-k8s" + ) + assert "instances" in result.out + assert expected in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", + [("pg-ut00001", "Deleted")], + ) + def test_arc_postgres_server_delete(self, name, expected, az): + result = az( + f"postgres server-arc delete --force -n {name} --k8s-namespace " + f"{NAMESPACE} --use-k8s" + ) + assert expected in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", + [("pg-ut00004", "found")], + ) + def test_arc_postgres_server_delete_not_found(self, name, expected, az): + result = az( + f"postgres server-arc delete --force -n {name} --k8s-namespace " + f"{NAMESPACE} --use-k8s" + ) + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize("name, expected", [("pg-ut00005", "exceed")]) + def test_arc_postgres_server_create_cores_exceed_limit( + self, name, expected, az + ): + result = az( + "postgres server-arc create --cores-request 2 --cores-limit 1 " + f"-n {name} --k8s-namespace {NAMESPACE} --use-k8s" + ) + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize("name, expected", [("pg-ut00006", "at least")]) + def test_arc_postgres_server_create_mr_too_low(self, name, expected, az): + result = az( + f"postgres server-arc create --memory-request 255Mi -n {name} " + f"--k8s-namespace {NAMESPACE} --use-k8s" + ) + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize("name, expected", [("pg-ut00007", "at least")]) + def test_arc_postgres_server_create_ml_too_low(self, name, expected, az): + result = az( + f"postgres server-arc create --memory-limit 255Mi -n {name} " + f"--k8s-namespace {NAMESPACE} --use-k8s" + ) + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize("name, expected", [("pg-ut00008", "exceed")]) + def test_arc_postgres_server_create_mr_exceeds_ml(self, name, expected, az): + result = az( + "postgres server-arc create --memory-limit 2Gi --memory-request 3Gi" + f" -n {name} --k8s-namespace {NAMESPACE} --use-k8s" + ) + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", [("ppg-ut00009", "does not exist")] + ) + def test_arc_postgres_server_create_storage_class_logs( + self, name, expected, az + ): + result = az( + f"postgres server-arc create --storage-class-logs DNE -n {name} " + f"--k8s-namespace {NAMESPACE} --use-k8s" + ) + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", [("pg-ut00010", "does not exist")] + ) + def test_arc_postgres_server_create_storage_class_data( + self, name, expected, az + ): + result = az( + f"postgres server-arc create --storage-class-data DNE -n {name} " + f"--k8s-namespace {NAMESPACE} --use-k8s" + ) + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", + [ + ( + "waytoolonganameforthis", + "'waytoolonganameforthis' exceeds 13 character length limit", + ) + ], + ) + def test_arc_postgres_server_create_name_length(self, name, expected, az): + result = az( + f"postgres server-arc create -n {name} " + f"--k8s-namespace {NAMESPACE} --use-k8s" + ) + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", + [("!nv@l!d", "name '!nv@l!d' does not follow DNS requirements")], + ) + def test_arc_postgres_server_create_invalid_name(self, name, expected, az): + result = az( + f"postgres server-arc create -n {name} " + f"--k8s-namespace {NAMESPACE} --use-k8s" + ) + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, volume_size, expected", + [("pg-ut00011", "not_a_size", "Invalid number format")], + ) + def test_arc_postgres_server_create_invalid_logs_volume_size( + self, name, volume_size, expected, az + ): + result = az( + f"postgres server-arc create -n {name} --volume-size-logs " + f"{volume_size} --k8s-namespace {NAMESPACE} --use-k8s" + ) + assert expected + ": " + volume_size in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, volume_size, expected", + [("pg-ut00011", "5W", "Invalid number format")], + ) + def test_arc_postgres_server_create_invalid_data_volume_size( + self, name, volume_size, expected, az + ): + result = az( + f"postgres server-arc create -n {name} --volume-size-data " + f"{volume_size} --k8s-namespace {NAMESPACE} --use-k8s" + ) + assert expected + ": " + volume_size in str(result.err) diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/test_postgres_restore_task.py b/src/arcdata/arcdata/azext_arcdata/test/postgres/test_postgres_restore_task.py new file mode 100644 index 00000000000..0518a5e72fd --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/test_postgres_restore_task.py @@ -0,0 +1,40 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import os +import pytest + +VCR_RECORD_MODE = "once" # options: once, rerecord, replay +NAMESPACE = "test" +STORAGE_CLASS = "local-storage" + + +def normalize_path(path, *paths): + """ + Windows needs this sometimes when running the e2e tests from the + `build unit-tests` task-runner. This can be slightly different than running + from PyCharm/editor. + """ + path = os.path.join(path, *paths) + return path.replace("\\", "/") + + +@pytest.mark.usefixtures("setup") +class TestPostgresRestoreTask(object): + @pytest.fixture + def setup(self, assets_path): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "random-pwd" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", + [("pg-ut00012", "created")], + ) + def test_arc_postgres_restore(self, name, expected, az): + result = az( + f"postgres server-arc restore -n {name} -k {NAMESPACE} --source-server {name} --use-k8s --no-wait" + ) + + assert expected in result.out diff --git a/src/arcdata/arcdata/azext_arcdata/test/postgres/util.py b/src/arcdata/arcdata/azext_arcdata/test/postgres/util.py new file mode 100644 index 00000000000..45261cd828e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/postgres/util.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import os + + +def normalize_path(path, *paths): + """ + Windows needs this sometimes when running the e2e tests from the + `build unit-tests` task-runner. This can be slightly different than running + from PyCharm/editor. + """ + path = os.path.join(path, *paths) + return path.replace("\\", "/") diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/__init__.py b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/__init__.py new file mode 100644 index 00000000000..77350c40ee9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/__init__.py @@ -0,0 +1,5 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/__init__.py b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/__init__.py new file mode 100644 index 00000000000..77350c40ee9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/__init__.py @@ -0,0 +1,5 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_invalid_inputs[test_backups-ArcBox-SQL/MSSQLSERVER01asd-aagonzalez-CI-Test-mk6].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_invalid_inputs[test_backups-ArcBox-SQL/MSSQLSERVER01asd-aagonzalez-CI-Test-mk6].yaml new file mode 100644 index 00000000000..c02df2dbf77 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_invalid_inputs[test_backups-ArcBox-SQL/MSSQLSERVER01asd-aagonzalez-CI-Test-mk6].yaml @@ -0,0 +1,56 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 0d861239-cab2-11ee-b69f-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01asd + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/ArcBox-SQL_MSSQLSERVER01asd'' + under resource group ''aagonzalez-CI-Test-mk6'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '263' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:54:18 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 98F586D94CDC417E9ACD5E51A4C31AD5 Ref B: BN1AA2051013011 Ref C: 2024-02-13T20:54:18Z' + x-ms-correlation-request-id: + - 2af9fed2-be10-4cdc-a530-aebce2ff2803 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 2af9fed2-be10-4cdc-a530-aebce2ff2803 + x-ms-routing-request-id: + - EASTUS:20240213T205418Z:2af9fed2-be10-4cdc-a530-aebce2ff2803 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_invalid_inputs[test_backups-ArcBox-SQL_MSSQLSERVER01-aagonzalez-CI-Test-mk6asd].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_invalid_inputs[test_backups-ArcBox-SQL_MSSQLSERVER01-aagonzalez-CI-Test-mk6asd].yaml new file mode 100644 index 00000000000..2cea05ed1aa --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_invalid_inputs[test_backups-ArcBox-SQL_MSSQLSERVER01-aagonzalez-CI-Test-mk6asd].yaml @@ -0,0 +1,55 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 0e092de0-cab2-11ee-9fba-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6asd/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01?api-version=2024-03-01-preview + response: + body: + string: '{"error": {"code": "ResourceGroupNotFound", "message": "Resource group + ''aagonzalez-CI-Test-mk6asd'' could not be found."}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '117' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:54:18 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 55FF9F9760A14229BD6702E78C31846A Ref B: BN1AA2051014051 Ref C: 2024-02-13T20:54:19Z' + x-ms-correlation-request-id: + - f65ebb04-6ac3-4761-9dd9-0d968e380465 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - f65ebb04-6ac3-4761-9dd9-0d968e380465 + x-ms-routing-request-id: + - EASTUS:20240213T205419Z:f65ebb04-6ac3-4761-9dd9-0d968e380465 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_invalid_inputs[test_backups-ArcBox-SQLss-aagonzalez-CI-Test-mk6].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_invalid_inputs[test_backups-ArcBox-SQLss-aagonzalez-CI-Test-mk6].yaml new file mode 100644 index 00000000000..b36820200b0 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_invalid_inputs[test_backups-ArcBox-SQLss-aagonzalez-CI-Test-mk6].yaml @@ -0,0 +1,56 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 0ce2a927-cab2-11ee-b458-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQLss?api-version=2024-03-01-preview + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/ArcBox-SQLss'' + under resource group ''aagonzalez-CI-Test-mk6'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '248' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:54:16 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: A5CFA7FF132446CEA0E04B481300F84C Ref B: BN1AA2051015047 Ref C: 2024-02-13T20:54:17Z' + x-ms-correlation-request-id: + - a53804a7-e7e5-4c24-9748-f70e3a208535 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - a53804a7-e7e5-4c24-9748-f70e3a208535 + x-ms-routing-request-id: + - EASTUS:20240213T205417Z:a53804a7-e7e5-4c24-9748-f70e3a208535 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_invalid_inputs[test_backupsdf-ArcBox-SQL-aagonzalez-CI-Test-mk6].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_invalid_inputs[test_backupsdf-ArcBox-SQL-aagonzalez-CI-Test-mk6].yaml new file mode 100644 index 00000000000..cb65f4cae94 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_invalid_inputs[test_backupsdf-ArcBox-SQL-aagonzalez-CI-Test-mk6].yaml @@ -0,0 +1,113 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 0e8f7a80-cab2-11ee-a3e4-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-13T20:40:40.9606879Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-13T20:40:38.9011995Z","lastUsageUploadTime":"2024-02-13T20:40:22.1770734Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1438' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:54:19 GMT + ETag: + - '"e0037271-0000-0100-0000-65cbd3c90000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 97FACC336F804631B42B7BEAC7362EE4 Ref B: BN1AA2051012051 Ref C: 2024-02-13T20:54:19Z' + x-ms-correlation-request-id: + - 3324b0f1-ec3e-49e0-b34c-001db2552a42 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99998' + x-ms-request-id: + - 4e44800e-dd52-4bdb-b4bd-c5823fd71a50 + x-ms-routing-request-id: + - EASTUS:20240213T205420Z:3324b0f1-ec3e-49e0-b34c-001db2552a42 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 0f080915-cab2-11ee-8ebe-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL/databases/test_backupsdf?api-version=2024-03-01-preview + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/ArcBox-SQL/Databases/test_backupsdf'' + under resource group ''aagonzalez-CI-Test-mk6'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '271' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:54:20 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 6B6F44D858D14640BDE07FBC32D47BDC Ref B: BN1AA2051012051 Ref C: 2024-02-13T20:54:20Z' + x-ms-correlation-request-id: + - c682a439-54b0-48cb-9084-49f9f692a1a2 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - c682a439-54b0-48cb-9084-49f9f692a1a2 + x-ms-routing-request-id: + - EASTUS:20240213T205420Z:c682a439-54b0-48cb-9084-49f9f692a1a2 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_invalid_licenses[test_backups-ArcBox-SQL-aagonzalez-CI-Test-mk6].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_invalid_licenses[test_backups-ArcBox-SQL-aagonzalez-CI-Test-mk6].yaml new file mode 100644 index 00000000000..3655a48a4fe --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_invalid_licenses[test_backups-ArcBox-SQL-aagonzalez-CI-Test-mk6].yaml @@ -0,0 +1,179 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - d720a3c3-caaa-11ee-9d46-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-13T19:18:56.5355191Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-13T18:52:48.9741378Z","lastUsageUploadTime":"2024-02-13T19:18:54.5933551Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1539' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:02:40 GMT + ETag: + - '"da03910f-0000-0100-0000-65cbc0a00000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: AE838CF5F34A4E5EBB4CD554A024B8E1 Ref B: BN1AA2051013021 Ref C: 2024-02-13T20:02:40Z' + x-ms-correlation-request-id: + - adf9091b-e9dc-497e-8206-5ef48bbe02af + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - c2e5e1d9-e526-468f-9f75-b8c681e85797 + x-ms-routing-request-id: + - EASTUS:20240213T200240Z:adf9091b-e9dc-497e-8206-5ef48bbe02af + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - d7945637-caaa-11ee-a9b7-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL/databases/test_backups?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL/databases/test_backups","name":"test_backups","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:35.4346343Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-13T17:00:50.8817807Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2024-01-19T19:05:46Z","compatibilityLevel":150,"sizeMB":8.0,"spaceAvailableMB":5.375,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-08T20:10:48Z","lastLogBackup":"2024-02-13T16:57:01Z"},"provisioningState":"Succeeded","lastDatabaseUploadTime":"2024-02-13T17:00:48.7755364Z"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:02:40 GMT + ETag: + - '"c107a5ad-0000-0100-0000-65cba0420000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 93963F402729425CA35C9D562E0260AB Ref B: BN1AA2051013021 Ref C: 2024-02-13T20:02:40Z' + x-ms-correlation-request-id: + - b8793225-bbd7-48a3-bc0e-a4888833f124 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - 80569f3a-fe82-4a4d-a2f0-14517614f5e5 + x-ms-routing-request-id: + - EASTUS:20240213T200240Z:b8793225-bbd7-48a3-bc0e-a4888833f124 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"LicenseOnly","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 19:55:26.377; + uploadStatus : NotFound;AutomaticBackups: Suspended;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"MSSQLSERVER01\": \"\"\r\n};: Listening + on port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"MSSQLSERVER\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":7,\"enabled\":true},{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"MSSQLSERVER01\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":10,\"enabled\":true}]}}, + Purview plugin: [], Azure active directory configuration plugin: [], Assessment + Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2663' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:02:41 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: BDCE73A18AAC4ECA8E97063E946D3551 Ref B: BN1AA2051013017 Ref C: 2024-02-13T20:02:41Z' + x-ms-correlation-request-id: + - 61c3881b-c799-4537-b8ca-f60b5200c2e5 + x-ms-ratelimit-remaining-subscription-reads: + - '11997' + x-ms-request-id: + - 5a1b5efe-d989-47c2-aa18-4b9061a7d4eb + x-ms-routing-request-id: + - EASTUS2:20240213T200241Z:61c3881b-c799-4537-b8ca-f60b5200c2e5 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_invalid_licenses[test_backups-ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_invalid_licenses[test_backups-ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6].yaml new file mode 100644 index 00000000000..4a3d36091de --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_invalid_licenses[test_backups-ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6].yaml @@ -0,0 +1,113 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 133c8227-cab2-11ee-9018-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01 + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01","name":"ArcBox-SQL_MSSQLSERVER01","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T19:57:49.4129853Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-13T20:40:40.9443956Z"},"properties":{"version":"SQL + Server 2019","edition":"Evaluation","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2000.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER01","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-13T20:40:38.901215Z","lastUsageUploadTime":null,"hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1439' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:54:27 GMT + ETag: + - '"e0036371-0000-0100-0000-65cbd3c90000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 5C7E411960454D98B87560E954AF9232 Ref B: BN1AA2051014035 Ref C: 2024-02-13T20:54:27Z' + x-ms-correlation-request-id: + - 3b0c8778-3e8b-43b1-bfa5-48b9138707f4 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - cbdb0a6c-a6f1-40a2-baf3-99d3213147c5 + x-ms-routing-request-id: + - EASTUS:20240213T205427Z:3b0c8778-3e8b-43b1-bfa5-48b9138707f4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 13ae72b5-cab2-11ee-b288-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01/databases/test_backups + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/ArcBox-SQL_MSSQLSERVER01/Databases/test_backups'' + under resource group ''aagonzalez-CI-Test-mk6'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '283' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:54:27 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 2527DDA0EC3C46BF8426936C02535AED Ref B: BN1AA2051014035 Ref C: 2024-02-13T20:54:27Z' + x-ms-correlation-request-id: + - c81f0896-2d6e-4002-bc77-29a29b56b6b7 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - c81f0896-2d6e-4002-bc77-29a29b56b6b7 + x-ms-routing-request-id: + - EASTUS:20240213T205427Z:c81f0896-2d6e-4002-bc77-29a29b56b6b7 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_no_policy[test_backups-ArcBox-SQL-aagonzalez-CI-Test-mk6-No backup policy has been set for this Sql].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_no_policy[test_backups-ArcBox-SQL-aagonzalez-CI-Test-mk6-No backup policy has been set for this Sql].yaml new file mode 100644 index 00000000000..15208ffa577 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_no_policy[test_backups-ArcBox-SQL-aagonzalez-CI-Test-mk6-No backup policy has been set for this Sql].yaml @@ -0,0 +1,176 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 44e180e9-caaf-11ee-91b7-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-13T20:31:39.5996731Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-13T20:07:38.2473705Z","lastUsageUploadTime":"2024-02-13T19:18:54.5933551Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1419' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:34:22 GMT + ETag: + - '"df0302c5-0000-0100-0000-65cbd1ae0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 293F9DB8BD4F428A8A8C667C5D52944A Ref B: BN1AA2051012035 Ref C: 2024-02-13T20:34:22Z' + x-ms-correlation-request-id: + - fa3a2374-9856-419a-9353-8ac7d4bd3892 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - dd72ff6e-13ea-43eb-a750-19228eb1f43d + x-ms-routing-request-id: + - EASTUS:20240213T203422Z:fa3a2374-9856-419a-9353-8ac7d4bd3892 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 4544a2fa-caaf-11ee-8ec0-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL/databases/test_backups?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL/databases/test_backups","name":"test_backups","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:35.4346343Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-13T20:07:40.8554636Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2024-01-19T19:05:46Z","compatibilityLevel":150,"sizeMB":8.0,"spaceAvailableMB":5.375,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-08T20:10:48Z","lastLogBackup":"2024-02-13T17:47:45Z"},"provisioningState":"Succeeded","lastDatabaseUploadTime":"2024-02-13T20:07:38.3502951Z"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:34:22 GMT + ETag: + - '"cd078c28-0000-0100-0000-65cbcc0c0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: E79FC112B37644758EC0384891E1F436 Ref B: BN1AA2051012035 Ref C: 2024-02-13T20:34:22Z' + x-ms-correlation-request-id: + - 8a7c24f5-ded4-4152-9868-6d98accce41b + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - 86d8083b-95c5-43a4-b42d-341f4a6a4557 + x-ms-routing-request-id: + - EASTUS:20240213T203422Z:8a7c24f5-ded4-4152-9868-6d98accce41b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"Paid","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 20:25:10.565; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"MSSQLSERVER01\": \"\"\r\n};: Listening + on port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:34:22 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: B2593046C749409FA5506D5912B8A4A1 Ref B: BN1AA2051015021 Ref C: 2024-02-13T20:34:23Z' + x-ms-correlation-request-id: + - 708eeefc-7d76-4de9-940d-197ec44fbf9a + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 05ccc794-5de3-4e2f-9eab-97cd126972b3 + x-ms-routing-request-id: + - EASTUS:20240213T203423Z:708eeefc-7d76-4de9-940d-197ec44fbf9a + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_no_policy[test_backups-ArcBox-SQL-aagonzalez-CI-Test-mk6-There is no policy currently active on this Sql].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_no_policy[test_backups-ArcBox-SQL-aagonzalez-CI-Test-mk6-There is no policy currently active on this Sql].yaml new file mode 100644 index 00000000000..aada45e2cab --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_no_policy[test_backups-ArcBox-SQL-aagonzalez-CI-Test-mk6-There is no policy currently active on this Sql].yaml @@ -0,0 +1,176 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 67603f59-caaf-11ee-90b5-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-13T20:31:39.5996731Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-13T20:07:38.2473705Z","lastUsageUploadTime":"2024-02-13T19:18:54.5933551Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1419' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:35:19 GMT + ETag: + - '"df0302c5-0000-0100-0000-65cbd1ae0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 702B638B86014DD9BC32DB8EFA34B4C4 Ref B: BN1AA2051013033 Ref C: 2024-02-13T20:35:20Z' + x-ms-correlation-request-id: + - e22ac37b-def9-4856-9bc6-853249496ae3 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 781cb53d-28a5-456e-842b-6a3408a6a487 + x-ms-routing-request-id: + - EASTUS:20240213T203520Z:e22ac37b-def9-4856-9bc6-853249496ae3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 67cf1749-caaf-11ee-ad75-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL/databases/test_backups?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL/databases/test_backups","name":"test_backups","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:35.4346343Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-13T20:07:40.8554636Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2024-01-19T19:05:46Z","compatibilityLevel":150,"sizeMB":8.0,"spaceAvailableMB":5.375,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-08T20:10:48Z","lastLogBackup":"2024-02-13T17:47:45Z"},"provisioningState":"Succeeded","lastDatabaseUploadTime":"2024-02-13T20:07:38.3502951Z"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:35:19 GMT + ETag: + - '"cd078c28-0000-0100-0000-65cbcc0c0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: BB2DE0CB274A4EEE8273DB0A08AD93AF Ref B: BN1AA2051013033 Ref C: 2024-02-13T20:35:20Z' + x-ms-correlation-request-id: + - 64db9b9a-84f5-4dc3-9098-0c1407c89d3b + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - 8d2fcd22-5044-46d4-93f2-9727624f4d3b + x-ms-routing-request-id: + - EASTUS:20240213T203520Z:64db9b9a-84f5-4dc3-9098-0c1407c89d3b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"Paid","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 20:25:10.565; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"MSSQLSERVER01\": \"\"\r\n};: Listening + on port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:35:20 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 8CAE90EC3BAF43CCA31D6AB908D9F5EE Ref B: BN1AA2051014021 Ref C: 2024-02-13T20:35:21Z' + x-ms-correlation-request-id: + - 6efc58ff-60b5-4d4d-ba9f-867966d0c01a + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 99cb94ad-2621-4a5e-a4f9-a57aeb2204d8 + x-ms-routing-request-id: + - EASTUS:20240213T203521Z:6efc58ff-60b5-4d4d-ba9f-867966d0c01a + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_no_policy[test_backups-ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6-There is no policy currently active on this Sql].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_no_policy[test_backups-ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6-There is no policy currently active on this Sql].yaml new file mode 100644 index 00000000000..dc08712ee16 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_no_policy[test_backups-ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6-There is no policy currently active on this Sql].yaml @@ -0,0 +1,113 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 9a4f8919-caaf-11ee-94c1-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01 + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01","name":"ArcBox-SQL_MSSQLSERVER01","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T19:57:49.4129853Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-13T20:31:45.5926894Z"},"properties":{"version":"SQL + Server 2019","edition":"Evaluation","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2000.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER01","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-13T20:07:38.2473789Z","lastUsageUploadTime":null,"hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1421' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:36:45 GMT + ETag: + - '"df0362c7-0000-0100-0000-65cbd1b50000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: AC271CFA11844F988B4A1A3D092094DE Ref B: BN1AA2051013011 Ref C: 2024-02-13T20:36:45Z' + x-ms-correlation-request-id: + - 1ed93e67-616c-4576-8b4b-ea3cdb1a806c + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - bff1bad4-d0d9-4b25-b128-87274af4a80d + x-ms-routing-request-id: + - EASTUS:20240213T203645Z:1ed93e67-616c-4576-8b4b-ea3cdb1a806c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 9ab8b0da-caaf-11ee-bf1c-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01/databases/test_backups + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/ArcBox-SQL_MSSQLSERVER01/Databases/test_backups'' + under resource group ''aagonzalez-CI-Test-mk6'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '283' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:36:45 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 5FB24E16921442B9BDC4F6340597005D Ref B: BN1AA2051013011 Ref C: 2024-02-13T20:36:46Z' + x-ms-correlation-request-id: + - cc59e8f6-39e0-46dc-92f7-e8d5374cb9ec + x-ms-failure-cause: + - gateway + x-ms-request-id: + - cc59e8f6-39e0-46dc-92f7-e8d5374cb9ec + x-ms-routing-request-id: + - EASTUS:20240213T203646Z:cc59e8f6-39e0-46dc-92f7-e8d5374cb9ec + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_no_policy[test_backups2-ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6-There is no policy currently active on this Sql].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_no_policy[test_backups2-ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6-There is no policy currently active on this Sql].yaml new file mode 100644 index 00000000000..c0603f61064 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_no_policy[test_backups2-ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6-There is no policy currently active on this Sql].yaml @@ -0,0 +1,176 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - c6569c13-cab0-11ee-9786-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01 + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01","name":"ArcBox-SQL_MSSQLSERVER01","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T19:57:49.4129853Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-13T20:40:40.9443956Z"},"properties":{"version":"SQL + Server 2019","edition":"Evaluation","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2000.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER01","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-13T20:40:38.901215Z","lastUsageUploadTime":null,"hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1439' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:45:09 GMT + ETag: + - '"e0036371-0000-0100-0000-65cbd3c90000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: BEEDA17C69DF44B8A36C6D0838DE42B8 Ref B: BN1AA2051012049 Ref C: 2024-02-13T20:45:09Z' + x-ms-correlation-request-id: + - 58651270-1d97-4a96-bed2-5d69dc453997 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - bd7e20be-34c5-4500-9f39-c709ec04ba79 + x-ms-routing-request-id: + - EASTUS:20240213T204509Z:58651270-1d97-4a96-bed2-5d69dc453997 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - c6bc6e7c-cab0-11ee-9df6-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01/databases/test_backups2 + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01/databases/test_backups2","name":"test_backups2","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-13T20:40:42.8230227Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-13T20:40:42.8230227Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2024-02-13T20:39:56Z","compatibilityLevel":150,"sizeMB":8.0,"spaceAvailableMB":5.625,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":null,"lastLogBackup":null},"backupPolicy":null,"earliestRestoreDate":null,"createMode":null,"sourceDatabaseId":null,"restorePointInTime":null,"provisioningState":"Succeeded","lastDatabaseUploadTime":"2024-02-13T20:40:39.3885649Z"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1310' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:45:09 GMT + ETag: + - '"cf075262-0000-0100-0000-65cbd3ca0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: BFC3EE55B9A74C418641C8D1B20E71EA Ref B: BN1AA2051012049 Ref C: 2024-02-13T20:45:09Z' + x-ms-correlation-request-id: + - 922b2762-4ecc-4c4d-9444-8aa6b29e740a + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - f7b7963b-43eb-4fa0-aaaf-5ef0fda7dea7 + x-ms-routing-request-id: + - EASTUS:20240213T204509Z:922b2762-4ecc-4c4d-9444-8aa6b29e740a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"Paid","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 20:40:20.171; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"MSSQLSERVER01\": \"\"\r\n};: Listening + on port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:45:09 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: A0A9A57990E945BAB41FD751FE6230BB Ref B: BN1AA2051015037 Ref C: 2024-02-13T20:45:09Z' + x-ms-correlation-request-id: + - 3f0cc653-74ba-4a2c-9258-1c476e342b1b + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 3c9e1743-cae8-4b08-a193-aee07347f61c + x-ms-routing-request-id: + - EASTUS2:20240213T204510Z:3f0cc653-74ba-4a2c-9258-1c476e342b1b + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_successful_inputs[test_backups-ArcBox-SQL-aagonzalez-CI-Test-mk6].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_successful_inputs[test_backups-ArcBox-SQL-aagonzalez-CI-Test-mk6].yaml new file mode 100644 index 00000000000..94768883b1e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_successful_inputs[test_backups-ArcBox-SQL-aagonzalez-CI-Test-mk6].yaml @@ -0,0 +1,247 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 1ced42b2-cab1-11ee-82da-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-13T20:40:40.9606879Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-13T20:40:38.9011995Z","lastUsageUploadTime":"2024-02-13T20:40:22.1770734Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1438' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:47:33 GMT + ETag: + - '"e0037271-0000-0100-0000-65cbd3c90000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 3CE574E1C0334FF09CC03B76584150BE Ref B: BN1AA2051013021 Ref C: 2024-02-13T20:47:34Z' + x-ms-correlation-request-id: + - fb86c2a6-a6c8-4cff-800f-9df62c18fbbc + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 216551f9-3599-478b-bd76-8115ac680eff + x-ms-routing-request-id: + - EASTUS:20240213T204734Z:fb86c2a6-a6c8-4cff-800f-9df62c18fbbc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 1d54564f-cab1-11ee-816c-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL/databases/test_backups?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL/databases/test_backups","name":"test_backups","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:35.4346343Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-13T20:46:51.1546928Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2024-01-19T19:05:46Z","compatibilityLevel":150,"sizeMB":8.0,"spaceAvailableMB":5.375,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-08T20:10:48Z","lastLogBackup":"2024-02-13T17:47:45Z"},"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":24,"transactionLogBackupMinutes":5},"earliestRestoreDate":null,"createMode":null,"sourceDatabaseId":null,"restorePointInTime":null,"provisioningState":"Succeeded","lastDatabaseUploadTime":"2024-02-13T20:40:39.1641701Z"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1412' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:47:34 GMT + ETag: + - '"cf07ced5-0000-0100-0000-65cbd5420000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: FACF4AB8E0E74EEEB838245AC712E2F6 Ref B: BN1AA2051013021 Ref C: 2024-02-13T20:47:34Z' + x-ms-correlation-request-id: + - 9a212345-ac77-495b-9b70-52e56aef5117 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - 2ec0f4d7-87dc-4406-b8c9-af8ae73bd35f + x-ms-routing-request-id: + - EASTUS:20240213T204734Z:9a212345-ac77-495b-9b70-52e56aef5117 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"Paid","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 20:40:20.171; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"MSSQLSERVER01\": \"\"\r\n};: Listening + on port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:47:34 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 94C10D0C027F479E930B798F01A7351E Ref B: BN1AA2051013047 Ref C: 2024-02-13T20:47:35Z' + x-ms-correlation-request-id: + - e3025557-a08b-4daa-8338-99e24d273c08 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - fda675b6-49e8-46cf-ac56-af51947acd3b + x-ms-routing-request-id: + - EASTUS2:20240213T204735Z:e3025557-a08b-4daa-8338-99e24d273c08 + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"collationName": "SQL_Latin1_General_CP1_CI_AS", + "databaseCreationDate": "2024-01-19T19:05:46.000Z", "compatibilityLevel": 150, + "sizeMB": 8.0, "spaceAvailableMB": 5.375, "state": "Online", "isReadOnly": false, + "recoveryMode": "Full", "databaseOptions": {"isAutoCloseOn": false, "isAutoShrinkOn": + false, "isAutoCreateStatsOn": true, "isAutoUpdateStatsOn": true, "isMemoryOptimizationEnabled": + true, "isEncrypted": false, "isTrustworthyOn": false}, "backupInformation": + {"lastFullBackup": "2024-02-08T20:10:48.000Z", "lastLogBackup": "2024-02-13T17:47:45.000Z"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '599' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 1dd1bcb8-cab1-11ee-8a0f-d8bbc1c51c4b + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL/databases/test_backups?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL/databases/test_backups","name":"test_backups","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:35.4346343Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-13T20:47:35.6311554Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2024-01-19T19:05:46Z","compatibilityLevel":150,"sizeMB":8.0,"spaceAvailableMB":5.375,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-08T20:10:48Z","lastLogBackup":"2024-02-13T17:47:45Z"},"backupPolicy":null,"earliestRestoreDate":null,"createMode":null,"sourceDatabaseId":null,"restorePointInTime":null,"provisioningState":"Accepted","lastDatabaseUploadTime":"2024-02-13T20:40:39.1641701Z"}}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS/operationStatuses/85099aad-56d2-493d-baf8-59c4d7e02662*380D1AD04D76E1B9821F7176EB66C1548AF787579053B54AD3E5930E2D5AA5E1?api-version=2024-02-01-preview&t=638434540560686601&c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYMYYup1R1RZPIwVtk7z89JkrsDK8coPmULAovQOy3jgtdJ-z5oyCO28-zQ4LRHmuyeq1ROWdQR5e828FYihyBqnnQQea3EcS6CFfXpYes-7NPXy73E_P3goJLJU7bfuZ4iDPGZxXIIjo6_Uex0eX_AuBJeq8ZFcmNy3x0loDHkDww9lMprf49PmIZJEAshTnLBtfT3BC7JAuTTl2duIcC6YRT8vITdFw1HxFqywnOqD35zttD8vp0XowEP4ksBLfhJWduspxICp4Yu2ouSlh-T4GmsjQaTjrzZpw29eEj3gUyzTfkDY-WEGsEujkl9a9FCX1_AvT-9Eqmd7uYqV6kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBTDXVhSVDy9FvMjLTrSyU7UjKUXqzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHyzMCBJbTmiP_gOh98fZltsl9jQdlB-g_OYCr82viu1SgLxte7Za3Vtb3XRCTquz_JfY_4eQJpUy0p6F37f0oaTQkBvUF7HDDvkm49rmKF4nDFjPGNEqm53KbVEak46WTgD9fGZLQH1XouZGRe0LxQVIWm-K-MYMbrDWF_njKsIaV5Z4VxgFVaX5SlzHvr6coDX5oXwwksEsw8E8g0LfZCpfT5mCwgDPrDv2Ekk26koWUYlmJWgkky22R538qwuJmE6F33YwWStmUGfZfFDyjek8Rd_KyuEuC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE&s=MvI_cVx-Ru5sLxEMuzDBphPjCItE30D1-LgctjFfRYwqBXDpw6iVVv4bWnIKTtloXL6mPU6OK1l2FvIblKElbKsW0OfOMzsHY5hwjOsxqCv-s11HYOzoTgG3cvmWoVRklcFXtP3e2boIFSvj191xTjivOUZ6dt0LFyTTDWI1VQJJrXKksFhc-uUj_HhJAoWqhJiXvOwpasE_E5XPvJwiVcijyCuBGO-XVpVJP3zDRWH4OUwWhGyYot98G1eGoIn-vTjVHqLttpWV9zgf8BUEeCbEkkADwKH2jWzgaD7Lx9sUmA2llWmj6pBPS-V2_C9GTsDEBPn7jjtYzXq5N17tVg&h=dcMXkIW4dg-jkBHFpDd6KUzfOTra0cTgpwyMCGJzXKY + Cache-Control: + - no-cache + Content-Length: + - '1310' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:47:35 GMT + ETag: + - '"cf0740dd-0000-0100-0000-65cbd5670000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + - ARRAffinitySameSite=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: F9E2593208F146B9A5E9808322795381 Ref B: BN1AA2051013021 Ref C: 2024-02-13T20:47:35Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - 01fe9647-8259-44b4-8657-4e0af3f6b770 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '19999' + x-ms-request-id: + - 85099aad-56d2-493d-baf8-59c4d7e02662 + x-ms-routing-request-id: + - EASTUS:20240213T204736Z:01fe9647-8259-44b4-8657-4e0af3f6b770 + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_successful_inputs[test_backups-ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_successful_inputs[test_backups-ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6].yaml new file mode 100644 index 00000000000..f124b59e1df --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_successful_inputs[test_backups-ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6].yaml @@ -0,0 +1,113 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 496f7cfd-cab1-11ee-bc9a-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01 + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01","name":"ArcBox-SQL_MSSQLSERVER01","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T19:57:49.4129853Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-13T20:40:40.9443956Z"},"properties":{"version":"SQL + Server 2019","edition":"Evaluation","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2000.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER01","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-13T20:40:38.901215Z","lastUsageUploadTime":null,"hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1439' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:48:49 GMT + ETag: + - '"e0036371-0000-0100-0000-65cbd3c90000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: AEB8D2DB5EDF409FBCFE844D59BF7051 Ref B: BN1AA2051015009 Ref C: 2024-02-13T20:48:49Z' + x-ms-correlation-request-id: + - ec834a3f-4c35-4a1d-a371-a03682ab2fdd + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - ce595c1a-d36c-465f-9f1d-a178ea71f24f + x-ms-routing-request-id: + - EASTUS:20240213T204849Z:ec834a3f-4c35-4a1d-a371-a03682ab2fdd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 49e0b320-cab1-11ee-a73b-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01/databases/test_backups + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/ArcBox-SQL_MSSQLSERVER01/Databases/test_backups'' + under resource group ''aagonzalez-CI-Test-mk6'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '283' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:48:49 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: F575CBB3761E42FF999E74D7107D75B8 Ref B: BN1AA2051015009 Ref C: 2024-02-13T20:48:49Z' + x-ms-correlation-request-id: + - 99712392-e257-49f4-bf86-90bf6ba432f6 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 99712392-e257-49f4-bf86-90bf6ba432f6 + x-ms-routing-request-id: + - EASTUS:20240213T204849Z:99712392-e257-49f4-bf86-90bf6ba432f6 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_successful_inputs[test_backups2-ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_successful_inputs[test_backups2-ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6].yaml new file mode 100644 index 00000000000..474b6eecd8d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_delete.test_successful_inputs[test_backups2-ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6].yaml @@ -0,0 +1,247 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 54939b00-cab1-11ee-aa9a-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01 + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01","name":"ArcBox-SQL_MSSQLSERVER01","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T19:57:49.4129853Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-13T20:40:40.9443956Z"},"properties":{"version":"SQL + Server 2019","edition":"Evaluation","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2000.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER01","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-13T20:40:38.901215Z","lastUsageUploadTime":null,"hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1439' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:49:07 GMT + ETag: + - '"e0036371-0000-0100-0000-65cbd3c90000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 77F09843E48D49EAA58991D718214C97 Ref B: BN1AA2051012011 Ref C: 2024-02-13T20:49:07Z' + x-ms-correlation-request-id: + - 512516ba-1a15-4604-a028-3403520b89b1 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - a1f4c17d-5262-4a3a-ab2b-8d14f36c6277 + x-ms-routing-request-id: + - EASTUS:20240213T204907Z:512516ba-1a15-4604-a028-3403520b89b1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 55092401-cab1-11ee-962b-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01/databases/test_backups2 + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01/databases/test_backups2","name":"test_backups2","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-13T20:40:42.8230227Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-13T20:47:24.5335886Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2024-02-13T20:39:56Z","compatibilityLevel":150,"sizeMB":8.0,"spaceAvailableMB":5.625,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":null,"lastLogBackup":null},"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":24,"transactionLogBackupMinutes":5},"earliestRestoreDate":null,"createMode":null,"sourceDatabaseId":null,"restorePointInTime":null,"provisioningState":"Succeeded","lastDatabaseUploadTime":"2024-02-13T20:40:39.3885649Z"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1392' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:49:07 GMT + ETag: + - '"cf07fcdb-0000-0100-0000-65cbd55f0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: F4F86E40B5184DF09F733547066A9430 Ref B: BN1AA2051012011 Ref C: 2024-02-13T20:49:08Z' + x-ms-correlation-request-id: + - 2efdddaa-8c95-4edb-83b9-0d828739912d + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - 1a1c4d51-5cdd-45ab-af55-5d1eb88f7dcf + x-ms-routing-request-id: + - EASTUS:20240213T204908Z:2efdddaa-8c95-4edb-83b9-0d828739912d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"Paid","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 20:40:20.171; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"MSSQLSERVER01\": \"\"\r\n};: Listening + on port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:49:08 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 0D30D40CB43A49E0B3F0F0C78FA42100 Ref B: BN1AA2051015053 Ref C: 2024-02-13T20:49:08Z' + x-ms-correlation-request-id: + - e0fbe392-9f79-4b61-8b65-2a33f7a415fc + x-ms-ratelimit-remaining-subscription-reads: + - '11998' + x-ms-request-id: + - 4dda11e9-7a78-4698-ba51-a1497bea985c + x-ms-routing-request-id: + - EASTUS:20240213T204908Z:e0fbe392-9f79-4b61-8b65-2a33f7a415fc + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"collationName": "SQL_Latin1_General_CP1_CI_AS", + "databaseCreationDate": "2024-02-13T20:39:56.000Z", "compatibilityLevel": 150, + "sizeMB": 8.0, "spaceAvailableMB": 5.625, "state": "Online", "isReadOnly": false, + "recoveryMode": "Full", "databaseOptions": {"isAutoCloseOn": false, "isAutoShrinkOn": + false, "isAutoCreateStatsOn": true, "isAutoUpdateStatsOn": true, "isMemoryOptimizationEnabled": + true, "isEncrypted": false, "isTrustworthyOn": false}, "backupInformation": + {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '510' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 55805374-cab1-11ee-ae73-d8bbc1c51c4b + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01/databases/test_backups2 + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01/databases/test_backups2","name":"test_backups2","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-13T20:40:42.8230227Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-13T20:49:09.0534784Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2024-02-13T20:39:56Z","compatibilityLevel":150,"sizeMB":8.0,"spaceAvailableMB":5.625,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":null,"lastLogBackup":null},"backupPolicy":null,"earliestRestoreDate":null,"createMode":null,"sourceDatabaseId":null,"restorePointInTime":null,"provisioningState":"Accepted","lastDatabaseUploadTime":"2024-02-13T20:40:39.3885649Z"}}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS/operationStatuses/133d91b1-014d-4be0-baab-7c0f7bb65eb0*B9A0633C555595E40E0C90885A47A6BA8F0C4159D45954A19ABB83949AC0AB2B?api-version=2024-02-01-preview&t=638434541494910070&c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYMYYup1R1RZPIwVtk7z89JkrsDK8coPmULAovQOy3jgtdJ-z5oyCO28-zQ4LRHmuyeq1ROWdQR5e828FYihyBqnnQQea3EcS6CFfXpYes-7NPXy73E_P3goJLJU7bfuZ4iDPGZxXIIjo6_Uex0eX_AuBJeq8ZFcmNy3x0loDHkDww9lMprf49PmIZJEAshTnLBtfT3BC7JAuTTl2duIcC6YRT8vITdFw1HxFqywnOqD35zttD8vp0XowEP4ksBLfhJWduspxICp4Yu2ouSlh-T4GmsjQaTjrzZpw29eEj3gUyzTfkDY-WEGsEujkl9a9FCX1_AvT-9Eqmd7uYqV6kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBTDXVhSVDy9FvMjLTrSyU7UjKUXqzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHyzMCBJbTmiP_gOh98fZltsl9jQdlB-g_OYCr82viu1SgLxte7Za3Vtb3XRCTquz_JfY_4eQJpUy0p6F37f0oaTQkBvUF7HDDvkm49rmKF4nDFjPGNEqm53KbVEak46WTgD9fGZLQH1XouZGRe0LxQVIWm-K-MYMbrDWF_njKsIaV5Z4VxgFVaX5SlzHvr6coDX5oXwwksEsw8E8g0LfZCpfT5mCwgDPrDv2Ekk26koWUYlmJWgkky22R538qwuJmE6F33YwWStmUGfZfFDyjek8Rd_KyuEuC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE&s=T4h8bInFimdIobeFe2NXwY91-jzp7aYWQPY9OLJPBpvAqFbyiKl0_M4swaXrUxpxkEZeEhKNCHNh3j-ftXgvcR2WeKat0H4JtrXLJNu2fXAUQ-ubzTIl6bimPOAZXBqWVUEPIqdnoTm2-pLOZoEmQhzPRI0XJth5cLnsS5t_YgtdcpgIrBW9I946txE078x-mLhvdH01m9sjM65JzgI0CHwoDDTCX14-fUmCDhG_WG6X7Pf-etOocMVfy9pRAV9qhCeJAfIFl9wlUlF03gk4NqOZ9B-ZcsWifmg-kpWehFnvbTwgAHR1tbuduuIfWEGawOvvMh9_rPjkZFzG1SRIjQ&h=Lh28XCSItkltlCqV_DUX9E4FiyvY6QolZSQE0Way_vM + Cache-Control: + - no-cache + Content-Length: + - '1290' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:49:09 GMT + ETag: + - '"cf076df5-0000-0100-0000-65cbd5c50000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + - ARRAffinitySameSite=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 3A087E71BE7E403C8BC367680E6DC0FE Ref B: BN1AA2051012011 Ref C: 2024-02-13T20:49:08Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - d70af518-4fd8-4018-b8f5-5083daac9d6f + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '19999' + x-ms-request-id: + - 133d91b1-014d-4be0-baab-7c0f7bb65eb0 + x-ms-routing-request-id: + - EASTUS:20240213T204909Z:d70af518-4fd8-4018-b8f5-5083daac9d6f + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_input_backups_disabled.yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_input_backups_disabled.yaml new file mode 100644 index 00000000000..36ddaf9f150 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_input_backups_disabled.yaml @@ -0,0 +1,236 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 5a3f20f7-c78c-11ee-a2aa-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4","name":"LAPTOP-OIUS4TO4","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:32.5401341Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T20:46:39.2387148Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4","createTime":null,"vCore":"12","cores":null,"status":"Connected","patchLevel":"16.0.1110.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-09T20:46:36.086286Z","lastUsageUploadTime":"2024-02-09T20:00:21.1991303Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1456' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 20:46:52 GMT + ETag: + - '"03007653-0000-3400-0000-65c68f300000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: F6D263A216E44DA29DE6876047E5D7C9 Ref B: BN1AA2051013045 Ref C: 2024-02-09T20:46:52Z' + x-ms-correlation-request-id: + - 55529fb1-1e58-45b8-8b88-d57cdab8858a + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - b7ba83e1-86e9-4b8a-a8fc-bf9b033d1b2e + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T204652Z:55529fb1-1e58-45b8-8b88-d57cdab8858a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus2euap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"SqlManagement":{"IsEnabled":true},"LicenseType":"Paid","enableExtendedSecurityUpdates":false,"esuLastUpdatedTimestamp":"2024-02-02T18:48:37.571Z","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/09, 20:35:48.762; + uploadStatus : OK; uploadMessage : Upload succeeded.;;AutomaticBackups: Running;PurviewPlugin: + {};AzureActiveDirectoryPlugin: {\r\n \"MSSQLSERVER\": \"\"\r\n};DatabaseMonitorArcPlugin: + {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, AutomaticBackups: + {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"LAPTOP-OIUS4TO4\",\"databaseName\":\"MyDatabase\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":0,\"enabled\":false}]}}, + Purview plugin: [], Azure active directory configuration plugin: [], Assessment: + [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}, + MigrationAssessmentPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PublicSettings, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"excludedSqlInstances\":{\"$type\":\"System.String[], + System.Private.CoreLib\",\"$values\":[]},\"azureAD\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.AADSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"externalPolicyBasedAuthorization\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PurviewSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"licenseType\":\"Undefined\",\"enableExtendedSecurityUpdates\":false,\"esuLastUpdatedTimestamp\":\"0001-01-01T00:00:00\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '3139' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 20:46:52 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: CC64314CC8DF4A55B32BEF62379587AB Ref B: BN1AA2051012049 Ref C: 2024-02-09T20:46:52Z' + x-ms-correlation-request-id: + - b1e4786c-3314-46e4-ad29-3a3167984b73 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 39d465d1-a3a9-483b-bd8a-9dd726bd2c5d + x-ms-routing-request-id: + - EASTUS2:20240209T204652Z:b1e4786c-3314-46e4-ad29-3a3167984b73 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 5ae0fee7-c78c-11ee-b352-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/DONOTMAKE234?api-version=2024-03-01-preview + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/LAPTOP-OIUS4TO4/Databases/DONOTMAKE234'' + under resource group ''lawynn-dotnet8Upgrade'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '273' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 20:46:52 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 35851A122DF64A34915997774B75BEB8 Ref B: BN1AA2051013045 Ref C: 2024-02-09T20:46:53Z' + x-ms-correlation-request-id: + - 8038b6bc-6b63-4c06-9053-5adce66aa6eb + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 8038b6bc-6b63-4c06-9053-5adce66aa6eb + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T204653Z:8038b6bc-6b63-4c06-9053-5adce66aa6eb + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 5b255ece-c78c-11ee-b619-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase","name":"MyDatabase","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:41.2876869Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T20:46:39.7109432Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2023-12-05T22:22:05Z","compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5625,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-02T15:32:32Z","lastLogBackup":"2024-02-07T19:18:43Z"},"backupPolicy":{"retentionPeriodDays":0,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"provisioningState":"Succeeded","lastDatabaseUploadTime":"2024-02-09T20:46:36.5223407Z"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1308' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 20:46:53 GMT + ETag: + - '"0400950f-0000-3400-0000-65c68f2f0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 622A76952F2C4D3E8C4A131C4E7051B1 Ref B: BN1AA2051013045 Ref C: 2024-02-09T20:46:53Z' + x-ms-correlation-request-id: + - 5102c442-bf5f-45eb-8038-1884106a81f6 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - 89d14a4a-4a64-4a67-9d58-3ad1e3d4cb89 + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T204653Z:5102c442-bf5f-45eb-8038-1884106a81f6 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_input_invalid_license.yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_input_invalid_license.yaml new file mode 100644 index 00000000000..151332dc58c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_input_invalid_license.yaml @@ -0,0 +1,109 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - d630cc20-c7a4-11ee-a3d5-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4","name":"LAPTOP-OIUS4TO4","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:32.5401341Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T23:41:49.3834792Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4","createTime":null,"vCore":"12","cores":null,"status":"Connected","patchLevel":"16.0.1110.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-09T23:41:46.1873414Z","lastUsageUploadTime":null,"hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1532' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 23:42:07 GMT + ETag: + - '"03005db7-0000-3400-0000-65c6b83d0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: FB2C1E3AA412424589AAE6F70AF37712 Ref B: BN1AA2051013047 Ref C: 2024-02-09T23:42:08Z' + x-ms-correlation-request-id: + - d751fa91-6d6f-427e-8fb7-a28cb539097e + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 447f27e3-0628-4238-a48e-0359c2f83f36 + x-ms-routing-request-id: + - EASTUS:20240209T234208Z:d751fa91-6d6f-427e-8fb7-a28cb539097e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus2euap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"SqlManagement":{"IsEnabled":true},"LicenseType":"LicenseOnly","enableExtendedSecurityUpdates":false,"esuLastUpdatedTimestamp":"2024-02-02T18:48:37.571Z","cloudprovider":"N/A"},"provisioningState":"Updating","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '856' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 23:42:07 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 9BED26A087664A01B9579F4FFB1FCFA5 Ref B: BN1AA2051015019 Ref C: 2024-02-09T23:42:08Z' + x-ms-correlation-request-id: + - 194af179-7b8e-48b5-abc1-c215a35e630f + x-ms-ratelimit-remaining-subscription-reads: + - '11997' + x-ms-request-id: + - daabd217-e702-4508-96b6-07a918c2b9ab + x-ms-routing-request-id: + - EASTUS:20240209T234208Z:194af179-7b8e-48b5-abc1-c215a35e630f + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_input_no_double_dash.yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_input_no_double_dash.yaml new file mode 100644 index 00000000000..e2917e1b08c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_input_no_double_dash.yaml @@ -0,0 +1,242 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.31.0 + method: HEAD + uri: https://mock-host/ + response: + body: + string: '' + headers: + Accept-Ranges: + - bytes + Access-Control-Allow-Origin: + - '*' + Connection: + - keep-alive + Content-Length: + - '0' + Content-Security-Policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + Cross-Origin-Resource-Policy: + - cross-origin + Date: + - Fri, 09 Feb 2024 23:27:23 GMT + Expires: + - Fri, 09 Feb 2024 23:32:23 GMT + Location: + - https://github.com/ + Source-Age: + - '468' + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization,Accept-Encoding,Origin + Via: + - 1.1 varnish + X-Cache: + - HIT + X-Cache-Hits: + - '1' + X-Content-Type-Options: + - nosniff + X-Fastly-Request-ID: + - c740240b4cec2c3109e799d2a8567a96ebd141ee + X-Frame-Options: + - deny + X-GitHub-Request-Id: + - 83F2:4976:4FE9E:5F75D:65C6B306 + X-Served-By: + - cache-pdk-kpdk1780078-PDK + X-Timer: + - S1707521244.556234,VS0,VE2 + X-XSS-Protection: + - 1; mode=block + status: + code: 301 + message: Moved Permanently +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/Azure/azure-cli/main/src/azure-cli-core/setup.py + response: + body: + string: !!binary | + H4sIAAAAAAAAA7VW32/bNhB+119xdR9kZzblpE2bpFU3I3EBD20T1Nn2kAYCLdESG4rkSCqNWzR/ + +46SrCjd0DUPFWCDPz7eHT9+vOPjR1FlTbTiMmLyGvTGFUoGwWOY/MQPzR8rvTE8LxwM0xG85alR + Vq0djhutDHVcSQIzIaAGWTDMMnPNMoJr3/CUScsyqGTGDLiCwdvF+XaYwJKxruNuHHBZY7RRH1nq + wCjlYK0MiAaD89grG58/e+fB2qgSUpWx1AIvca8OlGayGbfMVdopJbq5emQMay6zRNP0iubMBsGf + 8/fLxek7iGGwR/afk+nAH9liDZ8YFPSagVWVSdkYrqngGXUMCaDoqDJwzYzFjYKsyhU2AfedFrj4 + vOAWbKEqkSFT7JpJB5UWimZc5ki/YNQyC5+4K6Dktl6GR9CasyRwZnMUAH41xO9pGNLPlWFRKniU + KmwkCZfcJQnRm3AMocE/JpEL9BCHlVtPDsIRUAvrxpD/UiWdDyWGNTGMZsNRwG5Sph2cLufGKNNA + NbU2YMKyptuSZ1i/ZzfInO+XaM0wYhk1aTE0YZK0u0iSD3Ynxt/Fh3BwOSS//DqqWxhnG8eoMbgG + iRoq78LUhks3DI9r+vycPzDoGfYi/A4bo84SRknYDXfD3c5XSXKjKo0j8CiG9uz/5Xt+o1Hd7L5X + FMiXr4MXKHe8K3U7JI3Yh62dcc/86L/DCI7fzJbLxesFrkCLFzUoPEGNCKVLfzpLR11l4egI9mEC + Z0ZlVeqvU4QTK8HCcbNk4TnMMMRZlXE8eeZXtHYw5O/ClhvrWAmzrETWrMMUoe5WoMfc0LL0Un1D + ZV7hNfGLzup09mMo33ryACg5eAj48CHg3emD0LtbdJv0/PDpcgEzjSkPc6bv9xIkoi+D4GR+Nn93 + Mn93vJj3DpWaPFWlFsyx2xhNk852Ld4JinfiMBeUDK97HOM8mZKd+5gyL93EK/wVzu+R6fjl3haQ + mg2mN9yRLjbt2GM4lRiZrG7GdZbO/OHyVeXlA8M/VpV01RhFsuJUYrpwWC2o7PIOUMNAqDzHXfo0 + vw2tcVfbUi+8mBMtqPPKhxjvhPD+Btuoiqqkcm1QapnY3Ma7U9Lx/7FkVlNXbPtXEnPwbTxF0u9A + paViwm5QtHUqRAtken/2YmXUFTOXnrG9Z/05rGuups0bfUaebmeaXI/H/irem96pR1NUA79SOIo+ + DsYvn/Zd6avc1zLP+z6O73YUa4t8CkipDH05RJdYWZG9dJN/4vIICue0PYqiHFN3tSIogWhWJ6vu + 1CNubcVsdPjk8LB1Vtu8jffJ4TcMY5IaNJY7is82v/917oPu0aY3vkhYKzDe582Ej/U/YtGblEYd + PNKVENGz3b3GjGF/Y2DOXliVXtnL0Iu7V4Lez2cnb+fEWPcjJadB96tNUFfgYT0racni3k3wIm93 + 0+ox3mbVejBjNjVceynH4d0bp6YWXzolyi6boPYZnNc1Hx8/+JTB5NmlTKFknvTNNAG2k819RtOL + 8xZPK8wLpu+s96C6h0lYSbnwu0F2Bf+t3K7wjLfIyiDg/7XRoj9znVi6ZvFrioW4GUsFFma+5shO + 3Ksi47ZoN++Z+N7rZoj1XVQZiy8GO8T5kx2MYdskO77zbdM36mi6BsGwBpejxk8r+MQrheOFi/u5 + rw2lzqd3iPAVZr+DTqttbAk+pWj8JexckFoBR3ARelIjgeeJwsKt4D6iHVK4UoSXX4NR8A9FNK1M + ZwsAAA== + headers: + Accept-Ranges: + - bytes + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=300 + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Length: + - '1315' + Content-Security-Policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + Content-Type: + - text/plain; charset=utf-8 + Cross-Origin-Resource-Policy: + - cross-origin + Date: + - Fri, 09 Feb 2024 23:27:23 GMT + ETag: + - W/"372e103c1c94a585c1e4587ecb72f740b8238897da3cd6abffd9d27ee3db881b" + Expires: + - Fri, 09 Feb 2024 23:32:23 GMT + Source-Age: + - '131' + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization,Accept-Encoding,Origin + Via: + - 1.1 varnish + X-Cache: + - HIT + X-Cache-Hits: + - '1' + X-Content-Type-Options: + - nosniff + X-Fastly-Request-ID: + - 4d1d779b8c594899ac2659490cdeed2fcd18838d + X-Frame-Options: + - deny + X-GitHub-Request-Id: + - FD06:3F0B:2815C:33BF8:65C1AB8C + X-Served-By: + - cache-pdk-kpdk1780104-PDK + X-Timer: + - S1707521244.654437,VS0,VE1 + X-XSS-Protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/Azure/azure-cli/main/src/azure-cli-telemetry/setup.py + response: + body: + string: !!binary | + H4sIAAAAAAAAA7VU30/bMBB+z19xg4e0WpvQTZtYRdAqYFqkMhCpJk0DVSa5pB6O7dlOt/LX7/Kj + ECZtog/kIYnvvrvzd/58+6/CyprwlssQ5Rr0xq2U9Lx9GL/gQ+lPlN4YXqwcDNIhnPPUKKtyR3aj + lWGOKxnATAhoQBYMWjRrzAKKnfMUpcUMKpmhAbdCOI8XW3MACeLDwv12wGWD0Ub9wNSBUcpBrgyI + FkN+WpVtzZdm7uVGlZCqDFMLvCSuDpRG2dotuko7pcSDr7F43tezqyS++AIR7E2CSXCw53kn81mS + xJ9i8pD5uwf0+Ke4RqF0idJB4pirLEyn8A7GcGlUVqU1x5ActwL9URsSS4fUxwxmVcZRplhHdHnQ + 2P/Cko11WMIsK7nk1tG5qccIqlgYVpKrgDmTRcWKJuiy0djzUPXf2x2gweEu4A+7gCcHO6EnW3Sn + xNp8kcQw06RDEnK97qmW0Dee94u7VSOHgX91Njs9PwuMdf4IfEMvarrKqGbkVy4fH/pDYBbyaVOl + RZMO8sAgywbDfqrPcbK4uPr23FwdvJ/Ma2Q4aNySlRj57L4yOE4FHzsUWKIzm47wmkRDKos6ybbG + DG1quK7lF/mPt31WZ4GTeQyLbRa4ZOkdNbTLJpQslv3ojulr8K/ltfTpp9tvh2/bSUXiRZeCVXQs + pl+2N2SeYJZYMi5qcnpD1D6W24ggVWWHrAwBVs5pOw3Dgppc3dbesKESPrSlQ99zvbQsx+gTExZb + WyqYtTzn1Keod4lbJ5fWMSGWBn9WnIZe1F7sRklMa6LXbJtgzVw8jg5IasFkdETfN13RBlxPDyZU + eofmOJoE70dH23t003502+enFertB7T94O9T/Ze75q6VpHlj/Ta7N/T+ALC8SPlVBgAA + headers: + Accept-Ranges: + - bytes + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - max-age=300 + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Length: + - '678' + Content-Security-Policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + Content-Type: + - text/plain; charset=utf-8 + Cross-Origin-Resource-Policy: + - cross-origin + Date: + - Fri, 09 Feb 2024 23:27:23 GMT + ETag: + - W/"e4a703a645ab7bfeb287b218ae8fbc204d44c28514efd7375b03e317c595e006" + Expires: + - Fri, 09 Feb 2024 23:32:23 GMT + Source-Age: + - '279' + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization,Accept-Encoding,Origin + Via: + - 1.1 varnish + X-Cache: + - HIT + X-Cache-Hits: + - '2' + X-Content-Type-Options: + - nosniff + X-Fastly-Request-ID: + - 66c93da9ef987be0ed10c6d422e0debff6d6ba42 + X-Frame-Options: + - deny + X-GitHub-Request-Id: + - 88FE:6473:205C47:27A740:65B0A992 + X-Served-By: + - cache-pdk-kpdk1780051-PDK + X-Timer: + - S1707521244.749682,VS0,VE0 + X-XSS-Protection: + - 1; mode=block + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_input_no_server_found.yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_input_no_server_found.yaml new file mode 100644 index 00000000000..c5ffd69ae8b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_input_no_server_found.yaml @@ -0,0 +1,56 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - dc89c203-c7a4-11ee-8b07-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/NoServerFound?api-version=2024-03-01-preview + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/NoServerFound'' + under resource group ''lawynn-dotnet8Upgrade'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '248' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 23:42:17 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 8516A18890F24ACEAE418728A22B1119 Ref B: BN1AA2051013051 Ref C: 2024-02-09T23:42:18Z' + x-ms-correlation-request-id: + - 3857b5fa-055c-4e89-a5bb-6b7d08cb46d6 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 3857b5fa-055c-4e89-a5bb-6b7d08cb46d6 + x-ms-routing-request-id: + - EASTUS:20240209T234218Z:3857b5fa-055c-4e89-a5bb-6b7d08cb46d6 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_input_no_source_database_found.yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_input_no_source_database_found.yaml new file mode 100644 index 00000000000..a82fe32be72 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_input_no_source_database_found.yaml @@ -0,0 +1,232 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 8239a78a-c784-11ee-a9bf-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4","name":"LAPTOP-OIUS4TO4","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:32.5401341Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T19:50:20.3798851Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4","createTime":null,"vCore":"12","cores":null,"status":"Connected","patchLevel":"16.0.1110.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-09T19:50:17.0597019Z","lastUsageUploadTime":"2024-02-09T19:21:31.7416216Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1457' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:50:42 GMT + ETag: + - '"03001732-0000-3400-0000-65c681fd0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 3A49169401694C4B87779E74E7B73F5E Ref B: BN1AA2051015031 Ref C: 2024-02-09T19:50:43Z' + x-ms-correlation-request-id: + - cb5df8b9-7145-4eba-a803-33fc515f27a5 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 4fc176e2-e4c0-4a67-9b41-a404919d8ee9 + x-ms-routing-request-id: + - EASTUS:20240209T195043Z:cb5df8b9-7145-4eba-a803-33fc515f27a5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus2euap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"SqlManagement":{"IsEnabled":true},"LicenseType":"Paid","enableExtendedSecurityUpdates":false,"esuLastUpdatedTimestamp":"2024-02-02T18:48:37.571Z","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/09, 19:37:00.663; + uploadStatus : OK; uploadMessage : Upload succeeded.;;AutomaticBackups: Running;PurviewPlugin: + {};AzureActiveDirectoryPlugin: {\r\n \"MSSQLSERVER\": \"\"\r\n};DatabaseMonitorArcPlugin: + {\"State\":\"Running\"}, AutomaticBackups: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment: [], Assessment + Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}, + MigrationAssessmentPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PublicSettings, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"excludedSqlInstances\":{\"$type\":\"System.String[], + System.Private.CoreLib\",\"$values\":[]},\"azureAD\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.AADSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"externalPolicyBasedAuthorization\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PurviewSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"licenseType\":\"Undefined\",\"enableExtendedSecurityUpdates\":false,\"esuLastUpdatedTimestamp\":\"0001-01-01T00:00:00\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2814' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:50:42 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 117A62066E8C4A84B0BDD9DB42EA583F Ref B: BN1AA2051012029 Ref C: 2024-02-09T19:50:43Z' + x-ms-correlation-request-id: + - fc0be4a4-5769-4e95-bd15-e3c941499d65 + x-ms-ratelimit-remaining-subscription-reads: + - '11996' + x-ms-request-id: + - f83754cc-641d-400b-8511-ce9c2b5e8b19 + x-ms-routing-request-id: + - EASTUS:20240209T195043Z:fc0be4a4-5769-4e95-bd15-e3c941499d65 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 82b3f6b5-c784-11ee-aa24-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/DONOTMAKE11?api-version=2024-03-01-preview + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/LAPTOP-OIUS4TO4/Databases/DONOTMAKE11'' + under resource group ''lawynn-dotnet8Upgrade'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '272' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:50:43 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: F11294F679E94402B8AC25E0FF84BD06 Ref B: BN1AA2051015031 Ref C: 2024-02-09T19:50:43Z' + x-ms-correlation-request-id: + - 856d16ff-8302-47a1-8e95-2f0f12904c18 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 856d16ff-8302-47a1-8e95-2f0f12904c18 + x-ms-routing-request-id: + - EASTUS:20240209T195043Z:856d16ff-8302-47a1-8e95-2f0f12904c18 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 82cc76fb-c784-11ee-ba2b-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/NoDatabasefound?api-version=2024-03-01-preview + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/LAPTOP-OIUS4TO4/Databases/NoDatabasefound'' + under resource group ''lawynn-dotnet8Upgrade'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '276' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:50:43 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: B14B6C1C84234D7CA398B41D1232FD3C Ref B: BN1AA2051015031 Ref C: 2024-02-09T19:50:43Z' + x-ms-correlation-request-id: + - accd69e7-2664-48d3-bd77-528f4eb8afed + x-ms-failure-cause: + - gateway + x-ms-request-id: + - accd69e7-2664-48d3-bd77-528f4eb8afed + x-ms-routing-request-id: + - EASTUS:20240209T195044Z:accd69e7-2664-48d3-bd77-528f4eb8afed + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_input_time_selected_older_than_backups.yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_input_time_selected_older_than_backups.yaml new file mode 100644 index 00000000000..06ba7be420d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_input_time_selected_older_than_backups.yaml @@ -0,0 +1,237 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 36076df3-c7a7-11ee-919d-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4","name":"LAPTOP-OIUS4TO4","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:32.5401341Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T23:58:28.0220446Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4","createTime":null,"vCore":"12","cores":null,"status":"Connected","patchLevel":"16.0.1110.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-09T23:58:24.8799913Z","lastUsageUploadTime":null,"hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1532' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 23:59:07 GMT + ETag: + - '"0300a9be-0000-3400-0000-65c6bc240000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 117E0E14050B4672AE6C7D58A15AC0F2 Ref B: BN1AA2051012047 Ref C: 2024-02-09T23:59:07Z' + x-ms-correlation-request-id: + - 60f951eb-6c58-43de-9285-540c3ce00bf8 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 6f990d28-10ae-47ea-883a-cbcd9eca8cec + x-ms-routing-request-id: + - EASTUS2:20240209T235908Z:60f951eb-6c58-43de-9285-540c3ce00bf8 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus2euap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"SqlManagement":{"IsEnabled":true},"LicenseType":"Paid","enableExtendedSecurityUpdates":false,"esuLastUpdatedTimestamp":"2024-02-02T18:48:37.571Z","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/09, 23:57:33.902; + uploadStatus : OK; uploadMessage : Upload succeeded.;;AutomaticBackups: Running;PurviewPlugin: + {};AzureActiveDirectoryPlugin: {\r\n \"MSSQLSERVER\": \"\"\r\n};DatabaseMonitorArcPlugin: + {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, AutomaticBackups: + {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"LAPTOP-OIUS4TO4\",\"databaseName\":\"MyDatabase\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":7,\"enabled\":true},{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"MSSQLSERVER\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":7,\"enabled\":true}]}}, + Purview plugin: [], Azure active directory configuration plugin: [], Assessment: + [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}, + MigrationAssessmentPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PublicSettings, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"excludedSqlInstances\":{\"$type\":\"System.String[], + System.Private.CoreLib\",\"$values\":[]},\"azureAD\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.AADSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"externalPolicyBasedAuthorization\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PurviewSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"licenseType\":\"Undefined\",\"enableExtendedSecurityUpdates\":false,\"esuLastUpdatedTimestamp\":\"0001-01-01T00:00:00\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '3396' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 23:59:08 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 841C6F5F178A4C6AAC3184FE902D0EE0 Ref B: BN1AA2051014009 Ref C: 2024-02-09T23:59:08Z' + x-ms-correlation-request-id: + - 95521cd0-2cdc-4192-ae67-710b50d7bff3 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 50f876e1-0c32-40db-9486-10b31371e224 + x-ms-routing-request-id: + - EASTUS:20240209T235908Z:95521cd0-2cdc-4192-ae67-710b50d7bff3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 36b238d5-c7a7-11ee-8fda-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/DONOTMAKE34?api-version=2024-03-01-preview + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/LAPTOP-OIUS4TO4/Databases/DONOTMAKE34'' + under resource group ''lawynn-dotnet8Upgrade'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '272' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 23:59:08 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: D2D91AEC298B4E3C84613B17D07B09A3 Ref B: BN1AA2051012047 Ref C: 2024-02-09T23:59:08Z' + x-ms-correlation-request-id: + - 75c91677-885c-4f92-9115-a3e54d5df8e0 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 75c91677-885c-4f92-9115-a3e54d5df8e0 + x-ms-routing-request-id: + - EASTUS:20240209T235908Z:75c91677-885c-4f92-9115-a3e54d5df8e0 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 3b4ce640-c7a7-11ee-ad78-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase","name":"MyDatabase","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:41.2876869Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T23:58:48.4463395Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2023-12-05T22:22:05Z","compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-09T23:40:26Z","lastLogBackup":"2024-02-09T23:57:51Z"},"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"provisioningState":"Succeeded","lastDatabaseUploadTime":"2024-02-09T23:58:24.9869507Z"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1305' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 23:59:16 GMT + ETag: + - '"04006398-0000-3400-0000-65c6bc380000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: E77AD8996BB44A3A95F9F8CCE419AF43 Ref B: BN1AA2051012047 Ref C: 2024-02-09T23:59:16Z' + x-ms-correlation-request-id: + - 0ab0c673-bde3-4a8e-bb70-3786a0a47eb0 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - 6728a5e0-a118-40ae-8bed-04b1b470b147 + x-ms-routing-request-id: + - EASTUS:20240209T235916Z:0ab0c673-bde3-4a8e-bb70-3786a0a47eb0 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_inputs_no_resource_group_found.yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_inputs_no_resource_group_found.yaml new file mode 100644 index 00000000000..4775120a867 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_invalid_inputs_no_resource_group_found.yaml @@ -0,0 +1,55 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - e1c68b2c-c7a4-11ee-b1f8-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/NoResourceFoundByThisName/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4?api-version=2024-03-01-preview + response: + body: + string: '{"error": {"code": "ResourceGroupNotFound", "message": "Resource group + ''NoResourceFoundByThisName'' could not be found."}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '117' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 23:42:27 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 2FB3C43A7CE14F72BA4D8D27B4C8F5E7 Ref B: BN1AA2051014051 Ref C: 2024-02-09T23:42:27Z' + x-ms-correlation-request-id: + - 6bbaf752-fbea-43e9-b503-7158081e3c8c + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 6bbaf752-fbea-43e9-b503-7158081e3c8c + x-ms-routing-request-id: + - EASTUS2:20240209T234227Z:6bbaf752-fbea-43e9-b503-7158081e3c8c + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_successful_inputs_time_entered.yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_successful_inputs_time_entered.yaml new file mode 100644 index 00000000000..1bcc0f6b11f --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_successful_inputs_time_entered.yaml @@ -0,0 +1,476 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - b9dc813a-c790-11ee-9d2d-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4","name":"LAPTOP-OIUS4TO4","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:32.5401341Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T21:18:05.7451321Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4","createTime":null,"vCore":"12","cores":null,"status":"Connected","patchLevel":"16.0.1110.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-09T21:18:02.5566287Z","lastUsageUploadTime":"2024-02-09T21:00:26.9603356Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1457' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:18:10 GMT + ETag: + - '"0300c566-0000-3400-0000-65c6968e0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: E5314E4CB63B47029630CAD8575CF7F1 Ref B: BN1AA2051013045 Ref C: 2024-02-09T21:18:10Z' + x-ms-correlation-request-id: + - f2ef15df-3cb9-4966-bc13-107ad31436a5 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 7a20bacd-ac2f-453d-9495-a584145ef95d + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T211810Z:f2ef15df-3cb9-4966-bc13-107ad31436a5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus2euap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"SqlManagement":{"IsEnabled":true},"LicenseType":"Paid","enableExtendedSecurityUpdates":false,"esuLastUpdatedTimestamp":"2024-02-02T18:48:37.571Z","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/09, 21:05:36.937; + uploadStatus : OK; uploadMessage : Upload succeeded.;;AutomaticBackups: Running;PurviewPlugin: + {};AzureActiveDirectoryPlugin: {\r\n \"MSSQLSERVER\": \"\"\r\n};DatabaseMonitorArcPlugin: + {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, AutomaticBackups: + {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"LAPTOP-OIUS4TO4\",\"databaseName\":\"MyDatabase\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":7,\"enabled\":true}]}}, + Purview plugin: [], Azure active directory configuration plugin: [], Assessment: + [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}, + MigrationAssessmentPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PublicSettings, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"excludedSqlInstances\":{\"$type\":\"System.String[], + System.Private.CoreLib\",\"$values\":[]},\"azureAD\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.AADSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"externalPolicyBasedAuthorization\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PurviewSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"licenseType\":\"Undefined\",\"enableExtendedSecurityUpdates\":false,\"esuLastUpdatedTimestamp\":\"0001-01-01T00:00:00\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '3138' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:18:11 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: BC6068745D7B46D39AF8E900DB63A749 Ref B: BN1AA2051014019 Ref C: 2024-02-09T21:18:11Z' + x-ms-correlation-request-id: + - 83b24091-bd82-4782-ba03-35a2a4d4e50e + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - f2a2dad1-fef0-4c18-a380-a1269abd422f + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T211811Z:83b24091-bd82-4782-ba03-35a2a4d4e50e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - bab05aa7-c790-11ee-92c8-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/anOriginalDatabaseName2?api-version=2024-03-01-preview + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/LAPTOP-OIUS4TO4/Databases/anOriginalDatabaseName2'' + under resource group ''lawynn-dotnet8Upgrade'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '284' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:18:11 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: AA6C41E93EC04C5C954409074D98A70E Ref B: BN1AA2051013045 Ref C: 2024-02-09T21:18:11Z' + x-ms-correlation-request-id: + - 3e95d0b4-3301-46dc-ac50-f334febc37f0 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 3e95d0b4-3301-46dc-ac50-f334febc37f0 + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T211811Z:3e95d0b4-3301-46dc-ac50-f334febc37f0 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - bad17a39-c790-11ee-a899-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase","name":"MyDatabase","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:41.2876869Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T21:18:06.5476458Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2023-12-05T22:22:05Z","compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-02T15:32:32Z","lastLogBackup":"2024-02-07T19:18:43Z"},"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"provisioningState":"Succeeded","lastDatabaseUploadTime":"2024-02-09T21:18:02.9493379Z"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1305' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:18:12 GMT + ETag: + - '"0400c527-0000-3400-0000-65c6968e0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 358A80DB35D9459E904D64391051CD95 Ref B: BN1AA2051013045 Ref C: 2024-02-09T21:18:11Z' + x-ms-correlation-request-id: + - 63caaeae-4379-4425-b1e9-8d128eb47f88 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - 0cb72324-1e58-47a2-b37d-dcc2d5d8b468 + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T211812Z:63caaeae-4379-4425-b1e9-8d128eb47f88 + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus2euap", "properties": {"collationName": "SQL_Latin1_General_CP1_CI_AS", + "compatibilityLevel": 160, "sizeMB": 8.0, "spaceAvailableMB": 2.5, "state": + "Online", "isReadOnly": false, "recoveryMode": "Full", "databaseOptions": {"isAutoCloseOn": + false, "isAutoShrinkOn": false, "isAutoCreateStatsOn": true, "isAutoUpdateStatsOn": + true, "isMemoryOptimizationEnabled": true, "isEncrypted": false, "isTrustworthyOn": + false}, "backupPolicy": {"retentionPeriodDays": 7, "fullBackupDays": 7, "differentialBackupHours": + 12, "transactionLogBackupMinutes": 5}, "createMode": "restorePointInTime", "sourceDatabaseId": + "MyDatabase", "restorePointInTime": "2024-02-09T21:11:26.000Z"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '686' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - bb17bbdd-c790-11ee-b357-d8bbc1c51c4b + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/anOriginalDatabaseName2?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/anOriginalDatabaseName2","name":"anOriginalDatabaseName2","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"aagonzalez@microsoft.com","createdByType":"User","createdAt":"2024-02-09T21:18:13.2096839Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T21:18:13.2096839Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":null,"compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":null,"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"earliestRestoreDate":null,"createMode":"restorePointInTime","sourceDatabaseId":"MyDatabase","restorePointInTime":"2024-02-09T21:11:26Z","provisioningState":"Accepted","lastDatabaseUploadTime":null}}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS2EUAP/operationStatuses/19359f98-f93d-4774-a6ec-9f2dd44beef9*4D322E466C65E5CC87F7987135231AF114A8FD0A76A03D0B4567421EF4C0E91A?api-version=2024-02-01-preview&t=638431102943814870&c=MIIHHjCCBgagAwIBAgITOgKWSTEcBIQCHsI5sQAEApZJMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMTMwMTcxMzQ3WhcNMjUwMTI0MTcxMzQ3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKfKGGbOvD4LAPDfkshHK3sJKXPyc6AeX55uMe8VlhdaGe_9D0A-bqQEJaSr3LEychnUuD2sLuWvyahqSPOCXH0CnDuBFrlYok8KsDKQI8AGG7nvZxYDiM3WUooL4Z2edyIcSJgIRr2Fv7mxLROBrzwSMecTV4lgINXMg_ptVwUd0nwPOcgKcL1FBQtL2G2cb-V1XGnfa9ft_GJi9tImBsgqbjmvZiScDsr59TB0TX_hkrnykdH2DGTJ0MIni2JyvxdKWpdfD6r8gP1CCFmua81KDc4QF38lsvStqTga4k9QoeOe4T1I93b5HXOojrEQqqkfocEpYXisEkaN2hnaICkCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBQKysUo5XBF7lZioAO7t0cZOsD34jAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABhzezI96uSdJ5d-Z3j1yTekDNM2K0S4Hfl7_qMAis_kA0h7-9wQCsEORTUkWptY_qjImHVf0nCcfW94F6_9m4QVpyhtnz3xaAERQjBC7C-gHJecgORaR9eIQyGDavg0AmtqFVlH-q_HN9ALPvc-j4HESy0HkMoVGnv6AsR0zVStmGt2eoQduTq1nzv1AtAmbtXLmdc6csWHX5YlFIj0A3xUxmiTdBMCJc6G-Dy-3s2UWw9eZm_ZWwOSrvWD94lJ4Q485uJetzogrPi_KiwZy-kiQ0lxLoaSw_TSisHBSdXGa0rVjdBCZFo8_q4WyYLpPfcBeiHuA4GEfoeETEsUI_g&s=DGJnVe8AGmoGtraT77EDPr5mL8ryAtaaKaiQ4TZKVL2vezZRmNMq6qhQ0mqpIJQoV0TzBUst8HBFD9SQqvSwSJ_Uy1uDWpWZ3u6ObZkWKQCWEyRQrHRDp8en5-tI3uaqwPpsH0hRH0r46sUlv5KMT7Bj71o6hMM30OLqDl_xf3GGL7roM4tYteABTb7nEm6J3Fm750wXieA6SuzOV-kYc3XBjTaG84EJLjqo-m8GTXwcojdaWl42EyUpO7jGnZu2zjzLUYLv24DmOFWW4zBTMv-ASKm2txibZ0MYHT3jzy3NKLLyxOVbcfaXmCJ7B3eCyrMDd_da5P6UNq_I9L3-kA&h=Ya8yOkfVnYIv62HGZ_Ho00K8nV8F15OHjI8vHGXi_6A + Cache-Control: + - no-cache + Content-Length: + - '1343' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:18:14 GMT + ETag: + - '"0400db27-0000-3400-0000-65c696960000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=766c5affa0c5fdaf613caffb8d67cfec97b2147d28b8ee85da8124fa61b8fb2e;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus2euap.trafficmanager.net + - ARRAffinitySameSite=766c5affa0c5fdaf613caffb8d67cfec97b2147d28b8ee85da8124fa61b8fb2e;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus2euap.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 6EC7EC0F26A447BDA5E905F468F559E8 Ref B: BN1AA2051013045 Ref C: 2024-02-09T21:18:12Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - f64d8475-ca27-4fb2-bd59-32b066f1f2d3 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '19999' + x-ms-request-id: + - 19359f98-f93d-4774-a6ec-9f2dd44beef9 + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T211814Z:f64d8475-ca27-4fb2-bd59-32b066f1f2d3 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - bc4fe8bd-c790-11ee-86f1-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/anOriginalDatabaseName2?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/anOriginalDatabaseName2","name":"anOriginalDatabaseName2","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"aagonzalez@microsoft.com","createdByType":"User","createdAt":"2024-02-09T21:18:13.2096839Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T21:18:13.2096839Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":null,"compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":null,"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"earliestRestoreDate":null,"createMode":"restorePointInTime","sourceDatabaseId":"MyDatabase","restorePointInTime":"2024-02-09T21:11:26Z","provisioningState":"Accepted","lastDatabaseUploadTime":null}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1343' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:18:14 GMT + ETag: + - '"0400db27-0000-3400-0000-65c696960000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 2A423E50407A456F832E888956EE3CA0 Ref B: BN1AA2051013045 Ref C: 2024-02-09T21:18:14Z' + x-ms-correlation-request-id: + - 94248850-db9e-47fd-9c2f-2678844dcbdc + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - 6e5f26b9-949e-4665-b2ce-a987bfebea8d + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T211814Z:94248850-db9e-47fd-9c2f-2678844dcbdc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - c031c42b-c790-11ee-8b0f-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/anOriginalDatabaseName2?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/anOriginalDatabaseName2","name":"anOriginalDatabaseName2","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"aagonzalez@microsoft.com","createdByType":"User","createdAt":"2024-02-09T21:18:13.2096839Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T21:18:13.2096839Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":null,"compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":null,"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"earliestRestoreDate":null,"createMode":"restorePointInTime","sourceDatabaseId":"MyDatabase","restorePointInTime":"2024-02-09T21:11:26Z","provisioningState":"ConnectingToAgent","lastDatabaseUploadTime":null}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1352' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:18:21 GMT + ETag: + - '"0400e027-0000-3400-0000-65c696970000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 42282159C4EC4C3F964DD59A925429EA Ref B: BN1AA2051013045 Ref C: 2024-02-09T21:18:20Z' + x-ms-correlation-request-id: + - fba94c61-cfe1-4753-8bd5-8a3cc656a1e5 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199998' + x-ms-request-id: + - e9845a0e-e0d4-4c9f-a0fd-64ae0487f94e + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T211821Z:fba94c61-cfe1-4753-8bd5-8a3cc656a1e5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - c4564608-c790-11ee-a3bd-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/anOriginalDatabaseName2?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/anOriginalDatabaseName2","name":"anOriginalDatabaseName2","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"aagonzalez@microsoft.com","createdByType":"User","createdAt":"2024-02-09T21:18:13.2096839Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T21:18:13.2096839Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":null,"compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":null,"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"earliestRestoreDate":null,"createMode":"restorePointInTime","sourceDatabaseId":"MyDatabase","restorePointInTime":"2024-02-09T21:11:26Z","provisioningState":"Processing","lastDatabaseUploadTime":null}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1345' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:18:27 GMT + ETag: + - '"0400ef27-0000-3400-0000-65c6969e0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: E06486BD668D45BE81BF6C0FB73EAA70 Ref B: BN1AA2051013045 Ref C: 2024-02-09T21:18:27Z' + x-ms-correlation-request-id: + - 84e3f18c-4e5a-48b3-9415-1ee679bebf46 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199998' + x-ms-request-id: + - e9bbe7de-202a-47f3-89b1-090cd5f6b627 + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T211828Z:84e3f18c-4e5a-48b3-9415-1ee679bebf46 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_successful_inputs_time_unentered.yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_successful_inputs_time_unentered.yaml new file mode 100644 index 00000000000..ed81a382ad2 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_successful_inputs_time_unentered.yaml @@ -0,0 +1,420 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 599dce5b-c790-11ee-9a3e-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4","name":"LAPTOP-OIUS4TO4","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:32.5401341Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T21:14:22.6933719Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4","createTime":null,"vCore":"12","cores":null,"status":"Connected","patchLevel":"16.0.1110.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-09T21:14:19.2902244Z","lastUsageUploadTime":"2024-02-09T21:00:26.9603356Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1457' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:15:29 GMT + ETag: + - '"03008364-0000-3400-0000-65c695af0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: F66774B34D0745948434FD4B7FF6A591 Ref B: BN1AA2051013039 Ref C: 2024-02-09T21:15:29Z' + x-ms-correlation-request-id: + - f6a6a16c-4660-4471-ac95-ad3d770abf0e + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 9974a945-46dc-49b5-a867-fdfaf834baf1 + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T211529Z:f6a6a16c-4660-4471-ac95-ad3d770abf0e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus2euap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"SqlManagement":{"IsEnabled":true},"LicenseType":"Paid","enableExtendedSecurityUpdates":false,"esuLastUpdatedTimestamp":"2024-02-02T18:48:37.571Z","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/09, 21:05:36.937; + uploadStatus : OK; uploadMessage : Upload succeeded.;;AutomaticBackups: Running;PurviewPlugin: + {};AzureActiveDirectoryPlugin: {\r\n \"MSSQLSERVER\": \"\"\r\n};DatabaseMonitorArcPlugin: + {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, AutomaticBackups: + {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"LAPTOP-OIUS4TO4\",\"databaseName\":\"MyDatabase\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":7,\"enabled\":true}]}}, + Purview plugin: [], Azure active directory configuration plugin: [], Assessment: + [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}, + MigrationAssessmentPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PublicSettings, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"excludedSqlInstances\":{\"$type\":\"System.String[], + System.Private.CoreLib\",\"$values\":[]},\"azureAD\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.AADSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"externalPolicyBasedAuthorization\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PurviewSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"licenseType\":\"Undefined\",\"enableExtendedSecurityUpdates\":false,\"esuLastUpdatedTimestamp\":\"0001-01-01T00:00:00\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '3138' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:15:30 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: D2DC7A769D164D33A2605955D2528AD2 Ref B: BN1AA2051012053 Ref C: 2024-02-09T21:15:29Z' + x-ms-correlation-request-id: + - a6f88ed8-8644-4152-ab90-7bfe0087bebf + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 4baea929-96af-44be-866e-66894a692b8d + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T211530Z:a6f88ed8-8644-4152-ab90-7bfe0087bebf + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 5a77007c-c790-11ee-a531-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/AA_G-d_te_st2e321tt?api-version=2024-03-01-preview + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/LAPTOP-OIUS4TO4/Databases/AA_G-d_te_st2e321tt'' + under resource group ''lawynn-dotnet8Upgrade'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '280' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:15:30 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 2CD87E7E129A4384B337D6CA735764FD Ref B: BN1AA2051013039 Ref C: 2024-02-09T21:15:30Z' + x-ms-correlation-request-id: + - f93d5a6a-d89a-49f2-b6ac-b83f391bbabe + x-ms-failure-cause: + - gateway + x-ms-request-id: + - f93d5a6a-d89a-49f2-b6ac-b83f391bbabe + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T211530Z:f93d5a6a-d89a-49f2-b6ac-b83f391bbabe + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 5ab65548-c790-11ee-98d4-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase","name":"MyDatabase","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:41.2876869Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T21:14:23.1883513Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2023-12-05T22:22:05Z","compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-02T15:32:32Z","lastLogBackup":"2024-02-07T19:18:43Z"},"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"provisioningState":"Succeeded","lastDatabaseUploadTime":"2024-02-09T21:14:19.9026846Z"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1305' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:15:31 GMT + ETag: + - '"04003625-0000-3400-0000-65c695af0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 0A06EF1A945C444EB37C8956AFC3DDA9 Ref B: BN1AA2051013039 Ref C: 2024-02-09T21:15:30Z' + x-ms-correlation-request-id: + - 52fa7e07-5732-4292-baa9-6ddb331b4efb + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - b47ebc4d-92b5-4e53-82df-77ef2c08277f + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T211531Z:52fa7e07-5732-4292-baa9-6ddb331b4efb + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus2euap", "properties": {"collationName": "SQL_Latin1_General_CP1_CI_AS", + "compatibilityLevel": 160, "sizeMB": 8.0, "spaceAvailableMB": 2.5, "state": + "Online", "isReadOnly": false, "recoveryMode": "Full", "databaseOptions": {"isAutoCloseOn": + false, "isAutoShrinkOn": false, "isAutoCreateStatsOn": true, "isAutoUpdateStatsOn": + true, "isMemoryOptimizationEnabled": true, "isEncrypted": false, "isTrustworthyOn": + false}, "backupPolicy": {"retentionPeriodDays": 7, "fullBackupDays": 7, "differentialBackupHours": + 12, "transactionLogBackupMinutes": 5}, "createMode": "restorePointInTime", "sourceDatabaseId": + "MyDatabase", "restorePointInTime": "2024-02-09T21:15:28.778631Z"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '689' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 5b32de62-c790-11ee-b2ae-d8bbc1c51c4b + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/AA_G-d_te_st2e321tt?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/AA_G-d_te_st2e321tt","name":"AA_G-d_te_st2e321tt","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"aagonzalez@microsoft.com","createdByType":"User","createdAt":"2024-02-09T21:15:32.1334684Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T21:15:32.1334684Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":null,"compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":null,"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"earliestRestoreDate":null,"createMode":"restorePointInTime","sourceDatabaseId":"MyDatabase","restorePointInTime":"2024-02-09T21:15:28.778631Z","provisioningState":"Accepted","lastDatabaseUploadTime":null}}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS2EUAP/operationStatuses/8def3d0d-0ced-4b60-a75d-0e4f601fcc04*511FBC8DD5C7046EBEF8438F5D751DECF44B37E2B8713EF9C15518A18EF15FCB?api-version=2024-02-01-preview&t=638431101329772011&c=MIIHHjCCBgagAwIBAgITOgKWSTEcBIQCHsI5sQAEApZJMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMTMwMTcxMzQ3WhcNMjUwMTI0MTcxMzQ3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKfKGGbOvD4LAPDfkshHK3sJKXPyc6AeX55uMe8VlhdaGe_9D0A-bqQEJaSr3LEychnUuD2sLuWvyahqSPOCXH0CnDuBFrlYok8KsDKQI8AGG7nvZxYDiM3WUooL4Z2edyIcSJgIRr2Fv7mxLROBrzwSMecTV4lgINXMg_ptVwUd0nwPOcgKcL1FBQtL2G2cb-V1XGnfa9ft_GJi9tImBsgqbjmvZiScDsr59TB0TX_hkrnykdH2DGTJ0MIni2JyvxdKWpdfD6r8gP1CCFmua81KDc4QF38lsvStqTga4k9QoeOe4T1I93b5HXOojrEQqqkfocEpYXisEkaN2hnaICkCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBQKysUo5XBF7lZioAO7t0cZOsD34jAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABhzezI96uSdJ5d-Z3j1yTekDNM2K0S4Hfl7_qMAis_kA0h7-9wQCsEORTUkWptY_qjImHVf0nCcfW94F6_9m4QVpyhtnz3xaAERQjBC7C-gHJecgORaR9eIQyGDavg0AmtqFVlH-q_HN9ALPvc-j4HESy0HkMoVGnv6AsR0zVStmGt2eoQduTq1nzv1AtAmbtXLmdc6csWHX5YlFIj0A3xUxmiTdBMCJc6G-Dy-3s2UWw9eZm_ZWwOSrvWD94lJ4Q485uJetzogrPi_KiwZy-kiQ0lxLoaSw_TSisHBSdXGa0rVjdBCZFo8_q4WyYLpPfcBeiHuA4GEfoeETEsUI_g&s=Muh0E2kuAMBhXcYpyaO_9lV7NRKHdNvBR5-y2BC0cPF4KrQuoxHRdyBPcAceM4DaVC1NA_Df4s2vnhONaQFdU-Z6DLIvK8eUFGNnTwDMBrDH0gkWACvdDDU5nNKKlgaRYHidy-xyFbFltbOonfxDVw-aX-Oz6vXJezb4M-MWE5vrBGAxwLIzMNXBW-j_0WnJFk4Kdk4hgrH7o0w7fHAplxOSkUkJWo5jbZm0p2uwSBdXzNQCgHOGE2DnQk68lpisiX4OAv-rcr-NavEAxcn_32KbadIcTvg6StophuSKsBCH-ibahF4NqbvVApKS1lqP7EhtCPwu7OurrFuiFTSD2Q&h=B84vz2-LVv67it964EfcylvOqJFuHHDMN--G65b80JI + Cache-Control: + - no-cache + Content-Length: + - '1342' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:15:32 GMT + ETag: + - '"04000d26-0000-3400-0000-65c695f40000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=766c5affa0c5fdaf613caffb8d67cfec97b2147d28b8ee85da8124fa61b8fb2e;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus2euap.trafficmanager.net + - ARRAffinitySameSite=766c5affa0c5fdaf613caffb8d67cfec97b2147d28b8ee85da8124fa61b8fb2e;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus2euap.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: D2D06648CE38489C9E9FAB4D2CE0B3BA Ref B: BN1AA2051013039 Ref C: 2024-02-09T21:15:31Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - 2ed5d7d7-ba8f-4188-8a53-9dd2cd49e79b + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '19999' + x-ms-request-id: + - 8def3d0d-0ced-4b60-a75d-0e4f601fcc04 + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T211532Z:2ed5d7d7-ba8f-4188-8a53-9dd2cd49e79b + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 5c1b5587-c790-11ee-a312-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/AA_G-d_te_st2e321tt?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/AA_G-d_te_st2e321tt","name":"AA_G-d_te_st2e321tt","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"aagonzalez@microsoft.com","createdByType":"User","createdAt":"2024-02-09T21:15:32.1334684Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T21:15:32.1334684Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":null,"compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":null,"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"earliestRestoreDate":null,"createMode":"restorePointInTime","sourceDatabaseId":"MyDatabase","restorePointInTime":"2024-02-09T21:15:28.778631Z","provisioningState":"Accepted","lastDatabaseUploadTime":null}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1342' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:15:33 GMT + ETag: + - '"04000d26-0000-3400-0000-65c695f40000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: BB458F5C0FD646E5BD1BFE1E669904A1 Ref B: BN1AA2051013039 Ref C: 2024-02-09T21:15:33Z' + x-ms-correlation-request-id: + - 25093a22-fc5c-4682-b32e-3df8269bdd26 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - 948c4730-d0ed-49e2-b753-d2aa04b6e437 + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T211533Z:25093a22-fc5c-4682-b32e-3df8269bdd26 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 5ff1266f-c790-11ee-a26a-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/AA_G-d_te_st2e321tt?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/AA_G-d_te_st2e321tt","name":"AA_G-d_te_st2e321tt","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"aagonzalez@microsoft.com","createdByType":"User","createdAt":"2024-02-09T21:15:32.1334684Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T21:15:32.1334684Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":null,"compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":null,"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"earliestRestoreDate":null,"createMode":"restorePointInTime","sourceDatabaseId":"MyDatabase","restorePointInTime":"2024-02-09T21:15:28.778631Z","provisioningState":"Processing","lastDatabaseUploadTime":null}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1344' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:15:39 GMT + ETag: + - '"04002e26-0000-3400-0000-65c695fa0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 1EC4680C06034E35BDC0A3425511EB01 Ref B: BN1AA2051013039 Ref C: 2024-02-09T21:15:39Z' + x-ms-correlation-request-id: + - 878572f5-8af2-4119-b3ee-83479d1bbd9e + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - 78899bfb-6808-4be4-ad3a-9153c75ca990 + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T211539Z:878572f5-8af2-4119-b3ee-83479d1bbd9e + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_successful_inputs_unicode.yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_successful_inputs_unicode.yaml new file mode 100644 index 00000000000..d73ca9e53c5 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_backups_set.test_successful_inputs_unicode.yaml @@ -0,0 +1,420 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 649be58a-c790-11ee-b053-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4","name":"LAPTOP-OIUS4TO4","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:32.5401341Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T21:15:43.3865202Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4","createTime":null,"vCore":"12","cores":null,"status":"Connected","patchLevel":"16.0.1110.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-09T21:15:39.9028481Z","lastUsageUploadTime":"2024-02-09T21:00:26.9603356Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1457' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:15:47 GMT + ETag: + - '"03004765-0000-3400-0000-65c696000000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 4F6E96F687AD43DDA6814D16DD02C92F Ref B: BN1AA2051014051 Ref C: 2024-02-09T21:15:47Z' + x-ms-correlation-request-id: + - 7e61c23f-cb9c-4b49-90a5-c231c326a576 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 913de249-6837-46fd-900a-faec69ad19cd + x-ms-routing-request-id: + - EASTUS2:20240209T211547Z:7e61c23f-cb9c-4b49-90a5-c231c326a576 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus2euap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"SqlManagement":{"IsEnabled":true},"LicenseType":"Paid","enableExtendedSecurityUpdates":false,"esuLastUpdatedTimestamp":"2024-02-02T18:48:37.571Z","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/09, 21:05:36.937; + uploadStatus : OK; uploadMessage : Upload succeeded.;;AutomaticBackups: Running;PurviewPlugin: + {};AzureActiveDirectoryPlugin: {\r\n \"MSSQLSERVER\": \"\"\r\n};DatabaseMonitorArcPlugin: + {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, AutomaticBackups: + {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"LAPTOP-OIUS4TO4\",\"databaseName\":\"MyDatabase\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":7,\"enabled\":true}]}}, + Purview plugin: [], Azure active directory configuration plugin: [], Assessment: + [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}, + MigrationAssessmentPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PublicSettings, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"excludedSqlInstances\":{\"$type\":\"System.String[], + System.Private.CoreLib\",\"$values\":[]},\"azureAD\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.AADSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"externalPolicyBasedAuthorization\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PurviewSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"licenseType\":\"Undefined\",\"enableExtendedSecurityUpdates\":false,\"esuLastUpdatedTimestamp\":\"0001-01-01T00:00:00\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '3138' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:15:47 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 9404688B4A144021955976A53827D1C8 Ref B: BN1AA2051015035 Ref C: 2024-02-09T21:15:47Z' + x-ms-correlation-request-id: + - 264fba72-a12a-49e9-b82b-9144e557310a + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 4caec710-826c-471d-8dcc-bd59f2daadce + x-ms-routing-request-id: + - EASTUS:20240209T211548Z:264fba72-a12a-49e9-b82b-9144e557310a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 6521f445-c790-11ee-920a-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/894t3%E4%B8%A1%E4%BD%A312t?api-version=2024-03-01-preview + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/LAPTOP-OIUS4TO4/Databases/894t3\u4e21\u4f6312t'' + under resource group ''lawynn-dotnet8Upgrade'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '275' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:15:48 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 3A658247A3BC4715B1A5C6F146DCD39F Ref B: BN1AA2051014051 Ref C: 2024-02-09T21:15:48Z' + x-ms-correlation-request-id: + - 04f0685c-4d21-4272-9f83-d6ee80f8cd6b + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 04f0685c-4d21-4272-9f83-d6ee80f8cd6b + x-ms-routing-request-id: + - EASTUS2:20240209T211548Z:04f0685c-4d21-4272-9f83-d6ee80f8cd6b + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 653c674b-c790-11ee-9c52-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase","name":"MyDatabase","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:41.2876869Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T21:15:43.8987483Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2023-12-05T22:22:05Z","compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-02T15:32:32Z","lastLogBackup":"2024-02-07T19:18:43Z"},"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"provisioningState":"Succeeded","lastDatabaseUploadTime":"2024-02-09T21:15:40.0853704Z"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1305' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:15:48 GMT + ETag: + - '"04004d26-0000-3400-0000-65c696000000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: DAAA36D6FED74BA88F10762DE8BBB5DE Ref B: BN1AA2051014051 Ref C: 2024-02-09T21:15:48Z' + x-ms-correlation-request-id: + - 1c6a1f2e-e033-48cb-9f56-d2db710bfe5a + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - b5b1b6a0-479c-4d69-b964-dd6609a7ddbf + x-ms-routing-request-id: + - EASTUS2:20240209T211548Z:1c6a1f2e-e033-48cb-9f56-d2db710bfe5a + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus2euap", "properties": {"collationName": "SQL_Latin1_General_CP1_CI_AS", + "compatibilityLevel": 160, "sizeMB": 8.0, "spaceAvailableMB": 2.5, "state": + "Online", "isReadOnly": false, "recoveryMode": "Full", "databaseOptions": {"isAutoCloseOn": + false, "isAutoShrinkOn": false, "isAutoCreateStatsOn": true, "isAutoUpdateStatsOn": + true, "isMemoryOptimizationEnabled": true, "isEncrypted": false, "isTrustworthyOn": + false}, "backupPolicy": {"retentionPeriodDays": 7, "fullBackupDays": 7, "differentialBackupHours": + 12, "transactionLogBackupMinutes": 5}, "createMode": "restorePointInTime", "sourceDatabaseId": + "MyDatabase", "restorePointInTime": "2024-02-09T21:11:26.000Z"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '686' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 65680cec-c790-11ee-9e9c-d8bbc1c51c4b + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/894t3%E4%B8%A1%E4%BD%A312t?api-version=2024-03-01-preview + response: + body: + string: "{\"id\":\"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/894t3\u4E21\u4F6312t\",\"name\":\"894t3\u4E21\u4F6312t\",\"type\":\"microsoft.azurearcdata/sqlserverinstances/databases\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"aagonzalez@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-02-09T21:15:49.3004679Z\",\"lastModifiedBy\":\"aagonzalez@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-02-09T21:15:49.3004679Z\"},\"properties\":{\"collationName\":\"SQL_Latin1_General_CP1_CI_AS\",\"databaseCreationDate\":null,\"compatibilityLevel\":160,\"sizeMB\":8.0,\"spaceAvailableMB\":2.5,\"state\":\"Online\",\"isReadOnly\":false,\"recoveryMode\":\"Full\",\"databaseOptions\":{\"isAutoCloseOn\":false,\"isAutoShrinkOn\":false,\"isAutoCreateStatsOn\":true,\"isAutoUpdateStatsOn\":true,\"isRemoteDataArchiveEnabled\":null,\"isMemoryOptimizationEnabled\":true,\"isEncrypted\":false,\"isTrustworthyOn\":false},\"backupInformation\":null,\"backupPolicy\":{\"retentionPeriodDays\":7,\"fullBackupDays\":7,\"differentialBackupHours\":12,\"transactionLogBackupMinutes\":5},\"earliestRestoreDate\":null,\"createMode\":\"restorePointInTime\",\"sourceDatabaseId\":\"MyDatabase\",\"restorePointInTime\":\"2024-02-09T21:11:26Z\",\"provisioningState\":\"Accepted\",\"lastDatabaseUploadTime\":null}}" + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS2EUAP/operationStatuses/ffc6ce32-433b-4387-a4bb-ed3c5a4f7b4d*7160224F358DCCA4E13D212C417C0A2C3B793A9909CE322B6CE5E3F8C4397761?api-version=2024-02-01-preview&t=638431101498785962&c=MIIHHjCCBgagAwIBAgITOgKYMsjF2b7LauhN0AAEApgyyDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwMjAxMTIyNjQyWhcNMjUwMTI2MTIyNjQyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMc6LeWeOAaTapwYz_M49L1VnORab6YTpwLCwmxVWB4gwKTMBTmZE4saFVHP8ucZaaSOGOKBWpswbI7pIUIor6tJZtCkG43ZSGvPP8k8R2tzhLBkAqnyiF7I2NPVowqOCrUhoTfTw5_Rp1bjqTvjRnTtPsbSQX6rOcZ6PLNv5kPzxHtubphb-8oLxSX0xoAjYbiUfoO-Gnf1qVOFFWTgyWFpk17LRz8h04unm1y8YKkpfjcQ2bRNL5Gmr4zX_eLNFtC-x2zlYTK7F84MnG0jRyjImNx0jLTSY0Ug2kBcjC9NtGcrVIgwMRo8mtAqJbl-t1oT9_g6iTDwGRm2XP9UklUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBTzsBP1TbO4yLR6cLGeWQ2ro5HzZzAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD4mRGDGmDi9qTaK0C1VvqM3Z09ZRygYqrV4phOqa2GNdfahu_bsZlimgC1O_Lx6hJwrIAXuIIv1B4BpMW4aOYUANoElTlzJM15ai4ijNhOYktD-Fu1wR6tgp8V9Leq_iSbNal00zg9ePy2McmeIsMUDUd4CW5jYRf8XjPjclj311ODC-7XxRexpD_XMQkp_l6rcl0pApBrzRVsqAYrNnZHgOa1174EzcdTgivQjSW3pcHnG_byS7heC4Sj8rCGmef456Oo7W81yYY23Tyg7uAfq3iJuOEdrmNNpDQDPEVmncEOYezS6m1DWB8mLoNORo_vpAR9MiyFBNUDF2YK9KQo&s=pk_M-zWTAVGe407Zd3NBjch4vtHslvCwOKTwpGI1IZ2zLn9EVF9WSK40JTUcvvLLmklAdLKj0Har0MFhNdCWIaFJYsX-qNfcPV4E6JSHPkR1dkrX450Jh8yHcJF5l8MnIY7QEObz-_RfX8_QEhhth3bksQK8fzk-XP_YJdd44LfqrTvU2RsZEwgrAxwWb7OB0eqTelFQDIy7t35NTL0XOpLsZ_5oBMuXJ4wds4eq0xSQhdshwHye2hrjjZwBdVhjjjvhsfub8o-UkZ9fsUplAQH4YBoKO04TA5rK5zG2LuV87ACgGbpqUaE_tUIMGgS6eXaaBLUrQj3h7HivxIr0VA&h=abg6MbCE3PfJz8CmK_kQw-lpC04XWg0QJ-XaL7xrXxw + Cache-Control: + - no-cache + Content-Length: + - '1325' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:15:49 GMT + ETag: + - '"04006326-0000-3400-0000-65c696050000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=766c5affa0c5fdaf613caffb8d67cfec97b2147d28b8ee85da8124fa61b8fb2e;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus2euap.trafficmanager.net + - ARRAffinitySameSite=766c5affa0c5fdaf613caffb8d67cfec97b2147d28b8ee85da8124fa61b8fb2e;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus2euap.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 0D9F7E1447CB48EF824F4E118A793FAA Ref B: BN1AA2051014051 Ref C: 2024-02-09T21:15:48Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - 2113960a-c89c-40b4-a4bb-38fd95acd5a9 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '19999' + x-ms-request-id: + - ffc6ce32-433b-4387-a4bb-ed3c5a4f7b4d + x-ms-routing-request-id: + - EASTUS2:20240209T211549Z:2113960a-c89c-40b4-a4bb-38fd95acd5a9 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 662cb405-c790-11ee-b442-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/894t3%E4%B8%A1%E4%BD%A312t?api-version=2024-03-01-preview + response: + body: + string: "{\"id\":\"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/894t3\u4E21\u4F6312t\",\"name\":\"894t3\u4E21\u4F6312t\",\"type\":\"microsoft.azurearcdata/sqlserverinstances/databases\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"aagonzalez@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-02-09T21:15:49.3004679Z\",\"lastModifiedBy\":\"aagonzalez@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-02-09T21:15:49.3004679Z\"},\"properties\":{\"collationName\":\"SQL_Latin1_General_CP1_CI_AS\",\"databaseCreationDate\":null,\"compatibilityLevel\":160,\"sizeMB\":8.0,\"spaceAvailableMB\":2.5,\"state\":\"Online\",\"isReadOnly\":false,\"recoveryMode\":\"Full\",\"databaseOptions\":{\"isAutoCloseOn\":false,\"isAutoShrinkOn\":false,\"isAutoCreateStatsOn\":true,\"isAutoUpdateStatsOn\":true,\"isRemoteDataArchiveEnabled\":null,\"isMemoryOptimizationEnabled\":true,\"isEncrypted\":false,\"isTrustworthyOn\":false},\"backupInformation\":null,\"backupPolicy\":{\"retentionPeriodDays\":7,\"fullBackupDays\":7,\"differentialBackupHours\":12,\"transactionLogBackupMinutes\":5},\"earliestRestoreDate\":null,\"createMode\":\"restorePointInTime\",\"sourceDatabaseId\":\"MyDatabase\",\"restorePointInTime\":\"2024-02-09T21:11:26Z\",\"provisioningState\":\"ConnectingToAgent\",\"lastDatabaseUploadTime\":null}}" + headers: + Cache-Control: + - no-cache + Content-Length: + - '1334' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:15:50 GMT + ETag: + - '"04006426-0000-3400-0000-65c696060000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: B72DF7C9F4274CC3857D741793EBB805 Ref B: BN1AA2051014051 Ref C: 2024-02-09T21:15:49Z' + x-ms-correlation-request-id: + - f1234045-40ab-4677-aaa1-ec76e409294e + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - 15a8ddee-50bb-49ab-a1ec-8357000851b5 + x-ms-routing-request-id: + - EASTUS2:20240209T211550Z:f1234045-40ab-4677-aaa1-ec76e409294e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 6a367ea9-c790-11ee-837d-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/894t3%E4%B8%A1%E4%BD%A312t?api-version=2024-03-01-preview + response: + body: + string: "{\"id\":\"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/894t3\u4E21\u4F6312t\",\"name\":\"894t3\u4E21\u4F6312t\",\"type\":\"microsoft.azurearcdata/sqlserverinstances/databases\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"aagonzalez@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-02-09T21:15:49.3004679Z\",\"lastModifiedBy\":\"aagonzalez@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-02-09T21:15:49.3004679Z\"},\"properties\":{\"collationName\":\"SQL_Latin1_General_CP1_CI_AS\",\"databaseCreationDate\":null,\"compatibilityLevel\":160,\"sizeMB\":8.0,\"spaceAvailableMB\":2.5,\"state\":\"Online\",\"isReadOnly\":false,\"recoveryMode\":\"Full\",\"databaseOptions\":{\"isAutoCloseOn\":false,\"isAutoShrinkOn\":false,\"isAutoCreateStatsOn\":true,\"isAutoUpdateStatsOn\":true,\"isRemoteDataArchiveEnabled\":null,\"isMemoryOptimizationEnabled\":true,\"isEncrypted\":false,\"isTrustworthyOn\":false},\"backupInformation\":null,\"backupPolicy\":{\"retentionPeriodDays\":7,\"fullBackupDays\":7,\"differentialBackupHours\":12,\"transactionLogBackupMinutes\":5},\"earliestRestoreDate\":null,\"createMode\":\"restorePointInTime\",\"sourceDatabaseId\":\"MyDatabase\",\"restorePointInTime\":\"2024-02-09T21:11:26Z\",\"provisioningState\":\"Processing\",\"lastDatabaseUploadTime\":null}}" + headers: + Cache-Control: + - no-cache + Content-Length: + - '1327' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 21:15:56 GMT + ETag: + - '"04006a26-0000-3400-0000-65c6960a0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 248C70D8C312496C977EFEA38CBB075E Ref B: BN1AA2051014051 Ref C: 2024-02-09T21:15:56Z' + x-ms-correlation-request-id: + - 0b1843a5-c943-447b-9068-54e71179e295 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - e3cc65c3-3765-4a8b-b7e9-e821e70e075e + x-ms-routing-request-id: + - EASTUS2:20240209T211556Z:0b1843a5-c943-447b-9068-54e71179e295 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_invalid_inputs[MyDatabase-LAPTOP-OIUS4TO4-lawynn-LTRHdack-rg-7-7-12-5-False-Could not find resource group].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_invalid_inputs[MyDatabase-LAPTOP-OIUS4TO4-lawynn-LTRHdack-rg-7-7-12-5-False-Could not find resource group].yaml new file mode 100644 index 00000000000..487585d79e6 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_invalid_inputs[MyDatabase-LAPTOP-OIUS4TO4-lawynn-LTRHdack-rg-7-7-12-5-False-Could not find resource group].yaml @@ -0,0 +1,55 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - c65f9aa6-c77f-11ee-87e6-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-LTRHdack-rg/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4?api-version=2024-03-01-preview + response: + body: + string: '{"error": {"code": "ResourceGroupNotFound", "message": "Resource group + ''lawynn-LTRHdack-rg'' could not be found."}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '110' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:16:49 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 10DEE95C4A394BECBBBE6419FEF68CE3 Ref B: BN1AA2051012023 Ref C: 2024-02-09T19:16:50Z' + x-ms-correlation-request-id: + - 8a36d484-9f56-40ba-aab9-9007d6456ae6 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 8a36d484-9f56-40ba-aab9-9007d6456ae6 + x-ms-routing-request-id: + - EASTUS:20240209T191650Z:8a36d484-9f56-40ba-aab9-9007d6456ae6 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_invalid_inputs[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8Upgrade-60-7-12-5-False-Value Error b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_invalid_inputs[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8Upgrade-60-7-12-5-False-Value Error new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_invalid_inputs[MyDatabase-LAPTOP-OIUS4TO4asd-lawynn-dotnet8Upgrade-10-7-12-5-False-Could not find Sql Server instance].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_invalid_inputs[MyDatabase-LAPTOP-OIUS4TO4asd-lawynn-dotnet8Upgrade-10-7-12-5-False-Could not find Sql Server instance].yaml new file mode 100644 index 00000000000..1900136a95b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_invalid_inputs[MyDatabase-LAPTOP-OIUS4TO4asd-lawynn-dotnet8Upgrade-10-7-12-5-False-Could not find Sql Server instance].yaml @@ -0,0 +1,56 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - c6a967dc-c77f-11ee-a796-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4asd + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/LAPTOP-OIUS4TO4asd'' + under resource group ''lawynn-dotnet8Upgrade'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '253' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:16:49 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 22456F7A8AE142D9BFF89FDDE27282C2 Ref B: BN1AA2051015009 Ref C: 2024-02-09T19:16:50Z' + x-ms-correlation-request-id: + - bde43216-da76-48d7-97c7-38bb1d1161ca + x-ms-failure-cause: + - gateway + x-ms-request-id: + - bde43216-da76-48d7-97c7-38bb1d1161ca + x-ms-routing-request-id: + - EASTUS:20240209T191650Z:bde43216-da76-48d7-97c7-38bb1d1161ca + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_invalid_inputs[MyDatabaseash-LAPTOP-OIUS4TO4-lawynn-dotnet8Upgrade-10-7-12-5-False-Could not find a database called].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_invalid_inputs[MyDatabaseash-LAPTOP-OIUS4TO4-lawynn-dotnet8Upgrade-10-7-12-5-False-Could not find a database called].yaml new file mode 100644 index 00000000000..d661d010542 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_invalid_inputs[MyDatabaseash-LAPTOP-OIUS4TO4-lawynn-dotnet8Upgrade-10-7-12-5-False-Could not find a database called].yaml @@ -0,0 +1,113 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - f8c80c94-c77f-11ee-9bc2-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4 + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4","name":"LAPTOP-OIUS4TO4","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:32.5401341Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T19:07:07.585729Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4","createTime":null,"vCore":"12","cores":null,"status":"Connected","patchLevel":"16.0.1110.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-09T18:53:29.8649486Z","lastUsageUploadTime":"2024-02-09T16:16:09.7522786Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1437' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:18:14 GMT + ETag: + - '"03002919-0000-3400-0000-65c677e90000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 550818BB8E8348F0B67193CABFA60AF4 Ref B: BN1AA2051012029 Ref C: 2024-02-09T19:18:14Z' + x-ms-correlation-request-id: + - 41c61d12-5f28-4fd1-8e6e-940b746f8e17 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 5ac72090-bcb5-46ff-b0f7-6fc9d75871f4 + x-ms-routing-request-id: + - EASTUS:20240209T191814Z:41c61d12-5f28-4fd1-8e6e-940b746f8e17 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - f9101eb8-c77f-11ee-b912-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabaseash + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/LAPTOP-OIUS4TO4/Databases/MyDatabaseash'' + under resource group ''lawynn-dotnet8Upgrade'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '274' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:18:14 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 15D3B26914264A1CA8009D7A2DC33426 Ref B: BN1AA2051012029 Ref C: 2024-02-09T19:18:14Z' + x-ms-correlation-request-id: + - f1db1284-a806-4a63-be85-b39483a99096 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - f1db1284-a806-4a63-be85-b39483a99096 + x-ms-routing-request-id: + - EASTUS:20240209T191815Z:f1db1284-a806-4a63-be85-b39483a99096 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_invalid_license[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8Upgrade-10-7-12-5-not a valid license].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_invalid_license[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8Upgrade-10-7-12-5-not a valid license].yaml new file mode 100644 index 00000000000..d3d0c637086 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_invalid_license[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8Upgrade-10-7-12-5-not a valid license].yaml @@ -0,0 +1,180 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - ba009547-c781-11ee-9eb7-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4 + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4","name":"LAPTOP-OIUS4TO4","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:32.5401341Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T19:30:27.2063338Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4","createTime":null,"vCore":"12","cores":null,"status":"Connected","patchLevel":"16.0.1110.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-09T19:30:22.7988068Z","lastUsageUploadTime":"2024-02-09T19:21:31.7416216Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1457' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:30:48 GMT + ETag: + - '"03008d26-0000-3400-0000-65c67d530000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: A859D507501449EF99CAEFECDEC8FA87 Ref B: BN1AA2051012025 Ref C: 2024-02-09T19:30:48Z' + x-ms-correlation-request-id: + - 6bc37de2-b8cd-415f-924f-f1fcc4ee4574 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - e3b7acea-99a0-48e7-9d60-a3b9a9baa11f + x-ms-routing-request-id: + - EASTUS:20240209T193048Z:6bc37de2-b8cd-415f-924f-f1fcc4ee4574 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - ba3841d9-c781-11ee-853d-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase","name":"MyDatabase","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:41.2876869Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T19:29:33.846206Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2023-12-05T22:22:05Z","compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5625,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-02T15:32:32Z","lastLogBackup":"2024-02-07T19:18:43Z"},"provisioningState":"Succeeded","lastDatabaseUploadTime":"2024-02-09T19:29:30.0279662Z"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1186' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:30:48 GMT + ETag: + - '"03000ad5-0000-3400-0000-65c67d1e0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 0362DBAC20224DCC9BC7B66C10547733 Ref B: BN1AA2051012025 Ref C: 2024-02-09T19:30:48Z' + x-ms-correlation-request-id: + - 6a4073c3-1696-444c-9284-7a78d1e6553c + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - 8bfd98a0-b430-4928-905a-524489d27694 + x-ms-routing-request-id: + - EASTUS:20240209T193048Z:6a4073c3-1696-444c-9284-7a78d1e6553c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus2euap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"SqlManagement":{"IsEnabled":true},"LicenseType":"LicenseOnly","enableExtendedSecurityUpdates":false,"esuLastUpdatedTimestamp":"2024-02-02T18:48:37.571Z","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/09, 19:30:12.145; + uploadStatus : OK; uploadMessage : Upload succeeded.;;AutomaticBackups: Suspended;PurviewPlugin: + {};AzureActiveDirectoryPlugin: {\r\n \"MSSQLSERVER\": \"\"\r\n};DatabaseMonitorArcPlugin: + {\"State\":\"Running\"}, AutomaticBackups: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment: [], Assessment + Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}, + MigrationAssessmentPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PublicSettings, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"excludedSqlInstances\":{\"$type\":\"System.String[], + System.Private.CoreLib\",\"$values\":[]},\"azureAD\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.AADSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"externalPolicyBasedAuthorization\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PurviewSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"licenseType\":\"Undefined\",\"enableExtendedSecurityUpdates\":false,\"esuLastUpdatedTimestamp\":\"0001-01-01T00:00:00\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2823' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:30:48 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 05E7884343A44099890C244A10C7BB7C Ref B: BN1AA2051015039 Ref C: 2024-02-09T19:30:48Z' + x-ms-correlation-request-id: + - 6ae37788-bf84-43bc-b993-099985f19905 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 237511a4-abfc-43e4-bbc1-8ae56db47ef8 + x-ms-routing-request-id: + - NORTHCENTRALUS:20240209T193049Z:6ae37788-bf84-43bc-b993-099985f19905 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_successful_inputs[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8Upgrade-0-5-24-5].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_successful_inputs[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8Upgrade-0-5-24-5].yaml new file mode 100644 index 00000000000..ea92910cdc8 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_successful_inputs[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8Upgrade-0-5-24-5].yaml @@ -0,0 +1,255 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - ac5670c4-c77f-11ee-9459-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4","name":"LAPTOP-OIUS4TO4","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:32.5401341Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T19:07:07.585729Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4","createTime":null,"vCore":"12","cores":null,"status":"Connected","patchLevel":"16.0.1110.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-09T18:53:29.8649486Z","lastUsageUploadTime":"2024-02-09T16:16:09.7522786Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1437' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:16:06 GMT + ETag: + - '"03002919-0000-3400-0000-65c677e90000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 8BF45080F872460C8E57A877CE254C9A Ref B: BN1AA2051015019 Ref C: 2024-02-09T19:16:06Z' + x-ms-correlation-request-id: + - 38ff24cc-b394-4b06-a18f-800faa7be765 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 2bccf357-e857-4342-a444-1546b2d4bb29 + x-ms-routing-request-id: + - EASTUS:20240209T191606Z:38ff24cc-b394-4b06-a18f-800faa7be765 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - ac8985f1-c77f-11ee-af5c-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase","name":"MyDatabase","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:41.2876869Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T19:15:46.6484239Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2023-12-05T22:22:05Z","compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5625,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-02T15:32:32Z","lastLogBackup":"2024-02-07T19:18:43Z"},"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":24,"transactionLogBackupMinutes":5},"earliestRestoreDate":null,"createMode":null,"sourceDatabaseId":null,"restorePointInTime":null,"provisioningState":"Succeeded","lastDatabaseUploadTime":"2024-02-09T18:53:30.1116243Z"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1418' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:16:06 GMT + ETag: + - '"03007ecb-0000-3400-0000-65c679ec0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 876647C092114ED5A179DC83E5B4AA0D Ref B: BN1AA2051015019 Ref C: 2024-02-09T19:16:06Z' + x-ms-correlation-request-id: + - 72074f8e-8bca-450c-ae96-67ae7f604415 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - 3916eb28-dc9c-41aa-8124-113e249c0e83 + x-ms-routing-request-id: + - EASTUS:20240209T191606Z:72074f8e-8bca-450c-ae96-67ae7f604415 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus2euap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"SqlManagement":{"IsEnabled":true},"LicenseType":"PAYG","enableExtendedSecurityUpdates":false,"esuLastUpdatedTimestamp":"2024-02-02T18:48:37.571Z","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/09, 19:05:34.980; + uploadStatus : OK; uploadMessage : Upload succeeded.;;AutomaticBackups: Running;PurviewPlugin: + {};AzureActiveDirectoryPlugin: {\r\n \"MSSQLSERVER\": \"\"\r\n};DatabaseMonitorArcPlugin: + {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, AutomaticBackups: + {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"MSSQLSERVER\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":0,\"enabled\":false}]}}, + Purview plugin: [], Azure active directory configuration plugin: [], Assessment: + [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}, + MigrationAssessmentPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PublicSettings, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"excludedSqlInstances\":{\"$type\":\"System.String[], + System.Private.CoreLib\",\"$values\":[]},\"azureAD\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.AADSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"externalPolicyBasedAuthorization\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PurviewSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"licenseType\":\"Undefined\",\"enableExtendedSecurityUpdates\":false,\"esuLastUpdatedTimestamp\":\"0001-01-01T00:00:00\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '3103' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:16:07 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 9928D5C196284B069D36BB44FDE6B9F7 Ref B: BN1AA2051013035 Ref C: 2024-02-09T19:16:06Z' + x-ms-correlation-request-id: + - 6add9244-041c-438e-a61e-99642260c4c0 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 8b32a573-63f7-4328-aaf7-fa1ad8748220 + x-ms-routing-request-id: + - EASTUS:20240209T191607Z:6add9244-041c-438e-a61e-99642260c4c0 + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus2euap", "properties": {"collationName": "SQL_Latin1_General_CP1_CI_AS", + "databaseCreationDate": "2023-12-05T22:22:05.000Z", "compatibilityLevel": 160, + "sizeMB": 8.0, "spaceAvailableMB": 2.5625, "state": "Online", "isReadOnly": + false, "recoveryMode": "Full", "databaseOptions": {"isAutoCloseOn": false, "isAutoShrinkOn": + false, "isAutoCreateStatsOn": true, "isAutoUpdateStatsOn": true, "isMemoryOptimizationEnabled": + true, "isEncrypted": false, "isTrustworthyOn": false}, "backupInformation": + {"lastFullBackup": "2024-02-02T15:32:32.000Z", "lastLogBackup": "2024-02-07T19:18:43.000Z"}, + "backupPolicy": {"retentionPeriodDays": 0, "fullBackupDays": 5, "differentialBackupHours": + 24, "transactionLogBackupMinutes": 5}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '735' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - acdd707f-c77f-11ee-916f-d8bbc1c51c4b + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase","name":"MyDatabase","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:41.2876869Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T19:16:07.3398374Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2023-12-05T22:22:05Z","compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5625,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-02T15:32:32Z","lastLogBackup":"2024-02-07T19:18:43Z"},"backupPolicy":{"retentionPeriodDays":0,"fullBackupDays":5,"differentialBackupHours":24,"transactionLogBackupMinutes":5},"earliestRestoreDate":null,"createMode":null,"sourceDatabaseId":null,"restorePointInTime":null,"provisioningState":"Accepted","lastDatabaseUploadTime":"2024-02-09T18:53:30.1116243Z"}}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS2EUAP/operationStatuses/05e463f9-5ec4-4c47-b37e-e6bbeac56bc5*F0E175F1E43A3730A533071506AB4D84C3B2B569C675BAABF65F897CAE9D671E?api-version=2024-02-01-preview&t=638431029678554777&c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYMYYup1R1RZPIwVtk7z89JkrsDK8coPmULAovQOy3jgtdJ-z5oyCO28-zQ4LRHmuyeq1ROWdQR5e828FYihyBqnnQQea3EcS6CFfXpYes-7NPXy73E_P3goJLJU7bfuZ4iDPGZxXIIjo6_Uex0eX_AuBJeq8ZFcmNy3x0loDHkDww9lMprf49PmIZJEAshTnLBtfT3BC7JAuTTl2duIcC6YRT8vITdFw1HxFqywnOqD35zttD8vp0XowEP4ksBLfhJWduspxICp4Yu2ouSlh-T4GmsjQaTjrzZpw29eEj3gUyzTfkDY-WEGsEujkl9a9FCX1_AvT-9Eqmd7uYqV6kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBTDXVhSVDy9FvMjLTrSyU7UjKUXqzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHyzMCBJbTmiP_gOh98fZltsl9jQdlB-g_OYCr82viu1SgLxte7Za3Vtb3XRCTquz_JfY_4eQJpUy0p6F37f0oaTQkBvUF7HDDvkm49rmKF4nDFjPGNEqm53KbVEak46WTgD9fGZLQH1XouZGRe0LxQVIWm-K-MYMbrDWF_njKsIaV5Z4VxgFVaX5SlzHvr6coDX5oXwwksEsw8E8g0LfZCpfT5mCwgDPrDv2Ekk26koWUYlmJWgkky22R538qwuJmE6F33YwWStmUGfZfFDyjek8Rd_KyuEuC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE&s=LqIVCn0x3FRPOPYhk9LVKDV1ITGkJRKYOPVhTGwT7eBg6ieoneFIuHe6Z73nk6ZYcvK3EbO53RqSerHGDzY5I-P_PXW9eYSK2Lm7GnqXU3FQVj1XMwFqsFqxVD8ySsTJeoBv4GMhtENq9Lv0xkrjvKWUF46hrzBKXfircLksb_YK_sD00mTSYmX087TakxH-_7E7pxRdCjNGm68Y92Prv-PamerxsZsi2qg1R4GvgDv8aIHOOWs5CMSC8UEBEC1qVHRn2BXwTFTIe068sqLiNeDfGL31tyHKogwoXN34hCshDKb7aQ8UNKq8a6s8alrpuhB-W65lAr0UPkWoNksEEg&h=T1CqHDLdoz3D4DdHAIcYu2Gba7HtH1qpDgAqtzBtRtw + Cache-Control: + - no-cache + Content-Length: + - '1417' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:16:07 GMT + ETag: + - '"0300a0cb-0000-3400-0000-65c679f70000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=766c5affa0c5fdaf613caffb8d67cfec97b2147d28b8ee85da8124fa61b8fb2e;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus2euap.trafficmanager.net + - ARRAffinitySameSite=766c5affa0c5fdaf613caffb8d67cfec97b2147d28b8ee85da8124fa61b8fb2e;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus2euap.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: B3631C99DCD2470D8B468DB65F555216 Ref B: BN1AA2051015019 Ref C: 2024-02-09T19:16:07Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - 32703b77-6596-4c01-9761-ff7dd4207cb5 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '19999' + x-ms-request-id: + - 05e463f9-5ec4-4c47-b37e-e6bbeac56bc5 + x-ms-routing-request-id: + - EASTUS:20240209T191607Z:32703b77-6596-4c01-9761-ff7dd4207cb5 + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_successful_inputs[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8Upgrade-7-7-12-5].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_successful_inputs[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8Upgrade-7-7-12-5].yaml new file mode 100644 index 00000000000..233c702d586 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_successful_inputs[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8Upgrade-7-7-12-5].yaml @@ -0,0 +1,255 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - b7867c42-c77f-11ee-a34c-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4","name":"LAPTOP-OIUS4TO4","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:32.5401341Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T19:07:07.585729Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4","createTime":null,"vCore":"12","cores":null,"status":"Connected","patchLevel":"16.0.1110.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-09T18:53:29.8649486Z","lastUsageUploadTime":"2024-02-09T16:16:09.7522786Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1437' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:16:24 GMT + ETag: + - '"03002919-0000-3400-0000-65c677e90000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: E531E088BBDE468298E79E9263EFCC7A Ref B: BN1AA2051013039 Ref C: 2024-02-09T19:16:25Z' + x-ms-correlation-request-id: + - ce474889-26bf-4973-9371-729a7974a132 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 6b51d6f4-77c2-498c-bea2-6e8ae9fca398 + x-ms-routing-request-id: + - EASTUS:20240209T191625Z:ce474889-26bf-4973-9371-729a7974a132 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - b7bc0327-c77f-11ee-a615-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase","name":"MyDatabase","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:41.2876869Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T19:16:07.3398374Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2023-12-05T22:22:05Z","compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5625,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-02T15:32:32Z","lastLogBackup":"2024-02-07T19:18:43Z"},"backupPolicy":{"retentionPeriodDays":0,"fullBackupDays":5,"differentialBackupHours":24,"transactionLogBackupMinutes":5},"earliestRestoreDate":null,"createMode":null,"sourceDatabaseId":null,"restorePointInTime":null,"provisioningState":"Succeeded","lastDatabaseUploadTime":"2024-02-09T18:53:30.1116243Z"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1418' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:16:24 GMT + ETag: + - '"0300b2cb-0000-3400-0000-65c679fd0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 9402F07B9DF94308A615596711ECCAA6 Ref B: BN1AA2051013039 Ref C: 2024-02-09T19:16:25Z' + x-ms-correlation-request-id: + - 444e2df9-53cf-467e-a903-d0058f6fcfe9 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - 22fe856a-e1c6-45ca-89bf-0e4518dc17ca + x-ms-routing-request-id: + - EASTUS:20240209T191625Z:444e2df9-53cf-467e-a903-d0058f6fcfe9 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus2euap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"SqlManagement":{"IsEnabled":true},"LicenseType":"PAYG","enableExtendedSecurityUpdates":false,"esuLastUpdatedTimestamp":"2024-02-02T18:48:37.571Z","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/09, 19:05:34.980; + uploadStatus : OK; uploadMessage : Upload succeeded.;;AutomaticBackups: Running;PurviewPlugin: + {};AzureActiveDirectoryPlugin: {\r\n \"MSSQLSERVER\": \"\"\r\n};DatabaseMonitorArcPlugin: + {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, AutomaticBackups: + {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"MSSQLSERVER\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":0,\"enabled\":false}]}}, + Purview plugin: [], Azure active directory configuration plugin: [], Assessment: + [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}, + MigrationAssessmentPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PublicSettings, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"excludedSqlInstances\":{\"$type\":\"System.String[], + System.Private.CoreLib\",\"$values\":[]},\"azureAD\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.AADSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"externalPolicyBasedAuthorization\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PurviewSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"licenseType\":\"Undefined\",\"enableExtendedSecurityUpdates\":false,\"esuLastUpdatedTimestamp\":\"0001-01-01T00:00:00\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '3103' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:16:25 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: F220E469AF704554B887E54F907CB84E Ref B: BN1AA2051013049 Ref C: 2024-02-09T19:16:25Z' + x-ms-correlation-request-id: + - f903ae83-7c68-41ef-9229-116a3bba8b74 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - da7ce5eb-4627-41e6-b6bc-739fe3f19726 + x-ms-routing-request-id: + - EASTUS:20240209T191626Z:f903ae83-7c68-41ef-9229-116a3bba8b74 + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus2euap", "properties": {"collationName": "SQL_Latin1_General_CP1_CI_AS", + "databaseCreationDate": "2023-12-05T22:22:05.000Z", "compatibilityLevel": 160, + "sizeMB": 8.0, "spaceAvailableMB": 2.5625, "state": "Online", "isReadOnly": + false, "recoveryMode": "Full", "databaseOptions": {"isAutoCloseOn": false, "isAutoShrinkOn": + false, "isAutoCreateStatsOn": true, "isAutoUpdateStatsOn": true, "isMemoryOptimizationEnabled": + true, "isEncrypted": false, "isTrustworthyOn": false}, "backupInformation": + {"lastFullBackup": "2024-02-02T15:32:32.000Z", "lastLogBackup": "2024-02-07T19:18:43.000Z"}, + "backupPolicy": {"retentionPeriodDays": 7, "fullBackupDays": 7, "differentialBackupHours": + 12, "transactionLogBackupMinutes": 5}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '735' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - b844bdf7-c77f-11ee-af5f-d8bbc1c51c4b + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase","name":"MyDatabase","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:41.2876869Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T19:16:26.3874167Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2023-12-05T22:22:05Z","compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5625,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-02T15:32:32Z","lastLogBackup":"2024-02-07T19:18:43Z"},"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"earliestRestoreDate":null,"createMode":null,"sourceDatabaseId":null,"restorePointInTime":null,"provisioningState":"Accepted","lastDatabaseUploadTime":"2024-02-09T18:53:30.1116243Z"}}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS2EUAP/operationStatuses/33a1283e-f26d-4b8a-b8c7-e00d49c06f42*F0E175F1E43A3730A533071506AB4D84C3B2B569C675BAABF65F897CAE9D671E?api-version=2024-02-01-preview&t=638431029869499784&c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYMYYup1R1RZPIwVtk7z89JkrsDK8coPmULAovQOy3jgtdJ-z5oyCO28-zQ4LRHmuyeq1ROWdQR5e828FYihyBqnnQQea3EcS6CFfXpYes-7NPXy73E_P3goJLJU7bfuZ4iDPGZxXIIjo6_Uex0eX_AuBJeq8ZFcmNy3x0loDHkDww9lMprf49PmIZJEAshTnLBtfT3BC7JAuTTl2duIcC6YRT8vITdFw1HxFqywnOqD35zttD8vp0XowEP4ksBLfhJWduspxICp4Yu2ouSlh-T4GmsjQaTjrzZpw29eEj3gUyzTfkDY-WEGsEujkl9a9FCX1_AvT-9Eqmd7uYqV6kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBTDXVhSVDy9FvMjLTrSyU7UjKUXqzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHyzMCBJbTmiP_gOh98fZltsl9jQdlB-g_OYCr82viu1SgLxte7Za3Vtb3XRCTquz_JfY_4eQJpUy0p6F37f0oaTQkBvUF7HDDvkm49rmKF4nDFjPGNEqm53KbVEak46WTgD9fGZLQH1XouZGRe0LxQVIWm-K-MYMbrDWF_njKsIaV5Z4VxgFVaX5SlzHvr6coDX5oXwwksEsw8E8g0LfZCpfT5mCwgDPrDv2Ekk26koWUYlmJWgkky22R538qwuJmE6F33YwWStmUGfZfFDyjek8Rd_KyuEuC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE&s=gMrOofw1-aryreM_hOXmO1qHq8UAcRWqlTLr43cm2Q135l_7cKAGnmKTdj_i2_XrPHvsJgla-ZX4tLiKvGoGrRcNjxoI6SadVV16E_R1nQUf9VTToAVmGU3y1fkC_kE4zEYHvrY-xBTZw4ZNpeyQcMuADkU3Rx0Cl3Yk7yO-j-qfepc8_M7E80Sy-Ty2_Yd9lSoAewNfU9K77NeXh_q6fa9rZE1xR7IXj2xHHzNbdwi7U1y5DABdszERrI2oVYPnusBN8V1Z9esGf5tIjYicXmV_pT6GzYoF8Octs9DacUcu3oUCSbt7fq9TKXbuQgnp4MYEGhPK7dclUB3n_AHPpw&h=9Y1Bu13m97jny99eFjwq9k-IhoqBhLmHiEvcezTjLXM + Cache-Control: + - no-cache + Content-Length: + - '1417' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:16:26 GMT + ETag: + - '"0300d4cb-0000-3400-0000-65c67a0a0000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=766c5affa0c5fdaf613caffb8d67cfec97b2147d28b8ee85da8124fa61b8fb2e;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus2euap.trafficmanager.net + - ARRAffinitySameSite=766c5affa0c5fdaf613caffb8d67cfec97b2147d28b8ee85da8124fa61b8fb2e;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus2euap.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 595BF09FBC534683AFCC549234A2FA37 Ref B: BN1AA2051013039 Ref C: 2024-02-09T19:16:26Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - ef2bf8dc-20d7-4b97-a37a-3929ca37c32d + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '19999' + x-ms-request-id: + - 33a1283e-f26d-4b8a-b8c7-e00d49c06f42 + x-ms-routing-request-id: + - EASTUS:20240209T191626Z:ef2bf8dc-20d7-4b97-a37a-3929ca37c32d + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_successful_inputs_default_policy[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8Upgrade].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_successful_inputs_default_policy[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8Upgrade].yaml new file mode 100644 index 00000000000..2a8f582c64a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_set.test_successful_inputs_default_policy[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8Upgrade].yaml @@ -0,0 +1,255 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 9fcffb78-c77f-11ee-a149-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4","name":"LAPTOP-OIUS4TO4","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:32.5401341Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T19:07:07.585729Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4","createTime":null,"vCore":"12","cores":null,"status":"Connected","patchLevel":"16.0.1110.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-09T18:53:29.8649486Z","lastUsageUploadTime":"2024-02-09T16:16:09.7522786Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1437' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:15:45 GMT + ETag: + - '"03002919-0000-3400-0000-65c677e90000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 2BE58781C5A143AF94D5B9694926C78E Ref B: BN1AA2051014029 Ref C: 2024-02-09T19:15:45Z' + x-ms-correlation-request-id: + - 5e9d2961-bf1f-4c7d-9698-eb6e3541ec35 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 1d0ba4d2-78c7-4acc-9902-02553b6683c4 + x-ms-routing-request-id: + - EASTUS:20240209T191545Z:5e9d2961-bf1f-4c7d-9698-eb6e3541ec35 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - a00be552-c77f-11ee-9d6a-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase","name":"MyDatabase","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:41.2876869Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T19:14:14.1423606Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2023-12-05T22:22:05Z","compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5625,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-02T15:32:32Z","lastLogBackup":"2024-02-07T19:18:43Z"},"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":24,"transactionLogBackupMinutes":5},"earliestRestoreDate":null,"createMode":null,"sourceDatabaseId":null,"restorePointInTime":null,"provisioningState":"Succeeded","lastDatabaseUploadTime":"2024-02-09T18:53:30.1116243Z"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1418' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:15:45 GMT + ETag: + - '"030066ca-0000-3400-0000-65c679910000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 8E4BCD8FF6A3403C91056CC8D4665ACC Ref B: BN1AA2051014029 Ref C: 2024-02-09T19:15:45Z' + x-ms-correlation-request-id: + - a032f658-7642-4d2b-b0f4-3079f1627092 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - 76f241eb-cd5c-4678-93d5-ea5e441e5c61 + x-ms-routing-request-id: + - EASTUS:20240209T191545Z:a032f658-7642-4d2b-b0f4-3079f1627092 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus2euap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"SqlManagement":{"IsEnabled":true},"LicenseType":"PAYG","enableExtendedSecurityUpdates":false,"esuLastUpdatedTimestamp":"2024-02-02T18:48:37.571Z","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/09, 19:05:34.980; + uploadStatus : OK; uploadMessage : Upload succeeded.;;AutomaticBackups: Running;PurviewPlugin: + {};AzureActiveDirectoryPlugin: {\r\n \"MSSQLSERVER\": \"\"\r\n};DatabaseMonitorArcPlugin: + {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, AutomaticBackups: + {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"MSSQLSERVER\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":0,\"enabled\":false}]}}, + Purview plugin: [], Azure active directory configuration plugin: [], Assessment: + [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}, + MigrationAssessmentPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PublicSettings, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"excludedSqlInstances\":{\"$type\":\"System.String[], + System.Private.CoreLib\",\"$values\":[]},\"azureAD\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.AADSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"externalPolicyBasedAuthorization\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PurviewSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"licenseType\":\"Undefined\",\"enableExtendedSecurityUpdates\":false,\"esuLastUpdatedTimestamp\":\"0001-01-01T00:00:00\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '3103' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:15:45 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 38FBD1AB73CE4509BCBB879F23B2A5EB Ref B: BN1AA2051013009 Ref C: 2024-02-09T19:15:45Z' + x-ms-correlation-request-id: + - 10deac2e-fec4-422e-bfbe-c6763eaa2841 + x-ms-ratelimit-remaining-subscription-reads: + - '11998' + x-ms-request-id: + - 264897f9-2095-45e7-8c43-14d01966a8a0 + x-ms-routing-request-id: + - EASTUS2:20240209T191546Z:10deac2e-fec4-422e-bfbe-c6763eaa2841 + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus2euap", "properties": {"collationName": "SQL_Latin1_General_CP1_CI_AS", + "databaseCreationDate": "2023-12-05T22:22:05.000Z", "compatibilityLevel": 160, + "sizeMB": 8.0, "spaceAvailableMB": 2.5625, "state": "Online", "isReadOnly": + false, "recoveryMode": "Full", "databaseOptions": {"isAutoCloseOn": false, "isAutoShrinkOn": + false, "isAutoCreateStatsOn": true, "isAutoUpdateStatsOn": true, "isMemoryOptimizationEnabled": + true, "isEncrypted": false, "isTrustworthyOn": false}, "backupInformation": + {"lastFullBackup": "2024-02-02T15:32:32.000Z", "lastLogBackup": "2024-02-07T19:18:43.000Z"}, + "backupPolicy": {"retentionPeriodDays": 7, "fullBackupDays": 7, "differentialBackupHours": + 24, "transactionLogBackupMinutes": 5}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '735' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - a0964973-c77f-11ee-94f1-d8bbc1c51c4b + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase","name":"MyDatabase","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:41.2876869Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T19:15:46.6484239Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2023-12-05T22:22:05Z","compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5625,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-02T15:32:32Z","lastLogBackup":"2024-02-07T19:18:43Z"},"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":24,"transactionLogBackupMinutes":5},"earliestRestoreDate":null,"createMode":null,"sourceDatabaseId":null,"restorePointInTime":null,"provisioningState":"Accepted","lastDatabaseUploadTime":"2024-02-09T18:53:30.1116243Z"}}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS2EUAP/operationStatuses/f852f962-f1f5-4f0f-be34-866406f421ac*F0E175F1E43A3730A533071506AB4D84C3B2B569C675BAABF65F897CAE9D671E?api-version=2024-02-01-preview&t=638431029476484458&c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYMYYup1R1RZPIwVtk7z89JkrsDK8coPmULAovQOy3jgtdJ-z5oyCO28-zQ4LRHmuyeq1ROWdQR5e828FYihyBqnnQQea3EcS6CFfXpYes-7NPXy73E_P3goJLJU7bfuZ4iDPGZxXIIjo6_Uex0eX_AuBJeq8ZFcmNy3x0loDHkDww9lMprf49PmIZJEAshTnLBtfT3BC7JAuTTl2duIcC6YRT8vITdFw1HxFqywnOqD35zttD8vp0XowEP4ksBLfhJWduspxICp4Yu2ouSlh-T4GmsjQaTjrzZpw29eEj3gUyzTfkDY-WEGsEujkl9a9FCX1_AvT-9Eqmd7uYqV6kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBTDXVhSVDy9FvMjLTrSyU7UjKUXqzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHyzMCBJbTmiP_gOh98fZltsl9jQdlB-g_OYCr82viu1SgLxte7Za3Vtb3XRCTquz_JfY_4eQJpUy0p6F37f0oaTQkBvUF7HDDvkm49rmKF4nDFjPGNEqm53KbVEak46WTgD9fGZLQH1XouZGRe0LxQVIWm-K-MYMbrDWF_njKsIaV5Z4VxgFVaX5SlzHvr6coDX5oXwwksEsw8E8g0LfZCpfT5mCwgDPrDv2Ekk26koWUYlmJWgkky22R538qwuJmE6F33YwWStmUGfZfFDyjek8Rd_KyuEuC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE&s=VGgU54t-Oiea_XyD_nKY68snT9UkY41ikxObd0O2t1aSiSo0REG8SsMShb14WO2B91eBpx1Xhcx61DQxqo4YBwkqIBTUPR6ZKRa4qpSg-nLIQU5jgTuT5KpsgpKfvU0687wJfGx_n-s80qWn0CF64jyJX91YMtW9IlyhfBuCJEz6UJ5sNWIrAhtfu6leNECzesd3ZGfy8sLny_9lfID7WGdGceDfqZHuvm_JjCCOcdrw7e3m946MycrzWO4JYEsrQKL1ezFdEkYWoc40lXdBa4EMgTN_mj73n_H2Sdka2_QM4E7BhfFPRt6OmrL57QO0Avl9y011fa0jk80fNynehw&h=fqWDD2-n3eE11FvIxCpUd6eWS9Nn1o6emd2ZbSQOmlM + Cache-Control: + - no-cache + Content-Length: + - '1417' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:15:47 GMT + ETag: + - '"030068cb-0000-3400-0000-65c679e30000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=766c5affa0c5fdaf613caffb8d67cfec97b2147d28b8ee85da8124fa61b8fb2e;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus2euap.trafficmanager.net + - ARRAffinitySameSite=766c5affa0c5fdaf613caffb8d67cfec97b2147d28b8ee85da8124fa61b8fb2e;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus2euap.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: AD7B02C2857E4697A7A8914FD18B7E18 Ref B: BN1AA2051014029 Ref C: 2024-02-09T19:15:46Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - 52e99653-ccfc-4a9a-9205-897758eab57a + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '19999' + x-ms-request-id: + - f852f962-f1f5-4f0f-be34-866406f421ac + x-ms-routing-request-id: + - EASTUS:20240209T191547Z:52e99653-ccfc-4a9a-9205-897758eab57a + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_show.test_invalid_inputs[MyDatabase-LAPTOP-OIUS4TO4-aagonasdfzalasdez-easasdafyup].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_show.test_invalid_inputs[MyDatabase-LAPTOP-OIUS4TO4-aagonasdfzalasdez-easasdafyup].yaml new file mode 100644 index 00000000000..2d6a38eafb6 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_show.test_invalid_inputs[MyDatabase-LAPTOP-OIUS4TO4-aagonasdfzalasdez-easasdafyup].yaml @@ -0,0 +1,55 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 070d6cbb-c77f-11ee-ad43-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonasdfzalasdez-easasdafyup/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4 + response: + body: + string: '{"error": {"code": "ResourceGroupNotFound", "message": "Resource group + ''aagonasdfzalasdez-easasdafyup'' could not be found."}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '121' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:11:28 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 853CFB5B4E1C4E72A8BE6DF7D62ECF8F Ref B: BN1AA2051013029 Ref C: 2024-02-09T19:11:29Z' + x-ms-correlation-request-id: + - 245d45ad-6289-4b7a-bdad-b026d16cfb71 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 245d45ad-6289-4b7a-bdad-b026d16cfb71 + x-ms-routing-request-id: + - EASTUS:20240209T191129Z:245d45ad-6289-4b7a-bdad-b026d16cfb71 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_show.test_invalid_inputs[MyDatabase-LAPTOP-OIUS4TO4S-lawynn-dotnet8upgrade].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_show.test_invalid_inputs[MyDatabase-LAPTOP-OIUS4TO4S-lawynn-dotnet8upgrade].yaml new file mode 100644 index 00000000000..892357f7ec7 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_show.test_invalid_inputs[MyDatabase-LAPTOP-OIUS4TO4S-lawynn-dotnet8upgrade].yaml @@ -0,0 +1,56 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 03ab43b8-c77f-11ee-91b1-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4S?api-version=2023-03-01-preview + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/LAPTOP-OIUS4TO4S'' + under resource group ''lawynn-dotnet8upgrade'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '251' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:11:22 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: DBC35A3936EF415B8F1D17A44BB6AD6C Ref B: BN1AA2051012029 Ref C: 2024-02-09T19:11:23Z' + x-ms-correlation-request-id: + - 8c102dd4-82f8-4fc5-be60-046a05ed609c + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 8c102dd4-82f8-4fc5-be60-046a05ed609c + x-ms-routing-request-id: + - EASTUS:20240209T191123Z:8c102dd4-82f8-4fc5-be60-046a05ed609c + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_show.test_no_policy[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8upgrade].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_show.test_no_policy[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8upgrade].yaml new file mode 100644 index 00000000000..9657d8b5f39 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_show.test_no_policy[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8upgrade].yaml @@ -0,0 +1,181 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 3e0f06aa-c781-11ee-bf83-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4","name":"LAPTOP-OIUS4TO4","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:32.5401341Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T19:27:15.7687665Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4","createTime":null,"vCore":"12","cores":null,"status":"Connected","patchLevel":"16.0.1110.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-09T19:27:12.561232Z","lastUsageUploadTime":"2024-02-09T19:21:31.7416216Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1456' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:27:20 GMT + ETag: + - '"0300f824-0000-3400-0000-65c67c940000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 4863574538954A86BD813723CDB00DB6 Ref B: BN1AA2051012027 Ref C: 2024-02-09T19:27:20Z' + x-ms-correlation-request-id: + - 5704d059-c37a-49e5-ab02-dce1e5cea28c + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 13e5051c-2775-453a-a38a-3cc2b070b5ab + x-ms-routing-request-id: + - EASTUS:20240209T192720Z:5704d059-c37a-49e5-ab02-dce1e5cea28c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 3e5359c7-c781-11ee-9c34-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase","name":"MyDatabase","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:41.2876869Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T19:27:08.3654981Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2023-12-05T22:22:05Z","compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5625,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isRemoteDataArchiveEnabled":null,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-02T15:32:32Z","lastLogBackup":"2024-02-07T19:18:43Z"},"backupPolicy":null,"earliestRestoreDate":null,"createMode":null,"sourceDatabaseId":null,"restorePointInTime":null,"provisioningState":"ConnectingToAgent","lastDatabaseUploadTime":"2024-02-09T19:26:57.1109941Z"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1325' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:27:20 GMT + ETag: + - '"03005bd3-0000-3400-0000-65c67c8f0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 9D201BBB88F540AD976125CF2DDDD3B8 Ref B: BN1AA2051012027 Ref C: 2024-02-09T19:27:20Z' + x-ms-correlation-request-id: + - 89d6a364-b3b6-495b-ab6e-f44295b0a1e8 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - 77c1c2f5-191a-4d82-b0de-cf51c00b4a5a + x-ms-routing-request-id: + - EASTUS:20240209T192720Z:89d6a364-b3b6-495b-ab6e-f44295b0a1e8 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus2euap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"SqlManagement":{"IsEnabled":true},"LicenseType":"Paid","enableExtendedSecurityUpdates":false,"esuLastUpdatedTimestamp":"2024-02-02T18:48:37.571Z","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/09, 19:27:01.293; + uploadStatus : OK; uploadMessage : Upload succeeded.;;AutomaticBackups: Running;PurviewPlugin: + {};AzureActiveDirectoryPlugin: {\r\n \"MSSQLSERVER\": \"\"\r\n};DatabaseMonitorArcPlugin: + {\"State\":\"Running\"}, AutomaticBackups: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"LAPTOP-OIUS4TO4\",\"databaseName\":\"MyDatabase\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":7,\"enabled\":true}]}}, + Purview plugin: [], Azure active directory configuration plugin: [], Assessment: + [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}, + MigrationAssessmentPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PublicSettings, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"excludedSqlInstances\":{\"$type\":\"System.String[], + System.Private.CoreLib\",\"$values\":[]},\"azureAD\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.AADSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"externalPolicyBasedAuthorization\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PurviewSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"licenseType\":\"Undefined\",\"enableExtendedSecurityUpdates\":false,\"esuLastUpdatedTimestamp\":\"0001-01-01T00:00:00\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '3107' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:27:20 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 2ACF9CA3B139479F87DEB183B1A4D68F Ref B: BN1AA2051012033 Ref C: 2024-02-09T19:27:20Z' + x-ms-correlation-request-id: + - 8d6b0a22-b311-4cc8-9af0-a2436046a374 + x-ms-ratelimit-remaining-subscription-reads: + - '11993' + x-ms-request-id: + - 02a1143a-0e90-4c58-8369-8480fc11927c + x-ms-routing-request-id: + - EASTUS:20240209T192721Z:8d6b0a22-b311-4cc8-9af0-a2436046a374 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_show.test_successful_inputs[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8upgrade-24-7-5-7-LAPTOP-OIUS4TO4-MyDatabase].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_show.test_successful_inputs[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8upgrade-24-7-5-7-LAPTOP-OIUS4TO4-MyDatabase].yaml new file mode 100644 index 00000000000..093dfbbdaf5 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_show.test_successful_inputs[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8upgrade-24-7-5-7-LAPTOP-OIUS4TO4-MyDatabase].yaml @@ -0,0 +1,180 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 52c51823-c783-11ee-a1fc-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4?api-version=2023-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4","name":"LAPTOP-OIUS4TO4","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:32.5401341Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T19:41:59.6203318Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4","createTime":null,"vCore":"12","cores":null,"status":"Connected","patchLevel":"16.0.1110.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-09T19:41:56.3914483Z","lastUsageUploadTime":"2024-02-09T19:21:31.7416216Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1457' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:42:13 GMT + ETag: + - '"0300ef2c-0000-3400-0000-65c680080000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: D2500CCE34954A5D81274A7E98A1C99B Ref B: BN1AA2051014033 Ref C: 2024-02-09T19:42:14Z' + x-ms-correlation-request-id: + - b6a326fc-1476-42f0-a833-1519bb3f6e79 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99998' + x-ms-request-id: + - 3a8972a7-6662-4871-97a8-e582a1a7eaa5 + x-ms-routing-request-id: + - EASTUS:20240209T194214Z:b6a326fc-1476-42f0-a833-1519bb3f6e79 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 52fdacee-c783-11ee-863b-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase?api-version=2023-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase","name":"MyDatabase","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:41.2876869Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T19:42:00.0897656Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2023-12-05T22:22:05Z","compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5625,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-02T15:32:32Z","lastLogBackup":"2024-02-07T19:18:43Z"},"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":5,"differentialBackupHours":24,"transactionLogBackupMinutes":7},"provisioningState":"Succeeded","lastDatabaseUploadTime":"2024-02-09T19:41:56.8333628Z"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1308' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:42:14 GMT + ETag: + - '"0300cbdd-0000-3400-0000-65c680080000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 3708B0C129154B84B59A37F89A303954 Ref B: BN1AA2051014033 Ref C: 2024-02-09T19:42:14Z' + x-ms-correlation-request-id: + - adc3a482-e722-456a-8d9b-305de8df28ff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - c998892a-e56b-446e-a0d2-94dc361e6949 + x-ms-routing-request-id: + - EASTUS:20240209T194215Z:adc3a482-e722-456a-8d9b-305de8df28ff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus2euap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"SqlManagement":{"IsEnabled":true},"LicenseType":"Paid","enableExtendedSecurityUpdates":false,"esuLastUpdatedTimestamp":"2024-02-02T18:48:37.571Z","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/09, 19:37:00.663; + uploadStatus : OK; uploadMessage : Upload succeeded.;;AutomaticBackups: Running;PurviewPlugin: + {};AzureActiveDirectoryPlugin: {\r\n \"MSSQLSERVER\": \"\"\r\n};DatabaseMonitorArcPlugin: + {\"State\":\"Running\"}, AutomaticBackups: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment: [], Assessment + Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}, + MigrationAssessmentPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PublicSettings, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"excludedSqlInstances\":{\"$type\":\"System.String[], + System.Private.CoreLib\",\"$values\":[]},\"azureAD\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.AADSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"externalPolicyBasedAuthorization\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PurviewSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"licenseType\":\"Undefined\",\"enableExtendedSecurityUpdates\":false,\"esuLastUpdatedTimestamp\":\"0001-01-01T00:00:00\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2814' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:42:15 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 5CB5535128514BD39345DA8F98DC8948 Ref B: BN1AA2051012025 Ref C: 2024-02-09T19:42:15Z' + x-ms-correlation-request-id: + - bab11dcc-546d-4e26-9b58-50be1dfe2792 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - ac601173-cc8e-4d25-881f-0a21c068e889 + x-ms-routing-request-id: + - EASTUS:20240209T194215Z:bab11dcc-546d-4e26-9b58-50be1dfe2792 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_show.test_successful_inputs[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8upgrade-7-7-12-5-LAPTOP-OIUS4TO4-MyDatabase].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_show.test_successful_inputs[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8upgrade-7-7-12-5-LAPTOP-OIUS4TO4-MyDatabase].yaml new file mode 100644 index 00000000000..35d5f82cf45 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/cassettes/Tests_str_show.test_successful_inputs[MyDatabase-LAPTOP-OIUS4TO4-lawynn-dotnet8upgrade-7-7-12-5-LAPTOP-OIUS4TO4-MyDatabase].yaml @@ -0,0 +1,180 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 0b89b3e1-c784-11ee-83f4-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4","name":"LAPTOP-OIUS4TO4","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:32.5401341Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T19:46:34.5127205Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4","createTime":null,"vCore":"12","cores":null,"status":"Connected","patchLevel":"16.0.1110.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-09T19:46:31.38706Z","lastUsageUploadTime":"2024-02-09T19:21:31.7416216Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1455' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:47:23 GMT + ETag: + - '"0300e72f-0000-3400-0000-65c6811b0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: F6EBCDFBA97F4CB6988B809ED22E40EC Ref B: BN1AA2051012047 Ref C: 2024-02-09T19:47:24Z' + x-ms-correlation-request-id: + - 11dbdb7a-63d8-4f64-9704-a7151a191f62 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 49400c8f-fdc1-4cd6-a46f-1abeb4189c1a + x-ms-routing-request-id: + - EASTUS:20240209T194724Z:11dbdb7a-63d8-4f64-9704-a7151a191f62 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 0bc3e402-c784-11ee-b017-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.AzureArcData/sqlServerInstances/LAPTOP-OIUS4TO4/databases/MyDatabase","name":"MyDatabase","type":"microsoft.azurearcdata/sqlserverinstances/databases","location":"eastus2euap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-12-07T20:57:41.2876869Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T19:46:35.1493922Z"},"properties":{"collationName":"SQL_Latin1_General_CP1_CI_AS","databaseCreationDate":"2023-12-05T22:22:05Z","compatibilityLevel":160,"sizeMB":8.0,"spaceAvailableMB":2.5625,"state":"Online","isReadOnly":false,"recoveryMode":"Full","databaseOptions":{"isAutoCloseOn":false,"isAutoShrinkOn":false,"isAutoCreateStatsOn":true,"isAutoUpdateStatsOn":true,"isMemoryOptimizationEnabled":true,"isEncrypted":false,"isTrustworthyOn":false},"backupInformation":{"lastFullBackup":"2024-02-02T15:32:32Z","lastLogBackup":"2024-02-07T19:18:43Z"},"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"provisioningState":"Succeeded","lastDatabaseUploadTime":"2024-02-09T19:46:31.5905345Z"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1308' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:47:23 GMT + ETag: + - '"0300d8e1-0000-3400-0000-65c6811b0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: CAE0617EB86B4BDA80924BD6B1939CEB Ref B: BN1AA2051012047 Ref C: 2024-02-09T19:47:24Z' + x-ms-correlation-request-id: + - a3261a2e-c8d1-4de3-a75e-19d8ba60a483 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '199999' + x-ms-request-id: + - 6ad08a7d-aecb-43ca-be11-6e98457bb5be + x-ms-routing-request-id: + - EASTUS:20240209T194724Z:a3261a2e-c8d1-4de3-a75e-19d8ba60a483 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-dotnet8Upgrade/providers/Microsoft.HybridCompute/machines/LAPTOP-OIUS4TO4/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus2euap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"SqlManagement":{"IsEnabled":true},"LicenseType":"Paid","enableExtendedSecurityUpdates":false,"esuLastUpdatedTimestamp":"2024-02-02T18:48:37.571Z","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/09, 19:37:00.663; + uploadStatus : OK; uploadMessage : Upload succeeded.;;AutomaticBackups: Running;PurviewPlugin: + {};AzureActiveDirectoryPlugin: {\r\n \"MSSQLSERVER\": \"\"\r\n};DatabaseMonitorArcPlugin: + {\"State\":\"Running\"}, AutomaticBackups: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment: [], Assessment + Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}, + MigrationAssessmentPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PublicSettings, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"excludedSqlInstances\":{\"$type\":\"System.String[], + System.Private.CoreLib\",\"$values\":[]},\"azureAD\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.AADSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"externalPolicyBasedAuthorization\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PurviewSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"licenseType\":\"Undefined\",\"enableExtendedSecurityUpdates\":false,\"esuLastUpdatedTimestamp\":\"0001-01-01T00:00:00\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2814' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 19:47:24 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 60EEC4CF8FC54EF297E0FD87846399D0 Ref B: BN1AA2051012039 Ref C: 2024-02-09T19:47:24Z' + x-ms-correlation-request-id: + - 0db32515-935b-4651-a131-4d0e11dcfdb4 + x-ms-ratelimit-remaining-subscription-reads: + - '11997' + x-ms-request-id: + - a7ab460f-8c79-4564-ae84-ebf2f6d26ec6 + x-ms-routing-request-id: + - EASTUS:20240209T194724Z:0db32515-935b-4651-a131-4d0e11dcfdb4 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/test_backups_policy_delete.py b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/test_backups_policy_delete.py new file mode 100644 index 00000000000..ed867e5f65d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/test_backups_policy_delete.py @@ -0,0 +1,127 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import pytest +import os + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord + + +@pytest.mark.usefixtures("setup") +class Tests_backups_delete(object): # TODO CHANGE TO _backups_delete + @pytest.fixture + def setup(self): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "Placeholder001" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, server, resource_group, expected", + [ + ( + "test_backups", + "ArcBox-SQL", + "aagonzalez-CI-Test-mk6", + "There is no policy currently active on this Sql", + ), + # ( + # "test_backups2", + # "ArcBox-SQL/MSSQLSERVER01", + # "aagonzalez-CI-Test-mk6", + # "There is no policy currently active on this Sql", + # ), + ], + ) + def test_no_policy(self, name, server, resource_group, expected, az): + result = az( + "sql db-arc backups-policy delete", + name=name, + server=server, + resource_group=resource_group, + yes="", + ) + assert expected in result.out + assert result.exit_code == 0 + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, server, resource_group", + [ + ("test_backups", "ArcBox-SQLss", "aagonzalez-CI-Test-mk6"), + # ( + # "test_backups", + # "ArcBox-SQL/MSSQLSERVER01asd", + # "aagonzalez-CI-Test-mk6", + # ), + # ( + # "test_backups", + # "ArcBox-SQL_MSSQLSERVER01", + # "aagonzalez-CI-Test-mk6asd", + # ), + ("test_backupsdf", "ArcBox-SQL", "aagonzalez-CI-Test-mk6"), + ], + ) + def test_invalid_inputs(self, name, server, resource_group, az): + result = az( + "sql db-arc backups-policy delete", + name=name, + server=server, + resource_group=resource_group, + yes="", + ) + assert result.exit_code == 1 + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, server, resource_group", + [ + ( + "test_backups", + "ArcBox-SQL", + "aagonzalez-CI-Test-mk6", + ), + # ( + # "test_backups2", + # "ArcBox-SQL/MSSQLSERVER01", + # "aagonzalez-CI-Test-mk6", + # ), + ], + ) + def test_successful_inputs( + self, + name, + server, + resource_group, + az, + ): + result = az( + "sql db-arc backups-policy delete", + name=name, + server=server, + resource_group=resource_group, + yes="", + ) + assert result.exit_code == 0 + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, server, resource_group", + [ + ("test_backups", "ArcBox-SQL", "aagonzalez-CI-Test-mk6"), + ( + "test_backups", + "ArcBox-SQL/MSSQLSERVER01", + "aagonzalez-CI-Test-mk6", + ), + ], + ) + def test_invalid_licenses(self, name, server, resource_group, az): + result = az( + "sql db-arc backups-policy delete", + name=name, + server=server, + resource_group=resource_group, + yes="", + ) + assert result.exit_code == 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/test_backups_policy_set.py b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/test_backups_policy_set.py new file mode 100644 index 00000000000..39a5c2bb352 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/test_backups_policy_set.py @@ -0,0 +1,343 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import os +import time + +import pytest + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord + + +@pytest.mark.usefixtures("setup") +class Tests_str_set(object): + @pytest.fixture + def setup(self): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "Placeholder001" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name,server, resource_group,str_retention_days , backup_days, diff_hours, tlog_mins", + [ + ( + "MyDatabase", + "LAPTOP-OIUS4TO4", + "lawynn-dotnet8Upgrade", + 7, + 7, + 12, + 5, + ), + ( + "MyDatabase", + "LAPTOP-OIUS4TO4", + "lawynn-dotnet8Upgrade", + 0, + 5, + 24, + 5, + ), + ], + ) + def test_successful_inputs( + self, + name, + server, + resource_group, + str_retention_days, + backup_days, + diff_hours, + tlog_mins, + az, + ): + result = az( + "sql db-arc backups-policy set", + name=name, + server=server, + resource_group=resource_group, + retention_days=str_retention_days, + full_backup_days=backup_days, + diff_backup_hours=diff_hours, + tlog_backup_mins=tlog_mins, + ) + assert result.exit_code == 0 + assert "The policy has successfully been sent to the Sql" in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, server, resource_group", + [ + ("MyDatabase", "LAPTOP-OIUS4TO4", "lawynn-dotnet8Upgrade"), + ], + ) + def test_successful_inputs_default_policy( + self, + name, + server, + resource_group, + az, + ): + result = az( + "sql db-arc backups-policy set", + name=name, + server=server, + resource_group=resource_group, + default_policy="", + ) + assert result.exit_code == 0 + assert "The policy has successfully been sent to the Sql" in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, server, resource_group,str_retention_days , backup_days, diff_hours, tlog_mins, def_policy, expected", + [ + ( + "MyDatabase", + "LAPTOP-OIUS4TO4", + "lawynn-dotnet8Upgrade", + 60, + 7, + 12, + 5, + False, + "Value Error: 60 is an invalid value for argument", + ), + ( + "MyDatabase", + "LAPTOP-OIUS4TO4", + "lawynn-dotnet8Upgrade", + -7, + 7, + 12, + 5, + False, + "Value Error: -7 is an invalid value for argument", + ), + ( + "MyDatabase", + "LAPTOP-OIUS4TO4", + "lawynn-dotnet8Upgrade", + None, + 7, + None, + None, + True, + "You can either do --default-policy to use the default policy or setup a custom policy", + ), + ( + "MyDatabase", + "LAPTOP-OIUS4TO4", + "lawynn-dotnet8Upgrade", + None, + None, + 12, + None, + True, + "You can either do --default-policy to use the default policy or setup a custom policy", + ), + ( + "MyDatabase", + "LAPTOP-OIUS4TO4", + "lawynn-dotnet8Upgrade", + None, + None, + None, + 5, + True, + "You can either do --default-policy to use the default policy or setup a custom policy", + ), + ( + "MyDatabase", + "LAPTOP-OIUS4TO4", + "lawynn-dotnet8Upgrade", + 30, + None, + None, + None, + True, + "You can either do --default-policy to use the default policy or setup a custom policy", + ), + ( + "MyDatabase", + "LAPTOP-OIUS4TO4", + "lawynn-dotnet8Upgrade", + None, + 7, + 12, + 5, + False, + "Please enter all the following parameter(s): ", + ), + ( + "MyDatabase", + "LAPTOP-OIUS4TO4", + "lawynn-dotnet8Upgrade", + 30, + None, + 12, + 5, + False, + "Please enter all the following parameter(s): ", + ), + ( + "MyDatabase", + "LAPTOP-OIUS4TO4", + "lawynn-dotnet8Upgrade", + 30, + 7, + None, + 5, + False, + "Please enter all the following parameter(s): ", + ), + ( + "MyDatabase", + "LAPTOP-OIUS4TO4", + "lawynn-dotnet8Upgrade", + 30, + 7, + 12, + None, + False, + "Please enter all the following parameter(s): ", + ), + ( + "MyDatabase", + "LAPTOP-OIUS4TO4", + "lawynn-dotnet8Upgrade", + None, + None, + None, + None, + False, + "Please enter all the following parameter(s): ", + ), + ( + "MyDatabase", + "LAPTOP-OIUS4TO4", + "lawynn-dotnet8Upgrade", + 30, + None, + None, + None, + False, + "Please enter all the following parameter(s): ", + ), + ( + "MyDatabase", + "LAPTOP-OIUS4TO4", + "lawynn-LTRHdack-rg", + 7, + 7, + 12, + 5, + False, + "Could not find resource group", + ), + ( + "MyDatabase", + "LAPTOP-OIUS4TO4asd", + "lawynn-dotnet8Upgrade", + 10, + 7, + 12, + 5, + False, + "Could not find Sql Server instance", + ), + ( + "MyDatabaseash", + "LAPTOP-OIUS4TO4", + "lawynn-dotnet8Upgrade", + 10, + 7, + 12, + 5, + False, + "Could not find a database called", + ), + ], + ) + def test_invalid_inputs( + self, + name, + server, + resource_group, + str_retention_days, + backup_days, + diff_hours, + tlog_mins, + def_policy, + expected, + az, + ): + if def_policy: + result = az( + "sql db-arc backups-policy set", + name=name, + server=server, + resource_group=resource_group, + retention_days=str_retention_days, + full_backup_days=backup_days, + diff_backup_hours=diff_hours, + tlog_backup_mins=tlog_mins, + default_policy="", + expect_failure=True, + ) + else: + result = az( + "sql db-arc backups-policy set", + name=name, + server=server, + resource_group=resource_group, + retention_days=str_retention_days, + full_backup_days=backup_days, + diff_backup_hours=diff_hours, + tlog_backup_mins=tlog_mins, + expect_failure=True, + ) + assert result.exit_code == 1 or result.exit_code == 2 + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, server, resource_group, str_retention_days , backup_days, diff_hours, tlog_mins, expected", + [ + ( + "MyDatabase", + "LAPTOP-OIUS4TO4", + "lawynn-dotnet8Upgrade", + 10, + 7, + 12, + 5, + "not a valid license", + ) + ], + ) + def test_invalid_license( + self, + name, + server, + resource_group, + str_retention_days, + backup_days, + diff_hours, + tlog_mins, + expected, + az, + ): + result = az( + "sql db-arc backups-policy set", + name=name, + server=server, + resource_group=resource_group, + retention_days=str_retention_days, + full_backup_days=backup_days, + diff_backup_hours=diff_hours, + tlog_backup_mins=tlog_mins, + ) + assert result.exit_code == 1 + assert expected in str(result.err) diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/test_backups_policy_show.py b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/test_backups_policy_show.py new file mode 100644 index 00000000000..575d45c15a1 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/test_backups_policy_show.py @@ -0,0 +1,95 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import pytest +import os + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord + + +@pytest.mark.usefixtures("setup") +class Tests_str_show(object): + @pytest.fixture + def setup(self): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "Placeholder001" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name,server, resource_group", + [ + ("MyDatabase", "LAPTOP-OIUS4TO4", "lawynn-dotnet8upgrade"), + ], + ) + def test_no_policy(self, name, server, resource_group, az): + result = az( + "sql db-arc backups-policy show", + name=name, + server=server, + resource_group=resource_group, + ) + assert result.exit_code == 0 + assert "No backup policy" in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, server, resource_group", + [ + ("MyDatabase", "LAPTOP-OIUS4TO4S", "lawynn-dotnet8upgrade"), + ("MyDatabase", "LAPTOP-OIUS4TO4", "aagonasdfzalasdez-easasdafyup"), + ], + ) + def test_invalid_inputs(self, name, server, resource_group, az): + result = az( + "sql db-arc backups-policy show", + name=name, + server=server, + resource_group=resource_group, + ) + assert result.exit_code == 1 + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name,server, resource_group, retention_days, full_backup_days, diff_backup_hours, tlog_backup_mins, instance_name, database_name", + [ + ( + "MyDatabase", + "LAPTOP-OIUS4TO4", + "lawynn-dotnet8upgrade", + 7, + 7, + 12, + 5, + "LAPTOP-OIUS4TO4", + "MyDatabase", + ) + ], + ) + def test_successful_inputs( + self, + name, + server, + resource_group, + diff_backup_hours, + tlog_backup_mins, + full_backup_days, + retention_days, + instance_name, + database_name, + az, + ): + result = az( + "sql db-arc backups-policy show", + name=name, + server=server, + resource_group=resource_group, + ) + assert result.exit_code == 0 + res = eval(result.out) + assert diff_backup_hours == res["differentialBackupHours"] + assert tlog_backup_mins == res["transactionLogBackupMinutes"] + assert full_backup_days == res["fullBackupDays"] + assert retention_days == res["retentionPeriodDays"] + assert instance_name == res["instanceName"] + assert database_name == res["databaseName"] diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/test_restore.py b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/test_restore.py new file mode 100644 index 00000000000..26eba8a94c7 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/database/test_restore.py @@ -0,0 +1,252 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import os +import pytest + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord + + +# Due to Paramtization making cassettes with invalid names we had to switch from paramterized unit tests singular unit tests +@pytest.mark.usefixtures("setup") +class Tests_backups_set(object): + @pytest.fixture + def setup(self): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "Placeholder001" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_invalid_input_no_double_dash( + self, + az, + ): + self._invalid_test_helper( + "lawynn-dotnet8Upgrade", + "LAPTOP-OIUS4TO4", + "MyDatabase", + "両--佣1", + None, + 'The database name "両--佣1" is invalid.', + az, + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_invalid_input_no_slashes( + self, + az, + ): + self._invalid_test_helper( + "lawynn-dotnet8Upgrade", + "LAPTOP-OIUS4TO4", + "MyDatabase", + "This/is/Illegal1", + None, + 'The database name "This/is/Illegal1" is invalid.', + az, + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_invalid_input_no_random_unicode( + self, + az, + ): + self._invalid_test_helper( + "lawynn-dotnet8Upgrade", + "LAPTOP-OIUS4TO4", + "MyDatabase", + "NoEmojisAllowed😊1", + None, + 'The database name "NoEmojisAllowed😊1" is invalid.', + az, + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_invalid_inputs_no_resource_group_found( + self, + az, + ): + self._invalid_test_helper( + "NoResourceFoundByThisName", + "LAPTOP-OIUS4TO4", + "MyDatabase", + "uNIQUE", + None, + 'Could not find resource group "NoResourceFoundByThisName".', + az, + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_invalid_input_no_source_database_found( + self, + az, + ): + self._invalid_test_helper( + "lawynn-dotnet8Upgrade", + "LAPTOP-OIUS4TO4", + "NoDatabasefound", + "DONOTMAKE11", + None, + 'Could not find a database called "NoDatabasefound" in the Sql Server Instance "LAPTOP-OIUS4TO4" in the resource group "lawynn-dotnet8Upgrade". For more details please go to https://aka.ms/ARMResourceNotFoundFix', + az, + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_invalid_input_no_server_found( + self, + az, + ): + self._invalid_test_helper( + "lawynn-dotnet8Upgrade", + "NoServerFound", + "MyDatabase", + "DONOTMAKE21", + None, + 'Could not find Sql Server instance "NoServerFound" in the resource group "lawynn-dotnet8Upgrade". For more details please go to https://aka.ms/ARMResourceNotFoundFix', + az, + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_invalid_input_time_selected_in_future( + self, + az, + ): + self._invalid_test_helper( + "lawynn-dotnet8Upgrade", + "LAPTOP-OIUS4TO4", + "MyDatabase", + "DONOTMAKE31", + "5134-10-15T23:48:44Z", + "The selected time is invalid as it is currently set for the future. Given time: '5134-10-15 23:48:44+00:00' Current time:", + az, + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_invalid_input_time_selected_older_than_backups( + self, + az, + ): + self._invalid_test_helper( + "lawynn-dotnet8Upgrade", + "LAPTOP-OIUS4TO4", + "MyDatabase", + "DONOTMAKE34", + "2020-10-15T23:48:44Z", + "The selected time is invalid as it is prior to the Last Full Backup. Given time: '2020-10-15 23:48:44+00:00' Last Full Backup time: ", + az, + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_invalid_input_backups_disabled( + self, + az, + ): + self._invalid_test_helper( + "lawynn-dotnet8Upgrade", + "LAPTOP-OIUS4TO4", + "MyDatabase", + "DONOTMAKE234", + None, + "The backups policy is currently disabled on this SQL database.", + az, + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_invalid_input_invalid_license( + self, + az, + ): + self._invalid_test_helper( + "lawynn-dotnet8Upgrade", + "LAPTOP-OIUS4TO4", + "MyDatabase", + "DONOTMAKE43", + None, + "not a valid license", + az, + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_successful_inputs_time_unentered( + self, + az, + ): + result = az( + "sql db-arc restore", + name="MyDatabase", + resource_group="lawynn-dotnet8Upgrade", + server="LAPTOP-OIUS4TO4", + dest_name="AA_G-d_te_st2e321tt", + expect_failure=False, + ) + assert result.exit_code == 0 + assert ( + "The restore request has successfully been sent to the Sql Database." + in result.out + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_successful_inputs_unicode( + self, + az, + ): + result = az( + "sql db-arc restore", + name="MyDatabase", + resource_group="lawynn-dotnet8Upgrade", + server="LAPTOP-OIUS4TO4", + dest_name="894t3両佣12t", + time="2024-02-09T21:11:26Z", + expect_failure=False, + ) + assert result.exit_code == 0 + assert ( + "The restore request has successfully been sent to the Sql Database." + in result.out + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_successful_inputs_time_entered( + self, + az, + ): + + result = az( + "sql db-arc restore", + name="MyDatabase", + resource_group="lawynn-dotnet8Upgrade", + server="LAPTOP-OIUS4TO4", + dest_name="anOriginalDatabaseName2", + time="2024-02-09T21:11:26Z", + expect_failure=False, + ) + assert result.exit_code == 0 + assert ( + "The restore request has successfully been sent to the Sql Database." + in result.out + ) + + def _invalid_test_helper( + self, resource_group, server, source_db, dest_db, time, expected, az + ): + if time: + result = az( + "sql db-arc restore", + name=source_db, + resource_group=resource_group, + server=server, + dest_name=dest_db, + time=time, + expect_failure=True, + ) + else: + result = az( + "sql db-arc restore", + name=source_db, + resource_group=resource_group, + server=server, + dest_name=dest_db, + expect_failure=True, + ) + assert result.exit_code == 1 or result.exit_code == 2 + assert expected in str(result.err) diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/__init__.py b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/__init__.py new file mode 100644 index 00000000000..77350c40ee9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/__init__.py @@ -0,0 +1,5 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_ag_all_args[hh-sqldev01-rg-ag1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_ag_all_args[hh-sqldev01-rg-ag1].yaml new file mode 100644 index 00000000000..69be46d0a82 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_ag_all_args[hh-sqldev01-rg-ag1].yaml @@ -0,0 +1,412 @@ +interactions: +- request: + body: '{"availabilityGroupName": "ag1", "replicas": [{"serverInstance": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "endpointName": "", "endpointUrl": "tcp://ALL:5022", "availabilityMode": "ASYNCHRONOUS_COMMIT", + "failoverMode": "MANUAL", "seedingMode": "MANUAL", "backupPriority": 50, "secondaryRoleAllowConnections": + "NO", "primaryRoleAllowConnections": "ALL", "sessionTimeout": 10}], "databases": + ["appdb01"], "automatedBackupPreference": "PRIMARY", "failureConditionLevel": + 1, "healthCheckTimeout": 35000, "dbFailover": "ON", "dtcSupport": "PER_DB", + "listener": {"dnsName": "test-listener", "ipV4AddressesAndMasks": [{"ipAddress": + "192.168.0.51", "mask": "255.255.255.0"}], "ipV6Addresses": [], "port": 9999}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '804' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 436fcd9e-1004-11f0-89cb-8cb87e67d26f + method: POST + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01/createAvailabilityGroup?api-version=2024-03-01-preview + response: + body: + string: '{"operationStatusUri": "providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "operationStatusApiVersion": "2024-03-01-preview"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792238982528782&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=dNng-FYQunx91iVyWC0DNLNTZSufGOpt9wbXy8azmhz0fo2dEOJdP4jF5sD5lMSNsqo__cxhE1rBdr3FRw4-i0MZ6SG09HUrGmSt4H19PbhdVyP75RKxK-fPHlZsKyA2Csw7HYU4EDpyRGzIXRRLy3vx_HHw7lZk01DyQCZgNeYU8-lXHScEpwmHz70LdTrDCWlcd9aT8qva73D-dr3xWwlFXedZNY_n9zYqLGzEq0G4qOT6mx8_CZPlYZFfPlCgWuMSnX4_oewUuy_dcvV9fJ7Wr9j9Z7J6rpjjAYu6RfCT4tN0afsgQnwgtCIbZVTbHKSJ7A1SWHfr9hci8mMxvw&h=j-HvRLIGko76v4XREUvcUz72jep0QbnQmAl0VfaX7hk + Cache-Control: + - no-cache + Content-Length: + - '250' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:51:37 GMT + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792238982841342&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=fQ4t0skzy0NvpsiJfdu_EZ1WJ3llC-dRUede6WYevx_qnjR8AWvToTmiN1AiDlm-CzjDN6MYzuiFE6l1xsstV2LDlopf0UWiFiRrItA1-eWmz3ioBkdQgyZnr0Z-cnmFGo-z6GT9nfQ62M1XuuBxOS_2PIVRFpjhB3ZNqqs_o1oEERpdSASBC0ltJ6-8CMz8ohwKtDdoLs5hm5VZbXhZk-6gY9zoYZUzOiUczHPAxjNGkS6AJLZLEvVsKWrnWCHoyycwF2Bo4icqHMvckEvniME0FCjmxx6mg3O_JvC2utSi5vyO0GS-8Frg4EfJko8L1lvMxa_D-FXQcSd3vmhOxQ&h=IazrN07x9MKxa0oMFj4bEMpgN2kH2JCVk8KSsDo7oS0 + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=355806c6ddf2deef88f3d45df7c41d3898849f10c8b7fa3f721a61a782aba5a5;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-centraluseuap.trafficmanager.net + - ARRAffinitySameSite=355806c6ddf2deef88f3d45df7c41d3898849f10c8b7fa3f721a61a782aba5a5;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-centraluseuap.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 7321FE1B0D3546B6B2B835CBEB1C62A3 Ref B: BN1AA2051014035 Ref C: 2025-04-02T20:51:35Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - 7bde4f4a-c73d-4a02-9866-e0bda12131ce + x-ms-operation-identifier: + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=12096bc6-d0f0-41da-827a-279e3ba94899/eastus2/ba4b3630-1e23-4c61-a163-996f90a8387c + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '11999' + x-ms-ratelimit-remaining-subscription-writes: + - '19998' + x-ms-request-id: + - 878b0c2b-754c-4691-b985-c2eef030260f + x-ms-routing-request-id: + - EASTUS2:20250402T205138Z:7bde4f4a-c73d-4a02-9866-e0bda12131ce + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 436fcd9e-1004-11f0-89cb-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "ValidatingAvailabilityGroup", "startTime": "2025-04-02T20:51:36.0023727Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792239045209982&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=FANNvU2k5uXCGULqrZiSYCNU706ZQIqebEv_HwtUymgeR3xkFNl4STIjVioTZ8iTkLmhSieam5WkjkrS-Q9NndMHVMhXvdkjkgri2Ul87YY__DtTvFRtmGAWM12VM-2CsjsFsWGWokfSb5CU-AZ_XKIO-VpugOGujDWuQPtp9Su3hI6Zweju3LYDe5X-FFjL0hmiQEXao_ig0t82FUB7Go51-Z7eQAJJEidhx3LcaapGW5iE8imcX0jW2YvEiHpDu2ubRMoaTqhSisIjrCAi4OqKYFsrHqqKPaEZRCAIMU9XDjKUU2xL0AveuSNYOza6oCXNRhpn98_WxmPH4oWw7Q&h=gRBiQbzQElhf_bk5TcbOS4-6cgK3ABpEVTU8nHDw7RI + Cache-Control: + - no-cache + Content-Length: + - '534' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:51:43 GMT + ETag: + - '"0200f3ba-0000-3300-0000-67eda35a0000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792239045366202&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=YGAE7xAuIbMG2VrSzfcYcI31nCt2Ui6LFmtGzGe5VOIoS1SWVkkwGvIM96ScTwMasdPo8PsMbs9SmBCs4RO0JXaPYcDysK7IPqVR4pXVPufr00YBp9t0-5UcpXJHndJF2I9RwqpjIGep3G901ZEl02yMnavHFgowMfkODkDyaRI9n4Ez7Y1zFMOlVPY0QRq8Lbw3U21t07KpOctkuyuEiuC7qfAb_4MKZGuGTOvYdQFBt5gvgdN1vzSkKH3sAMY4bJzMFguKAdEekXrTif6xwUh6DQgCaH1meztIGxFtee4tPayQNUxg1vjfHz7gyqXu_9AO4nGSUeqFicPxyGmrYA&h=Vmh2VQBaNnyn0Gfy2PEdkkcRq2PwmxrhgAUGY8dw4NQ + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: C72F4AC3F86043D38A0737625FBA42D1 Ref B: BN1AA2051015053 Ref C: 2025-04-02T20:51:44Z' + x-ms-correlation-request-id: + - 04ae31bb-a49f-469a-a6d1-774764f300a4 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24987' + x-ms-request-id: + - 14e20eb2-af9d-45d5-a4a0-48e17ef6bc65 + x-ms-routing-request-id: + - EASTUS2:20250402T205144Z:04ae31bb-a49f-469a-a6d1-774764f300a4 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 436fcd9e-1004-11f0-89cb-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "Processing", "startTime": "2025-04-02T20:51:36.0023727Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792239351812426&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=GMsLRTeEGPEejIm8IS6ZnrG0G0MeHDFGrViZK8QeRyodX8x6bAht4_1Qh9XGR0pbWf8F5erG6k5aVEYmh0y5vdxMjcE7sQJCtCGFjBzpUhCjnXX5rDg_GoYu2Xif4z2d73i3ifvlvspihbSlR0I9q4p3fDMsbSlXJt5ukuOSt9HEpNl-P7p6471RFxZZeTUaxIr6PhyOCK7l7WJKdqDLC2Ih6qPQL4Yp6AcHv_Y89OMEpJQft7Mns8n1CF0449WgkLpQPKtVqkbWP3JEZrgC2wc3dXnZMWo376oeagTZvcJmkK548diIzqhrrGDVaCfsDQ0x9WgU-4zkRCiOuSUZjg&h=nonV1wMVMJgj2C9oy9MYGzjvjUd6Mh6C2bjKufYvs2k + Cache-Control: + - no-cache + Content-Length: + - '517' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:52:14 GMT + ETag: + - '"02004fbb-0000-3300-0000-67eda3760000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792239351812426&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=GMsLRTeEGPEejIm8IS6ZnrG0G0MeHDFGrViZK8QeRyodX8x6bAht4_1Qh9XGR0pbWf8F5erG6k5aVEYmh0y5vdxMjcE7sQJCtCGFjBzpUhCjnXX5rDg_GoYu2Xif4z2d73i3ifvlvspihbSlR0I9q4p3fDMsbSlXJt5ukuOSt9HEpNl-P7p6471RFxZZeTUaxIr6PhyOCK7l7WJKdqDLC2Ih6qPQL4Yp6AcHv_Y89OMEpJQft7Mns8n1CF0449WgkLpQPKtVqkbWP3JEZrgC2wc3dXnZMWo376oeagTZvcJmkK548diIzqhrrGDVaCfsDQ0x9WgU-4zkRCiOuSUZjg&h=nonV1wMVMJgj2C9oy9MYGzjvjUd6Mh6C2bjKufYvs2k + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 6A1B9FD82D674A7784CBBCB318FC4DD1 Ref B: BN1AA2051013011 Ref C: 2025-04-02T20:52:15Z' + x-ms-correlation-request-id: + - 5b8f16b6-dbc2-4639-8162-5c5d45bfc994 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24991' + x-ms-request-id: + - 65a57578-f43f-4e4e-be6e-3e99f538cd5a + x-ms-routing-request-id: + - EASTUS2:20250402T205215Z:5b8f16b6-dbc2-4639-8162-5c5d45bfc994 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 436fcd9e-1004-11f0-89cb-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "Processing", "startTime": "2025-04-02T20:51:36.0023727Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792239661707928&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=K9LaB11vhuEA514D1p7JvviUXpHrOlhWQY4bgLqRDT_kJbs-MSlIA9mI-XeCwAAkon8Bob7kvZXytHQl1wCUMa8ozY-QjXmmmkiSOVvgCxEwJP2t7ErH4J6o8KoyCicCO8W-GI50AFRopq2KP4VWFXDbnmD8xNSYpPyMFbz9T40w8b7QuMhz71O1Ru9nIHCVHnPezzOH0gmcxPAUhvlVaq-RylivfvBO6hO0e6hOlvVsBdD85P8_lm4kvB63dHbyt851HWgjUpC0ZSDZ7DgX2UW-h0cgoB0rGgsNkBb5QaJMjfNNg_Fpudq7XXI-QIEQ4GZNy4CiS76E_XEAtr4mSw&h=dPNbDBpWnDDKdklmNDWySJG77ZMGbIY5sinZaVK_YKU + Cache-Control: + - no-cache + Content-Length: + - '517' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:52:45 GMT + ETag: + - '"02004fbb-0000-3300-0000-67eda3760000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792239661707928&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=K9LaB11vhuEA514D1p7JvviUXpHrOlhWQY4bgLqRDT_kJbs-MSlIA9mI-XeCwAAkon8Bob7kvZXytHQl1wCUMa8ozY-QjXmmmkiSOVvgCxEwJP2t7ErH4J6o8KoyCicCO8W-GI50AFRopq2KP4VWFXDbnmD8xNSYpPyMFbz9T40w8b7QuMhz71O1Ru9nIHCVHnPezzOH0gmcxPAUhvlVaq-RylivfvBO6hO0e6hOlvVsBdD85P8_lm4kvB63dHbyt851HWgjUpC0ZSDZ7DgX2UW-h0cgoB0rGgsNkBb5QaJMjfNNg_Fpudq7XXI-QIEQ4GZNy4CiS76E_XEAtr4mSw&h=dPNbDBpWnDDKdklmNDWySJG77ZMGbIY5sinZaVK_YKU + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 8C9C05C7FA3348A58ADEF9310FB488D1 Ref B: BN1AA2051012051 Ref C: 2025-04-02T20:52:45Z' + x-ms-correlation-request-id: + - b33d27b1-a505-473c-9fd3-dbe2191a741b + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24989' + x-ms-request-id: + - 581f9191-fc44-4292-9296-fc548f84addd + x-ms-routing-request-id: + - EASTUS2:20250402T205246Z:b33d27b1-a505-473c-9fd3-dbe2191a741b + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 436fcd9e-1004-11f0-89cb-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "CreatingAvailabilityGroup", "startTime": "2025-04-02T20:51:36.0023727Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792239970841477&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=OrA5yRNZW3UyiRNMsUpYBIJBUelT2Oz19Ohr76hDjNpH612QchbrQz5V6EZ99IutlOpRV0EWdNQgRVphfNZGODgyiNQ2hsZV-02VXOKmi2Do8gLFSj3yeqOrXPDyL1ZNXt_eCkJyiQwijSabqITGAwur9QRP2fHdOfQ85eqG72Stedp6K2XR7smhGodokBv3TOZgwwS_cZs79V_O_PDwdjOB9lzQtKT7-315T374Ir7tKdAS3vORpx96n5asQA7bPDbEernjPNWNOnxRiwehgm9ljEakGLC9rssSQ3lcfP7e6SfrylGinI14YHIYGVfd_3leOwXUREt-3ylo4iZIbQ&h=ruc0lyJN4ouAMP68nzGNEw4Z279CMXaWpCpaqWbffnE + Cache-Control: + - no-cache + Content-Length: + - '532' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:53:16 GMT + ETag: + - '"020025bc-0000-3300-0000-67eda3b70000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792239970841477&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=OrA5yRNZW3UyiRNMsUpYBIJBUelT2Oz19Ohr76hDjNpH612QchbrQz5V6EZ99IutlOpRV0EWdNQgRVphfNZGODgyiNQ2hsZV-02VXOKmi2Do8gLFSj3yeqOrXPDyL1ZNXt_eCkJyiQwijSabqITGAwur9QRP2fHdOfQ85eqG72Stedp6K2XR7smhGodokBv3TOZgwwS_cZs79V_O_PDwdjOB9lzQtKT7-315T374Ir7tKdAS3vORpx96n5asQA7bPDbEernjPNWNOnxRiwehgm9ljEakGLC9rssSQ3lcfP7e6SfrylGinI14YHIYGVfd_3leOwXUREt-3ylo4iZIbQ&h=ruc0lyJN4ouAMP68nzGNEw4Z279CMXaWpCpaqWbffnE + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 839D2048F8C24E01AF8871CB564B23A6 Ref B: BN1AA2051014051 Ref C: 2025-04-02T20:53:16Z' + x-ms-correlation-request-id: + - 10eebd65-237b-4d7c-a311-894e1e7d8e9c + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24988' + x-ms-request-id: + - f8cbb496-bc6c-433d-8845-2bdbf3ef01f4 + x-ms-routing-request-id: + - EASTUS2:20250402T205317Z:10eebd65-237b-4d7c-a311-894e1e7d8e9c + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 436fcd9e-1004-11f0-89cb-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "878b0c2b-754c-4691-b985-c2eef030260f*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "Succeeded", "startTime": "2025-04-02T20:51:36.0023727Z", "endTime": + "2025-04-02T20:53:35.2966104Z", "properties": {"statusHistory": [{"ProvisioningState": + "ValidatingAvailabilityGroup", "Message": "", "EndTime": "2025-04-02T20:51:37.7847792Z"}, + {"ProvisioningState": "ValidatingAvailabilityGroup", "Message": "", "EndTime": + "2025-04-02T20:51:47.3897283Z"}, {"ProvisioningState": "ValidatingAvailabilityGroup", + "Message": "", "EndTime": "2025-04-02T20:51:56.6140459Z"}, {"ProvisioningState": + "ValidatedAvailabilityGroup", "Message": "Successfully validated availability + group-related configuration.", "EndTime": "2025-04-02T20:52:03.7443976Z"}, + {"ProvisioningState": "ConnectingToAgent", "Message": null, "EndTime": "2025-04-02T20:52:04.2648111Z"}, + {"ProvisioningState": "Processing", "Message": null, "EndTime": "2025-04-02T20:52:06.6114929Z"}, + {"ProvisioningState": "DbmEndpointCreated", "Message": "Created endpoint on + sql01", "EndTime": "2025-04-02T20:53:10.5744625Z"}, {"ProvisioningState": + "CreatingAvailabilityGroup", "Message": "Creating availability group ag1 on + /subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/hh-sqldev01-rg/providers/microsoft.azurearcdata/sqlserverinstances/sql01", + "EndTime": "2025-04-02T20:53:11.1792326Z"}, {"ProvisioningState": "CreatingAvailabilityGroup", + "Message": "Creating availability group ag1 on /subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/hh-sqldev01-rg/providers/microsoft.azurearcdata/sqlserverinstances/sql01", + "EndTime": "2025-04-02T20:53:20.6888395Z"}, {"ProvisioningState": "AvailabilityGroupCreated", + "Message": "Created availability group ag1 on /subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/hh-sqldev01-rg/providers/microsoft.azurearcdata/sqlserverinstances/sql01", + "EndTime": "2025-04-02T20:53:28.2614124Z"}, {"ProvisioningState": "ConnectingToAgent", + "Message": null, "EndTime": "2025-04-02T20:53:28.8540936Z"}, {"ProvisioningState": + "UploadedAvailabilityGroupConfig", "Message": "Uploaded availability group + configuration from sql01", "EndTime": "2025-04-02T20:53:34.3954925Z"}, {"ProvisioningState": + "Succeeded", "Message": null, "EndTime": "2025-04-02T20:53:35.1841403Z"}]}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2571' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:53:47 GMT + ETag: + - '"02008cbc-0000-3300-0000-67eda3cf0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: F41F202FAEC94089B882F104067285CB Ref B: BN1AA2051014039 Ref C: 2025-04-02T20:53:47Z' + x-ms-correlation-request-id: + - c7835e31-df1d-4904-a881-2fc7f76f5142 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24983' + x-ms-request-id: + - 52d90fc8-c615-4e2c-88ec-c2657c90fa6b + x-ms-routing-request-id: + - EASTUS2:20250402T205347Z:c7835e31-df1d-4904-a881-2fc7f76f5142 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_ag_db_already_in_ag[hh-sqldev01-rg-ag1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_ag_db_already_in_ag[hh-sqldev01-rg-ag1].yaml new file mode 100644 index 00000000000..261b04b6324 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_ag_db_already_in_ag[hh-sqldev01-rg-ag1].yaml @@ -0,0 +1,418 @@ +interactions: +- request: + body: client_id=04b07795-8ddb-461a-bbee-02f9e1bf7b46&grant_type=refresh_token&client_info=1&claims=%7B%22access_token%22%3A+%7B%22xms_cc%22%3A+%7B%22values%22%3A+%5B%22CP1%22%5D%7D%7D%7D&refresh_token=1.ARoAv4j5cvGGr0GRqy180BHbR5V3sATbjRpGu-4C-eG_e0YaAMQaAA.AgABAwEAAABVrSpeuWamRam2jAF1XRQEAwDs_wUA9P-Em8b1QeW67xTW6IWRbjmSf24nSM9i_FI22MFMiGHdX912GXa9UGWBkVG5qaiqXL9uILFMOba-41zijSNA5PF-F-x8v8O-SH9kOvyJMManVIeV04GzfAK5v4BQnG0x7INb4ds5RUIzX9VZgYNwSGfYHMdP0T4E0WGl1cLbWmtaWBEfJPnY-cpUqtHqh6jxfB18tMIIeegiE2sUP2xFKbglgAdXNdYJs5aUGeCB6RSND9O7JAQdozQkv5nj_6LZnjMUrw7irxPCXLlDHpY3gtSU_pkUTdj-nKV0joTfKaXuHs0ulb065qDA8gI9PSDyNc5eB8c0NbPJmnG4d_neTC5dfSA5OCNCYTqTc0skBBY2abhue4JpOMHtFg2kdwGjkEgY9-xDod4Bm7Ie-UEeE1mjl08xz7x4zZiV89adQRT7tyEAdzDP7khYLsKXbn8s-Uaz72vap6yAhSU8QHju9vWPnz2BazmqfA6BGxya4VyLoB1QUUnCr51Lweom8Q4nEXSDWJukNeWZ0Vg0QNrrecUim0ctNtItFA8Qie1FyNMjlfwjZhwoTn_E1Nn0mHFYuvqHlyyTBYdVXbayneLMAz0JRYHIicxrIPWy-_3Y3canpjvtWPo3Xy9T0Nw_H_nC77c473GyzIZxNEvKU9nqZvJ78mUC0Zsi7aPHkrU8fsulQNaQhVtUI7EKytBM2K2G9P_la_IS5-Q6GnmzwYE3OSBFpySMOCT74sQQyzXPhX3LtvnzGi4osLY98zQO66NiYmMzoXH4fMCjtY7qhdJZ0b4YYEzLnW2Ii-sWJup_mpdAwys9gHBZtWVpdwVgYaX5s2E12Mu0uSysTayxpuCDG_KaKwaMVA8r0ChTzQk5I-KKNLVudqvpbxesOlhlvH2X_Kt8KUuc8OBX6qtf2SIvERyQxBn8xlnn4CHbQh75QxKRio2nXFFRlaHJvh_OwB9gUOomfNtP8mOLksHE-3tEjUqpXK4y-NZw0p26Z4d0NUvjrKV0zfMOJMuF3_kL0iBboBW2FbNR3QE94A43M7-g-3YIRnn4HZULpwKYxR-eny1p-lIQfsDSHV2xkas9UMwz0nkfQZXqHK39TJ7FKC-YZopM1qEl3mBcIhLV50tyPJe3yywgNkQ6OdgKnUM9Y9sbxOKbexxIITdf-oJ60hLy&scope=https%3A%2F%2Fmanagement.core.windows.net%2F%2F.default+offline_access+openid+profile + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1556' + Content-Type: + - application/x-www-form-urlencoded + User-Agent: + - python-requests/2.32.3 + X-AnchorMailbox: + - Oid:12096bc6-d0f0-41da-827a-279e3ba94899@72f988bf-86f1-41af-91ab-2d7cd011db47 + client-request-id: + - 650600a7-42a5-4885-90f2-8e29ded026f4 + x-client-cpu: + - x64 + x-client-current-telemetry: + - 4|84,3| + x-client-last-telemetry: + - 4|0||| + x-client-os: + - win32 + x-client-sku: + - MSAL.Python + x-client-ver: + - 1.20.0 + x-ms-lib-capability: + - retry-after, h429 + method: POST + uri: https://mock-host/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token + response: + body: + string: '{"token_type": "Bearer", "scope": "https://management.core.windows.net//user_impersonation + https://management.core.windows.net//.default", "expires_in": 5078, "ext_expires_in": + 5078, "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkNOdjBPSTNSd3FsSEZFVm5hb01Bc2hDSDJYRSIsImtpZCI6IkNOdjBPSTNSd3FsSEZFVm5hb01Bc2hDSDJYRSJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNzQzNjI5OTA5LCJuYmYiOjE3NDM2Mjk5MDksImV4cCI6MTc0MzYzNTI4OCwiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3L3VzZXJzLzEyMDk2YmM2LWQwZjAtNDFkYS04MjdhLTI3OWUzYmE5NDg5OS9nZXRNZW1iZXJPYmplY3RzIn19LCJhY3IiOiIxIiwiYWlvIjoiQWFRQVcvOFpBQUFBZ3BiL24wRkM0ZHJaSjRISHMyakFXZlJzSkJEN284eEtKaitZVDJSbUQvaEUvNW5lNUp5elg5d1ZNSklVY1VVUjlwSzBRaTlOdzZ3eFhCT0ZLZ0xqQlQ0L3NaTDc1eWhzRUJmcHVpV0NiekZZNlM0SEpKSVlJOGpDd00xZ2M0RHdYWkkyRFE0cytoV3UrTXI3di90TlU0SmRmcU5ySjI0am50OFBwVW9QS1czZVdHMlBDckFDcTBUV2RTb3pXc0FRTlJzT3ZOUXJxRnNvVHllTlR0OStmZz09IiwiYW1yIjpbImZpZG8iLCJyc2EiLCJtZmEiXSwiYXBwaWQiOiIwNGIwNzc5NS04ZGRiLTQ2MWEtYmJlZS0wMmY5ZTFiZjdiNDYiLCJhcHBpZGFjciI6IjAiLCJkZXZpY2VpZCI6ImQ4MDA2NDFmLTBkZjMtNDc2NS1iNzBiLWIwNzhmNjJhMDk0NiIsImZhbWlseV9uYW1lIjoiSG9sZGVyIiwiZ2l2ZW5fbmFtZSI6Ikhhc2FuaSIsImlkdHlwIjoidXNlciIsImlwYWRkciI6IjIwLjEuMTY3LjU3IiwibmFtZSI6Ikhhc2FuaSBIb2xkZXIiLCJvaWQiOiIxMjA5NmJjNi1kMGYwLTQxZGEtODI3YS0yNzllM2JhOTQ4OTkiLCJvbnByZW1fc2lkIjoiUy0xLTUtMjEtMjEyNzUyMTE4NC0xNjA0MDEyOTIwLTE4ODc5Mjc1MjctNTc5MTM1MTEiLCJwdWlkIjoiMTAwMzIwMDFGRTZENkE4RSIsInJoIjoiMS5BUm9BdjRqNWN2R0dyMEdScXkxODBCSGJSMFpJZjNrQXV0ZFB1a1Bhd2ZqMk1CTWFBTVFhQUEuIiwic2NwIjoidXNlcl9pbXBlcnNvbmF0aW9uIiwic2lkIjoiODJiMzczNzAtZDcxOS00ZTUzLWIwYWUtZWM4MDI1ZGI3Y2I2Iiwic3ViIjoiU21QZE9Qb2RjTy13WUlPMzh6bXloOGY3aXRfTndrRjlHXy1VYnZGOTBzbyIsInRpZCI6IjcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0NyIsInVuaXF1ZV9uYW1lIjoiaGFzYW5paG9sZGVyQG1pY3Jvc29mdC5jb20iLCJ1cG4iOiJoYXNhbmlob2xkZXJAbWljcm9zb2Z0LmNvbSIsInV0aSI6IllmY09SV1FhcEVtU2ZrZloxT1pVQUEiLCJ2ZXIiOiIxLjAiLCJ3aWRzIjpbImI3OWZiZjRkLTNlZjktNDY4OS04MTQzLTc2YjE5NGU4NTUwOSJdLCJ4bXNfaWRyZWwiOiIxIDYiLCJ4bXNfdGNkdCI6MTI4OTI0MTU0N30.Naa1tyZNcgssu6RaWOF_BLUiorGyNijfNhKOeaOJR1hsfuRVpwoJzz95ieuSMww1Pot2amhsOpCtYade0DGGWpYuXELetwB0I5bNRqEKuep4wU7eOkxxaYOpd2KPJohqZRChODcFkb4aZ1jUnBPVAD9lutpifOJj5GM5b4f-hO-RxF2UIG-q8p0VfNRL-O4EL9B2UDti4kXd4OKfNau6IKLSkFqCrlPDQ5tf2jh8VV760oS1WN7A9B9ud4wSwek69XIFLG3H1FbcBo60MU0g59egWWcWre3E2_v5YQdcs6ioRxxSxcHGnCCscNGTtgI7e_i7XxpRohvBMmSXMHan9g", + "refresh_token": "1.ARoAv4j5cvGGr0GRqy180BHbR5V3sATbjRpGu-4C-eG_e0YaAMQaAA.AgABAwEAAABVrSpeuWamRam2jAF1XRQEAwDs_wUA9P8jaIcfFf2CnW4CFYPai5PSfhMLYTDbALX9ycvu8_cVuTNTQiM93DOZmi7l2ViiQmHpCFnc1wU5FLy49neYFeZdhsg8Pyl6UZq6d77ancD9fMgW0uHiRnrXE3WnHpg3uGOXLUjPipvX-T8FDwQv-ktYH61vYZjosAXf9AqkQqx0lZ65NBYftkTOKQ-KXh1v3F-zn7RvZuLzjZqDb2Ipvp2RuyGns_zAeZMw89Khvs2_VVTvwvEihcp6EX5aQcXSTLIFCc_EkpwSbd5RUtIW4gRGKVvgV82uszEUjlCrNmu5Ncrx1QSvDLM5MULkbBAIXc7mDSZn_YKVVJeqQf6wtEYEgKLCIC_INUzgmCDT-y41_Xo50srQq_CCkO7xoxW-3z3PJGNKvZUMEf2ITK3SJgA5hdjSrQL-PoIsAs4t9E1BKkkBEk8wu58PkSMym_OYcDUParQKa2pYj8g-d-CC2rPY3dhvJt2oh4XWLWP-jHkvn5XtMlQg4w1oHRG2GOE9Vo9u9fN8TS_5FtgXRGc6LCr7C0_H-K-yTYgffOd8Tl3ktzdUZQ7bR9Y0p3jDG5OpbbPJsYKyqZqbuGK-2yh46maz80xrDoiBru4h5REUerlXFs7OqPmX1OdarQzh3Wipc8JFKgIYsWIDxsr7ZSQtQSoT567-quJnG8P396QVCNSXcMpFsqb7YVd9RCa2ceAIavMO91tL0rtLlnzOFhfoS3BJ0uLiigUB5D49R6YbRcAwoBVMBt9_s6628MDjB7a0zWOB8_MmFDVPSjFKJDgAN4h_TtH3k50XG0MY6wjalAGeEJAGE-dZaDUvZeLtRogFqZ5e95EUyBiKrrcut0QPq-xLYtQ9iotZbNSXc2xtde2f10lJei_4Ae56EJ70a1hlhDU9WSSBVCtEobSoDtZ4R66UruKVQq-AVHhavwh5D_RLUbXg542e8wjV68NnJPebjz58I2RRfWiKx4nFSU9WsLmr1PihcYgmWXbuzGixg7lsXqFhYAI-mJ9VBSi9u6tIoCFX1gl76_TloKhczsWllzIiz7YplT6sKG3gljKwBk6LAnU13a-VKb8ndh_Ht-58oiKWVOvyarKnxhfwj-BFDX9ucgxhjZNzL8NTnSZ8NsZtgCNyQDBgfqssVtkl3rtS461gBt5sGziislHi95yPfFwl71Ui", + "foci": "1", "id_token": "eyJxxxx", + "client_info": "eyJ1aWQiOiIxMjA5NmJjNi1kMGYwLTQxZGEtODI3YS0yNzllM2JhOTQ4OTkiLCJ1dGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3In0"}' + headers: + Cache-Control: + - no-store, no-cache + Content-Length: + - '5753' + Content-Security-Policy-Report-Only: + - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-M0gWscn4_iRoz8fY6DSS7Q' + 'unsafe-inline' 'unsafe-eval' https://*.msauth.net https://*.msftauth.net + https://*.msftauthimages.net https://*.msauthimages.net https://*.msidentity.com + https://*.microsoftonline-p.com https://*.microsoftazuread-sso.com https://*.azureedge.net + https://*.outlook.com https://*.office.com https://*.office365.com https://*.microsoft.com + https://*.bing.com 'report-sample'; report-uri https://csp.microsoft.com/report/ESTS-UX-All + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 21:43:29 GMT + Expires: + - '-1' + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Pragma: + - no-cache + Set-Cookie: + - fpc=Ajy9uqCjGfNLt90KdQXaea5k9PhAAQAAAICmf98OAAAA; expires=Fri, 02-May-2025 + 21:43:29 GMT; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-XSS-Protection: + - '0' + client-request-id: + - 650600a7-42a5-4885-90f2-8e29ded026f4 + x-ms-clitelem: + - 1,0,0,2876859.8381, + x-ms-ests-server: + - 2.1.20465.4 - SCUS ProdSlices + x-ms-request-id: + - 450ef761-1a64-49a4-927e-47d9d4e65400 + x-ms-srs: + - 1.P + status: + code: 200 + message: OK +- request: + body: '{"availabilityGroupName": "ag1", "replicas": [{"serverInstance": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "endpointName": "", "endpointUrl": "tcp://ALL:5022", "availabilityMode": "SYNCHRONOUS_COMMIT", + "failoverMode": "MANUAL", "seedingMode": "AUTOMATIC", "backupPriority": 50, + "secondaryRoleAllowConnections": "NO", "primaryRoleAllowConnections": "ALL", + "sessionTimeout": 10}], "databases": ["db01"], "failureConditionLevel": 3, "healthCheckTimeout": + 30000, "dbFailover": "OFF", "dtcSupport": "NONE"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '602' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 84145cd7-100b-11f0-ba14-8cb87e67d26f + method: POST + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01/createAvailabilityGroup?api-version=2024-03-01-preview + response: + body: + string: '{"operationStatusUri": "providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "operationStatusApiVersion": "2024-03-01-preview"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792270118363527&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbXmv9Kc5LEc0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBQj9GN21vymIgY86pEWjNqGR6-dlDAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAF0lTrFg0dSUCXo41FDWmaQFDJKZsucTat3vhDRkbIfxlo0n4QQJOqJQSCzj8n-NvH0p0CR42nsTk2C70Vpr54i80YKfcTOm0Q0Rq9FHB-Nz4KlrymTkU6hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=q1LKiv0u5rzhm9od4UIs8zUn6HzB83ZS10_hAQgtsQ4KCPW9BiNxOud1miLBc6M0KwztfwYgLJDwRiX3sip5aBTPd2WTPT3gNC5CKg1QFvBSlsclpemDX9wgu645o3PdW4jtjWSb9QRV4wpQMm5xH1Wwhu08G3g01LKsuQUkcRLshe-OjOK-OzfvMqwffV4m-GJnXCE2Wlma8aQ8qRgvlkmw7f6YSykFl5Tw-iRZd6EfUO6rXga3FYndCTBWcUAFrJFer9h8snite9y_HlUEQXZYMwjauiojJZY2tRnbpyxHG34xHpOByUtbLK2dIxtVzOnqDtt3pKslsbEc0FLrYw&h=5kDOUo-vWpDikST0BHRKrJ5F8Ktzexl_9TQeESAp7_s + Cache-Control: + - no-cache + Content-Length: + - '250' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 21:43:31 GMT + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792270118519765&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbXmv9Kc5LEc0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBQj9GN21vymIgY86pEWjNqGR6-dlDAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAF0lTrFg0dSUCXo41FDWmaQFDJKZsucTat3vhDRkbIfxlo0n4QQJOqJQSCzj8n-NvH0p0CR42nsTk2C70Vpr54i80YKfcTOm0Q0Rq9FHB-Nz4KlrymTkU6hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=ZZ0Fjp1HJg98RLs-09mEDA0ub6bYKr1a-onLDd9mFlpO6vOsxg_nNtRK75YYoLxsVS6zD8B4j3ZD_L9KvoNmxMUjQ2mX-zFdbQvWTx8SRuMSvLZfMjdU6IQZJ0fVNKYR9UmvLPDlrlhxll65Z6PMU_pgkig9LYJFjOiiiMcv3bC5Wj1rxjRMT3kjoKIIu-1e1DX18XWMiXiR0gE6p9BtYn-dRtFbyIKAf_oNorng0pUGvUj7MOxP-9BoJ46wOxDW6k_wAe6RQuORD-Y57OaLOQ7fw2ZuopZBvBVkLHvi4s7qqpW2n3E8igZHTivesE3zNi6sDKJTJaHH32TyPs4oDA&h=aefmbN-5LquxUqfOv8XVvsSxQJ9a8JwKslXx9T__uX8 + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=355806c6ddf2deef88f3d45df7c41d3898849f10c8b7fa3f721a61a782aba5a5;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-centraluseuap.trafficmanager.net + - ARRAffinitySameSite=355806c6ddf2deef88f3d45df7c41d3898849f10c8b7fa3f721a61a782aba5a5;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-centraluseuap.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 7502716D56AD4DF5A58B6879F7C662F3 Ref B: BN1AA2051014033 Ref C: 2025-04-02T21:43:30Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - 5ea8db41-b527-487c-80dd-670700ab8e89 + x-ms-operation-identifier: + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=12096bc6-d0f0-41da-827a-279e3ba94899/eastus/a45a50ba-8fd7-4eab-9a6c-e8a632ca9599 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '11999' + x-ms-ratelimit-remaining-subscription-writes: + - '19998' + x-ms-request-id: + - 81d263cc-ec2d-473d-a0bb-dd12be6d41f5 + x-ms-routing-request-id: + - EASTUS:20250402T214331Z:5ea8db41-b527-487c-80dd-670700ab8e89 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 84145cd7-100b-11f0-ba14-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "Processing", "startTime": "2025-04-02T21:43:30.7618982Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792270737848420&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbXmv9Kc5LEc0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBQj9GN21vymIgY86pEWjNqGR6-dlDAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAF0lTrFg0dSUCXo41FDWmaQFDJKZsucTat3vhDRkbIfxlo0n4QQJOqJQSCzj8n-NvH0p0CR42nsTk2C70Vpr54i80YKfcTOm0Q0Rq9FHB-Nz4KlrymTkU6hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=XaIlGTv57nQfo0zByzi64pQtsegfBCiQ-PAKB-rbEvnhqQlH3Ss1tDM-Kecw72l9pzD815POvIOdLSqneVuilFZBSbcfbbXY87fo8bWiuY1KLd9t0OHmwIeZGefMxAFpHwujOidPN5MabTmltL_0sJT0ZFor5GyABMEDIXwOYdwUF9RihhWLf5nSDv5BvwBxTSWjhfkQ5VdgU92putMEaXvO6WFJCZmbDs5YXwzLdoGi7MH6NBD47ec38ho2tgHNdXQ6Ah973_CdrJMMWpoE_c3_s4LFXYLk7uRIMCA-G03HHZ-fo3dvftuctvDUP7Go1OU0jL6qA5_BQ6gPL5RqWg&h=dfTi2_tErJ0ZY1noTRhfFuLVvF5v1PPRsTw8cIOUaco + Cache-Control: + - no-cache + Content-Length: + - '517' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 21:44:33 GMT + ETag: + - '"020095e8-0000-3300-0000-67edafbe0000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792270737848420&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbXmv9Kc5LEc0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBQj9GN21vymIgY86pEWjNqGR6-dlDAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAF0lTrFg0dSUCXo41FDWmaQFDJKZsucTat3vhDRkbIfxlo0n4QQJOqJQSCzj8n-NvH0p0CR42nsTk2C70Vpr54i80YKfcTOm0Q0Rq9FHB-Nz4KlrymTkU6hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=XaIlGTv57nQfo0zByzi64pQtsegfBCiQ-PAKB-rbEvnhqQlH3Ss1tDM-Kecw72l9pzD815POvIOdLSqneVuilFZBSbcfbbXY87fo8bWiuY1KLd9t0OHmwIeZGefMxAFpHwujOidPN5MabTmltL_0sJT0ZFor5GyABMEDIXwOYdwUF9RihhWLf5nSDv5BvwBxTSWjhfkQ5VdgU92putMEaXvO6WFJCZmbDs5YXwzLdoGi7MH6NBD47ec38ho2tgHNdXQ6Ah973_CdrJMMWpoE_c3_s4LFXYLk7uRIMCA-G03HHZ-fo3dvftuctvDUP7Go1OU0jL6qA5_BQ6gPL5RqWg&h=dfTi2_tErJ0ZY1noTRhfFuLVvF5v1PPRsTw8cIOUaco + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 0DB3EC9CB1E44DE68F3299B81C7B4FFD Ref B: BN1AA2051015035 Ref C: 2025-04-02T21:44:33Z' + x-ms-correlation-request-id: + - 1ece3f6e-189d-4e36-9c7a-87997002421f + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24996' + x-ms-request-id: + - 9fdb1436-ad74-42df-9f4a-c43300bbeaf0 + x-ms-routing-request-id: + - EASTUS:20250402T214433Z:1ece3f6e-189d-4e36-9c7a-87997002421f + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 84145cd7-100b-11f0-ba14-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "Processing", "startTime": "2025-04-02T21:43:30.7618982Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792271047391411&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbXmv9Kc5LEc0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBQj9GN21vymIgY86pEWjNqGR6-dlDAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAF0lTrFg0dSUCXo41FDWmaQFDJKZsucTat3vhDRkbIfxlo0n4QQJOqJQSCzj8n-NvH0p0CR42nsTk2C70Vpr54i80YKfcTOm0Q0Rq9FHB-Nz4KlrymTkU6hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=dcrzyXar204Yc38Zh0OzfXmmeyjdK9Rg9q8xUJ9YvW-G47_ApbjKBmShh4cyAr5VlzIpfbdRHb5L1NmygugqIql76bThJLGuG1oPPxHGUIszzuGPixUj8G6ev9DwJJ05Ye1Z9DQB4Sldg00bwJSCOosYVty3oNpz2KLxlXJ6QN5PEH8TXwx-TpiJ5JVlffRQQXrw1MKDEta_VsMcDe9LZahe9LD6bZcnCJnxrAnB4fLI6SEhF5Fe69EjvgAumSYAlM75vG-GhCYhbYYZYpEfKWlWWi-tzqvuJllKnLz5W1nUyhbndd8-0O8lIpp8rtv2SKMYcpEhVcGy-X4FuOZ3_g&h=AOhQMiUOwauwPgxYApZd0tB3Agst27dPOjzbYOyZaEQ + Cache-Control: + - no-cache + Content-Length: + - '517' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 21:45:03 GMT + ETag: + - '"020095e8-0000-3300-0000-67edafbe0000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792271047547704&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbXmv9Kc5LEc0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBQj9GN21vymIgY86pEWjNqGR6-dlDAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAF0lTrFg0dSUCXo41FDWmaQFDJKZsucTat3vhDRkbIfxlo0n4QQJOqJQSCzj8n-NvH0p0CR42nsTk2C70Vpr54i80YKfcTOm0Q0Rq9FHB-Nz4KlrymTkU6hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=Z1t_RlQU0ShtrC-K90UZPFFZRGFZfBPQDpdJTryG7DIWtaSIEwSUwGxqBCYH9gYkWukNDGLOK_TIJ8ICgwMc50pNvmtzhkhGlMfDLxVyDpQwm0qMKW7S6qfgykvKJ1whKhd1UA4y7C_pb5KpjJls5lWc6QydiqJHDTsyAjinsXv0u0pu5s1lUOGh1C72iyAak_o1KpU1NCQ8tItV9Bj_qymDbSzUr9qYiz2prjFg7s647X3weUfOjURwDoScNIq976C_4wmukO7axXT5SMJWtCVLeHKxe4G_cRCC4aul0FXDml1PJNyp5XfA8Kzv5aqUA4UG1RlH6VvYrnJvuoymjw&h=vplUqA0_q7fX0nLfbwhL7SoHPXtNaW0PH48ycMXLFRE + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: F85A7A189991436696BC1FAF6E02230D Ref B: BN1AA2051013045 Ref C: 2025-04-02T21:45:04Z' + x-ms-correlation-request-id: + - bd08e5b4-8e6f-4a6a-8e6a-12d7b8c8ce81 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24995' + x-ms-request-id: + - 9cd9c032-d0d5-4295-9b98-722a9c33dbf6 + x-ms-routing-request-id: + - EASTUS:20250402T214504Z:bd08e5b4-8e6f-4a6a-8e6a-12d7b8c8ce81 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 84145cd7-100b-11f0-ba14-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "CreatingAvailabilityGroup", "startTime": "2025-04-02T21:43:30.7618982Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792271355785215&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbXmv9Kc5LEc0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBQj9GN21vymIgY86pEWjNqGR6-dlDAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAF0lTrFg0dSUCXo41FDWmaQFDJKZsucTat3vhDRkbIfxlo0n4QQJOqJQSCzj8n-NvH0p0CR42nsTk2C70Vpr54i80YKfcTOm0Q0Rq9FHB-Nz4KlrymTkU6hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=Ia2kGmnrdXPssD0sUgL4SUFs7gi87GBX6BD9Gw-kyih97_J1QTZBLISCwh3IBq8GZf3AMzsES2ts6Ny64SuiayNm9V-SCUyzEXB0CpDdTA7Jlor7rQpxLY1qIyaEIExiAqFMXHK82xfcLvreY6e888diL21wy_xGmNe9J1IpQfiV2wP2OPEXGDYoEmS5000owLhwkTgNHAvP7kaDM7MZC0pPQvxaDQMkOtwFCPGm_BW0SEqBxpyaXWch7r4Z-W6g6-BSdODOKCZYRcPH4_0oDD286RgftaeEWYm6Pm7q8vJQtpwsjrC6QMhVc0M11B9Y2buWWjTVjf6f8btrsQcuzA&h=YnIlthNmpsRkaloEebxn_VpHDL1jr4aPc142cCtUgNM + Cache-Control: + - no-cache + Content-Length: + - '532' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 21:45:34 GMT + ETag: + - '"020076e9-0000-3300-0000-67edaffd0000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792271355785215&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbXmv9Kc5LEc0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBQj9GN21vymIgY86pEWjNqGR6-dlDAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAF0lTrFg0dSUCXo41FDWmaQFDJKZsucTat3vhDRkbIfxlo0n4QQJOqJQSCzj8n-NvH0p0CR42nsTk2C70Vpr54i80YKfcTOm0Q0Rq9FHB-Nz4KlrymTkU6hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=Ia2kGmnrdXPssD0sUgL4SUFs7gi87GBX6BD9Gw-kyih97_J1QTZBLISCwh3IBq8GZf3AMzsES2ts6Ny64SuiayNm9V-SCUyzEXB0CpDdTA7Jlor7rQpxLY1qIyaEIExiAqFMXHK82xfcLvreY6e888diL21wy_xGmNe9J1IpQfiV2wP2OPEXGDYoEmS5000owLhwkTgNHAvP7kaDM7MZC0pPQvxaDQMkOtwFCPGm_BW0SEqBxpyaXWch7r4Z-W6g6-BSdODOKCZYRcPH4_0oDD286RgftaeEWYm6Pm7q8vJQtpwsjrC6QMhVc0M11B9Y2buWWjTVjf6f8btrsQcuzA&h=YnIlthNmpsRkaloEebxn_VpHDL1jr4aPc142cCtUgNM + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 3D5097F6765B49C9A76AC31FBAD57FFB Ref B: BN1AA2051015047 Ref C: 2025-04-02T21:45:35Z' + x-ms-correlation-request-id: + - 0d8b31a6-989c-42fb-957d-84923df3fae0 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24994' + x-ms-request-id: + - cad85208-f844-4d02-bd2d-14ac8fb79dff + x-ms-routing-request-id: + - EASTUS:20250402T214535Z:0d8b31a6-989c-42fb-957d-84923df3fae0 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 84145cd7-100b-11f0-ba14-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "81d263cc-ec2d-473d-a0bb-dd12be6d41f5*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "Failed", "startTime": "2025-04-02T21:43:30.7618982Z", "endTime": + "2025-04-02T21:45:48.7299135Z", "error": {"message": "Failed to create availability + group ag1 on /subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/hh-sqldev01-rg/providers/microsoft.azurearcdata/sqlserverinstances/sql01Failed + to execute createAvailabilityGroup request on /subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/hh-sqldev01-rg/providers/microsoft.azurearcdata/sqlserverinstances/sql01. + Response status BadRequest"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '979' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 21:46:06 GMT + ETag: + - '"0200ade9-0000-3300-0000-67edb00c0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 6E2669DC2B064546AE2486231DCB2011 Ref B: BN1AA2051015031 Ref C: 2025-04-02T21:46:06Z' + x-ms-correlation-request-id: + - d7a6081f-91b1-47dd-8341-60964d182bb6 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24990' + x-ms-request-id: + - ff35ca91-fd6e-4b5f-bdb8-c1ae32d3d25e + x-ms-routing-request-id: + - EASTUS:20250402T214606Z:d7a6081f-91b1-47dd-8341-60964d182bb6 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_ag_invalid_login[hh-sqldev01-rg-ag1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_ag_invalid_login[hh-sqldev01-rg-ag1].yaml new file mode 100644 index 00000000000..51b006fb719 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_ag_invalid_login[hh-sqldev01-rg-ag1].yaml @@ -0,0 +1,327 @@ +interactions: +- request: + body: '{"availabilityGroupName": "ag1", "replicas": [{"serverInstance": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "endpointName": "", "endpointUrl": "tcp://ALL:5022", "endpointConnectLogin": + "foo", "availabilityMode": "SYNCHRONOUS_COMMIT", "failoverMode": "MANUAL", "seedingMode": + "AUTOMATIC", "backupPriority": 50, "secondaryRoleAllowConnections": "NO", "primaryRoleAllowConnections": + "ALL", "sessionTimeout": 10}], "databases": ["appdb01"], "failureConditionLevel": + 3, "healthCheckTimeout": 30000, "dbFailover": "OFF", "dtcSupport": "NONE"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '636' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 2d39c2bc-1005-11f0-bde3-8cb87e67d26f + method: POST + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01/createAvailabilityGroup?api-version=2024-03-01-preview + response: + body: + string: '{"operationStatusUri": "providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "operationStatusApiVersion": "2024-03-01-preview"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792242897332114&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbXmv9Kc5LEc0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBQj9GN21vymIgY86pEWjNqGR6-dlDAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAF0lTrFg0dSUCXo41FDWmaQFDJKZsucTat3vhDRkbIfxlo0n4QQJOqJQSCzj8n-NvH0p0CR42nsTk2C70Vpr54i80YKfcTOm0Q0Rq9FHB-Nz4KlrymTkU6hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=dYwiU1FnCAhN2W2XD8COqzl35OyPgenpmxV_ceGaFLxj3oSFNe5V43ZDUKTneozEUR0dHHuaSoNJXp17wiqO_iOPnhCxwuMQd1PGdfuxaBB8zV3BZdOAde-ebyWHrs2t4Vyu-cTgWQNkrECR3G6gvSFZKiNX3Wh9Lsn5gi4H71K-5GNUeMX4nsEB5GFcY6KrIdyivHUoRYWuLZqaPVmijyTyq1nm9oaPIOLLqC-lCB5iO0dukPa38v7sCFvJJQm1HCzaf_7YcM1HIrrTnPCw32zDuN_6CuylTRUx9X6u10WhnRBgyj5u1_IqkpuptErlgJLT0OOk83P5bJ0ab4V-LQ&h=A3G9leO5Epi7fM9hyDDOnfTg7227Wz-HpaS3InSTz9M + Cache-Control: + - no-cache + Content-Length: + - '250' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:58:08 GMT + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792242897332114&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbXmv9Kc5LEc0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBQj9GN21vymIgY86pEWjNqGR6-dlDAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAF0lTrFg0dSUCXo41FDWmaQFDJKZsucTat3vhDRkbIfxlo0n4QQJOqJQSCzj8n-NvH0p0CR42nsTk2C70Vpr54i80YKfcTOm0Q0Rq9FHB-Nz4KlrymTkU6hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=dYwiU1FnCAhN2W2XD8COqzl35OyPgenpmxV_ceGaFLxj3oSFNe5V43ZDUKTneozEUR0dHHuaSoNJXp17wiqO_iOPnhCxwuMQd1PGdfuxaBB8zV3BZdOAde-ebyWHrs2t4Vyu-cTgWQNkrECR3G6gvSFZKiNX3Wh9Lsn5gi4H71K-5GNUeMX4nsEB5GFcY6KrIdyivHUoRYWuLZqaPVmijyTyq1nm9oaPIOLLqC-lCB5iO0dukPa38v7sCFvJJQm1HCzaf_7YcM1HIrrTnPCw32zDuN_6CuylTRUx9X6u10WhnRBgyj5u1_IqkpuptErlgJLT0OOk83P5bJ0ab4V-LQ&h=A3G9leO5Epi7fM9hyDDOnfTg7227Wz-HpaS3InSTz9M + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=355806c6ddf2deef88f3d45df7c41d3898849f10c8b7fa3f721a61a782aba5a5;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-centraluseuap.trafficmanager.net + - ARRAffinitySameSite=355806c6ddf2deef88f3d45df7c41d3898849f10c8b7fa3f721a61a782aba5a5;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-centraluseuap.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: AFC9EE90AD8B4FF4952163EB5BE41D9F Ref B: BN1AA2051014049 Ref C: 2025-04-02T20:58:07Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - 116f4ce7-58fe-4510-80df-7b24c03081c9 + x-ms-operation-identifier: + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=12096bc6-d0f0-41da-827a-279e3ba94899/eastus/aeed9b34-209c-4ff4-aa29-aa9c7d692662 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '11999' + x-ms-ratelimit-remaining-subscription-writes: + - '19999' + x-ms-request-id: + - 95f740cd-d3c1-4f6a-9bb1-4146f16c36e0 + x-ms-routing-request-id: + - EASTUS:20250402T205809Z:116f4ce7-58fe-4510-80df-7b24c03081c9 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 2d39c2bc-1005-11f0-bde3-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "ValidatingAvailabilityGroup", "startTime": "2025-04-02T20:58:08.5787971Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792242952976530&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=BGLV5_97G6ttCbNS7EtKE83B6fs31JpmKHOUT92flAddXxiFrZqwdqq0BS3SPlE9mcZyEVztLVvIoD2zgRKpT7VTWc_YcpikLfcP_EwR0p1OHZlY3leESWw1NOUadQ9mc6Dga0XcW543_BHOBZp8Ud2d7d57FBV0h5URlIAGNb2REHGZeZkyXE0KRE6FpZU_JqGF9U6j2QM1M6xJ5wPTZsyDkasbyYy-5Vu5Fva1ZvDbJQ21Zapi-HCby__0Nqzz4CXF24eEWz5PuXFY2lC6HKRRilGNEVIWPByWfx2B7kQLUs3vYmFy6H63dJ7yUmhFII-I6sLbaNDHlcWeK6uefg&h=vFq65KuDhFJJhXeveDRrr_W2JGFZJO8PiG6DcEixdek + Cache-Control: + - no-cache + Content-Length: + - '534' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:58:15 GMT + ETag: + - '"0200a2c0-0000-3300-0000-67eda4e20000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792242952976530&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=BGLV5_97G6ttCbNS7EtKE83B6fs31JpmKHOUT92flAddXxiFrZqwdqq0BS3SPlE9mcZyEVztLVvIoD2zgRKpT7VTWc_YcpikLfcP_EwR0p1OHZlY3leESWw1NOUadQ9mc6Dga0XcW543_BHOBZp8Ud2d7d57FBV0h5URlIAGNb2REHGZeZkyXE0KRE6FpZU_JqGF9U6j2QM1M6xJ5wPTZsyDkasbyYy-5Vu5Fva1ZvDbJQ21Zapi-HCby__0Nqzz4CXF24eEWz5PuXFY2lC6HKRRilGNEVIWPByWfx2B7kQLUs3vYmFy6H63dJ7yUmhFII-I6sLbaNDHlcWeK6uefg&h=vFq65KuDhFJJhXeveDRrr_W2JGFZJO8PiG6DcEixdek + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: C94E5F69914F4DC99D6CA569F3FC284C Ref B: BN1AA2051013023 Ref C: 2025-04-02T20:58:15Z' + x-ms-correlation-request-id: + - 7294f81c-c698-484a-8749-d825b2afb155 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24983' + x-ms-request-id: + - 58e6fb7d-50a6-42e0-b957-5a8f1a1efc72 + x-ms-routing-request-id: + - EASTUS2:20250402T205815Z:7294f81c-c698-484a-8749-d825b2afb155 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 2d39c2bc-1005-11f0-bde3-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "Processing", "startTime": "2025-04-02T20:58:08.5787971Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792243264860806&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbXmv9Kc5LEc0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBQj9GN21vymIgY86pEWjNqGR6-dlDAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAF0lTrFg0dSUCXo41FDWmaQFDJKZsucTat3vhDRkbIfxlo0n4QQJOqJQSCzj8n-NvH0p0CR42nsTk2C70Vpr54i80YKfcTOm0Q0Rq9FHB-Nz4KlrymTkU6hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=rPxi53lw-ysiIM6DG2AKKW4PD-xa6vufTBnCdlEX7__hRoTxyMEpObRNonkGDJNkStlz3znt_Qn01twdDQue1GZMNZUfixFwUC_W6kiomSAchuIzrKFStRqLbDXOJGcFU6TEpk1V5yste-gB_8gG2MMUnfHCI35H4XNT2MO6BM5VMtwIuolSNOtK0k4qAcPocPTWvMCSJtanH1GEAcSu1iCrrc4-L2bpHmbu4HaIkuNcg_J-gb3tSJMT1SiBrdtIREGImRpUWGHhcKhlwfYpj7rWclKsTt4iYweAj9uOuBJePYGLe6JeTpD5P5xLOhZMOgketv_kEXAIIhm-Ljcozg&h=Kd-K7aGmncl4rePscPiMlOvoxZ8tsp-n36YmDFD2QVc + Cache-Control: + - no-cache + Content-Length: + - '517' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:58:46 GMT + ETag: + - '"020011c1-0000-3300-0000-67eda5000000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792243265017162&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbXmv9Kc5LEc0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBQj9GN21vymIgY86pEWjNqGR6-dlDAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAF0lTrFg0dSUCXo41FDWmaQFDJKZsucTat3vhDRkbIfxlo0n4QQJOqJQSCzj8n-NvH0p0CR42nsTk2C70Vpr54i80YKfcTOm0Q0Rq9FHB-Nz4KlrymTkU6hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=SVLg3zkoTn8wgExqeXjPczTE0shX6txmYhFRMpO41TNuYJ-jcORNnkrJckbAcpxHEK7Xc4JL-HjoD4qHupgCJ8HML4Gmo4uJwawxlCWO_AC7uUXhnmqIGRZe-wCedfqVqYpO-Yq95G-y0SCql_6HFcfJXxpFcrI72euMsml-ESC_lDbbXGwezl6CgSs8mV5TGngkB0bdp7zAmeWsXV5Y4B4VQt8VqJvJIWApe4okGsS4JztvbTSKZBEsxLWeDAhlLQuo3JkjreudnHsTommCV83HVYOb1Zr3mWMxuF3MPDHQbxGhk487ZgpE93D4p2RZ632WDeAk-j8ycjk8V8m-Bw&h=G4oi-5JZLDrui4Gu26Eh7v7ntmPWJfvpigKQZ8GzhHg + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 9DC40C9B6C6242BF97D51878B431A7FF Ref B: BN1AA2051014053 Ref C: 2025-04-02T20:58:46Z' + x-ms-correlation-request-id: + - e023d4bc-8195-4d46-9b76-633c8ac18aa3 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24997' + x-ms-request-id: + - eaf77558-b497-4cda-b5c3-799ce6152352 + x-ms-routing-request-id: + - EASTUS:20250402T205846Z:e023d4bc-8195-4d46-9b76-633c8ac18aa3 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 2d39c2bc-1005-11f0-bde3-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "Processing", "startTime": "2025-04-02T20:58:08.5787971Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792243587934381&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbXmv9Kc5LEc0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBQj9GN21vymIgY86pEWjNqGR6-dlDAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAF0lTrFg0dSUCXo41FDWmaQFDJKZsucTat3vhDRkbIfxlo0n4QQJOqJQSCzj8n-NvH0p0CR42nsTk2C70Vpr54i80YKfcTOm0Q0Rq9FHB-Nz4KlrymTkU6hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=YJrDol2AMv1rC1a4COzNkpBaARjhecL7xlXr1DEQ4TkqGPbQRVdNwM4OoVuRft4X7Kgn64ogURhiyuG9GPM73ioF1ssOaTA4yYPzp4aUI-EM77KEoOikn6wBtN-m9P2hIt9nTmCkeZT9r7np5UvUXWSuoLz78-NVCmqYtS7Xgqm5tPStaG4N7U8o3L2-rkyKdYG2Lfn8E5Sf1UNH8uq4VJsWDKNFkZ8ZrDg12c30fIj8bD9WjNbtpky0oMAW1vuptP1lWL-tEB-IVVL8nncnZkJmUVk35K9ms61Kz_4--9TU4zXUMNOq-WyUzpsiS04Mgam4VrSwYQGwAIrCxd7JTA&h=AXHj_oI8UYNDhHF6AZJYu71FglLw5Fj3MZtiiZPr9FU + Cache-Control: + - no-cache + Content-Length: + - '517' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:59:18 GMT + ETag: + - '"020011c1-0000-3300-0000-67eda5000000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792243587934381&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbXmv9Kc5LEc0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBQj9GN21vymIgY86pEWjNqGR6-dlDAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAF0lTrFg0dSUCXo41FDWmaQFDJKZsucTat3vhDRkbIfxlo0n4QQJOqJQSCzj8n-NvH0p0CR42nsTk2C70Vpr54i80YKfcTOm0Q0Rq9FHB-Nz4KlrymTkU6hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=YJrDol2AMv1rC1a4COzNkpBaARjhecL7xlXr1DEQ4TkqGPbQRVdNwM4OoVuRft4X7Kgn64ogURhiyuG9GPM73ioF1ssOaTA4yYPzp4aUI-EM77KEoOikn6wBtN-m9P2hIt9nTmCkeZT9r7np5UvUXWSuoLz78-NVCmqYtS7Xgqm5tPStaG4N7U8o3L2-rkyKdYG2Lfn8E5Sf1UNH8uq4VJsWDKNFkZ8ZrDg12c30fIj8bD9WjNbtpky0oMAW1vuptP1lWL-tEB-IVVL8nncnZkJmUVk35K9ms61Kz_4--9TU4zXUMNOq-WyUzpsiS04Mgam4VrSwYQGwAIrCxd7JTA&h=AXHj_oI8UYNDhHF6AZJYu71FglLw5Fj3MZtiiZPr9FU + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 3EC3D0F3A06B4AC8B6FFABE2E37F888B Ref B: BN1AA2051012019 Ref C: 2025-04-02T20:59:18Z' + x-ms-correlation-request-id: + - 440a1b6f-e321-497c-af01-3c7e924ccc86 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24991' + x-ms-request-id: + - 1a136995-e900-4707-8afd-afd7be47bcbb + x-ms-routing-request-id: + - EASTUS:20250402T205918Z:440a1b6f-e321-497c-af01-3c7e924ccc86 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 2d39c2bc-1005-11f0-bde3-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "95f740cd-d3c1-4f6a-9bb1-4146f16c36e0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "Failed", "startTime": "2025-04-02T20:58:08.5787971Z", "endTime": + "2025-04-02T20:59:47.6462648Z", "error": {"message": "Failed to grant connect + on endpoint on sql01 for AG ag1. The request failed with status code ''BadRequest''."}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '684' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:59:49 GMT + ETag: + - '"02000ec2-0000-3300-0000-67eda5430000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 0CA12ED5EF7B46BC971BF36A0E437F2A Ref B: BN1AA2051014029 Ref C: 2025-04-02T20:59:49Z' + x-ms-correlation-request-id: + - 9942eea4-29d6-4db4-9a25-c98a96d4fa06 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24996' + x-ms-request-id: + - 3648eac5-de7c-4b54-b6a6-2417ad3298b7 + x-ms-routing-request-id: + - EASTUS:20250402T205949Z:9942eea4-29d6-4db4-9a25-c98a96d4fa06 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_ag_invalid_replica_id[hh-sqldev01-rg-ag1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_ag_invalid_replica_id[hh-sqldev01-rg-ag1].yaml new file mode 100644 index 00000000000..3f0c822927c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_ag_invalid_replica_id[hh-sqldev01-rg-ag1].yaml @@ -0,0 +1,153 @@ +interactions: +- request: + body: client_id=04b07795-8ddb-461a-bbee-02f9e1bf7b46&grant_type=refresh_token&client_info=1&claims=%7B%22access_token%22%3A+%7B%22xms_cc%22%3A+%7B%22values%22%3A+%5B%22CP1%22%5D%7D%7D%7D&refresh_token=1.ARoAv4j5cvGGr0GRqy180BHbR5V3sATbjRpGu-4C-eG_e0YaAMQaAA.AgABAwEAAABVrSpeuWamRam2jAF1XRQEAwDs_wUA9P_L4wxwQlTaMl3511wTV5t3Bv4XV6JlhjPs95XwsNx82FVD-L3lghOSrFDLyeNxOm0qJcAcyZ-eoxCWTv9pMz0ly3XlDqW-emnj6-FlPkNVJRKkosKBDWfErYQDYE-uqF72LQ9krq2nJk2RbSk1vmxvtp-4uAnIdIsFNkxBNqLBxoyE7urEBzpAJ0I4-dZ6qvURrfK5AL-vn0vAWEOi7epETIJLlH034AXCKxqMGvcQksc_5l0tvK7dum4e0Rn9ZAyqjy3zkBOueaq44hyc7z3qRS_xG_aWnxSOIj9A6r9Qc_74jRDphuJIRZbmFqG9_3_sw4reouR28TMJe5k1XZpR4ePMIw0n2t-qlotH-DkqZncawSxITXL3F5odfuu_5S6wjYzM4nzN7plwGtfDrZ-RkX3A-Rp319kAYIKRI4u5VhQIrusDeZYQUSfsOm01sYxJQO78auWMa58i5djQLLqK2Kbyrg-vG9hNX3UJT4r6bsDHPa6vJuCx7-z1j1a14IMFnholMRrrLBYfBUl_JAQ-jE4GztLP99JI_ljgDL4ULH8IjwtQ8cKPgxkqClJehJl2vKN78yggbbWQTJnhDvzOcMa_NT8Je6r2el56-LiDqvjhmQDIA48QcKI_-t2tCCQ36KO-z6uAlF0PBGoeSOFa76PTn3v0sOe4_KA_JQcValPaY2kHqAP0RTzAwId3V1sMDJmmR662wRyq8ExF10f4EbLIlMc_wigWkG7iyW6xjsGEs3rt8K-Acqw94iYMglFaFsUm5LMrFP_ioX94rs-Ok20vnGC-RK5adD7GBoWUyZvOTCdeRoStRBmNI66ApI2pTW05ImvThyOvdAQ5UckSEn99j_kPcRNg-RYuNIRB0w1nmeuhAIyqkj4yPooAU2f8NSwBPbEgyg0t0YhS11MBPhIEjhfodowQgZAQy-Qi6QbDI-oTfPEia_lR3r17UKEWu0DDcU61Rb8fN3eTZfsgp-OUdy12BfABz9GXpyeuK1Zr86kSFRG9M-OgNxjZlokDEphlcAjh6Cu_KOomal4C_yP0HCxrrQI210huZiPD3ZHm46RFS3_Em2RONdo-KyGhAUQVd-anI_gviB7uFxK_5Bg0_Fdv-UKLO7c6vKu-HReJfvXac0oYG9DOGfEjrDTpuRl8B-LDoxJ4cakPEMtkcIGIxQ&scope=https%3A%2F%2Fmanagement.azure.com%2F.default+offline_access+openid+profile + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1556' + Content-Type: + - application/x-www-form-urlencoded + User-Agent: + - python-requests/2.32.3 + X-AnchorMailbox: + - Oid:12096bc6-d0f0-41da-827a-279e3ba94899@72f988bf-86f1-41af-91ab-2d7cd011db47 + client-request-id: + - 16e56ae2-4aee-4d3e-8faa-17dfdc94cc87 + x-client-cpu: + - x64 + x-client-current-telemetry: + - 4|84,3| + x-client-last-telemetry: + - 4|0||| + x-client-os: + - win32 + x-client-sku: + - MSAL.Python + x-client-ver: + - 1.20.0 + x-ms-lib-capability: + - retry-after, h429 + method: POST + uri: https://mock-host/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token + response: + body: + string: '{"token_type": "Bearer", "scope": "https://management.azure.com/user_impersonation + https://management.azure.com/.default", "expires_in": 5397, "ext_expires_in": + 5397, "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkNOdjBPSTNSd3FsSEZFVm5hb01Bc2hDSDJYRSIsImtpZCI6IkNOdjBPSTNSd3FsSEZFVm5hb01Bc2hDSDJYRSJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3LyIsImlhdCI6MTc0MzYyNzAzMiwibmJmIjoxNzQzNjI3MDMyLCJleHAiOjE3NDM2MzI3MzAsIl9jbGFpbV9uYW1lcyI6eyJncm91cHMiOiJzcmMxIn0sIl9jbGFpbV9zb3VyY2VzIjp7InNyYzEiOnsiZW5kcG9pbnQiOiJodHRwczovL2dyYXBoLndpbmRvd3MubmV0LzcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0Ny91c2Vycy8xMjA5NmJjNi1kMGYwLTQxZGEtODI3YS0yNzllM2JhOTQ4OTkvZ2V0TWVtYmVyT2JqZWN0cyJ9fSwiYWNyIjoiMSIsImFpbyI6IkFhUUFXLzhaQUFBQU53b1R2NURvQ2RGRlhoMjNHQWVWQjVabHk0dkFWdWR6c1FlQlI1RDVxRldFQU9aVDBTYnluOWxyZ1pLWUFhNGxNK1Bkc1pGS0tTQTlwWGMvekJtTmoyRUZNUnN1bFdWWFVNTmNvQWliQlcrOUZGUjIzdXU2eGY3MkMza3lHZEhQNzZGVVdrR1o4YWVQSzhzV0krMlRmVXdLS2hkL0VEaFdZcmdKV2J6aXR1Z2pTdUVWT3JadDZTUHkyQWFYbHl2WXdzYjlDdElPV1Q3NXBhMTJCRmtBckE9PSIsImFtciI6WyJmaWRvIiwicnNhIiwibWZhIl0sImFwcGlkIjoiMDRiMDc3OTUtOGRkYi00NjFhLWJiZWUtMDJmOWUxYmY3YjQ2IiwiYXBwaWRhY3IiOiIwIiwiZGV2aWNlaWQiOiJkODAwNjQxZi0wZGYzLTQ3NjUtYjcwYi1iMDc4ZjYyYTA5NDYiLCJmYW1pbHlfbmFtZSI6IkhvbGRlciIsImdpdmVuX25hbWUiOiJIYXNhbmkiLCJpZHR5cCI6InVzZXIiLCJpcGFkZHIiOiIxNzIuMTcyLjM0LjExNSIsIm5hbWUiOiJIYXNhbmkgSG9sZGVyIiwib2lkIjoiMTIwOTZiYzYtZDBmMC00MWRhLTgyN2EtMjc5ZTNiYTk0ODk5Iiwib25wcmVtX3NpZCI6IlMtMS01LTIxLTIxMjc1MjExODQtMTYwNDAxMjkyMC0xODg3OTI3NTI3LTU3OTEzNTExIiwicHVpZCI6IjEwMDMyMDAxRkU2RDZBOEUiLCJyaCI6IjEuQVJvQXY0ajVjdkdHcjBHUnF5MTgwQkhiUjBaSWYza0F1dGRQdWtQYXdmajJNQk1hQU1RYUFBLiIsInNjcCI6InVzZXJfaW1wZXJzb25hdGlvbiIsInNpZCI6IjgyYjM3MzcwLWQ3MTktNGU1My1iMGFlLWVjODAyNWRiN2NiNiIsInN1YiI6IlNtUGRPUG9kY08td1lJTzM4em15aDhmN2l0X053a0Y5R18tVWJ2Rjkwc28iLCJ0aWQiOiI3MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDciLCJ1bmlxdWVfbmFtZSI6Imhhc2FuaWhvbGRlckBtaWNyb3NvZnQuY29tIiwidXBuIjoiaGFzYW5paG9sZGVyQG1pY3Jvc29mdC5jb20iLCJ1dGkiOiJzcVA3SGpXTGRVT3hJSlBEWXJ0MEFBIiwidmVyIjoiMS4wIiwid2lkcyI6WyJiNzlmYmY0ZC0zZWY5LTQ2ODktODE0My03NmIxOTRlODU1MDkiXSwieG1zX2lkcmVsIjoiMSAxNiIsInhtc190Y2R0IjoxMjg5MjQxNTQ3fQ.gP67EWjaWEEq6Q2ja65Bzsi7JrWo5d2xpapeIGIxKrHVFlBXe6IbTujFizOVNTSCkz6VcNqIALih1hsmaJ8U6gLH6yD3m349P--9ERponshRWB1if6wU7axJEIB2cMTPyEAHRbgytsjQ0PQ7Rnw4P853hj098sEZmasYoK_zh0SfCTD55Xn23i8kkqG4uyXHSk0-wwjLg1OJVLoGXfsZv5RolovrugTwr1dnE1uk6CbaXnxV2OEdn_Ty4sqLDRUQtjrnUcV0j9db1D30v1-1rOTJ3TnU8Dw9njPohA5326sm0OyqLbfphgjeNQJUg6zL_scssCTQsIo6BC7S5qvH3Q", + "refresh_token": "1.ARoAv4j5cvGGr0GRqy180BHbR5V3sATbjRpGu-4C-eG_e0YaAMQaAA.AgABAwEAAABVrSpeuWamRam2jAF1XRQEAwDs_wUA9P-Em8b1QeW67xTW6IWRbjmSf24nSM9i_FI22MFMiGHdX912GXa9UGWBkVG5qaiqXL9uILFMOba-41zijSNA5PF-F-x8v8O-SH9kOvyJMManVIeV04GzfAK5v4BQnG0x7INb4ds5RUIzX9VZgYNwSGfYHMdP0T4E0WGl1cLbWmtaWBEfJPnY-cpUqtHqh6jxfB18tMIIeegiE2sUP2xFKbglgAdXNdYJs5aUGeCB6RSND9O7JAQdozQkv5nj_6LZnjMUrw7irxPCXLlDHpY3gtSU_pkUTdj-nKV0joTfKaXuHs0ulb065qDA8gI9PSDyNc5eB8c0NbPJmnG4d_neTC5dfSA5OCNCYTqTc0skBBY2abhue4JpOMHtFg2kdwGjkEgY9-xDod4Bm7Ie-UEeE1mjl08xz7x4zZiV89adQRT7tyEAdzDP7khYLsKXbn8s-Uaz72vap6yAhSU8QHju9vWPnz2BazmqfA6BGxya4VyLoB1QUUnCr51Lweom8Q4nEXSDWJukNeWZ0Vg0QNrrecUim0ctNtItFA8Qie1FyNMjlfwjZhwoTn_E1Nn0mHFYuvqHlyyTBYdVXbayneLMAz0JRYHIicxrIPWy-_3Y3canpjvtWPo3Xy9T0Nw_H_nC77c473GyzIZxNEvKU9nqZvJ78mUC0Zsi7aPHkrU8fsulQNaQhVtUI7EKytBM2K2G9P_la_IS5-Q6GnmzwYE3OSBFpySMOCT74sQQyzXPhX3LtvnzGi4osLY98zQO66NiYmMzoXH4fMCjtY7qhdJZ0b4YYEzLnW2Ii-sWJup_mpdAwys9gHBZtWVpdwVgYaX5s2E12Mu0uSysTayxpuCDG_KaKwaMVA8r0ChTzQk5I-KKNLVudqvpbxesOlhlvH2X_Kt8KUuc8OBX6qtf2SIvERyQxBn8xlnn4CHbQh75QxKRio2nXFFRlaHJvh_OwB9gUOomfNtP8mOLksHE-3tEjUqpXK4y-NZw0p26Z4d0NUvjrKV0zfMOJMuF3_kL0iBboBW2FbNR3QE94A43M7-g-3YIRnn4HZULpwKYxR-eny1p-lIQfsDSHV2xkas9UMwz0nkfQZXqHK39TJ7FKC-YZopM1qEl3mBcIhLV50tyPJe3yywgNkQ6OdgKnUM9Y9sbxOKbexxIITdf-oJ60hLy", + "foci": "1", "id_token": "eyJxxxx", + "client_info": "eyJ1aWQiOiIxMjA5NmJjNi1kMGYwLTQxZGEtODI3YS0yNzllM2JhOTQ4OTkiLCJ1dGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3In0"}' + headers: + Cache-Control: + - no-store, no-cache + Content-Length: + - '5726' + Content-Security-Policy-Report-Only: + - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-hRAMlsA3p7mRq4dU-i19ig' + 'unsafe-inline' 'unsafe-eval' https://*.msauth.net https://*.msftauth.net + https://*.msftauthimages.net https://*.msauthimages.net https://*.msidentity.com + https://*.microsoftonline-p.com https://*.microsoftazuread-sso.com https://*.azureedge.net + https://*.outlook.com https://*.office.com https://*.office365.com https://*.microsoft.com + https://*.bing.com 'report-sample'; report-uri https://csp.microsoft.com/report/ESTS-UX-All + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:55:32 GMT + Expires: + - '-1' + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Pragma: + - no-cache + Set-Cookie: + - fpc=AgYcNm5X6mNOhoPouDVsDEkV2iMTAQAAAEObf98OAAAA; expires=Fri, 02-May-2025 + 20:55:32 GMT; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-XSS-Protection: + - '0' + client-request-id: + - 16e56ae2-4aee-4d3e-8faa-17dfdc94cc87 + x-ms-clitelem: + - 1,0,0,3110534.6645, + x-ms-ests-server: + - 2.1.20465.4 - NCUS ProdSlices + x-ms-request-id: + - 1efba3b2-8b35-4375-b120-93c362bb7400 + x-ms-srs: + - 1.P + status: + code: 200 + message: OK +- request: + body: '{"availabilityGroupName": "ag1", "replicas": [{"serverInstance": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql3000", + "endpointName": "", "endpointUrl": "tcp://ALL:5022", "endpointConnectLogin": + "FG\\Administrator", "availabilityMode": "SYNCHRONOUS_COMMIT", "failoverMode": + "MANUAL", "seedingMode": "AUTOMATIC", "backupPriority": 50, "secondaryRoleAllowConnections": + "NO", "primaryRoleAllowConnections": "ALL", "sessionTimeout": 10}], "databases": + ["appdb01"], "failureConditionLevel": 3, "healthCheckTimeout": 30000, "dbFailover": + "OFF", "dtcSupport": "NONE"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '652' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - d0cbf2bf-1004-11f0-a56a-8cb87e67d26f + method: POST + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql3000/createAvailabilityGroup?api-version=2024-03-01-preview + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/sql3000'' + under resource group ''hh-sqldev01-rg'' was not found. For more details please + go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '235' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:55:32 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: CBAAF6AA80FE4CD49C3DEA8DE6663A44 Ref B: BN1AA2051012017 Ref C: 2025-04-02T20:55:33Z' + x-ms-correlation-request-id: + - aca02279-7810-4c0c-bb85-a53c8e268467 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - aca02279-7810-4c0c-bb85-a53c8e268467 + x-ms-routing-request-id: + - EASTUS2:20250402T205533Z:aca02279-7810-4c0c-bb85-a53c8e268467 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_ag_with_listener[hh-sqldev01-rg-ag1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_ag_with_listener[hh-sqldev01-rg-ag1].yaml new file mode 100644 index 00000000000..82cb3cb3ab4 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_ag_with_listener[hh-sqldev01-rg-ag1].yaml @@ -0,0 +1,501 @@ +interactions: +- request: + body: client_id=04b07795-8ddb-461a-bbee-02f9e1bf7b46&grant_type=refresh_token&client_info=1&claims=%7B%22access_token%22%3A+%7B%22xms_cc%22%3A+%7B%22values%22%3A+%5B%22CP1%22%5D%7D%7D%7D&refresh_token=1.ARoAv4j5cvGGr0GRqy180BHbR5V3sATbjRpGu-4C-eG_e0YaAMQaAA.AgABAwEAAABVrSpeuWamRam2jAF1XRQEAwDs_wUA9P-XiJEzPoir8B_M5PsYRxXteMQFp_rCsIfWkgmQRcmFCRsjKZ0v_f9r3ukOPACxIT7B-y9LZ3VFBq7cznDewLh6Oldkt9xvnaUQj8DVf8gKQT6pBGjFQnSENQk_MPxAs1Ab91H2pW86m0tsmoUM50zvL6DkWKXzkcCDpHPCo_IAVHiGQGntlHTLdLuObIy8brcf1yVJWso4OzyeFui9iF3L_bCTrrzaR_CY7lYnDKOC3KO6Vq9ZUhPmdIGqOAVQ3v7wAJSR3OoDJTNPZ6TFSK2HPZ_jXy7O6ibb8SlotPMMY_dy5gBp44P_zoMU1G7sRHrw62j5V-G9R1Y_HJ15k38_KHnrMAVCDgYbbl81ZETbRqJMeVv4NyZYR7lXdPv4zUSuwBAX8Q505ZlWPWKr39iOj4auRcvwlnav0vyztDvCAjuf-YKk9p9TIlnbEgWySj-B1YXqoeduJU6El4nvcOMKvV1NYfYkR-2fYEFxWEMz0a6wmbaJ-ssxv8wHMU0Ls4M0mMjQNPAMo4NiIFyJxUJ-Sh9hofkMRhZb9Y3U0UQK-qmF4emtajOZ9Swe6A9OaY3MTrcO7WlkeTubIml48HQZEa2tEo8YI0DToKE3V4SR7XR8w4AyvSKkfEl1_oJbm-hhJKJzadGe9k5XBLmC5upUuOOhn8XHeDnBdSWpfwWLpkZEXT8cOlD5zhZ3rWplap4DYs5SHs-eJK4WG06z_ONpNV33YCEleCK58317yx31A49YkfkoNwpe-AnN43DsK7GRpU8efTkbJy26h6svjxclaKCouEvtuM9_0FuVsg4Nn8PDcXzZmcmEhzbgY2kqAQoJP8p44TJRQRDhUeC-UoCqu1HgDAfk7w5tytD6NRHR7E-Lteb6esUaukUmDEFdGNsXpE5XUaGmxVD-Xtexfkva9QI3PxWD1kv-tFcJzaJZ_F-rqjyr4BYi6oxFZeFO22ahGnL2g1oqLzGM2t-WaKBsEHqj1Mlp-mR88Td6HYNC0whcosNZyVXIHzDLbiIMZuzNGNWUNd5y2HMFIATwlN-k5bkNcU3DSQWVcxOnYM417xH1rYwjCxh8kbFmwTIpIN9HVMEMz-GoRc8df4gdWMwhXaHu9Ib2cs103NBuZ7MlBW9H7a2nH-HbLcnpVf7SMIgWcYqj91axxOFC&scope=https%3A%2F%2Fmanagement.core.windows.net%2F%2F.default+offline_access+openid+profile + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1552' + Content-Type: + - application/x-www-form-urlencoded + User-Agent: + - python-requests/2.32.3 + X-AnchorMailbox: + - Oid:12096bc6-d0f0-41da-827a-279e3ba94899@72f988bf-86f1-41af-91ab-2d7cd011db47 + client-request-id: + - f687b4bd-2777-41ad-a42e-e0a66fdb5374 + x-client-cpu: + - x64 + x-client-current-telemetry: + - 4|84,3| + x-client-last-telemetry: + - 4|0||| + x-client-os: + - win32 + x-client-sku: + - MSAL.Python + x-client-ver: + - 1.20.0 + x-ms-lib-capability: + - retry-after, h429 + method: POST + uri: https://mock-host/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token + response: + body: + string: '{"token_type": "Bearer", "scope": "https://management.core.windows.net//user_impersonation + https://management.core.windows.net//.default", "expires_in": 3826, "ext_expires_in": + 3826, "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkNOdjBPSTNSd3FsSEZFVm5hb01Bc2hDSDJYRSIsImtpZCI6IkNOdjBPSTNSd3FsSEZFVm5hb01Bc2hDSDJYRSJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNzQzNjIzOTIyLCJuYmYiOjE3NDM2MjM5MjIsImV4cCI6MTc0MzYyODA0OSwiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3L3VzZXJzLzEyMDk2YmM2LWQwZjAtNDFkYS04MjdhLTI3OWUzYmE5NDg5OS9nZXRNZW1iZXJPYmplY3RzIn19LCJhY3IiOiIxIiwiYWlvIjoiQWFRQVcvOFpBQUFBemNhYjRYOW1nSjFaMlhGelI5Q0JPR0dqQmoxOGNyL0RmOFFSbHJYTXhUcFlhck5jRUpTRzNodXNadGVKZjlUNWh4cGVrN0EwMitjOFg1TE9pT0I5TmVFU2RYcXFqR2lZREgyanpnTW1zb1E1K1lidkNXU0c3NGdxRnZtcCtta1hCWUNuUklzWXhZVHZyVTlUQkxYSHFZSmgwL0ZOR280MVJZODRkc0p2U082VW5DbjNRNHd6NnlGeTRZeVdyMi81QlgreUxkTXN2Y3M3V2VkZDU1aVI3Zz09IiwiYW1yIjpbImZpZG8iLCJyc2EiLCJtZmEiXSwiYXBwaWQiOiIwNGIwNzc5NS04ZGRiLTQ2MWEtYmJlZS0wMmY5ZTFiZjdiNDYiLCJhcHBpZGFjciI6IjAiLCJkZXZpY2VpZCI6ImQ4MDA2NDFmLTBkZjMtNDc2NS1iNzBiLWIwNzhmNjJhMDk0NiIsImZhbWlseV9uYW1lIjoiSG9sZGVyIiwiZ2l2ZW5fbmFtZSI6Ikhhc2FuaSIsImlkdHlwIjoidXNlciIsImlwYWRkciI6IjE3Mi4xNzIuMzQuMTIiLCJuYW1lIjoiSGFzYW5pIEhvbGRlciIsIm9pZCI6IjEyMDk2YmM2LWQwZjAtNDFkYS04MjdhLTI3OWUzYmE5NDg5OSIsIm9ucHJlbV9zaWQiOiJTLTEtNS0yMS0yMTI3NTIxMTg0LTE2MDQwMTI5MjAtMTg4NzkyNzUyNy01NzkxMzUxMSIsInB1aWQiOiIxMDAzMjAwMUZFNkQ2QThFIiwicmgiOiIxLkFSb0F2NGo1Y3ZHR3IwR1JxeTE4MEJIYlIwWklmM2tBdXRkUHVrUGF3ZmoyTUJNYUFNUWFBQS4iLCJzY3AiOiJ1c2VyX2ltcGVyc29uYXRpb24iLCJzaWQiOiI4MmIzNzM3MC1kNzE5LTRlNTMtYjBhZS1lYzgwMjVkYjdjYjYiLCJzdWIiOiJTbVBkT1BvZGNPLXdZSU8zOHpteWg4ZjdpdF9Od2tGOUdfLVVidkY5MHNvIiwidGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3IiwidW5pcXVlX25hbWUiOiJoYXNhbmlob2xkZXJAbWljcm9zb2Z0LmNvbSIsInVwbiI6Imhhc2FuaWhvbGRlckBtaWNyb3NvZnQuY29tIiwidXRpIjoiaEtTM3IyNjN2VS1GR2NfejFZNU1BQSIsInZlciI6IjEuMCIsIndpZHMiOlsiYjc5ZmJmNGQtM2VmOS00Njg5LTgxNDMtNzZiMTk0ZTg1NTA5Il0sInhtc19pZHJlbCI6IjEgMTIiLCJ4bXNfdGNkdCI6MTI4OTI0MTU0N30.RqEI4eT3wdgGShwLPv96sTDmbrgAktlNccTZ9D4h_f19568afKqO0lrhRm1FeVjhP7ktUNQtCeZvwFESKjZVsEYPNiimV6qVVXa9UdByKO1QxWlIi9XkkkJ3GMOiEg2u596aRCIkGEMhNdVP2DMeDYm9L_UMv70gAfaln1-jGlSrJmqTByg7coLnq6ng7-NHhtqKEZy8wDFwfhigk7GDIiqI9ryAqhDggvrWpwBrxmjEwRrc3ATI3v7NjS0w-j29MXItem_MAzqmcC3Mj45pMcnb03pvbhqU1aVeKYeupU6xyLXldP-omFykHleCYzF5SQbzUU8RdtWfZDcM_3IkDg", + "refresh_token": "1.ARoAv4j5cvGGr0GRqy180BHbR5V3sATbjRpGu-4C-eG_e0YaAMQaAA.AgABAwEAAABVrSpeuWamRam2jAF1XRQEAwDs_wUA9P_L4wxwQlTaMl3511wTV5t3Bv4XV6JlhjPs95XwsNx82FVD-L3lghOSrFDLyeNxOm0qJcAcyZ-eoxCWTv9pMz0ly3XlDqW-emnj6-FlPkNVJRKkosKBDWfErYQDYE-uqF72LQ9krq2nJk2RbSk1vmxvtp-4uAnIdIsFNkxBNqLBxoyE7urEBzpAJ0I4-dZ6qvURrfK5AL-vn0vAWEOi7epETIJLlH034AXCKxqMGvcQksc_5l0tvK7dum4e0Rn9ZAyqjy3zkBOueaq44hyc7z3qRS_xG_aWnxSOIj9A6r9Qc_74jRDphuJIRZbmFqG9_3_sw4reouR28TMJe5k1XZpR4ePMIw0n2t-qlotH-DkqZncawSxITXL3F5odfuu_5S6wjYzM4nzN7plwGtfDrZ-RkX3A-Rp319kAYIKRI4u5VhQIrusDeZYQUSfsOm01sYxJQO78auWMa58i5djQLLqK2Kbyrg-vG9hNX3UJT4r6bsDHPa6vJuCx7-z1j1a14IMFnholMRrrLBYfBUl_JAQ-jE4GztLP99JI_ljgDL4ULH8IjwtQ8cKPgxkqClJehJl2vKN78yggbbWQTJnhDvzOcMa_NT8Je6r2el56-LiDqvjhmQDIA48QcKI_-t2tCCQ36KO-z6uAlF0PBGoeSOFa76PTn3v0sOe4_KA_JQcValPaY2kHqAP0RTzAwId3V1sMDJmmR662wRyq8ExF10f4EbLIlMc_wigWkG7iyW6xjsGEs3rt8K-Acqw94iYMglFaFsUm5LMrFP_ioX94rs-Ok20vnGC-RK5adD7GBoWUyZvOTCdeRoStRBmNI66ApI2pTW05ImvThyOvdAQ5UckSEn99j_kPcRNg-RYuNIRB0w1nmeuhAIyqkj4yPooAU2f8NSwBPbEgyg0t0YhS11MBPhIEjhfodowQgZAQy-Qi6QbDI-oTfPEia_lR3r17UKEWu0DDcU61Rb8fN3eTZfsgp-OUdy12BfABz9GXpyeuK1Zr86kSFRG9M-OgNxjZlokDEphlcAjh6Cu_KOomal4C_yP0HCxrrQI210huZiPD3ZHm46RFS3_Em2RONdo-KyGhAUQVd-anI_gviB7uFxK_5Bg0_Fdv-UKLO7c6vKu-HReJfvXac0oYG9DOGfEjrDTpuRl8B-LDoxJ4cakPEMtkcIGIxQ", + "foci": "1", "id_token": "eyJxxxx", + "client_info": "eyJ1aWQiOiIxMjA5NmJjNi1kMGYwLTQxZGEtODI3YS0yNzllM2JhOTQ4OTkiLCJ1dGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3In0"}' + headers: + Cache-Control: + - no-store, no-cache + Content-Length: + - '5761' + Content-Security-Policy-Report-Only: + - object-src 'none'; base-uri 'self'; script-src 'self' 'nonce-Civ-8C-9GYw0Qz4vWTOdKQ' + 'unsafe-inline' 'unsafe-eval' https://*.msauth.net https://*.msftauth.net + https://*.msftauthimages.net https://*.msauthimages.net https://*.msidentity.com + https://*.microsoftonline-p.com https://*.microsoftazuread-sso.com https://*.azureedge.net + https://*.outlook.com https://*.office.com https://*.office365.com https://*.microsoft.com + https://*.bing.com 'report-sample'; report-uri https://csp.microsoft.com/report/ESTS-UX-All + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:03:41 GMT + Expires: + - '-1' + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Pragma: + - no-cache + Set-Cookie: + - fpc=Alq8mYfzdSlOiTFxdjPytrVk9PhAAQAAAB2Pf98OAAAA; expires=Fri, 02-May-2025 + 20:03:42 GMT; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-XSS-Protection: + - '0' + client-request-id: + - f687b4bd-2777-41ad-a42e-e0a66fdb5374 + x-ms-clitelem: + - 1,0,0,772569.3823, + x-ms-ests-server: + - 2.1.20465.4 - SCUS ProdSlices + x-ms-request-id: + - afb7a484-b76e-4fbd-8519-cff3d58e4c00 + x-ms-srs: + - 1.P + status: + code: 200 + message: OK +- request: + body: '{"availabilityGroupName": "ag1", "replicas": [{"serverInstance": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "endpointName": "", "endpointUrl": "tcp://ALL:5022", "availabilityMode": "SYNCHRONOUS_COMMIT", + "failoverMode": "MANUAL", "seedingMode": "AUTOMATIC", "backupPriority": 50, + "secondaryRoleAllowConnections": "NO", "primaryRoleAllowConnections": "ALL", + "sessionTimeout": 10}], "databases": ["appdb01"], "failureConditionLevel": 3, + "healthCheckTimeout": 30000, "dbFailover": "OFF", "dtcSupport": "NONE", "listener": + {"dnsName": "test-listener", "ipV4AddressesAndMasks": [{"ipAddress": "192.168.0.50", + "mask": "255.255.255.0"}], "ipV6Addresses": [], "port": 7777}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '765' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 9358bb9f-0ffd-11f0-96e8-8cb87e67d26f + method: POST + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01/createAvailabilityGroup?api-version=2024-03-01-preview + response: + body: + string: '{"operationStatusUri": "providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "operationStatusApiVersion": "2024-03-01-preview"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792210241547600&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=gpK-7P02OvTU6UFCkfdeR-UfscU27lXZUHyyicsopkmTFDbkY6S1DyTlM8dOZNVHGC4Ub0jXkOEdAoXTYG9SKvinGN0WjxZTvKqgTp3-lHGiBYusKNkS0d0aqEIZaSmb4LkMcAtP_pmyE-PyhU3C0knSSNsVEwh74GcYKIEDnX70X74Zp8JQS8nX_ViuuGvq1FlaNnnJ4P7pqE-71IjdDc1U0a1yCmUH5Si9OaHbkXSdFn0jC3pWwnvv0KdII576M6RSMBRxliIYyo_YoyRpLl2JZ0c9xa9c6dUX5CZNlX5vfEfEmCnP6FY8-yj1fUAeMI-V9ZSwy4NcNVa4fyatZw&h=st1Ej_PWlRW2FdrGPswgBsaL5nEJAHnvDs3uNRPpRnE + Cache-Control: + - no-cache + Content-Length: + - '250' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:03:43 GMT + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792210241547600&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=gpK-7P02OvTU6UFCkfdeR-UfscU27lXZUHyyicsopkmTFDbkY6S1DyTlM8dOZNVHGC4Ub0jXkOEdAoXTYG9SKvinGN0WjxZTvKqgTp3-lHGiBYusKNkS0d0aqEIZaSmb4LkMcAtP_pmyE-PyhU3C0knSSNsVEwh74GcYKIEDnX70X74Zp8JQS8nX_ViuuGvq1FlaNnnJ4P7pqE-71IjdDc1U0a1yCmUH5Si9OaHbkXSdFn0jC3pWwnvv0KdII576M6RSMBRxliIYyo_YoyRpLl2JZ0c9xa9c6dUX5CZNlX5vfEfEmCnP6FY8-yj1fUAeMI-V9ZSwy4NcNVa4fyatZw&h=st1Ej_PWlRW2FdrGPswgBsaL5nEJAHnvDs3uNRPpRnE + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=355806c6ddf2deef88f3d45df7c41d3898849f10c8b7fa3f721a61a782aba5a5;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-centraluseuap.trafficmanager.net + - ARRAffinitySameSite=355806c6ddf2deef88f3d45df7c41d3898849f10c8b7fa3f721a61a782aba5a5;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-centraluseuap.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 2BF72528E5C041A686281C201A398584 Ref B: BN1AA2051015023 Ref C: 2025-04-02T20:03:42Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - 34a75ea5-c379-4d4d-8c1b-007c63c5a63d + x-ms-operation-identifier: + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=12096bc6-d0f0-41da-827a-279e3ba94899/eastus2/8a2777cf-5106-47e8-a1a0-913318d078f0 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '11999' + x-ms-ratelimit-remaining-subscription-writes: + - '19997' + x-ms-request-id: + - 9c65fca3-478f-4f4b-86a5-5a884352c310 + x-ms-routing-request-id: + - EASTUS2:20250402T200344Z:34a75ea5-c379-4d4d-8c1b-007c63c5a63d + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 9358bb9f-0ffd-11f0-96e8-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "ValidatingAvailabilityGroup", "startTime": "2025-04-02T20:03:43.5104218Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792210289656305&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=ccQHIMtZDIn273fw4XE4a12ZLj0VIVAtMvnT7hch686LO4DmqFAU8esXnAdIIlNYnbgtrEM-lbeyUh1WoN-gSg91EazfqwcHJlUw3MFuuQ75YQHOf-2ywRvsrMv6oHzx781gOdI-tL6lbwYzcdflQKWj16agD7RnVm2J5i9P6bVwhOEyFIB9p4y1AMtLzOCy1gtqH1VMe13SJI9rXCDYJnNKERXkkWeLkhPiOLpUp4xXbw6Ws3f7osgYXcsPZ43QD1LyHkcMfeHwgpx6Kta9EuovJqGHR98UlKTHOB9jXjQ8ijOJUZKSFscU6Gf3f8H5mcDBNoBrgDgoV3Hw21FBRQ&h=ZI8xUvy8ng9JyVdYQq1z5t7wkdbH7U-_ffOxxiQUJP4 + Cache-Control: + - no-cache + Content-Length: + - '534' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:03:48 GMT + ETag: + - '"02007f90-0000-3300-0000-67ed98210000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792210289656305&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=ccQHIMtZDIn273fw4XE4a12ZLj0VIVAtMvnT7hch686LO4DmqFAU8esXnAdIIlNYnbgtrEM-lbeyUh1WoN-gSg91EazfqwcHJlUw3MFuuQ75YQHOf-2ywRvsrMv6oHzx781gOdI-tL6lbwYzcdflQKWj16agD7RnVm2J5i9P6bVwhOEyFIB9p4y1AMtLzOCy1gtqH1VMe13SJI9rXCDYJnNKERXkkWeLkhPiOLpUp4xXbw6Ws3f7osgYXcsPZ43QD1LyHkcMfeHwgpx6Kta9EuovJqGHR98UlKTHOB9jXjQ8ijOJUZKSFscU6Gf3f8H5mcDBNoBrgDgoV3Hw21FBRQ&h=ZI8xUvy8ng9JyVdYQq1z5t7wkdbH7U-_ffOxxiQUJP4 + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: D42489E7A97240E0910DD5770C521C9A Ref B: BN1AA2051014009 Ref C: 2025-04-02T20:03:48Z' + x-ms-correlation-request-id: + - e0e3578f-0dc8-4ff7-9235-fe7b09648742 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24994' + x-ms-request-id: + - 663db61f-883e-4cda-99b6-fe3711e86de2 + x-ms-routing-request-id: + - EASTUS2:20250402T200348Z:e0e3578f-0dc8-4ff7-9235-fe7b09648742 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 9358bb9f-0ffd-11f0-96e8-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "Processing", "startTime": "2025-04-02T20:03:43.5104218Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792210598200833&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=J4OHh1Z5H1_OUP97Vu_2brNmxXiItUFMGSb10_KIEoDH_CZsk1f0QaBDKsnie-QCaS4AYakTXDfdV-2HhOcarEcf3nBs7vTr8Vfnh78mKV_WdeuqvsYHLyZ3HHZ4PxSRjXrrVshrwiCco3p6FX90LowBtPGnINItlq17Vm85kpM636bR8wEPnn57ZzNS6Sx8CoeCm5ecRw_Nm7M01KTQaFp7J4wiXJxTQ4aB2dptEt6TCXUp_Y1t_FuM4wzB5i7H2jaRoG1SwNqWcIJilU5ih20cZN_YG1ruwFI-FPir8JbLdpqZuWJulWkuPbG8oEVuuLml_nzacS73WyWPYeGChQ&h=ug4aM849fqa_prIB4NZmfCt4Rx_ClpElLlckHaJqWvw + Cache-Control: + - no-cache + Content-Length: + - '517' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:04:19 GMT + ETag: + - '"02001991-0000-3300-0000-67ed983f0000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792210598200833&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=J4OHh1Z5H1_OUP97Vu_2brNmxXiItUFMGSb10_KIEoDH_CZsk1f0QaBDKsnie-QCaS4AYakTXDfdV-2HhOcarEcf3nBs7vTr8Vfnh78mKV_WdeuqvsYHLyZ3HHZ4PxSRjXrrVshrwiCco3p6FX90LowBtPGnINItlq17Vm85kpM636bR8wEPnn57ZzNS6Sx8CoeCm5ecRw_Nm7M01KTQaFp7J4wiXJxTQ4aB2dptEt6TCXUp_Y1t_FuM4wzB5i7H2jaRoG1SwNqWcIJilU5ih20cZN_YG1ruwFI-FPir8JbLdpqZuWJulWkuPbG8oEVuuLml_nzacS73WyWPYeGChQ&h=ug4aM849fqa_prIB4NZmfCt4Rx_ClpElLlckHaJqWvw + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: A02BD9EF015D48D0ACC9336DB8FDA6FB Ref B: BN1AA2051012017 Ref C: 2025-04-02T20:04:19Z' + x-ms-correlation-request-id: + - 6e086a9f-2d3e-45bd-a33e-3b8980fafccb + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24991' + x-ms-request-id: + - 45a609de-e9ae-4b6d-a2be-da44394bf430 + x-ms-routing-request-id: + - EASTUS2:20250402T200419Z:6e086a9f-2d3e-45bd-a33e-3b8980fafccb + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 9358bb9f-0ffd-11f0-96e8-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "Processing", "startTime": "2025-04-02T20:03:43.5104218Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792210905614622&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=VWws--9vHiCSO58nB0ZbkMvUzxcj4N_Dxeu2C4sCx0XFejTMUEcaXRcOFIopkVTry_qn7hmuhZd_IyaUtJrqogrqa-fV2hXztBuMPevndjS2RjtGuXfnArjD-MKcuqLIgmxN6vxLux73qc8O_qe5pOfiLLsm6pUKqA-gxcJXsGmkLb56c11txFO4WN1bkpUMfqPesdLc4-RBY1ftEZyP1vuLvB0Tcrt1PL7W-P-N9mhld0TanHzydG6onQfb9LKDYeYeWTdDrobW7fSjvziRpnC_i_xeg9xRyXzjsrvSYhkoKSjC5w-X5hKW8mzOrwnUiYb3Hs1eHiCBVfkdLQF-Bw&h=LJtQJ-sGWavKt6-R4ODAUMSxnxxAWWlNMmQ96xQy8h0 + Cache-Control: + - no-cache + Content-Length: + - '517' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:04:49 GMT + ETag: + - '"02001991-0000-3300-0000-67ed983f0000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792210905614622&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=VWws--9vHiCSO58nB0ZbkMvUzxcj4N_Dxeu2C4sCx0XFejTMUEcaXRcOFIopkVTry_qn7hmuhZd_IyaUtJrqogrqa-fV2hXztBuMPevndjS2RjtGuXfnArjD-MKcuqLIgmxN6vxLux73qc8O_qe5pOfiLLsm6pUKqA-gxcJXsGmkLb56c11txFO4WN1bkpUMfqPesdLc4-RBY1ftEZyP1vuLvB0Tcrt1PL7W-P-N9mhld0TanHzydG6onQfb9LKDYeYeWTdDrobW7fSjvziRpnC_i_xeg9xRyXzjsrvSYhkoKSjC5w-X5hKW8mzOrwnUiYb3Hs1eHiCBVfkdLQF-Bw&h=LJtQJ-sGWavKt6-R4ODAUMSxnxxAWWlNMmQ96xQy8h0 + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 11DE9FAE0B1B4064BBB9466713D0B3B1 Ref B: BN1AA2051015021 Ref C: 2025-04-02T20:04:50Z' + x-ms-correlation-request-id: + - 86149329-a50e-4e65-8c41-fd9614566a88 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24990' + x-ms-request-id: + - 3dd62168-a9f6-4d21-a952-f717939fa7ae + x-ms-routing-request-id: + - EASTUS2:20250402T200450Z:86149329-a50e-4e65-8c41-fd9614566a88 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 9358bb9f-0ffd-11f0-96e8-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "CreatingAvailabilityGroup", "startTime": "2025-04-02T20:03:43.5104218Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792211212975061&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=RzTdNyaJN49AkGz8vSMsxfPFdGezyWgRTYad4QUuPLrscJ8-VGbeQpMFexm7N2ILh68Y3-INVfpGdNkNoHL76v2IwX4v9xb9fOPritmWUIDIGZM7n6dhttWYJQ6Sttvfsf6-cvOThdLSQ152oBLD-CBLn31N0cMwHSWaA8DhPag_GLz3uANQTsOG99zg0oWTvTOqXapx0M24YUEg5jgQK5KM_IBYoaSxEpGOWCV2KOl-wn9FWRWB4_02X6Y2wV_fm0cu5mdh5-1UgYgRRxYKE1Yp8_HcRQHAmXLHD27883kRRUocp0hfUKh7UQUZClNJNDy73BJq3YLyJVK1N6cNZA&h=oXDniA0ZY8DjlXdeKpyMapH7KdedruB9qysogfQNqBY + Cache-Control: + - no-cache + Content-Length: + - '532' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:05:21 GMT + ETag: + - '"02000092-0000-3300-0000-67ed987f0000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792211213443807&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=djTeXUvPNdStwcW0cbbvgntn1w-C432BTJ2zrR86R7IyO0XgJd9TS0xr82xs9oWtzxt0HfZyzFxPXfewHk3_IOQyPww68IXPR66LxuaFNstLRBjqyiyzfINPaQjGvT8qrXfp8BztQpsAITd7fewVVb4w0HhnqSPja0hwlecESQFoKHxEMdtzvv04tieU7t5YPVVhSWshsscPA3v3nveGpvYrR40LfogH_t-MPduPOM6iRk9GO6pfYY1CxMdeO-DF1Z86GbefTdwtq8ZJLyjXubnsul9CeREHeSaj5zQrlbcxZzm0GFSxQ2BY4WBlkWcGU-YTGx9XWyO5oNBgOBJx_w&h=KqUGeoW7YQuVIuMtlEcbDBTmKF04zITIAvZkO9NEJXE + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 6DA1A3500EF44DE893CC843AAB65AB55 Ref B: BN1AA2051015019 Ref C: 2025-04-02T20:05:21Z' + x-ms-correlation-request-id: + - 42c2d60d-27bd-4a34-9599-5c576843f75d + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24991' + x-ms-request-id: + - 73ac1046-541a-4ee8-9872-a7771d2c21a6 + x-ms-routing-request-id: + - EASTUS2:20250402T200521Z:42c2d60d-27bd-4a34-9599-5c576843f75d + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 9358bb9f-0ffd-11f0-96e8-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "9c65fca3-478f-4f4b-86a5-5a884352c310*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "Succeeded", "startTime": "2025-04-02T20:03:43.5104218Z", "endTime": + "2025-04-02T20:05:42.6737278Z", "properties": {"statusHistory": [{"ProvisioningState": + "ValidatingAvailabilityGroup", "Message": "", "EndTime": "2025-04-02T20:03:44.8640594Z"}, + {"ProvisioningState": "ValidatingAvailabilityGroup", "Message": "", "EndTime": + "2025-04-02T20:03:55.9937333Z"}, {"ProvisioningState": "ValidatingAvailabilityGroup", + "Message": "", "EndTime": "2025-04-02T20:04:05.2473504Z"}, {"ProvisioningState": + "ValidatedAvailabilityGroup", "Message": "Successfully validated availability + group-related configuration.", "EndTime": "2025-04-02T20:04:12.1553864Z"}, + {"ProvisioningState": "ConnectingToAgent", "Message": null, "EndTime": "2025-04-02T20:04:12.6674405Z"}, + {"ProvisioningState": "Processing", "Message": null, "EndTime": "2025-04-02T20:04:15.7972735Z"}, + {"ProvisioningState": "DbmEndpointCreated", "Message": "Created endpoint on + sql01", "EndTime": "2025-04-02T20:05:19.2341734Z"}, {"ProvisioningState": + "CreatingAvailabilityGroup", "Message": "Creating availability group ag1 on + /subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/hh-sqldev01-rg/providers/microsoft.azurearcdata/sqlserverinstances/sql01", + "EndTime": "2025-04-02T20:05:19.6535129Z"}, {"ProvisioningState": "CreatingAvailabilityGroup", + "Message": "Creating availability group ag1 on /subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/hh-sqldev01-rg/providers/microsoft.azurearcdata/sqlserverinstances/sql01", + "EndTime": "2025-04-02T20:05:27.6288219Z"}, {"ProvisioningState": "AvailabilityGroupCreated", + "Message": "Created availability group ag1 on /subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/hh-sqldev01-rg/providers/microsoft.azurearcdata/sqlserverinstances/sql01", + "EndTime": "2025-04-02T20:05:35.6754236Z"}, {"ProvisioningState": "ConnectingToAgent", + "Message": null, "EndTime": "2025-04-02T20:05:36.225156Z"}, {"ProvisioningState": + "UploadedAvailabilityGroupConfig", "Message": "Uploaded availability group + configuration from sql01", "EndTime": "2025-04-02T20:05:41.7375601Z"}, {"ProvisioningState": + "Succeeded", "Message": null, "EndTime": "2025-04-02T20:05:42.5677236Z"}]}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2570' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:05:51 GMT + ETag: + - '"02004392-0000-3300-0000-67ed98960000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: F460B6F4E14E4E9B8CF4E83775B30B45 Ref B: BN1AA2051015045 Ref C: 2025-04-02T20:05:52Z' + x-ms-correlation-request-id: + - 04940a6d-8c9d-4d20-900e-896bfb7bd871 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24991' + x-ms-request-id: + - 6f0a0b3d-a8b1-46a8-bed7-d5bad3ef8d30 + x-ms-routing-request-id: + - EASTUS2:20250402T200552Z:04940a6d-8c9d-4d20-900e-896bfb7bd871 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_single_replica_ag[hh-sqldev01-rg-ag1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_single_replica_ag[hh-sqldev01-rg-ag1].yaml new file mode 100644 index 00000000000..26b5c8a1c9b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_single_replica_ag[hh-sqldev01-rg-ag1].yaml @@ -0,0 +1,345 @@ +interactions: +- request: + body: '{"availabilityGroupName": "ag1", "replicas": [{"serverInstance": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/SqlServerInstances/sql01", + "endpointName": "", "endpointUrl": "tcp://ALL:5022", "availabilityMode": "SYNCHRONOUS_COMMIT", + "failoverMode": "MANUAL", "seedingMode": "AUTOMATIC", "backupPriority": 50, + "secondaryRoleAllowConnections": "NO", "primaryRoleAllowConnections": "ALL", + "sessionTimeout": 10}], "databases": ["appdb01"], "failureConditionLevel": 3, + "healthCheckTimeout": 30000, "dbFailover": "OFF", "dtcSupport": "NONE"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '605' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 9b16af82-0ffc-11f0-95a0-8cb87e67d26f + method: POST + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01/createAvailabilityGroup?api-version=2024-03-01-preview + response: + body: + string: '{"error": {"code": "GatewayTimeout", "message": "The gateway did not + receive a response from ''Microsoft.AzureArcData'' within the specified time + period."}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '150' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 19:57:06 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: F7546A305DB14B0684EF15BE708610CE Ref B: BN1AA2051012051 Ref C: 2025-04-02T19:56:46Z' + x-ms-correlation-request-id: + - ee02c5ae-a208-40c0-b870-9b51a532ad84 + x-ms-failure-cause: + - service + x-ms-request-id: + - ee02c5ae-a208-40c0-b870-9b51a532ad84 + x-ms-routing-request-id: + - EASTUS:20250402T195706Z:ee02c5ae-a208-40c0-b870-9b51a532ad84 + status: + code: 504 + message: Gateway Timeout +- request: + body: '{"availabilityGroupName": "ag1", "replicas": [{"serverInstance": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/SqlServerInstances/sql01", + "endpointName": "", "endpointUrl": "tcp://ALL:5022", "availabilityMode": "SYNCHRONOUS_COMMIT", + "failoverMode": "MANUAL", "seedingMode": "AUTOMATIC", "backupPriority": 50, + "secondaryRoleAllowConnections": "NO", "primaryRoleAllowConnections": "ALL", + "sessionTimeout": 10}], "databases": ["appdb01"], "failureConditionLevel": 3, + "healthCheckTimeout": 30000, "dbFailover": "OFF", "dtcSupport": "NONE"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '605' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 9b16af82-0ffc-11f0-95a0-8cb87e67d26f + method: POST + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01/createAvailabilityGroup?api-version=2024-03-01-preview + response: + body: + string: '{"operationStatusUri": "providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/f2de9db1-5618-4eda-9b52-1386616056c0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "operationStatusApiVersion": "2024-03-01-preview"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/f2de9db1-5618-4eda-9b52-1386616056c0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792206289597934&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=HFRgA9kpcXJ26uUI_PBh-fLNByrfWSq6MIdUwdwLfX01L_psgpC7x15Umv4h1zfzvMY6l_gkCgrxDBZMFz1li9V76UTiCKBck3be5VMOnehORrnGf38jAybQKvdgGNK21KvsPQ9SiBfHgjUB0IxKrc6nKhc1IxxKG9Ct6P7_mo3JwLgPl9gP1dazujBo3WvCCK_86XLOZZSHyt69oBDWWINx1UlDxP7JMkHMmCLxkMfsF_jr3O9kAJwBWGPFo05gvOj8L0g5zUOSXClWS6NQMogZCPpp-ZmywY-RJzkJ5QuyENIIszklXNsEtjHkQ89n3PFnP8kR_Dsb8TIvp2X8Gw&h=hCquI-Nmc8X_N7YNYEeW_0j2V6pG__qKwhAcwMhScOE + Cache-Control: + - no-cache + Content-Length: + - '250' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 19:57:08 GMT + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/f2de9db1-5618-4eda-9b52-1386616056c0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792206289754182&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=UbDHoeioVg6-lAdbkuxXJ9NHIlYGNlwuopj7Aowde0NNmyh_ENZE4f1K5UUBDaV7lLzW0NQtRJTJ1_JNsSrx2uMo9HpBPflmIjYVMdgQTKK69vFqhr450ACSbNgOOMjPEA0WrUeEetj6qZGGKzu04TKQKEBRNCO-FahLkAy_vq0tsCEnnbaHuyKjtdzuI_jv01mZZC91ocIWEeY6Bs8j2JlLm22fuEzW0PJLJk6ZjDQ6oh2rMqqAXLZlkRUblYtrcCjg9Im3QXoHk-JkFIFRRS_cker53gcy_hOcUvoIrqb4MT6PmlgUR6UPVM2Mx7w568JzVgJ4DIpfgExSE_YgbQ&h=pJDW4gM_cw3IYAE5JzN7jSMtIlAA8oJaQ5h2NgovaaU + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=355806c6ddf2deef88f3d45df7c41d3898849f10c8b7fa3f721a61a782aba5a5;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-centraluseuap.trafficmanager.net + - ARRAffinitySameSite=355806c6ddf2deef88f3d45df7c41d3898849f10c8b7fa3f721a61a782aba5a5;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-centraluseuap.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: FCC2DAAFDF854AE1BE2716E78803302B Ref B: BN1AA2051013023 Ref C: 2025-04-02T19:57:07Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - 7c2711ec-2859-4a9e-b7c1-ea08af104873 + x-ms-operation-identifier: + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=12096bc6-d0f0-41da-827a-279e3ba94899/eastus2/2104daef-35ad-4b40-80fa-9e3904d302e0 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '11999' + x-ms-ratelimit-remaining-subscription-writes: + - '19999' + x-ms-request-id: + - f2de9db1-5618-4eda-9b52-1386616056c0 + x-ms-routing-request-id: + - EASTUS2:20250402T195708Z:7c2711ec-2859-4a9e-b7c1-ea08af104873 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 9b16af82-0ffc-11f0-95a0-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/f2de9db1-5618-4eda-9b52-1386616056c0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/f2de9db1-5618-4eda-9b52-1386616056c0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "f2de9db1-5618-4eda-9b52-1386616056c0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "Processing", "startTime": "2025-04-02T19:57:07.6687935Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/f2de9db1-5618-4eda-9b52-1386616056c0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792206948560472&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=E1gGqmHSUjs-jRhB-fKIYPV1ehLsyeNKft7cEon-367xREL1uCw-8CnKgqnCSb_sM2enzBwE9y5WytVLP4fEkpYGtEi2_Hu9rWTXahU62tMFjiaUA4f_XruIv_3dA5F-b-mhKsm05bWIGIz_M14A-YdAkq1GliTARzwoOsraqKcdym3Qb2BJ3c7dgTLHsc94d8GtLUWZLQ0WUV1OHj4z0rTW_OAP7vQMIR2HxiK6lpCnitwPQ3iI80AgkObsPtMYBIgh11jtZ1cLcHwKYc0DpHQAVf8ACgz2DHk7TvAiKJ3UUR96_vxyigIIAhToCbLNWnT-TGo7_mdRm8h6lzOT9w&h=JRxYHLsoiYqnipqC4CkNOg5mZ9PlMroFDGYA2Y5lNiw + Cache-Control: + - no-cache + Content-Length: + - '517' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 19:58:14 GMT + ETag: + - '"0200838b-0000-3300-0000-67ed96b40000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/f2de9db1-5618-4eda-9b52-1386616056c0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792206948716409&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=e_K-dTMnkwbXqXfTQwPc_SgtXN3WmgcLJWCWpBDVjssMgw9DVelttofC-9c9xiIt831dWb1SRScLmK8KE480h9HuI_X3b7mS5MrTZeDpj9wEcQIEoiIyHSqwHasR6dEhPFgslQskR3DunFz-o9FkAbMLicLizO6A_w0SSz1FO1G1RAXiA5FQodHaU-dPDjRSZH_0yr0X6bXwGN0LaLSFcw2j-LherQsnO43Qf0gOsXXNtQ9YNJBkmY-XDv-7A3kadk5k_kqc4ium1M1OHj0_BdwxAoJc7SQ-fwiIvB_6ANoOvmA4hMQRu-3IU25UIqGy89k10FMIhgluOXBW1E8h2A&h=DZITN0KNYI_fiILS3leqGNaTBir2WQfxawqi5a283M0 + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 8A95640D1CA24F32992D8FC2308506C1 Ref B: BN1AA2051014031 Ref C: 2025-04-02T19:58:14Z' + x-ms-correlation-request-id: + - ad4854a7-b488-4a00-9701-aab257ec3a57 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24994' + x-ms-request-id: + - dd1fa51b-26cc-4c43-b8a4-0abba41ddb30 + x-ms-routing-request-id: + - EASTUS2:20250402T195814Z:ad4854a7-b488-4a00-9701-aab257ec3a57 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 9b16af82-0ffc-11f0-95a0-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/f2de9db1-5618-4eda-9b52-1386616056c0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/f2de9db1-5618-4eda-9b52-1386616056c0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "f2de9db1-5618-4eda-9b52-1386616056c0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "CreatingAvailabilityGroup", "startTime": "2025-04-02T19:57:07.6687935Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/f2de9db1-5618-4eda-9b52-1386616056c0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792207264002635&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=QR_HXyLBCU3XTkVAAYqjHmk2e4F9-DgWn5XXdi8YOx43tfKxNeCcZrdwmFjMUZegy63D_Vc10kdaIpw1xtIId4sitLgZWMsJIYgP9GtYhQZcxBmjhuxX1_8qu2x4JGw4AzwJ9nEyRbbOFLNt6v9cBfcdWNGvYyAiBzVjINBPdVqumU5Oy6XRSVTEcI8dBxhMFArEp93QfJIiV7zl6B1Pj2vHWxm-9m-1JyhOYNyRxMys0eMe64xOYDeUC8TVREI7472GmGqmj8ieb6eonJXZFqjVtzV0_y779K3WUrQNC6WFfQ_ABluDOXZi3knpJ2hvk_3shHCaXuAD-_5QMfBDYQ&h=PmdnRrfLGOyXV9AhOJ_YY2Es2Z7KoSdUqZa5vEHgXy8 + Cache-Control: + - no-cache + Content-Length: + - '532' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 19:58:46 GMT + ETag: + - '"0200868c-0000-3300-0000-67ed96f30000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/f2de9db1-5618-4eda-9b52-1386616056c0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792207264158898&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=LRSnEOdHi9WA6-bTk8q6yc1PhQWvBJ-7202KidIO0tnzCd0jk2INzDyk6HeN9jEaXtirqGU6Pzq_LfhZaasTdqe4SWB1vT3dEGvP2JEnexcwW54od5gopuZtpH4uDjPXyNBJT3KtrZ13vMGTUEjeASF9lOzWHObQVM44_xziCgSp32TJ2K9t-EqCT0b3dviePF9a_ofJZfCgxWzi5r5eptCm-Kv_T3Px12st53rZ7DMwMfxYUY7gHQU-PtVzev2KCbItJN5-dRnERLYbPuVFk2HT-7gTdVrj6cNdTQ4DVDOSVr5tb9wiqnZQaMhteIBojQzTE108VAHqYcxL0V7Ncg&h=0dYYuDm1tIY9BP3NsCf3Z071a8PqrRZhqOL5hcn0Jbs + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: E5DA39AAFF5B40B9BA26EDF4DC83E385 Ref B: BN1AA2051013021 Ref C: 2025-04-02T19:58:45Z' + x-ms-correlation-request-id: + - 1af8daa1-9083-41c9-a876-71f9c4d0a90e + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24995' + x-ms-request-id: + - 2dc77123-6343-4f53-a088-6c67125f8eca + x-ms-routing-request-id: + - EASTUS2:20250402T195846Z:1af8daa1-9083-41c9-a876-71f9c4d0a90e + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 9b16af82-0ffc-11f0-95a0-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/f2de9db1-5618-4eda-9b52-1386616056c0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/f2de9db1-5618-4eda-9b52-1386616056c0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "f2de9db1-5618-4eda-9b52-1386616056c0*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "Succeeded", "startTime": "2025-04-02T19:57:07.6687935Z", "endTime": + "2025-04-02T19:59:05.7204016Z", "properties": {"statusHistory": [{"ProvisioningState": + "ValidatingAvailabilityGroup", "Message": "", "EndTime": "2025-04-02T19:57:09.4455019Z"}, + {"ProvisioningState": "ValidatingAvailabilityGroup", "Message": "", "EndTime": + "2025-04-02T19:57:21.7220438Z"}, {"ProvisioningState": "ValidatingAvailabilityGroup", + "Message": "", "EndTime": "2025-04-02T19:57:31.3285086Z"}, {"ProvisioningState": + "ValidatedAvailabilityGroup", "Message": "Successfully validated availability + group-related configuration.", "EndTime": "2025-04-02T19:57:37.9977608Z"}, + {"ProvisioningState": "ConnectingToAgent", "Message": null, "EndTime": "2025-04-02T19:57:38.4189064Z"}, + {"ProvisioningState": "Processing", "Message": null, "EndTime": "2025-04-02T19:57:40.3521683Z"}, + {"ProvisioningState": "DbmEndpointCreated", "Message": "Created endpoint on + sql01", "EndTime": "2025-04-02T19:58:42.9822206Z"}, {"ProvisioningState": + "CreatingAvailabilityGroup", "Message": "Creating availability group ag1 on + /subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/hh-sqldev01-rg/providers/microsoft.azurearcdata/sqlserverinstances/sql01", + "EndTime": "2025-04-02T19:58:43.6238295Z"}, {"ProvisioningState": "CreatingAvailabilityGroup", + "Message": "Creating availability group ag1 on /subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/hh-sqldev01-rg/providers/microsoft.azurearcdata/sqlserverinstances/sql01", + "EndTime": "2025-04-02T19:58:51.7451087Z"}, {"ProvisioningState": "AvailabilityGroupCreated", + "Message": "Created availability group ag1 on /subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/hh-sqldev01-rg/providers/microsoft.azurearcdata/sqlserverinstances/sql01", + "EndTime": "2025-04-02T19:58:59.7427173Z"}, {"ProvisioningState": "ConnectingToAgent", + "Message": null, "EndTime": "2025-04-02T19:59:00.6320722Z"}, {"ProvisioningState": + "UploadedAvailabilityGroupConfig", "Message": "Uploaded availability group + configuration from sql01", "EndTime": "2025-04-02T19:59:04.6079026Z"}, {"ProvisioningState": + "Succeeded", "Message": null, "EndTime": "2025-04-02T19:59:05.5695532Z"}]}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2571' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 19:59:16 GMT + ETag: + - '"0200e78c-0000-3300-0000-67ed97090000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: F97BF5140ED8462D8738E0A52796C9FD Ref B: BN1AA2051015011 Ref C: 2025-04-02T19:59:16Z' + x-ms-correlation-request-id: + - 15bec2a6-93a3-4dd5-a695-874532a1e110 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24994' + x-ms-request-id: + - 2f63724d-b9b8-498f-804d-bae2483fee9c + x-ms-routing-request-id: + - EASTUS2:20250402T195917Z:15bec2a6-93a3-4dd5-a695-874532a1e110 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_single_replica_ag_no_db[hh-sqldev01-rg-ag1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_single_replica_ag_no_db[hh-sqldev01-rg-ag1].yaml new file mode 100644 index 00000000000..9f5c3e6cd6e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupCreate.test_create_single_replica_ag_no_db[hh-sqldev01-rg-ag1].yaml @@ -0,0 +1,409 @@ +interactions: +- request: + body: '{"availabilityGroupName": "ag1", "replicas": [{"serverInstance": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "endpointName": "", "endpointUrl": "tcp://ALL:5022", "availabilityMode": "SYNCHRONOUS_COMMIT", + "failoverMode": "MANUAL", "seedingMode": "AUTOMATIC", "backupPriority": 50, + "secondaryRoleAllowConnections": "NO", "primaryRoleAllowConnections": "ALL", + "sessionTimeout": 10}], "databases": [], "failureConditionLevel": 3, "healthCheckTimeout": + 30000, "dbFailover": "OFF", "dtcSupport": "NONE"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '596' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 1de13901-0ffe-11f0-8aa9-8cb87e67d26f + method: POST + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01/createAvailabilityGroup?api-version=2024-03-01-preview + response: + body: + string: '{"operationStatusUri": "providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "operationStatusApiVersion": "2024-03-01-preview"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792212570676224&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=o58kFQosg01VZr8yE1LS3jcUiQZ22OnCIAK6Tl8jttKlvUZDTZFGYeYsf41sypTdjAJcncl-QMTyNH3o6U710rw5uFFHkNI-RjaOMbXYxVatM4D-Ys6DgKKYFwOKu8mnShSSOuOTfup3VSiJSrdfgBmGwoV_NiIcLki5ueV1VcMteKNYlMvIua6SzFI_dNTtlPLcthmO5J7FvBgvs3ROSMXKo_RWOW3Qf2Orf-A_oEQIpves2twtihPO5tTZ0xerwZcVFiVEF2W1tase6Cmjw3qucTysw72FeC6sUFLKX6h8vrkRWgJN53uIms68y_DUh6ZUsT6m0JgoHsm8CuipQQ&h=sI4jAU-9RiYFYdV5dtvTdR-ADVkzIK5ueeJGtTObp_Y + Cache-Control: + - no-cache + Content-Length: + - '250' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:07:36 GMT + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792212570676224&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=o58kFQosg01VZr8yE1LS3jcUiQZ22OnCIAK6Tl8jttKlvUZDTZFGYeYsf41sypTdjAJcncl-QMTyNH3o6U710rw5uFFHkNI-RjaOMbXYxVatM4D-Ys6DgKKYFwOKu8mnShSSOuOTfup3VSiJSrdfgBmGwoV_NiIcLki5ueV1VcMteKNYlMvIua6SzFI_dNTtlPLcthmO5J7FvBgvs3ROSMXKo_RWOW3Qf2Orf-A_oEQIpves2twtihPO5tTZ0xerwZcVFiVEF2W1tase6Cmjw3qucTysw72FeC6sUFLKX6h8vrkRWgJN53uIms68y_DUh6ZUsT6m0JgoHsm8CuipQQ&h=sI4jAU-9RiYFYdV5dtvTdR-ADVkzIK5ueeJGtTObp_Y + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=355806c6ddf2deef88f3d45df7c41d3898849f10c8b7fa3f721a61a782aba5a5;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-centraluseuap.trafficmanager.net + - ARRAffinitySameSite=355806c6ddf2deef88f3d45df7c41d3898849f10c8b7fa3f721a61a782aba5a5;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-centraluseuap.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: B091922C6DEA4EF7BDE2A3BD70839395 Ref B: BN1AA2051013011 Ref C: 2025-04-02T20:07:35Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - c3d13983-01ef-4870-9ab4-a275a3fa8d62 + x-ms-operation-identifier: + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=12096bc6-d0f0-41da-827a-279e3ba94899/eastus2/820671ee-41c8-45de-919b-f76bb22ae0c4 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '11999' + x-ms-ratelimit-remaining-subscription-writes: + - '19998' + x-ms-request-id: + - 02b66c00-59d4-4c71-8c43-d3b8ea8cde7a + x-ms-routing-request-id: + - EASTUS2:20250402T200737Z:c3d13983-01ef-4870-9ab4-a275a3fa8d62 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 1de13901-0ffe-11f0-8aa9-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "ValidatingAvailabilityGroup", "startTime": "2025-04-02T20:07:35.9412325Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792212607570709&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=JnU9jNB_VD0vfRHShlFXyTcYFx-DlfFnlmc7qJQUpIaiw7uZ_Wtoctro8ZYlNSO9U8mal4wImHwTW0MknnNDLTddBFxjNYCNzu0fvrLUtiphDF73b7Y0uZu9XVB-cgeXvOhbz4F1jU2_CUgR7-XFnTvPIR76sZe75GmDb_KmWTEkIXriun7UzDq1QihTNSkv7lZMSJqse8qRsAdxyMPf2gg6ew6GU7VBEJJwo0sLbewrqVg3XvebhXPJtDFwNj3vOnn_82ROqPDUNibtMJUevGfZeCrf5cvVp-Z8loV5OQDrZmyNtEbKzDRreBIfa1yH4FF73x6ixq6q2OqwPoY1Fg&h=vi3nQAeJ6j-kRo-YCCxO9ikY6UPDT9ZcQV9Jk1fdGVI + Cache-Control: + - no-cache + Content-Length: + - '534' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:07:40 GMT + ETag: + - '"0200cf93-0000-3300-0000-67ed990a0000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792212607570709&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=JnU9jNB_VD0vfRHShlFXyTcYFx-DlfFnlmc7qJQUpIaiw7uZ_Wtoctro8ZYlNSO9U8mal4wImHwTW0MknnNDLTddBFxjNYCNzu0fvrLUtiphDF73b7Y0uZu9XVB-cgeXvOhbz4F1jU2_CUgR7-XFnTvPIR76sZe75GmDb_KmWTEkIXriun7UzDq1QihTNSkv7lZMSJqse8qRsAdxyMPf2gg6ew6GU7VBEJJwo0sLbewrqVg3XvebhXPJtDFwNj3vOnn_82ROqPDUNibtMJUevGfZeCrf5cvVp-Z8loV5OQDrZmyNtEbKzDRreBIfa1yH4FF73x6ixq6q2OqwPoY1Fg&h=vi3nQAeJ6j-kRo-YCCxO9ikY6UPDT9ZcQV9Jk1fdGVI + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 34F31D007779464AA7A3C70D6FD49BBB Ref B: BN1AA2051013049 Ref C: 2025-04-02T20:07:40Z' + x-ms-correlation-request-id: + - a15e08ef-2ad3-4aaf-b7ef-08df985daaa9 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24989' + x-ms-request-id: + - b1df0b5f-87a1-4d72-a51f-9245c9698d67 + x-ms-routing-request-id: + - EASTUS2:20250402T200740Z:a15e08ef-2ad3-4aaf-b7ef-08df985daaa9 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 1de13901-0ffe-11f0-8aa9-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "Processing", "startTime": "2025-04-02T20:07:35.9412325Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792212914025605&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=o86D-4MQeGwgsCcEGSlifanBrlg8tIzcH_g_LcEky7njJ_vc3AoChGWveKWVVDmhh60yrQI680tlBdl-KRC-RAr2JFvBPLW9z6kcNigk2HKbg6_NJDU2xxakflSsJnYBcx5HuDMFFcXwgYEggcMTGVPrZxWRegZxAZKOfzjJri6a1ub6Wf8laTUg0C-5U7tND8-2a8XwOortKZZkUjLIRxjX09RhP22H2AN3EVZIQviwbvNBT-1SHMeRzJpvIz41KsER-ncA_7ua6AQFag-YtyDnv73dzVf9c5qN-lPEGkMslJ2Uo6eqAy2LoU0xLJ6GgVinxBIkqwKWe7Gs63c7Uw&h=FEG02bU-5ZfXF86OtSg5xOXuPup8sNfjk7nMWC5Hiv0 + Cache-Control: + - no-cache + Content-Length: + - '517' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:08:10 GMT + ETag: + - '"02002094-0000-3300-0000-67ed991d0000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792212914181761&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=J5gAkTRGNVgiUfbbjZiOGzTTpv_nPJ1Uu0Ovut-oJUZ90PJv8GGlRTfUFqmrYHdZyzLGHMpK9cR5o_l9a-W78zy_D0QpMhwlye1wzP8yZJbzL5qPfAY0w4emidjRQt0b3H-5TRZDCGqhYTu4OybUJYOpekmrAM8MOFqZb7ZoIZ6z-RmQB1Gdkj9J-YTg4qqDKL7-5x3GHd_fqghjmgdIAPvOWl4blBELRiqXM77szYqBYq0hQ28MFSLwpvYB7cnYQkmKHczAchsuwmFq5kU9kCGtCBZd98l5mLI9cZmv96itThIfg3isY_hyuWNKWQUGKNe4D902k_Z3s2xapswogQ&h=XyBIsb9-1iVTDCiUPfgos6hS0LMvuxbSrlSZVVgtZOI + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 4BCE6A7215EC49A79076F68055554308 Ref B: BN1AA2051014019 Ref C: 2025-04-02T20:08:11Z' + x-ms-correlation-request-id: + - 5629e098-45f3-438f-93a4-1ba01380290a + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24988' + x-ms-request-id: + - bf3bc4be-7419-418c-941d-c073eb4a4ff8 + x-ms-routing-request-id: + - EASTUS2:20250402T200811Z:5629e098-45f3-438f-93a4-1ba01380290a + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 1de13901-0ffe-11f0-8aa9-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "Processing", "startTime": "2025-04-02T20:07:35.9412325Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792213223278100&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=IdS9uxBj6vEIsOTulyYdVVSlu_xngSqEp6rh5-LYKSwTsAuTeQoSEaA0b1e5fbukkF9DB__jxqtMBqZ1nFeqCUzeu-p6C3UCV-5UnI-kPRX3sSnc6103nts0tUOCbvQXGK1fgyZxj5w4Oa9DdpQjRpBzdk4kbPZM09evnXljUjAN0kXMcqeXq-fntXFidhakGxsfwta-quE-9QO5qs-F4Y11UVohtcLLecGzS2EUONmasS_zwngrYGD1Q7W4-fw80GbO4gA66un8yhF-VpHTynoys7v9Kolhdg8T4WGe5j2Whn0yZPOgnoSzfRA_SJjMkyXM4mxK10frdlKCVEDgUQ&h=mO-4IbCdmWGF1BoOPDF2-11gmO9m9zhyKQwHGs4Bu24 + Cache-Control: + - no-cache + Content-Length: + - '517' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:08:42 GMT + ETag: + - '"02002094-0000-3300-0000-67ed991d0000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792213223433786&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=WTQo8OPXO0PxxKELf6myF2r2rUkl4Ss8uUHe9YwZt4pHt0x33xAmqp7IinZt7n90hoBtvtTnZ_uL-8TwR3a6ar48LwBvSHedZ9ObdjhD_oyh0UPga7Dn-SxQd5ZwWxRwFEbxExXRSS1G7C7QBDJgON5pHxSlOz-QDeWJFUT6gKDlJGIB9Cu3NVvBK5BQ0MBP-ip2aULXzMiUn57sSkoar3yJj-Mn0Q7KUi8LTuj11KzyIjmZ2YVqPpIe1wf5TdcR6c8116OM-LZDCvg_Kll1AciLJr7p2GxFSN7ZFYHOaxS517tX7c2xio0_F2frPi3oVCzi68xHMi7tEXMuEj74VA&h=7ZA1nZ3akYmzkCMd8HOr8dsLsif9K3kqRytobJCcddg + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: EB942FE2C35749D7B3C300EBBA9E169D Ref B: BN1AA2051015039 Ref C: 2025-04-02T20:08:41Z' + x-ms-correlation-request-id: + - f779789d-1ad1-4265-ba88-3e32da3a3cf9 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24990' + x-ms-request-id: + - f06864bd-2d0d-40bb-b741-b0d2e97c1a38 + x-ms-routing-request-id: + - EASTUS2:20250402T200842Z:f779789d-1ad1-4265-ba88-3e32da3a3cf9 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 1de13901-0ffe-11f0-8aa9-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "CreatingAvailabilityGroup", "startTime": "2025-04-02T20:07:35.9412325Z"}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792213529867876&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=N5YR4kk5CjWe5HQIzrMi_n9oGhalE_slL3uW-zRQXDAqC4vb-v8ghTZpfW3Gp7b495UNIOo5lJg23FziKzZ5oZ3ghYcIZwpoU62c5_vvNkL8bKjFQAzbSl-Ni_0Xql5cP0s8NrkC44evLVKx7vLbFwc5La-j7BM5H_PuOT8JBNbrhMo4D0BnLGCAnhzRzW7mhfl6dv0_jvim4TWt6rbm6kcSpqaykS0Qz4UhxGQG0F0b5H370uOR5epCSykuL8Z4GB0VzCyf8FdyPfr7UI81SGe1AqIOaEVYnw7OplJF5g5SwiDZOG_ukq7khxwztMHeTMk0J66bJYPTctQCY7eWmA&h=p1F48deatwBuyCJeUwtuaKmq90yDTqs9Jv4-KfE4IAQ + Cache-Control: + - no-cache + Content-Length: + - '532' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:09:12 GMT + ETag: + - '"02005395-0000-3300-0000-67ed99660000"' + Expires: + - '-1' + Location: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/centraluseuap/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D?api-version=2024-03-01-preview&t=638792213530024104&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSJEel4OnU1M8eUZtmgkwWb3vk1VTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=m6IP2Zv3uRQcWrgUeypIhfoI9JdEaE0HfAUWp-NqKFRhmESMcEb4JnbbENIufbdoz0QzrfRDDcg03yN49KtlJ-bdUpReJAUipGrqeh9llyw_AWo8gwnTeBZzoKYFYP9zuDuVJMMtQxTcWPB66UcRcheyxR1GXOx1_3gZymRZirol4w4hP7khoct8EBJ7oAYvNieKn3xJG1UPzsddvS0neKEevDaQ7pQLQlEkulGL-WadwVpwZ8gcU7bDhc-SIhIv2W1hc57FZxno2vV5hrUxfRq6eGX332b5Ee1ru8eWP0XOdRmt3H28u4lA4grhSewLXIGSO8vaAk2wfT9mxiTQGg&h=D-PkH89UM6KH86Q7fjQ3XVGJ7x-xeAn0ZRpIQvgk9SU + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 7567FB6A67BF4EF292AB82922F972EAC Ref B: BN1AA2051013021 Ref C: 2025-04-02T20:09:12Z' + x-ms-correlation-request-id: + - 0f9ad058-840c-4579-8804-26676c6d8049 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24987' + x-ms-request-id: + - 28c86bba-c02c-43f5-92c3-ef4a272482bd + x-ms-routing-request-id: + - EASTUS2:20250402T200913Z:0f9ad058-840c-4579-8804-26676c6d8049 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02615.887 Python/3.10.11 (Windows-10-10.0.26100-SP0) + x-ms-client-request-id: + - 1de13901-0ffe-11f0-8aa9-8cb87e67d26f + method: GET + uri: https://mock-host/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D + response: + body: + string: '{"id": "/providers/Microsoft.AzureArcData/locations/CENTRALUSEUAP/operationStatuses/02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "name": "02b66c00-59d4-4c71-8c43-d3b8ea8cde7a*867CF590E1FDD1CB5FE12CD8D8EC1D67F27A23F4D8E53150E55009A4E122059D", + "resourceId": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + "status": "Succeeded", "startTime": "2025-04-02T20:07:35.9412325Z", "endTime": + "2025-04-02T20:09:23.2681103Z", "properties": {"statusHistory": [{"ProvisioningState": + "ValidatingAvailabilityGroup", "Message": "", "EndTime": "2025-04-02T20:07:37.7026519Z"}, + {"ProvisioningState": "ValidatingAvailabilityGroup", "Message": "", "EndTime": + "2025-04-02T20:07:47.7591392Z"}, {"ProvisioningState": "ValidatedAvailabilityGroup", + "Message": "Successfully validated availability group-related configuration.", + "EndTime": "2025-04-02T20:07:54.1625935Z"}, {"ProvisioningState": "ConnectingToAgent", + "Message": null, "EndTime": "2025-04-02T20:07:54.6909776Z"}, {"ProvisioningState": + "Processing", "Message": null, "EndTime": "2025-04-02T20:07:56.9025318Z"}, + {"ProvisioningState": "DbmEndpointCreated", "Message": "Created endpoint on + sql01", "EndTime": "2025-04-02T20:09:01.6567927Z"}, {"ProvisioningState": + "CreatingAvailabilityGroup", "Message": "Creating availability group ag1 on + /subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/hh-sqldev01-rg/providers/microsoft.azurearcdata/sqlserverinstances/sql01", + "EndTime": "2025-04-02T20:09:02.137668Z"}, {"ProvisioningState": "CreatingAvailabilityGroup", + "Message": "Creating availability group ag1 on /subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/hh-sqldev01-rg/providers/microsoft.azurearcdata/sqlserverinstances/sql01", + "EndTime": "2025-04-02T20:09:10.1228855Z"}, {"ProvisioningState": "AvailabilityGroupCreated", + "Message": "Created availability group ag1 on /subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/hh-sqldev01-rg/providers/microsoft.azurearcdata/sqlserverinstances/sql01", + "EndTime": "2025-04-02T20:09:17.7407577Z"}, {"ProvisioningState": "ConnectingToAgent", + "Message": null, "EndTime": "2025-04-02T20:09:18.4047094Z"}, {"ProvisioningState": + "UploadedAvailabilityGroupConfig", "Message": "Uploaded availability group + configuration from sql01", "EndTime": "2025-04-02T20:09:22.1625631Z"}, {"ProvisioningState": + "Succeeded", "Message": null, "EndTime": "2025-04-02T20:09:23.1618514Z"}]}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2464' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 02 Apr 2025 20:09:42 GMT + ETag: + - '"02008295-0000-3300-0000-67ed99730000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: B03A237BF3FB4BA7AFB1C5FB613D5DC7 Ref B: BN1AA2051012021 Ref C: 2025-04-02T20:09:43Z' + x-ms-correlation-request-id: + - a17a93f8-77ef-4884-902c-bc4a04b9e6d9 + x-ms-operation-identifier: + - '' + x-ms-ratelimit-remaining-tenant-reads: + - '24988' + x-ms-request-id: + - e2380d52-f116-4279-af0a-3610696de706 + x-ms-routing-request-id: + - EASTUS2:20250402T200943Z:a17a93f8-77ef-4884-902c-bc4a04b9e6d9 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupFailover.test_successful_failover[hh-arcee-test-hh-sql-dev02-hh_ag1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupFailover.test_successful_failover[hh-arcee-test-hh-sql-dev02-hh_ag1].yaml new file mode 100644 index 00000000000..dec787f4b3b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupFailover.test_successful_failover[hh-arcee-test-hh-sql-dev02-hh_ag1].yaml @@ -0,0 +1,87 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230914.1+RPSaaSMasterHasaniHolder + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 1b484f11-565b-11ee-a676-8cb87e67d26b + method: POST + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-arcee-test/providers/Microsoft.AzureArcData/sqlServerInstances/hh-sql-dev02/availabilityGroups/hh_ag1/failover?api-version=2024-03-01-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR6u6 + WuV1W+TNR49+8UfZZVaU2aQoi/b687par85mHz36aPfB0yf7z57ubj989uB0e//05Hj74dPTB9sn + e3tPT3cenN7bO3360eijJq8v8/pFtsjpnfl8u/lF5fYsv9zZo++KZdNmy2mu337x+vVPPH99+uon + T1/Rl9OqLPNpW1TLN8Uip4aLFbXZ29m7t73zcHv34M3uw0f3Hj66vzt+eH/n4NP7n+zsPNrZoReL + 5XkFtM8J63Wdn1TLWQEwz/PLvPzo0b3RR/M8K9v5yTyfvgXsat3Sxzv0jD7K1m21yNp89iSbvl2v + Xtb5eV7nhOPTvJnWxQqACI1VXSyy+pp6o8E1/NkeAZ5kTTF9lmct9Uuka+t1Pvpo1k5fr1erqqZe + zrOywUeTZ4RcRe/aj4rmadG0dTFZU+f202m5btq8fnO96iBw1ZxPqfc6/0Xros5nr6+X03ldLYsf + 0O/5lIac1TR7b6qTarEoqOPluizRCVGjzYql14UO5VW+KotpRqA7k2S/nwLf628z7UJkvnzx/OzF + KbVtqBG63tga7Sy6GT6Mtfr26fHzN9/+fT76JRgko0YE/cUfXWblmnjle7/YfKq8OJvsn8+IF88f + 5Nv7+TTbfjjLH2xP9/Zm+c6D/N4eDdgCUnbzxrlLXxLm58UFTRy6yZezVVUs269q4hihnS8FX1Sz + zny8/n1enHz71Zcvvvzq9e9/8uUXX5y9IZDgQJCh3/z4qzdffnH85uyEWjV5Aw6ynLhLbGiIXpX5 + cVlWVzRtSxGGpgPo+XMGQdgz3W984cWX1F4JcVITq+ZP6f9mkPoFIVycX/tfTFQciqqm8X/06D4h + SW/PvlyW1Om6LZYXTCvMLj7/LjXLu180eT6jvwn6IDlouknU0W9E7yiPYpD00uvTky9fPD1+9fsQ + ZKgrZqWsfI3XQ/DUoCYK0Ux8AwzJnALakqT1uyKUXpyevGHVV2ZNq/NwWtdVHbaMNAAL0Oih6ED1 + X/JLRt8sm0OcCfmfz2zuDMj+m939R3tkQ+6PDw6s8dBXaChWAG565f+FovHy1dkXtxEMq7g3iYdt + 9P9SIfn+6KNl/q59Xizf6kdkYLM2I2MMI+zbDPOxikZLgH7/2QTaX+ddv/BkBl8WzfNqmtFMqcks + GpptZlx5y37RoVBk6EaAzn6KRw+DDAP9MiNva1qssiVJhrgNHVibqW0GFumRvi2a1+tmRcJO6sGi + Kp+8yrOmWnbegN4xEJUityEV1IsllQyiTyn5vDO4CNo/fEJZPn9vcsU4kFzoywIKj6SaO7PftNkF + sSX+IOYmYikYgtyuG6YhdfvR3WY9sb00dzPycfcmuw+3D7JPSfVPpve3D85ns+2D/Pzew9l5Ppne + e3iXnM5qXU9z1gjNXZqajP7KtzF5dxmhWV43d78opnXVVOft+PgHZAiO6ykpuuzu619UvmZn/Uzd + coZgJ/fucVfn4PvfP7sATywNM+jfLTms9PfC9pShJ8IG9L9LMCUsMAEAjc8DfsHACUpzTc7vAsgJ + vX7J/wNFOVFLmgwAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Mon, 18 Sep 2023 19:39:51 GMT + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=11d8534df55aa847f613c1506f823f39e3869bb051233a64ad1a7a18c0a45870;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus2.trafficmanager.net + - ARRAffinitySameSite=11d8534df55aa847f613c1506f823f39e3869bb051233a64ad1a7a18c0a45870;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus2.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding,Accept-Encoding + X-Content-Type-Options: + - nosniff + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - 55476be2-cf9e-4887-978c-753183071c5f + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-ms-request-id: + - a5dff20d-bc2b-49ad-8f69-64166f8aa370 + x-ms-routing-request-id: + - CENTRALUS:20230918T193952Z:55476be2-cf9e-4887-978c-753183071c5f + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupFailover.test_unsuccessful_failover[hh-arcee-test-hh-sql-dev01-hh_ag1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupFailover.test_unsuccessful_failover[hh-arcee-test-hh-sql-dev01-hh_ag1].yaml new file mode 100644 index 00000000000..952ddc13faf --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsAvailabilityGroupFailover.test_unsuccessful_failover[hh-arcee-test-hh-sql-dev01-hh_ag1].yaml @@ -0,0 +1,258 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230914.1+RPSaaSMasterHasaniHolder + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - da17900d-5659-11ee-9515-8cb87e67d26b + method: POST + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-arcee-test/providers/Microsoft.AzureArcData/sqlServerInstances/hh-sql-dev01/availabilityGroups/hh_ag1/failover + response: + body: + string: '{"error": {"code": "InternalServerError", "message": "Unexpected error"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '69' + Content-Type: + - application/json + Date: + - Mon, 18 Sep 2023 19:30:43 GMT + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=11d8534df55aa847f613c1506f823f39e3869bb051233a64ad1a7a18c0a45870;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus2.trafficmanager.net + - ARRAffinitySameSite=11d8534df55aa847f613c1506f823f39e3869bb051233a64ad1a7a18c0a45870;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus2.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 8C539B88A8C14C0E9277166E1816FE92 Ref B: BN1AA2051014051 Ref C: 2023-09-18T19:30:41Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - f499e628-5a76-4f42-9202-636025d6cdff + x-ms-failure-cause: + - service + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-ms-request-id: + - d205f5a2-f6de-40ed-b3cb-75bda58b340d + x-ms-routing-request-id: + - EASTUS2:20230918T193043Z:f499e628-5a76-4f42-9202-636025d6cdff + status: + code: 500 + message: Internal Server Error +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230914.1+RPSaaSMasterHasaniHolder + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - da17900d-5659-11ee-9515-8cb87e67d26b + method: POST + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-arcee-test/providers/Microsoft.AzureArcData/sqlServerInstances/hh-sql-dev01/availabilityGroups/hh_ag1/failover + response: + body: + string: '{"error": {"code": "InternalServerError", "message": "Unexpected error"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '69' + Content-Type: + - application/json + Date: + - Mon, 18 Sep 2023 19:30:45 GMT + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=11d8534df55aa847f613c1506f823f39e3869bb051233a64ad1a7a18c0a45870;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus2.trafficmanager.net + - ARRAffinitySameSite=11d8534df55aa847f613c1506f823f39e3869bb051233a64ad1a7a18c0a45870;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus2.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 5FC960EB60AA4D8BBB64667964387A95 Ref B: BN1AA2051014051 Ref C: 2023-09-18T19:30:43Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - c2be3e78-826b-42d7-ac62-7fcb045ff759 + x-ms-failure-cause: + - service + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-ms-request-id: + - 771c5eb9-1f06-4e4b-99ff-88f05252c745 + x-ms-routing-request-id: + - EASTUS:20230918T193045Z:c2be3e78-826b-42d7-ac62-7fcb045ff759 + status: + code: 500 + message: Internal Server Error +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230914.1+RPSaaSMasterHasaniHolder + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - da17900d-5659-11ee-9515-8cb87e67d26b + method: POST + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-arcee-test/providers/Microsoft.AzureArcData/sqlServerInstances/hh-sql-dev01/availabilityGroups/hh_ag1/failover + response: + body: + string: '{"error": {"code": "InternalServerError", "message": "Unexpected error"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '69' + Content-Type: + - application/json + Date: + - Mon, 18 Sep 2023 19:30:48 GMT + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=11d8534df55aa847f613c1506f823f39e3869bb051233a64ad1a7a18c0a45870;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus2.trafficmanager.net + - ARRAffinitySameSite=11d8534df55aa847f613c1506f823f39e3869bb051233a64ad1a7a18c0a45870;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus2.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 36A4F91258E14022BD12D5676112AEDE Ref B: BN1AA2051014051 Ref C: 2023-09-18T19:30:47Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - 9dae99ea-54f1-43e4-8ed2-c86d0596a3ec + x-ms-failure-cause: + - service + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-ms-request-id: + - 4a27f94d-9452-46d6-a5a2-66614d263576 + x-ms-routing-request-id: + - EASTUS:20230918T193049Z:9dae99ea-54f1-43e4-8ed2-c86d0596a3ec + status: + code: 500 + message: Internal Server Error +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230914.1+RPSaaSMasterHasaniHolder + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - da17900d-5659-11ee-9515-8cb87e67d26b + method: POST + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-arcee-test/providers/Microsoft.AzureArcData/sqlServerInstances/hh-sql-dev01/availabilityGroups/hh_ag1/failover + response: + body: + string: '{"error": {"code": "InternalServerError", "message": "Unexpected error"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '69' + Content-Type: + - application/json + Date: + - Mon, 18 Sep 2023 19:30:54 GMT + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=11d8534df55aa847f613c1506f823f39e3869bb051233a64ad1a7a18c0a45870;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus2.trafficmanager.net + - ARRAffinitySameSite=11d8534df55aa847f613c1506f823f39e3869bb051233a64ad1a7a18c0a45870;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus2.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: E54C93B93BD84019AFD9DA8028670373 Ref B: BN1AA2051014051 Ref C: 2023-09-18T19:30:52Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - f1e4669d-5c2c-4e6e-ac83-0c663e720a8a + x-ms-failure-cause: + - service + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-ms-request-id: + - bfa2599a-7016-4d6f-b7ae-8f0aeee8481d + x-ms-routing-request-id: + - EASTUS2:20230918T193054Z:f1e4669d-5c2c-4e6e-ac83-0c663e720a8a + status: + code: 500 + message: Internal Server Error +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesSet.test_esu_type_host_property[ARCBOX-SQL-arcee-test-False-0].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesSet.test_esu_type_host_property[ARCBOX-SQL-arcee-test-False-0].yaml new file mode 100644 index 00000000000..b7bf7161474 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesSet.test_esu_type_host_property[ARCBOX-SQL-arcee-test-False-0].yaml @@ -0,0 +1,343 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2526.108","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":["","Testing","Instance1"," + Instance2"],"SqlManagement":{"IsEnabled":true},"LicenseType":"PAYG","enableExtendedSecurityUpdates":true,"esuLastUpdatedTimestamp":"2024-01-25T09:31:35.543Z","FeatureFlags":[{"Name":"flightfeature","Enable":true},{"Name":"LeastPrivilege","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Failed","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2526.108","status":{"code":"null","level":"Error","message":"Extension + failed during enable. Extension returned non-zero exit code for Enable: 1. \nExtension + Error: [2024-02-15 08:46:52.9748208 UTC] [INFO] SqlServerExtensionDeployer + called with arguments : enable\n[2024-02-15 08:46:58.2878284 UTC] [INFO] Otel + endpoint: https://telemetry.eastus.arcdataservices.com:443/v1/logs\n[2024-02-15 + 08:46:58.8881549 UTC] [INFO] No valid proxy uri received.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager[0]\n Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": + true,\n \"Name\": \"flightfeature\"\n },\n {\n \"Enable\": + true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"PAYG\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n }\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + Distribution : Windows\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + version: 10.0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Checking + if least privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Least + privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Executing + deployer action: Enable\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Last + installation exit code: 0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Found + new RuntimeConfig setting file\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\nfail: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\n File name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n System.IO.FileNotFoundException: Could not load file or assembly + ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the file specified.\n File + name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Finished + deployer action: Enable. Exit code is UnexpectedError\n2024-02-15 00:46:59.4974|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\n2024-02-15 + 00:47:00.0852|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager|Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": true,\n \"Name\": + \"flightfeature\"\n },\n {\n \"Enable\": true,\n \"Name\": + \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": \"PAYG\",\n \"SqlManagement\": + {\n \"IsEnabled\": true\n },\n \"cloudprovider\": \"N/A\",\n \"enableExtendedSecurityUpdates\": + true,\n \"esuLastUpdatedTimestamp\": \"2024-01-25T09:31:35.543Z\"\n}\n2024-02-15 + 00:47:00.0852|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\n2024-02-15 + 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + Distribution : Windows\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + version: 10.0\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Checking + if least privilege mode is enabled.\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Least + privilege mode is enabled.\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Executing + deployer action: Enable\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Last + installation exit code: 0\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Found + new RuntimeConfig setting file\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\n2024-02-15 + 00:47:00.7013|ERROR|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\nFile name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n2024-02-15 00:47:00.7013|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Finished + deployer action: Enable. Exit code is UnexpectedError\n"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '13587' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 15 Feb 2024 08:50:42 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 1A704EEE88E5473A86827AAF21149D0C Ref B: MAA201060516051 Ref C: 2024-02-15T08:50:42Z' + x-ms-correlation-request-id: + - a283700e-fa5f-41ad-8a8c-e50a7ae061d2 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 287275e2-f1e7-4b99-9d62-adbfdf436760 + x-ms-routing-request-id: + - JIOINDIACENTRAL:20240215T085043Z:a283700e-fa5f-41ad-8a8c-e50a7ae061d2 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer", + "name": "WindowsAgent.SqlServer", "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus", "properties": {"publisher": "Microsoft.AzureData", "type": + "WindowsAgent.SqlServer", "typeHandlerVersion": "1.1.2526.108", "autoUpgradeMinorVersion": + false, "enableAutomaticUpgrade": true, "settings": {"ExcludedSqlInstances": + ["", "Testing", "Instance1", " Instance2"], "SqlManagement": {"IsEnabled": true}, + "LicenseType": "PAYG", "enableExtendedSecurityUpdates": false, "esuLastUpdatedTimestamp": + "2024-01-25T09:31:35.543Z", "FeatureFlags": [{"Name": "flightfeature", "Enable": + true}, {"Name": "LeastPrivilege", "Enable": true}], "cloudprovider": "N/A"}, + "provisioningState": "Failed", "instanceView": {"name": "WindowsAgent.SqlServer", + "type": "WindowsAgent.SqlServer", "typeHandlerVersion": "1.1.2526.108", "status": + {"code": "null", "level": "Error", "message": "Extension failed during enable. + Extension returned non-zero exit code for Enable: 1. \nExtension Error: [2024-02-15 + 08:46:52.9748208 UTC] [INFO] SqlServerExtensionDeployer called with arguments + : enable\n[2024-02-15 08:46:58.2878284 UTC] [INFO] Otel endpoint: https://telemetry.eastus.arcdataservices.com:443/v1/logs\n[2024-02-15 + 08:46:58.8881549 UTC] [INFO] No valid proxy uri received.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager[0]\n Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": + true,\n \"Name\": \"flightfeature\"\n },\n {\n \"Enable\": + true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"PAYG\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n }\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL Server\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL Server\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + Distribution : Windows\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + version: 10.0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Checking + if least privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Least + privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Executing + deployer action: Enable\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Last + installation exit code: 0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Found + new RuntimeConfig setting file\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\nfail: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the + file specified.\n File name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n System.IO.FileNotFoundException: Could not load file or assembly + ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the file specified.\n File + name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Finished + deployer action: Enable. Exit code is UnexpectedError\n2024-02-15 00:46:59.4974|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\n2024-02-15 + 00:47:00.0852|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager|Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": true,\n \"Name\": + \"flightfeature\"\n },\n {\n \"Enable\": true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"PAYG\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n}\n2024-02-15 00:47:00.0852|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL Server\n2024-02-15 + 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\n2024-02-15 + 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL Server\n2024-02-15 + 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + Distribution : Windows\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + version: 10.0\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Checking + if least privilege mode is enabled.\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Least + privilege mode is enabled.\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Executing + deployer action: Enable\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Last + installation exit code: 0\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Found + new RuntimeConfig setting file\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\n2024-02-15 + 00:47:00.7013|ERROR|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the + file specified.\nFile name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n2024-02-15 00:47:00.7013|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Finished + deployer action: Enable. Exit code is UnexpectedError\n"}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '13648' + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '' + headers: + Azure-AsyncOperation: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/02e23f91-44d1-4b18-bf1c-9c210eb762e9?api-version=2019-08-02-preview&t=638435838451317542&c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q&s=MgQm5huqJKSQhXsgY6o03dP2dLPbZ8Cv4hObu0pgOg1_A0g_anKAmPJ7bli6S2MTytzJ7Y-2DhnAFg024nz34QMxBl8uljM65V04JI_1qFWfSfOZv36MXDybKFyUiyKh-tRBinyVsruulCOOCcnU0WFJSfEn34prZ_veT3kS6RTS4qV6bswerik3ds-C6h0xtKB6MDQtxd883R2qDzM_yMi4SU2V_MO5Z1lqjCUvz-SeMGH3hc_9PcLkIa3juBLeFZ4QZSNdjhEuK0QtqgDHcTIanNCBHkwLm1AtfT3zcnLKevmyGLEJpbZ7fShVJk1rB5xgmcXuim_sIe6hVeRRtQ&h=oPU5gF-uwnX7JsK51TlRx2EtPx3GRlV_mGaB-bJSQ9s + Cache-Control: + - no-cache + Content-Length: + - '0' + Content-Type: + - application/json + Date: + - Thu, 15 Feb 2024 08:50:44 GMT + Expires: + - '-1' + Location: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/providers/Microsoft.HybridCompute/locations/eastus/operationresults/02e23f91-44d1-4b18-bf1c-9c210eb762e9?api-version=2019-08-02-preview&t=638435838451473805&c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q&s=WVNqI6y0Rm7ZTMCsq6GWSQcfq18lRfx-j9HFkzDHOohfQHsncWLDgD1G2rjcwAvRIfOuHJG-Q7vFAnX6hrCSMTo_6rD82czV6EJQdbpR96mPk2df2t_sBozMU7XE1tL9tFXAU3zjlHbGqsVAA6C0oAFvlbg9kLZttgaFsihjkBZiKVW4AoAHPD4y5KlqQmFJGUBU0jGQNdFEIQancGi81dVk5CoSgE7exCAqSjGJf8rfK7bjnp7rxUfsLeiNc32Id_tJeQwkGBLuyW-gHQlzcctIgW_LrwX9qaLkrbPIhPXJSjQDhFwfwo7HbqNUgdxUtZVlAmJG-b5J-MNG2fnEVQ&h=tQIuLAGTO98i79IO-Q0GnFRO7fbnFsy_4m_ETnASagc + Pragma: + - no-cache + Retry-After: + - '120' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 569D735C4DCC4F929DE360CA6176C27F Ref B: MAA201060516037 Ref C: 2024-02-15T08:50:43Z' + x-ms-correlation-request-id: + - 5e522716-d972-474e-a337-cf77838796cb + x-ms-ratelimit-remaining-subscription-resource-requests: + - '319' + x-ms-request-id: + - 02e23f91-44d1-4b18-bf1c-9c210eb762e9 + x-ms-routing-request-id: + - SOUTHINDIA:20240215T085045Z:5e522716-d972-474e-a337-cf77838796cb + status: + code: 202 + message: Accepted +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesSet.test_esu_type_host_property[ARCBOX-SQL-arcee-test-Random-1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesSet.test_esu_type_host_property[ARCBOX-SQL-arcee-test-Random-1].yaml new file mode 100644 index 00000000000..a19228cd7c4 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesSet.test_esu_type_host_property[ARCBOX-SQL-arcee-test-Random-1].yaml @@ -0,0 +1,165 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2526.108","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":["","Testing","Instance1"," + Instance2"],"SqlManagement":{"IsEnabled":true},"LicenseType":"PAYG","enableExtendedSecurityUpdates":true,"esuLastUpdatedTimestamp":"2024-01-25T09:31:35.543Z","FeatureFlags":[{"Name":"flightfeature","Enable":true},{"Name":"LeastPrivilege","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Failed","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2526.108","status":{"code":"null","level":"Error","message":"Extension + failed during enable. Extension returned non-zero exit code for Enable: 1. \nExtension + Error: [2024-02-15 08:46:52.9748208 UTC] [INFO] SqlServerExtensionDeployer + called with arguments : enable\n[2024-02-15 08:46:58.2878284 UTC] [INFO] Otel + endpoint: https://telemetry.eastus.arcdataservices.com:443/v1/logs\n[2024-02-15 + 08:46:58.8881549 UTC] [INFO] No valid proxy uri received.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager[0]\n Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": + true,\n \"Name\": \"flightfeature\"\n },\n {\n \"Enable\": + true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"PAYG\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n }\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + Distribution : Windows\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + version: 10.0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Checking + if least privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Least + privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Executing + deployer action: Enable\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Last + installation exit code: 0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Found + new RuntimeConfig setting file\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\nfail: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\n File name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n System.IO.FileNotFoundException: Could not load file or assembly + ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the file specified.\n File + name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Finished + deployer action: Enable. Exit code is UnexpectedError\n2024-02-15 00:46:59.4974|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\n2024-02-15 + 00:47:00.0852|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager|Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": true,\n \"Name\": + \"flightfeature\"\n },\n {\n \"Enable\": true,\n \"Name\": + \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": \"PAYG\",\n \"SqlManagement\": + {\n \"IsEnabled\": true\n },\n \"cloudprovider\": \"N/A\",\n \"enableExtendedSecurityUpdates\": + true,\n \"esuLastUpdatedTimestamp\": \"2024-01-25T09:31:35.543Z\"\n}\n2024-02-15 + 00:47:00.0852|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\n2024-02-15 + 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + Distribution : Windows\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + version: 10.0\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Checking + if least privilege mode is enabled.\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Least + privilege mode is enabled.\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Executing + deployer action: Enable\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Last + installation exit code: 0\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Found + new RuntimeConfig setting file\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\n2024-02-15 + 00:47:00.7013|ERROR|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\nFile name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n2024-02-15 00:47:00.7013|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Finished + deployer action: Enable. Exit code is UnexpectedError\n"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '13587' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 15 Feb 2024 08:50:46 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: E57347547B344A638F904E14ED4A23B5 Ref B: MAA201060513035 Ref C: 2024-02-15T08:50:45Z' + x-ms-correlation-request-id: + - c7b7b531-84ad-4c51-8848-1dcbd4805482 + x-ms-ratelimit-remaining-subscription-reads: + - '11998' + x-ms-request-id: + - 95598d55-0cbe-46b7-9d8e-3b1fbdd62b22 + x-ms-routing-request-id: + - SOUTHINDIA:20240215T085046Z:c7b7b531-84ad-4c51-8848-1dcbd4805482 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesSet.test_licenseType_esu_compatibilty[ARCBOX-SQL-arcee-test-LicenseOnly-True].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesSet.test_licenseType_esu_compatibilty[ARCBOX-SQL-arcee-test-LicenseOnly-True].yaml new file mode 100644 index 00000000000..aaac7194598 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesSet.test_licenseType_esu_compatibilty[ARCBOX-SQL-arcee-test-LicenseOnly-True].yaml @@ -0,0 +1,165 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2526.108","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":["","Testing","Instance1"," + Instance2"],"SqlManagement":{"IsEnabled":true},"LicenseType":"PAYG","enableExtendedSecurityUpdates":true,"esuLastUpdatedTimestamp":"2024-01-25T09:31:35.543Z","FeatureFlags":[{"Name":"flightfeature","Enable":true},{"Name":"LeastPrivilege","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Failed","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2526.108","status":{"code":"null","level":"Error","message":"Extension + failed during enable. Extension returned non-zero exit code for Enable: 1. \nExtension + Error: [2024-02-15 08:46:52.9748208 UTC] [INFO] SqlServerExtensionDeployer + called with arguments : enable\n[2024-02-15 08:46:58.2878284 UTC] [INFO] Otel + endpoint: https://telemetry.eastus.arcdataservices.com:443/v1/logs\n[2024-02-15 + 08:46:58.8881549 UTC] [INFO] No valid proxy uri received.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager[0]\n Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": + true,\n \"Name\": \"flightfeature\"\n },\n {\n \"Enable\": + true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"PAYG\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n }\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + Distribution : Windows\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + version: 10.0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Checking + if least privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Least + privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Executing + deployer action: Enable\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Last + installation exit code: 0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Found + new RuntimeConfig setting file\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\nfail: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\n File name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n System.IO.FileNotFoundException: Could not load file or assembly + ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the file specified.\n File + name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Finished + deployer action: Enable. Exit code is UnexpectedError\n2024-02-15 00:46:59.4974|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\n2024-02-15 + 00:47:00.0852|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager|Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": true,\n \"Name\": + \"flightfeature\"\n },\n {\n \"Enable\": true,\n \"Name\": + \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": \"PAYG\",\n \"SqlManagement\": + {\n \"IsEnabled\": true\n },\n \"cloudprovider\": \"N/A\",\n \"enableExtendedSecurityUpdates\": + true,\n \"esuLastUpdatedTimestamp\": \"2024-01-25T09:31:35.543Z\"\n}\n2024-02-15 + 00:47:00.0852|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\n2024-02-15 + 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + Distribution : Windows\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + version: 10.0\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Checking + if least privilege mode is enabled.\n2024-02-15 00:47:00.6651|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Least + privilege mode is enabled.\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Executing + deployer action: Enable\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Last + installation exit code: 0\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Found + new RuntimeConfig setting file\n2024-02-15 00:47:00.6901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\28.settings\n2024-02-15 + 00:47:00.7013|ERROR|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\nFile name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n2024-02-15 00:47:00.7013|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Finished + deployer action: Enable. Exit code is UnexpectedError\n"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '13587' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 15 Feb 2024 08:48:54 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 7198D0060775464685E1B431916DCD00 Ref B: MAA201060513047 Ref C: 2024-02-15T08:48:53Z' + x-ms-correlation-request-id: + - 468347df-d96b-4e16-83bd-b0279379dd63 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 75821f81-7e6b-4932-8aee-ee5f472540e8 + x-ms-routing-request-id: + - SOUTHINDIA:20240215T084855Z:468347df-d96b-4e16-83bd-b0279379dd63 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesSet.test_license_type_host_property[ARCBOX-SQL-arcee-test-PAYG-0].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesSet.test_license_type_host_property[ARCBOX-SQL-arcee-test-PAYG-0].yaml new file mode 100644 index 00000000000..6cf2d9bf2b6 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesSet.test_license_type_host_property[ARCBOX-SQL-arcee-test-PAYG-0].yaml @@ -0,0 +1,755 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2526.108","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":["","Testing","Instance1"," + Instance2"],"SqlManagement":{"IsEnabled":true},"LicenseType":"Paid","enableExtendedSecurityUpdates":true,"esuLastUpdatedTimestamp":"2024-01-25T09:31:35.543Z","FeatureFlags":[{"Name":"flightfeature","Enable":true},{"Name":"LeastPrivilege","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Failed","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2526.108","status":{"code":"0","level":"Error","message":"Extension + failed during enable. Extension returned non-zero exit code for Enable: 1. Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 20:00:50.695; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"NEWSQL\": \"\",\r\n \"TURKSQL\": \"\",\r\n \"LATINSQL\": + \"\",\r\n \"FRENCHSQL\": \"\",\r\n \"CASESQL\": \"\",\r\n \"LITHSQL\": + \"\",\r\n \"POLISHSQL\": \"\",\r\n \"JAPSQL\": \"\"\r\n};: Listening on + port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}\nExtension + Error: [2024-02-13 20:33:20.2440161 UTC] [INFO] SqlServerExtensionDeployer + called with arguments : enable\n[2024-02-13 20:33:26.2964320 UTC] [ERROR] + Failed to get identity details. Exception: Newtonsoft.Json.JsonSerializationException: + Error converting value \"\" to type ''System.Guid''. Path ''compute.vmId'', + line 1, position 495.\n ---> System.ArgumentException: Could not cast or convert + from System.String to System.Guid.\n at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object + value, Type initialType, Type targetType)\n at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object + initialValue, CultureInfo culture, Type targetType)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader + reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)\n --- + End of inner exception stack trace ---\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader + reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty + property, JsonConverter propertyConverter, JsonContainerContract containerContract, + JsonProperty containerProperty, JsonReader reader, Object target)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object + newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, + String id)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty + property, JsonConverter propertyConverter, JsonContainerContract containerContract, + JsonProperty containerProperty, JsonReader reader, Object target)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object + newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, + String id)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader + reader, Type objectType, Boolean checkAdditionalContent)\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader + reader, Type objectType)\n at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader + reader, Type objectType)\n at Newtonsoft.Json.JsonConvert.DeserializeObject(String + value, Type type, JsonSerializerSettings settings)\n at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String + value, JsonSerializerSettings settings)\n at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String + value)\n at Microsoft.SqlServer.Management.ExtensionUtility.ArcUtility.<>c__DisplayClass6_0.<b__3>d.MoveNext() + in C:\\ArceeExtension\\src\\ExtensionUtility\\ArcUtility.cs:line 63\n[2024-02-13 + 20:33:26.2994240 UTC] [ERROR] Get Identity details failed.: Waiting Polly.DelegateResult`1[Microsoft.SqlServer.Management.ExtensionUtility.ArcContracts.IdentityResponse] + before next retry. Retry attempt 00:00:10\n[2024-02-13 20:33:37.3184674 UTC] + [ERROR] Failed to get identity details. Exception: Newtonsoft.Json.JsonSerializationException: + Error converting value \"\" to type ''System.Guid''. Path ''compute.vmId'', + line 1, position 495.\n ---> System.ArgumentException: Could not cast or convert + from System.String to System.Guid.\n at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object + value, Type initialType, Type targetType)\n at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object + initialValue, CultureInfo culture, Type targetType)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader + reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)\n --- + End of inner exception stack trace ---\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader + reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty + property, JsonConverter propertyConverter, JsonContainerContract containerContract, + JsonProperty containerProperty, JsonReader reader, Object target)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object + newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, + String id)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty + property, JsonConverter propertyConverter, JsonContainerContract containerContract, + JsonProperty containerProperty, JsonReader reader, Object target)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object + newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, + String id)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader + reader, Type objectType, Boolean checkAdditionalContent)\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader + reader, Type objectType)\n at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader + reader, Type objectType)\n at Newtonsoft.Json.JsonConvert.DeserializeObject(String + value, Type type, JsonSerializerSettings settings)\n at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String + value, JsonSerializerSettings settings)\n at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String + value)\n at Microsoft.SqlServer.Management.ExtensionUtility.ArcUtility.<>c__DisplayClass6_0.<b__3>d.MoveNext() + in C:\\ArceeExtension\\src\\ExtensionUtility\\ArcUtility.cs:line 63\n[2024-02-13 + 20:33:37.3188758 UTC] [ERROR] Get Identity details failed.: Waiting Polly.DelegateResult`1[Microsoft.SqlServer.Management.ExtensionUtility.ArcContracts.IdentityResponse] + before next retry. Retry attempt 00:01:40\n[2024-02-13 20:35:18.6175609 UTC] + [INFO] Otel endpoint: https://telemetry.eastus.arcdataservices.com:443/v1/logs\n[2024-02-13 + 20:35:18.7726623 UTC] [INFO] No valid proxy uri received.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager[0]\n Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": + true,\n \"Name\": \"flightfeature\"\n },\n {\n \"Enable\": + true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"Paid\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n }\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + Distribution : Windows\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + version: 10.0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Checking + if least privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Least + privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Executing + deployer action: Enable\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Last + installation exit code: 0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Found + new RuntimeConfig setting file\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 12:35:19.5869|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 12:35:19.6175|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager|Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": true,\n \"Name\": + \"flightfeature\"\n },\n {\n \"Enable\": true,\n \"Name\": + \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": \"Paid\",\n \"SqlManagement\": + {\n \"IsEnabled\": true\n },\n \"cloudprovider\": \"N/A\",\n \"enableExtendedSecurityUpdates\": + true,\n \"esuLastUpdatedTimestamp\": \"2024-01-25T09:31:35.543Z\"\n}\n2024-02-13 + 12:35:19.6175|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-13 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-13 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\n2024-02-13 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + Distribution : Windows\n2024-02-13 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + version: 10.0\n2024-02-13 12:35:20.1905|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Checking + if least privilege mode is enabled.\n2024-02-13 12:35:20.1905|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Least + privilege mode is enabled.\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Executing + deployer action: Enable\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Last + installation exit code: 0\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Found + new RuntimeConfig setting file\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\nfail: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\n File name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n System.IO.FileNotFoundException: Could not load file or assembly + ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the file specified.\n File + name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Finished + deployer action: Enable. Exit code is UnexpectedError\n2024-02-13 12:35:21.3911|ERROR|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\nFile name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n2024-02-13 12:35:21.3911|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Finished + deployer action: Enable. Exit code is UnexpectedError\n[2024-02-13 12:40:14.8013044 + UTC] [INFO] SqlServerExtensionDeployer called with arguments : enable\n[2024-02-13 + 12:40:19.4180280 UTC] [INFO] Otel endpoint: https://telemetry.eastus.arcdataservices.com:443/v1/logs\n[2024-02-13 + 12:40:19.9893486 UTC] [INFO] No valid proxy uri received.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager[0]\n Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": + true,\n \"Name\": \"flightfeature\"\n },\n {\n \"Enable\": + true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"Paid\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n }\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + Distribution : Windows\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + version: 10.0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Checking + if least privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Least + privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Executing + deployer action: Enable\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Last + installation exit code: 0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Found + new RuntimeConfig setting file\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\nfail: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\n File name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n System.IO.FileNotFoundException: Could not load file or assembly + ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the file specified.\n File + name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Finished + deployer action: Enable. Exit code is UnexpectedError\n2024-02-13 04:40:20.6007|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 04:40:21.1875|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager|Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": true,\n \"Name\": + \"flightfeature\"\n },\n {\n \"Enable\": true,\n \"Name\": + \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": \"Paid\",\n \"SqlManagement\": + {\n \"IsEnabled\": true\n },\n \"cloudprovider\": \"N/A\",\n \"enableExtendedSecurityUpdates\": + true,\n \"esuLastUpdatedTimestamp\": \"2024-01-25T09:31:35.543Z\"\n}\n2024-02-13 + 04:40:21.1901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + Distribution : Windows\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + version: 10.0\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Checking + if least privilege mode is enabled.\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Least + privilege mode is enabled.\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Executing + deployer action: Enable\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Last + installation exit code: 0\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Found + new RuntimeConfig setting file\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 04:40:22.3691|ERROR|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\nFile name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Finished + deployer action: Enable. Exit code is UnexpectedError\n"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '35792' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 15 Feb 2024 08:46:41 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: F67D08E39D8C4CFA83BAFA732B52E91E Ref B: MAA201060516019 Ref C: 2024-02-15T08:46:40Z' + x-ms-correlation-request-id: + - 4dc21393-4a19-427f-a4a0-316f70663eff + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 761e1aba-433d-4271-8a75-f5272d52afdd + x-ms-routing-request-id: + - SOUTHINDIA:20240215T084641Z:4dc21393-4a19-427f-a4a0-316f70663eff + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer", + "name": "WindowsAgent.SqlServer", "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus", "properties": {"publisher": "Microsoft.AzureData", "type": + "WindowsAgent.SqlServer", "typeHandlerVersion": "1.1.2526.108", "autoUpgradeMinorVersion": + false, "enableAutomaticUpgrade": true, "settings": {"ExcludedSqlInstances": + ["", "Testing", "Instance1", " Instance2"], "SqlManagement": {"IsEnabled": true}, + "LicenseType": "PAYG", "enableExtendedSecurityUpdates": true, "esuLastUpdatedTimestamp": + "2024-01-25T09:31:35.543Z", "FeatureFlags": [{"Name": "flightfeature", "Enable": + true}, {"Name": "LeastPrivilege", "Enable": true}], "cloudprovider": "N/A"}, + "provisioningState": "Failed", "instanceView": {"name": "WindowsAgent.SqlServer", + "type": "WindowsAgent.SqlServer", "typeHandlerVersion": "1.1.2526.108", "status": + {"code": "0", "level": "Error", "message": "Extension failed during enable. + Extension returned non-zero exit code for Enable: 1. Extension Message: SQL + Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 20:00:50.695; uploadStatus + : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"NEWSQL\": \"\",\r\n \"TURKSQL\": \"\",\r\n \"LATINSQL\": + \"\",\r\n \"FRENCHSQL\": \"\",\r\n \"CASESQL\": \"\",\r\n \"LITHSQL\": \"\",\r\n \"POLISHSQL\": + \"\",\r\n \"JAPSQL\": \"\"\r\n};: Listening on port 0;DatabaseMonitorArcPlugin: + {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], Azure + active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}\nExtension + Error: [2024-02-13 20:33:20.2440161 UTC] [INFO] SqlServerExtensionDeployer called + with arguments : enable\n[2024-02-13 20:33:26.2964320 UTC] [ERROR] Failed to + get identity details. Exception: Newtonsoft.Json.JsonSerializationException: + Error converting value \"\" to type ''System.Guid''. Path ''compute.vmId'', + line 1, position 495.\n ---> System.ArgumentException: Could not cast or convert + from System.String to System.Guid.\n at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object + value, Type initialType, Type targetType)\n at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object + initialValue, CultureInfo culture, Type targetType)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader + reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)\n --- + End of inner exception stack trace ---\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader + reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty + property, JsonConverter propertyConverter, JsonContainerContract containerContract, + JsonProperty containerProperty, JsonReader reader, Object target)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object + newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, + String id)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty + property, JsonConverter propertyConverter, JsonContainerContract containerContract, + JsonProperty containerProperty, JsonReader reader, Object target)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object + newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, + String id)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader + reader, Type objectType, Boolean checkAdditionalContent)\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader + reader, Type objectType)\n at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader + reader, Type objectType)\n at Newtonsoft.Json.JsonConvert.DeserializeObject(String + value, Type type, JsonSerializerSettings settings)\n at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String + value, JsonSerializerSettings settings)\n at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String + value)\n at Microsoft.SqlServer.Management.ExtensionUtility.ArcUtility.<>c__DisplayClass6_0.<b__3>d.MoveNext() + in C:\\ArceeExtension\\src\\ExtensionUtility\\ArcUtility.cs:line 63\n[2024-02-13 + 20:33:26.2994240 UTC] [ERROR] Get Identity details failed.: Waiting Polly.DelegateResult`1[Microsoft.SqlServer.Management.ExtensionUtility.ArcContracts.IdentityResponse] + before next retry. Retry attempt 00:00:10\n[2024-02-13 20:33:37.3184674 UTC] + [ERROR] Failed to get identity details. Exception: Newtonsoft.Json.JsonSerializationException: + Error converting value \"\" to type ''System.Guid''. Path ''compute.vmId'', + line 1, position 495.\n ---> System.ArgumentException: Could not cast or convert + from System.String to System.Guid.\n at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object + value, Type initialType, Type targetType)\n at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object + initialValue, CultureInfo culture, Type targetType)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader + reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)\n --- + End of inner exception stack trace ---\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader + reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty + property, JsonConverter propertyConverter, JsonContainerContract containerContract, + JsonProperty containerProperty, JsonReader reader, Object target)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object + newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, + String id)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty + property, JsonConverter propertyConverter, JsonContainerContract containerContract, + JsonProperty containerProperty, JsonReader reader, Object target)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object + newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, + String id)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader + reader, Type objectType, Boolean checkAdditionalContent)\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader + reader, Type objectType)\n at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader + reader, Type objectType)\n at Newtonsoft.Json.JsonConvert.DeserializeObject(String + value, Type type, JsonSerializerSettings settings)\n at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String + value, JsonSerializerSettings settings)\n at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String + value)\n at Microsoft.SqlServer.Management.ExtensionUtility.ArcUtility.<>c__DisplayClass6_0.<b__3>d.MoveNext() + in C:\\ArceeExtension\\src\\ExtensionUtility\\ArcUtility.cs:line 63\n[2024-02-13 + 20:33:37.3188758 UTC] [ERROR] Get Identity details failed.: Waiting Polly.DelegateResult`1[Microsoft.SqlServer.Management.ExtensionUtility.ArcContracts.IdentityResponse] + before next retry. Retry attempt 00:01:40\n[2024-02-13 20:35:18.6175609 UTC] + [INFO] Otel endpoint: https://telemetry.eastus.arcdataservices.com:443/v1/logs\n[2024-02-13 + 20:35:18.7726623 UTC] [INFO] No valid proxy uri received.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager[0]\n Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": + true,\n \"Name\": \"flightfeature\"\n },\n {\n \"Enable\": + true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"Paid\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n }\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL Server\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL Server\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + Distribution : Windows\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + version: 10.0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Checking + if least privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Least + privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Executing + deployer action: Enable\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Last + installation exit code: 0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Found + new RuntimeConfig setting file\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 12:35:19.5869|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 12:35:19.6175|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager|Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": true,\n \"Name\": + \"flightfeature\"\n },\n {\n \"Enable\": true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"Paid\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n}\n2024-02-13 12:35:19.6175|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL Server\n2024-02-13 + 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL Server\n2024-02-13 + 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\n2024-02-13 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + Distribution : Windows\n2024-02-13 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + version: 10.0\n2024-02-13 12:35:20.1905|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Checking + if least privilege mode is enabled.\n2024-02-13 12:35:20.1905|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Least + privilege mode is enabled.\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Executing + deployer action: Enable\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Last + installation exit code: 0\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Found + new RuntimeConfig setting file\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\nfail: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the + file specified.\n File name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n System.IO.FileNotFoundException: Could not load file or assembly + ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the file specified.\n File + name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Finished + deployer action: Enable. Exit code is UnexpectedError\n2024-02-13 12:35:21.3911|ERROR|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the + file specified.\nFile name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n2024-02-13 12:35:21.3911|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Finished + deployer action: Enable. Exit code is UnexpectedError\n[2024-02-13 12:40:14.8013044 + UTC] [INFO] SqlServerExtensionDeployer called with arguments : enable\n[2024-02-13 + 12:40:19.4180280 UTC] [INFO] Otel endpoint: https://telemetry.eastus.arcdataservices.com:443/v1/logs\n[2024-02-13 + 12:40:19.9893486 UTC] [INFO] No valid proxy uri received.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager[0]\n Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": + true,\n \"Name\": \"flightfeature\"\n },\n {\n \"Enable\": + true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"Paid\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n }\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL Server\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL Server\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + Distribution : Windows\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + version: 10.0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Checking + if least privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Least + privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Executing + deployer action: Enable\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Last + installation exit code: 0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Found + new RuntimeConfig setting file\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\nfail: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the + file specified.\n File name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n System.IO.FileNotFoundException: Could not load file or assembly + ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the file specified.\n File + name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Finished + deployer action: Enable. Exit code is UnexpectedError\n2024-02-13 04:40:20.6007|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 04:40:21.1875|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager|Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": true,\n \"Name\": + \"flightfeature\"\n },\n {\n \"Enable\": true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"Paid\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n}\n2024-02-13 04:40:21.1901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL Server\n2024-02-13 + 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL Server\n2024-02-13 + 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + Distribution : Windows\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + version: 10.0\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Checking + if least privilege mode is enabled.\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Least + privilege mode is enabled.\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Executing + deployer action: Enable\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Last + installation exit code: 0\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Found + new RuntimeConfig setting file\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 04:40:22.3691|ERROR|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the + file specified.\nFile name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Finished + deployer action: Enable. Exit code is UnexpectedError\n"}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35852' + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '' + headers: + Azure-AsyncOperation: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/dda9d5c1-ba32-4307-9f9c-aad9d0b8eeee?api-version=2019-08-02-preview&t=638435836036084087&c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q&s=L8buNJfWfB2dYB4PbaCjEO-GRBzB54yDy0F60Jqfv1m1FP1h0YFPQNkdw10MeIjUDui27vTPXtEmokZy5yV_GQUVZ-IF9-HsVkpiq06ZPdgJF912g0m_JaLrmDGAzy3ilHLckWm--Snt8nPaPjtl03_gktvmizTOFOFjz5fCkaQIEPkD5BkiiM2_5tLhfuuGTpGvJdumszCwG07QOijTabxxftRLI5BifwW0TijKt3aT_WUa1cVPM8PT7idghhx1iNafT9g9OhmH8oVYQ7si84_Gh7cTzjZtttuCGJTi9rOmjFBrHF71CAeF2IGC5Hd9qAgEHXIiAcGJf5JgDjR14g&h=l7YX0QDJ6jhOoJy9rspLtOhJezAJtrCYdAABlfrXR6g + Cache-Control: + - no-cache + Content-Length: + - '0' + Content-Type: + - application/json + Date: + - Thu, 15 Feb 2024 08:46:42 GMT + Expires: + - '-1' + Location: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/providers/Microsoft.HybridCompute/locations/eastus/operationresults/dda9d5c1-ba32-4307-9f9c-aad9d0b8eeee?api-version=2019-08-02-preview&t=638435836036084087&c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q&s=XkPVYYJFzIBtS2HPN2nzo487kD56Qo99JFMGBDDabjkbbEVD1dM9uL9vf2wkiHDL2kDXb4HEaPg0mSkAoFO7jbpOuFTvwSWAYT4L1Z2OBv7qzNqXrUVYG85yHGhAOsldDqFa88tpZ0M34Ye3Xiy4zJyuiVvS6gtebWPh94VaQA8Re6AmNC54j7B0wcxzgitTlmDIqPtKCMQRO90r1Q9pf_1AxxRQpuS8tCe-ya94mNKmwr8c1cVD4lhW39OK9jkvubDBsGpUZ5NfzGhYFsVSN2kXYjKWzwvd-qsEcpozcOyQhmxvb3ug7qlGG_l7Z0HvamZ0KWlQb-fBkA02S8UxPw&h=6NVKa3F_1B8WNlu33hx_PsuIFblos_MQOx2f3yRWfjg + Pragma: + - no-cache + Retry-After: + - '120' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 46056DD738374645870253ED8B1C610E Ref B: MAA201060513049 Ref C: 2024-02-15T08:46:41Z' + x-ms-correlation-request-id: + - bb302689-b0c9-4826-b1b4-cbb977bcefdc + x-ms-ratelimit-remaining-subscription-resource-requests: + - '319' + x-ms-request-id: + - dda9d5c1-ba32-4307-9f9c-aad9d0b8eeee + x-ms-routing-request-id: + - SOUTHINDIA:20240215T084643Z:bb302689-b0c9-4826-b1b4-cbb977bcefdc + status: + code: 202 + message: Accepted +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesSet.test_license_type_host_property[ARCBOX-SQL-arcee-test-Random-1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesSet.test_license_type_host_property[ARCBOX-SQL-arcee-test-Random-1].yaml new file mode 100644 index 00000000000..c407c51f5e2 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesSet.test_license_type_host_property[ARCBOX-SQL-arcee-test-Random-1].yaml @@ -0,0 +1,372 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2526.108","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":["","Testing","Instance1"," + Instance2"],"SqlManagement":{"IsEnabled":true},"LicenseType":"Paid","enableExtendedSecurityUpdates":true,"esuLastUpdatedTimestamp":"2024-01-25T09:31:35.543Z","FeatureFlags":[{"Name":"flightfeature","Enable":true},{"Name":"LeastPrivilege","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Failed","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2526.108","status":{"code":"0","level":"Error","message":"Extension + failed during enable. Extension returned non-zero exit code for Enable: 1. Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 20:00:50.695; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"NEWSQL\": \"\",\r\n \"TURKSQL\": \"\",\r\n \"LATINSQL\": + \"\",\r\n \"FRENCHSQL\": \"\",\r\n \"CASESQL\": \"\",\r\n \"LITHSQL\": + \"\",\r\n \"POLISHSQL\": \"\",\r\n \"JAPSQL\": \"\"\r\n};: Listening on + port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}\nExtension + Error: [2024-02-13 20:33:20.2440161 UTC] [INFO] SqlServerExtensionDeployer + called with arguments : enable\n[2024-02-13 20:33:26.2964320 UTC] [ERROR] + Failed to get identity details. Exception: Newtonsoft.Json.JsonSerializationException: + Error converting value \"\" to type ''System.Guid''. Path ''compute.vmId'', + line 1, position 495.\n ---> System.ArgumentException: Could not cast or convert + from System.String to System.Guid.\n at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object + value, Type initialType, Type targetType)\n at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object + initialValue, CultureInfo culture, Type targetType)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader + reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)\n --- + End of inner exception stack trace ---\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader + reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty + property, JsonConverter propertyConverter, JsonContainerContract containerContract, + JsonProperty containerProperty, JsonReader reader, Object target)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object + newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, + String id)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty + property, JsonConverter propertyConverter, JsonContainerContract containerContract, + JsonProperty containerProperty, JsonReader reader, Object target)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object + newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, + String id)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader + reader, Type objectType, Boolean checkAdditionalContent)\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader + reader, Type objectType)\n at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader + reader, Type objectType)\n at Newtonsoft.Json.JsonConvert.DeserializeObject(String + value, Type type, JsonSerializerSettings settings)\n at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String + value, JsonSerializerSettings settings)\n at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String + value)\n at Microsoft.SqlServer.Management.ExtensionUtility.ArcUtility.<>c__DisplayClass6_0.<b__3>d.MoveNext() + in C:\\ArceeExtension\\src\\ExtensionUtility\\ArcUtility.cs:line 63\n[2024-02-13 + 20:33:26.2994240 UTC] [ERROR] Get Identity details failed.: Waiting Polly.DelegateResult`1[Microsoft.SqlServer.Management.ExtensionUtility.ArcContracts.IdentityResponse] + before next retry. Retry attempt 00:00:10\n[2024-02-13 20:33:37.3184674 UTC] + [ERROR] Failed to get identity details. Exception: Newtonsoft.Json.JsonSerializationException: + Error converting value \"\" to type ''System.Guid''. Path ''compute.vmId'', + line 1, position 495.\n ---> System.ArgumentException: Could not cast or convert + from System.String to System.Guid.\n at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object + value, Type initialType, Type targetType)\n at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object + initialValue, CultureInfo culture, Type targetType)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader + reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)\n --- + End of inner exception stack trace ---\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader + reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty + property, JsonConverter propertyConverter, JsonContainerContract containerContract, + JsonProperty containerProperty, JsonReader reader, Object target)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object + newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, + String id)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty + property, JsonConverter propertyConverter, JsonContainerContract containerContract, + JsonProperty containerProperty, JsonReader reader, Object target)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object + newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, + String id)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader + reader, Type objectType, Boolean checkAdditionalContent)\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader + reader, Type objectType)\n at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader + reader, Type objectType)\n at Newtonsoft.Json.JsonConvert.DeserializeObject(String + value, Type type, JsonSerializerSettings settings)\n at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String + value, JsonSerializerSettings settings)\n at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String + value)\n at Microsoft.SqlServer.Management.ExtensionUtility.ArcUtility.<>c__DisplayClass6_0.<b__3>d.MoveNext() + in C:\\ArceeExtension\\src\\ExtensionUtility\\ArcUtility.cs:line 63\n[2024-02-13 + 20:33:37.3188758 UTC] [ERROR] Get Identity details failed.: Waiting Polly.DelegateResult`1[Microsoft.SqlServer.Management.ExtensionUtility.ArcContracts.IdentityResponse] + before next retry. Retry attempt 00:01:40\n[2024-02-13 20:35:18.6175609 UTC] + [INFO] Otel endpoint: https://telemetry.eastus.arcdataservices.com:443/v1/logs\n[2024-02-13 + 20:35:18.7726623 UTC] [INFO] No valid proxy uri received.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager[0]\n Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": + true,\n \"Name\": \"flightfeature\"\n },\n {\n \"Enable\": + true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"Paid\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n }\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + Distribution : Windows\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + version: 10.0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Checking + if least privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Least + privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Executing + deployer action: Enable\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Last + installation exit code: 0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Found + new RuntimeConfig setting file\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 12:35:19.5869|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 12:35:19.6175|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager|Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": true,\n \"Name\": + \"flightfeature\"\n },\n {\n \"Enable\": true,\n \"Name\": + \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": \"Paid\",\n \"SqlManagement\": + {\n \"IsEnabled\": true\n },\n \"cloudprovider\": \"N/A\",\n \"enableExtendedSecurityUpdates\": + true,\n \"esuLastUpdatedTimestamp\": \"2024-01-25T09:31:35.543Z\"\n}\n2024-02-13 + 12:35:19.6175|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-13 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-13 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\n2024-02-13 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + Distribution : Windows\n2024-02-13 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + version: 10.0\n2024-02-13 12:35:20.1905|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Checking + if least privilege mode is enabled.\n2024-02-13 12:35:20.1905|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Least + privilege mode is enabled.\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Executing + deployer action: Enable\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Last + installation exit code: 0\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Found + new RuntimeConfig setting file\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\nfail: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\n File name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n System.IO.FileNotFoundException: Could not load file or assembly + ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the file specified.\n File + name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Finished + deployer action: Enable. Exit code is UnexpectedError\n2024-02-13 12:35:21.3911|ERROR|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\nFile name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n2024-02-13 12:35:21.3911|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Finished + deployer action: Enable. Exit code is UnexpectedError\n[2024-02-13 12:40:14.8013044 + UTC] [INFO] SqlServerExtensionDeployer called with arguments : enable\n[2024-02-13 + 12:40:19.4180280 UTC] [INFO] Otel endpoint: https://telemetry.eastus.arcdataservices.com:443/v1/logs\n[2024-02-13 + 12:40:19.9893486 UTC] [INFO] No valid proxy uri received.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager[0]\n Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": + true,\n \"Name\": \"flightfeature\"\n },\n {\n \"Enable\": + true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"Paid\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n }\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + Distribution : Windows\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + version: 10.0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Checking + if least privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Least + privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Executing + deployer action: Enable\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Last + installation exit code: 0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Found + new RuntimeConfig setting file\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\nfail: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\n File name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n System.IO.FileNotFoundException: Could not load file or assembly + ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the file specified.\n File + name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Finished + deployer action: Enable. Exit code is UnexpectedError\n2024-02-13 04:40:20.6007|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 04:40:21.1875|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager|Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": true,\n \"Name\": + \"flightfeature\"\n },\n {\n \"Enable\": true,\n \"Name\": + \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": \"Paid\",\n \"SqlManagement\": + {\n \"IsEnabled\": true\n },\n \"cloudprovider\": \"N/A\",\n \"enableExtendedSecurityUpdates\": + true,\n \"esuLastUpdatedTimestamp\": \"2024-01-25T09:31:35.543Z\"\n}\n2024-02-13 + 04:40:21.1901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + Distribution : Windows\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + version: 10.0\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Checking + if least privilege mode is enabled.\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Least + privilege mode is enabled.\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Executing + deployer action: Enable\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Last + installation exit code: 0\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Found + new RuntimeConfig setting file\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 04:40:22.3691|ERROR|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\nFile name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Finished + deployer action: Enable. Exit code is UnexpectedError\n"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '35792' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 15 Feb 2024 08:46:44 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: E138ACAC6E2A410FB9D92BACD52EBCAC Ref B: MAA201060515039 Ref C: 2024-02-15T08:46:43Z' + x-ms-correlation-request-id: + - fed804ea-3d8b-4b86-a20e-3dd5e11a798b + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 4a1f8af4-2da8-4b34-aeb4-e513fc6c0673 + x-ms-routing-request-id: + - SOUTHINDIA:20240215T084645Z:fed804ea-3d8b-4b86-a20e-3dd5e11a798b + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesShow.test_invalid_inputs[ARCBOX-SQL-random-rg].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesShow.test_invalid_inputs[ARCBOX-SQL-random-rg].yaml new file mode 100644 index 00000000000..e5bd3cba536 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesShow.test_invalid_inputs[ARCBOX-SQL-random-rg].yaml @@ -0,0 +1,53 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/random-rg/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"error": {"code": "ResourceGroupNotFound", "message": "Resource group + ''random-rg'' could not be found."}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '101' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 15 Feb 2024 08:44:05 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 8AC4F6A2901048C995EDFA3A0D733418 Ref B: MAA201060516033 Ref C: 2024-02-15T08:44:06Z' + x-ms-correlation-request-id: + - 82ede376-f168-4479-b2f9-623e4dc0478c + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 82ede376-f168-4479-b2f9-623e4dc0478c + x-ms-routing-request-id: + - SOUTHINDIA:20240215T084406Z:82ede376-f168-4479-b2f9-623e4dc0478c + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesShow.test_invalid_inputs[random-SQL-arcee-test].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesShow.test_invalid_inputs[random-SQL-arcee-test].yaml new file mode 100644 index 00000000000..6948883415e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesShow.test_invalid_inputs[random-SQL-arcee-test].yaml @@ -0,0 +1,54 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/random-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.HybridCompute/machines/random-SQL/extensions/WindowsAgent.SqlServer'' + under resource group ''arcee-test'' was not found. For more details please + go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '259' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 15 Feb 2024 08:44:06 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 6E4663E04B5D4F5E913564B0DDAE5D71 Ref B: MAA201060516019 Ref C: 2024-02-15T08:44:06Z' + x-ms-correlation-request-id: + - 0743bc21-4219-4594-abbb-0b09462b698c + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 0743bc21-4219-4594-abbb-0b09462b698c + x-ms-routing-request-id: + - SOUTHINDIA:20240215T084406Z:0743bc21-4219-4594-abbb-0b09462b698c + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesShow.test_successful_inputs[ARCBOX-SQL-arcee-test].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesShow.test_successful_inputs[ARCBOX-SQL-arcee-test].yaml new file mode 100644 index 00000000000..27a6fa6ab30 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/TestsHostPropertiesShow.test_successful_inputs[ARCBOX-SQL-arcee-test].yaml @@ -0,0 +1,372 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2526.108","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":["","Testing","Instance1"," + Instance2"],"SqlManagement":{"IsEnabled":true},"LicenseType":"Paid","enableExtendedSecurityUpdates":true,"esuLastUpdatedTimestamp":"2024-01-25T09:31:35.543Z","FeatureFlags":[{"Name":"flightfeature","Enable":true},{"Name":"LeastPrivilege","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Failed","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2526.108","status":{"code":"0","level":"Error","message":"Extension + failed during enable. Extension returned non-zero exit code for Enable: 1. Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 20:00:50.695; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"NEWSQL\": \"\",\r\n \"TURKSQL\": \"\",\r\n \"LATINSQL\": + \"\",\r\n \"FRENCHSQL\": \"\",\r\n \"CASESQL\": \"\",\r\n \"LITHSQL\": + \"\",\r\n \"POLISHSQL\": \"\",\r\n \"JAPSQL\": \"\"\r\n};: Listening on + port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}\nExtension + Error: [2024-02-13 20:33:20.2440161 UTC] [INFO] SqlServerExtensionDeployer + called with arguments : enable\n[2024-02-13 20:33:26.2964320 UTC] [ERROR] + Failed to get identity details. Exception: Newtonsoft.Json.JsonSerializationException: + Error converting value \"\" to type ''System.Guid''. Path ''compute.vmId'', + line 1, position 495.\n ---> System.ArgumentException: Could not cast or convert + from System.String to System.Guid.\n at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object + value, Type initialType, Type targetType)\n at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object + initialValue, CultureInfo culture, Type targetType)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader + reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)\n --- + End of inner exception stack trace ---\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader + reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty + property, JsonConverter propertyConverter, JsonContainerContract containerContract, + JsonProperty containerProperty, JsonReader reader, Object target)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object + newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, + String id)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty + property, JsonConverter propertyConverter, JsonContainerContract containerContract, + JsonProperty containerProperty, JsonReader reader, Object target)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object + newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, + String id)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader + reader, Type objectType, Boolean checkAdditionalContent)\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader + reader, Type objectType)\n at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader + reader, Type objectType)\n at Newtonsoft.Json.JsonConvert.DeserializeObject(String + value, Type type, JsonSerializerSettings settings)\n at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String + value, JsonSerializerSettings settings)\n at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String + value)\n at Microsoft.SqlServer.Management.ExtensionUtility.ArcUtility.<>c__DisplayClass6_0.<b__3>d.MoveNext() + in C:\\ArceeExtension\\src\\ExtensionUtility\\ArcUtility.cs:line 63\n[2024-02-13 + 20:33:26.2994240 UTC] [ERROR] Get Identity details failed.: Waiting Polly.DelegateResult`1[Microsoft.SqlServer.Management.ExtensionUtility.ArcContracts.IdentityResponse] + before next retry. Retry attempt 00:00:10\n[2024-02-13 20:33:37.3184674 UTC] + [ERROR] Failed to get identity details. Exception: Newtonsoft.Json.JsonSerializationException: + Error converting value \"\" to type ''System.Guid''. Path ''compute.vmId'', + line 1, position 495.\n ---> System.ArgumentException: Could not cast or convert + from System.String to System.Guid.\n at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object + value, Type initialType, Type targetType)\n at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object + initialValue, CultureInfo culture, Type targetType)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader + reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)\n --- + End of inner exception stack trace ---\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader + reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty + property, JsonConverter propertyConverter, JsonContainerContract containerContract, + JsonProperty containerProperty, JsonReader reader, Object target)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object + newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, + String id)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty + property, JsonConverter propertyConverter, JsonContainerContract containerContract, + JsonProperty containerProperty, JsonReader reader, Object target)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object + newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, + String id)\n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader + reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract + containerContract, JsonProperty containerMember, Object existingValue)\n at + Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader + reader, Type objectType, Boolean checkAdditionalContent)\n at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader + reader, Type objectType)\n at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader + reader, Type objectType)\n at Newtonsoft.Json.JsonConvert.DeserializeObject(String + value, Type type, JsonSerializerSettings settings)\n at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String + value, JsonSerializerSettings settings)\n at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String + value)\n at Microsoft.SqlServer.Management.ExtensionUtility.ArcUtility.<>c__DisplayClass6_0.<b__3>d.MoveNext() + in C:\\ArceeExtension\\src\\ExtensionUtility\\ArcUtility.cs:line 63\n[2024-02-13 + 20:33:37.3188758 UTC] [ERROR] Get Identity details failed.: Waiting Polly.DelegateResult`1[Microsoft.SqlServer.Management.ExtensionUtility.ArcContracts.IdentityResponse] + before next retry. Retry attempt 00:01:40\n[2024-02-13 20:35:18.6175609 UTC] + [INFO] Otel endpoint: https://telemetry.eastus.arcdataservices.com:443/v1/logs\n[2024-02-13 + 20:35:18.7726623 UTC] [INFO] No valid proxy uri received.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager[0]\n Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": + true,\n \"Name\": \"flightfeature\"\n },\n {\n \"Enable\": + true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"Paid\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n }\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + Distribution : Windows\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + version: 10.0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Checking + if least privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Least + privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Executing + deployer action: Enable\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Last + installation exit code: 0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Found + new RuntimeConfig setting file\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 12:35:19.5869|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 12:35:19.6175|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager|Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": true,\n \"Name\": + \"flightfeature\"\n },\n {\n \"Enable\": true,\n \"Name\": + \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": \"Paid\",\n \"SqlManagement\": + {\n \"IsEnabled\": true\n },\n \"cloudprovider\": \"N/A\",\n \"enableExtendedSecurityUpdates\": + true,\n \"esuLastUpdatedTimestamp\": \"2024-01-25T09:31:35.543Z\"\n}\n2024-02-13 + 12:35:19.6175|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-13 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-13 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\n2024-02-13 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + Distribution : Windows\n2024-02-13 12:35:20.1843|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + version: 10.0\n2024-02-13 12:35:20.1905|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Checking + if least privilege mode is enabled.\n2024-02-13 12:35:20.1905|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Least + privilege mode is enabled.\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Executing + deployer action: Enable\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Last + installation exit code: 0\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Found + new RuntimeConfig setting file\n2024-02-13 12:35:20.7899|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\nfail: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\n File name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n System.IO.FileNotFoundException: Could not load file or assembly + ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the file specified.\n File + name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Finished + deployer action: Enable. Exit code is UnexpectedError\n2024-02-13 12:35:21.3911|ERROR|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\nFile name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n2024-02-13 12:35:21.3911|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Finished + deployer action: Enable. Exit code is UnexpectedError\n[2024-02-13 12:40:14.8013044 + UTC] [INFO] SqlServerExtensionDeployer called with arguments : enable\n[2024-02-13 + 12:40:19.4180280 UTC] [INFO] Otel endpoint: https://telemetry.eastus.arcdataservices.com:443/v1/logs\n[2024-02-13 + 12:40:19.9893486 UTC] [INFO] No valid proxy uri received.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager[0]\n Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": + true,\n \"Name\": \"flightfeature\"\n },\n {\n \"Enable\": + true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"Paid\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n }\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + Distribution : Windows\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + version: 10.0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Checking + if least privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Least + privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Executing + deployer action: Enable\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Last + installation exit code: 0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Found + new RuntimeConfig setting file\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\nfail: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\n File name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n System.IO.FileNotFoundException: Could not load file or assembly + ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the file specified.\n File + name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Finished + deployer action: Enable. Exit code is UnexpectedError\n2024-02-13 04:40:20.6007|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 04:40:21.1875|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager|Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\",\n \"Testing\",\n \"Instance1\",\n \" + Instance2\"\n ],\n \"FeatureFlags\": [\n {\n \"Enable\": true,\n \"Name\": + \"flightfeature\"\n },\n {\n \"Enable\": true,\n \"Name\": + \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": \"Paid\",\n \"SqlManagement\": + {\n \"IsEnabled\": true\n },\n \"cloudprovider\": \"N/A\",\n \"enableExtendedSecurityUpdates\": + true,\n \"esuLastUpdatedTimestamp\": \"2024-01-25T09:31:35.543Z\"\n}\n2024-02-13 + 04:40:21.1901|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + Distribution : Windows\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + version: 10.0\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Checking + if least privilege mode is enabled.\n2024-02-13 04:40:21.7737|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Least + privilege mode is enabled.\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Executing + deployer action: Enable\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Last + installation exit code: 0\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Found + new RuntimeConfig setting file\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\27.settings\n2024-02-13 + 04:40:22.3691|ERROR|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\nFile name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n2024-02-13 04:40:22.3691|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Finished + deployer action: Enable. Exit code is UnexpectedError\n"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '35792' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 15 Feb 2024 08:44:05 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: DBAB169F22544AD1B120B414AC56CD7E Ref B: MAA201060513047 Ref C: 2024-02-15T08:44:04Z' + x-ms-correlation-request-id: + - 1cc9b86e-48f5-45bb-99e8-db3ca09b638b + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - d4fc8cbf-6f86-45b4-9529-715411c9d12a + x-ms-routing-request-id: + - CENTRALINDIA:20240215T084405Z:1cc9b86e-48f5-45bb-99e8-db3ca09b638b + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_invalid_inputs[ArcBox-SQL/MSSQLSERVER01asd-aagonzalez-CI-Test-mk6].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_invalid_inputs[ArcBox-SQL/MSSQLSERVER01asd-aagonzalez-CI-Test-mk6].yaml new file mode 100644 index 00000000000..4755ea1648e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_invalid_inputs[ArcBox-SQL/MSSQLSERVER01asd-aagonzalez-CI-Test-mk6].yaml @@ -0,0 +1,56 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - e13b326b-caaa-11ee-8a4d-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01asd + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/ArcBox-SQL_MSSQLSERVER01asd'' + under resource group ''aagonzalez-CI-Test-mk6'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '263' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:02:56 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 9B158ED040344DA5B5A5AF5EE6C350A3 Ref B: BN1AA2051015039 Ref C: 2024-02-13T20:02:57Z' + x-ms-correlation-request-id: + - a342e5af-cc3c-40b7-a3fa-462d22f5e80a + x-ms-failure-cause: + - gateway + x-ms-request-id: + - a342e5af-cc3c-40b7-a3fa-462d22f5e80a + x-ms-routing-request-id: + - EASTUS2:20240213T200257Z:a342e5af-cc3c-40b7-a3fa-462d22f5e80a + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_invalid_inputs[ArcBox-SQL_MSSQLSERVER01-aagonzalez-CI-Test-mk6asd].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_invalid_inputs[ArcBox-SQL_MSSQLSERVER01-aagonzalez-CI-Test-mk6asd].yaml new file mode 100644 index 00000000000..2cd7f777c0e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_invalid_inputs[ArcBox-SQL_MSSQLSERVER01-aagonzalez-CI-Test-mk6asd].yaml @@ -0,0 +1,55 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - e3d6de57-caaa-11ee-817b-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6asd/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01 + response: + body: + string: '{"error": {"code": "ResourceGroupNotFound", "message": "Resource group + ''aagonzalez-CI-Test-mk6asd'' could not be found."}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '117' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:03:01 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: A9908D81F8BD440885754CE58F45ACF0 Ref B: BN1AA2051013011 Ref C: 2024-02-13T20:03:01Z' + x-ms-correlation-request-id: + - 90ca8f2b-c0a7-448e-b274-ca51974d44ae + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 90ca8f2b-c0a7-448e-b274-ca51974d44ae + x-ms-routing-request-id: + - EASTUS:20240213T200301Z:90ca8f2b-c0a7-448e-b274-ca51974d44ae + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_invalid_inputs[ArcBox-SQLss-aagonzalez-CI-Test-mk6].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_invalid_inputs[ArcBox-SQLss-aagonzalez-CI-Test-mk6].yaml new file mode 100644 index 00000000000..6abb4f1d7cb --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_invalid_inputs[ArcBox-SQLss-aagonzalez-CI-Test-mk6].yaml @@ -0,0 +1,56 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - dec1429e-caaa-11ee-bdd0-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQLss + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/ArcBox-SQLss'' + under resource group ''aagonzalez-CI-Test-mk6'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '248' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:02:52 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: DFD663F3840D44F0A0308DA90138E236 Ref B: BN1AA2051013035 Ref C: 2024-02-13T20:02:53Z' + x-ms-correlation-request-id: + - b969f860-6bf2-4a23-9c7d-448379e4035f + x-ms-failure-cause: + - gateway + x-ms-request-id: + - b969f860-6bf2-4a23-9c7d-448379e4035f + x-ms-routing-request-id: + - EASTUS2:20240213T200253Z:b969f860-6bf2-4a23-9c7d-448379e4035f + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_invalid_licenses[ArcBox-SQL-aagonzalez-CI-Test-mk6].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_invalid_licenses[ArcBox-SQL-aagonzalez-CI-Test-mk6].yaml new file mode 100644 index 00000000000..fdefdcde068 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_invalid_licenses[ArcBox-SQL-aagonzalez-CI-Test-mk6].yaml @@ -0,0 +1,123 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - e64afb19-caaa-11ee-a859-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-13T19:18:56.5355191Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-13T18:52:48.9741378Z","lastUsageUploadTime":"2024-02-13T19:18:54.5933551Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1539' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:03:05 GMT + ETag: + - '"da03910f-0000-0100-0000-65cbc0a00000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 28DE74C45ECD4357A74299E6D43FBFF9 Ref B: BN1AA2051013021 Ref C: 2024-02-13T20:03:05Z' + x-ms-correlation-request-id: + - 88c20d04-3a5f-4120-8b99-4ae1809cecae + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 400c818c-64f7-448e-a677-9d6ba9985b0a + x-ms-routing-request-id: + - EASTUS:20240213T200305Z:88c20d04-3a5f-4120-8b99-4ae1809cecae + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"LicenseOnly","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 19:55:26.377; + uploadStatus : NotFound;AutomaticBackups: Suspended;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"MSSQLSERVER01\": \"\"\r\n};: Listening + on port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"MSSQLSERVER\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":7,\"enabled\":true},{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"MSSQLSERVER01\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":10,\"enabled\":true}]}}, + Purview plugin: [], Azure active directory configuration plugin: [], Assessment + Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2663' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:03:06 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 4345FE043EDE430596EA5595F4A1AF25 Ref B: BN1AA2051015051 Ref C: 2024-02-13T20:03:06Z' + x-ms-correlation-request-id: + - 5d36766a-02ce-4816-af7e-9425dcb39728 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 497720f3-1f9f-4ea6-91e8-dbaec675b2d3 + x-ms-routing-request-id: + - EASTUS:20240213T200306Z:5d36766a-02ce-4816-af7e-9425dcb39728 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_invalid_licenses[ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_invalid_licenses[ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6].yaml new file mode 100644 index 00000000000..ab5f45fcebd --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_invalid_licenses[ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6].yaml @@ -0,0 +1,123 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - e97882f6-caaa-11ee-a703-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01 + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01","name":"ArcBox-SQL_MSSQLSERVER01","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T19:57:49.4129853Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-13T18:54:04.0509486Z"},"properties":{"version":"SQL + Server 2019","edition":"Evaluation","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2000.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER01","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-13T18:52:48.9741472Z","lastUsageUploadTime":null,"hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":10,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":null}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1515' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:03:11 GMT + ETag: + - '"d703baf5-0000-0100-0000-65cbbacc0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 3BD58C8B0ACC42A59716B227F113EB9C Ref B: BN1AA2051015053 Ref C: 2024-02-13T20:03:11Z' + x-ms-correlation-request-id: + - 3711de5f-1658-4e00-95b0-f25134e43c1c + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - af19751d-48df-432c-8aa7-3ead3efeb622 + x-ms-routing-request-id: + - EASTUS:20240213T200311Z:3711de5f-1658-4e00-95b0-f25134e43c1c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"LicenseOnly","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 19:55:26.377; + uploadStatus : NotFound;AutomaticBackups: Suspended;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"MSSQLSERVER01\": \"\"\r\n};: Listening + on port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"MSSQLSERVER\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":7,\"enabled\":true},{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"MSSQLSERVER01\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":10,\"enabled\":true}]}}, + Purview plugin: [], Azure active directory configuration plugin: [], Assessment + Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2663' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:03:12 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: B4172AA940894070B3ED7CA16AE7A0B9 Ref B: BN1AA2051014019 Ref C: 2024-02-13T20:03:11Z' + x-ms-correlation-request-id: + - e6cb80fa-03b9-4c07-8d78-1a95da138bea + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 37c414c9-561d-435a-ada7-c88781a6a35b + x-ms-routing-request-id: + - EASTUS2:20240213T200312Z:e6cb80fa-03b9-4c07-8d78-1a95da138bea + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_no_policy[ArcBox-SQL-aagonzalez-CI-Test-mk6].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_no_policy[ArcBox-SQL-aagonzalez-CI-Test-mk6].yaml new file mode 100644 index 00000000000..128a171cad6 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_no_policy[ArcBox-SQL-aagonzalez-CI-Test-mk6].yaml @@ -0,0 +1,123 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 1579d7e8-caad-11ee-bcfd-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-13T20:10:49.3673559Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-13T20:07:38.2473705Z","lastUsageUploadTime":"2024-02-13T19:18:54.5933551Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1419' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:18:43 GMT + ETag: + - '"de03fe35-0000-0100-0000-65cbccd10000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 43FF31931B6F4332B98C96C1CC567DBC Ref B: BN1AA2051015009 Ref C: 2024-02-13T20:18:44Z' + x-ms-correlation-request-id: + - 7e3d4183-4033-4871-9836-0fb67f517c6b + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 2995fb61-fd0d-4306-9e3c-af9e7ef921ef + x-ms-routing-request-id: + - EASTUS:20240213T201844Z:7e3d4183-4033-4871-9836-0fb67f517c6b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"Paid","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 20:10:03.511; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"MSSQLSERVER01\": \"\"\r\n};: Listening + on port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"MSSQLSERVER\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":7,\"enabled\":true},{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"MSSQLSERVER01\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":10,\"enabled\":true}]}}, + Purview plugin: [], Azure active directory configuration plugin: [], Assessment + Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2648' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:18:43 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 0D42D6B8414341E2B5F95535919663E7 Ref B: BN1AA2051014027 Ref C: 2024-02-13T20:18:44Z' + x-ms-correlation-request-id: + - c59dc784-2b33-46b7-9321-d15824355e5e + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 31f7e31c-9b2b-4f80-9ec4-84c9d5057c7c + x-ms-routing-request-id: + - EASTUS:20240213T201844Z:c59dc784-2b33-46b7-9321-d15824355e5e + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_no_policy[ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_no_policy[ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6].yaml new file mode 100644 index 00000000000..31bb41592dc --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_no_policy[ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6].yaml @@ -0,0 +1,123 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 6813e806-caad-11ee-9bb1-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01 + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01","name":"ArcBox-SQL_MSSQLSERVER01","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T19:57:49.4129853Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-13T20:20:12.3434266Z"},"properties":{"version":"SQL + Server 2019","edition":"Evaluation","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2000.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER01","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-13T20:07:38.2473789Z","lastUsageUploadTime":null,"hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1421' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:21:01 GMT + ETag: + - '"de03c9e8-0000-0100-0000-65cbcf020000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 0B4E8B19EA9842F28EECE21272251E86 Ref B: BN1AA2051013033 Ref C: 2024-02-13T20:21:02Z' + x-ms-correlation-request-id: + - af4a5c55-b8d9-4580-90fe-724df5fd7ce5 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 29734c0e-119e-4d61-83ae-983f315da165 + x-ms-routing-request-id: + - EASTUS:20240213T202102Z:af4a5c55-b8d9-4580-90fe-724df5fd7ce5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"Paid","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 20:10:03.511; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"MSSQLSERVER01\": \"\"\r\n};: Listening + on port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"MSSQLSERVER\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":7,\"enabled\":true},{\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent\",\"instanceName\":\"MSSQLSERVER01\",\"differentialBackupHours\":12,\"fullBackupDays\":7,\"tLogBackupMinutes\":5,\"retentionPeriodInDays\":10,\"enabled\":true}]}}, + Purview plugin: [], Azure active directory configuration plugin: [], Assessment + Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2648' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:21:02 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: ACA5142D72DE40CF91501BDB72E152D4 Ref B: BN1AA2051013031 Ref C: 2024-02-13T20:21:03Z' + x-ms-correlation-request-id: + - 85e62285-c817-4e8e-8a2d-d046e4cca073 + x-ms-ratelimit-remaining-subscription-reads: + - '11996' + x-ms-request-id: + - 54afd887-526c-48b2-910a-bee2f6cacf3e + x-ms-routing-request-id: + - EASTUS2:20240213T202103Z:85e62285-c817-4e8e-8a2d-d046e4cca073 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_successful_inputs[ArcBox-SQL-aagonzalez-CI-Test-mk6].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_successful_inputs[ArcBox-SQL-aagonzalez-CI-Test-mk6].yaml new file mode 100644 index 00000000000..602b1924056 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_successful_inputs[ArcBox-SQL-aagonzalez-CI-Test-mk6].yaml @@ -0,0 +1,190 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - e334f41a-caae-11ee-98c9-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-13T20:28:19.3366777Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-13T20:07:38.2473705Z","lastUsageUploadTime":"2024-02-13T19:18:54.5933551Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":24,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1520' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:31:38 GMT + ETag: + - '"df030f83-0000-0100-0000-65cbd0e90000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 3F029D4BE43644A9B377A7333C0D6932 Ref B: BN1AA2051015047 Ref C: 2024-02-13T20:31:38Z' + x-ms-correlation-request-id: + - 34f80712-94d4-4550-91b0-bfc53e4337b3 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - c6f308eb-b45a-4e7f-944d-118985f16a1e + x-ms-routing-request-id: + - EASTUS:20240213T203138Z:34f80712-94d4-4550-91b0-bfc53e4337b3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"Paid","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 20:25:10.565; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"MSSQLSERVER01\": \"\"\r\n};: Listening + on port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:31:39 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: AC92FEE8841F4A53941883A83791E995 Ref B: BN1AA2051014049 Ref C: 2024-02-13T20:31:39Z' + x-ms-correlation-request-id: + - 4ec80b09-c444-4fb7-8c79-494033493b42 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 6d09e922-cadb-47a3-b0e4-2cc246fd2ee5 + x-ms-routing-request-id: + - EASTUS:20240213T203139Z:4ec80b09-c444-4fb7-8c79-494033493b42 + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"version": "SQL Server 2019", "edition": + "Developer", "instanceName": "MSSQLSERVER", "monitoring": {"enabled": true}, + "migration": {"assessment": {"enabled": true}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '204' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - e3fe08da-caae-11ee-b04d-d8bbc1c51c4b + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-13T20:31:39.5996731Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Accepted","lastInventoryUploadTime":"2024-02-13T20:07:38.2473705Z","lastUsageUploadTime":"2024-02-13T19:18:54.5933551Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS/operationStatuses/0f992bab-07c1-4921-ab7d-98dca4000528*C906F38C07D4F836F526FED232979609A8F846D164807297CBA32165DEAABB09?api-version=2024-02-01-preview&t=638434531001934350&c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYMYYup1R1RZPIwVtk7z89JkrsDK8coPmULAovQOy3jgtdJ-z5oyCO28-zQ4LRHmuyeq1ROWdQR5e828FYihyBqnnQQea3EcS6CFfXpYes-7NPXy73E_P3goJLJU7bfuZ4iDPGZxXIIjo6_Uex0eX_AuBJeq8ZFcmNy3x0loDHkDww9lMprf49PmIZJEAshTnLBtfT3BC7JAuTTl2duIcC6YRT8vITdFw1HxFqywnOqD35zttD8vp0XowEP4ksBLfhJWduspxICp4Yu2ouSlh-T4GmsjQaTjrzZpw29eEj3gUyzTfkDY-WEGsEujkl9a9FCX1_AvT-9Eqmd7uYqV6kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBTDXVhSVDy9FvMjLTrSyU7UjKUXqzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHyzMCBJbTmiP_gOh98fZltsl9jQdlB-g_OYCr82viu1SgLxte7Za3Vtb3XRCTquz_JfY_4eQJpUy0p6F37f0oaTQkBvUF7HDDvkm49rmKF4nDFjPGNEqm53KbVEak46WTgD9fGZLQH1XouZGRe0LxQVIWm-K-MYMbrDWF_njKsIaV5Z4VxgFVaX5SlzHvr6coDX5oXwwksEsw8E8g0LfZCpfT5mCwgDPrDv2Ekk26koWUYlmJWgkky22R538qwuJmE6F33YwWStmUGfZfFDyjek8Rd_KyuEuC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE&s=VF3BHMmGbihRbqRRxjQzlzTlRY8aVEEmpWD_T7V-22dIJtqHHYkUn2VIpz_2m4RxHJKS2cV37RvhhJAVQSo-dNigTiSfyPjqPBBtcU35A-kB_VuNJOVUeZfBO7oQ4BnOUry5hK8h-hzOX9ip9tVNTSkqgKR69V8su9A1Q5fcz1vaH7ZNoy1vQC-87hMUNBORCBoBoi-dYvy4C6z19Ug0N-ubEMlj8QT0HOfoRADPLQTIdYYVARvaLIkpjsesP5qcQMUB1bRkzNlnpdn-cnDqZls2SXrVEN5iqm2q-2pUhLRy6_fVTdcXmXpORoJgu4kPBTqgBIkKJgS08iCYrWs7Ow&h=enc5Ke0lFcV1H7C6bp38oezPIv2fC1gGSpIOT0b-J38 + Cache-Control: + - no-cache + Content-Length: + - '1418' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:31:39 GMT + ETag: + - '"df033bc4-0000-0100-0000-65cbd1ab0000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + - ARRAffinitySameSite=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 9777C7376D3C4F9896E6173C8D7B74F3 Ref B: BN1AA2051015047 Ref C: 2024-02-13T20:31:39Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - eb57df1e-c5d5-485f-8b34-29bf7e2120a5 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '9999' + x-ms-request-id: + - 0f992bab-07c1-4921-ab7d-98dca4000528 + x-ms-routing-request-id: + - EASTUS:20240213T203140Z:eb57df1e-c5d5-485f-8b34-29bf7e2120a5 + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_successful_inputs[ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_successful_inputs[ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6].yaml new file mode 100644 index 00000000000..89ea974b046 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_delete.test_successful_inputs[ArcBox-SQL/MSSQLSERVER01-aagonzalez-CI-Test-mk6].yaml @@ -0,0 +1,190 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - e6d665f1-caae-11ee-bf81-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01 + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01","name":"ArcBox-SQL_MSSQLSERVER01","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T19:57:49.4129853Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-13T20:30:43.9972938Z"},"properties":{"version":"SQL + Server 2019","edition":"Evaluation","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2000.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER01","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-13T20:07:38.2473789Z","lastUsageUploadTime":null,"hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":24,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1522' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:31:44 GMT + ETag: + - '"df039cb2-0000-0100-0000-65cbd1780000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 227F739D6B714E71B179F1DCFDD4174B Ref B: BN1AA2051015011 Ref C: 2024-02-13T20:31:44Z' + x-ms-correlation-request-id: + - 453f9303-d7ed-4443-977e-8fd12d766d39 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99998' + x-ms-request-id: + - f977b482-031e-44ad-bd1c-05b3b7049fae + x-ms-routing-request-id: + - EASTUS:20240213T203144Z:453f9303-d7ed-4443-977e-8fd12d766d39 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"Paid","cloudprovider":"N/A"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 20:25:10.565; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"MSSQLSERVER01\": \"\"\r\n};: Listening + on port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:31:44 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: D8F0CD285F184FB5BCEB3152CD06F7CF Ref B: BN1AA2051012025 Ref C: 2024-02-13T20:31:45Z' + x-ms-correlation-request-id: + - edabf48c-edb6-4eff-82e4-44cf21350716 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 772571c0-6aed-4a75-9411-ba589e8980c7 + x-ms-routing-request-id: + - EASTUS2:20240213T203145Z:edabf48c-edb6-4eff-82e4-44cf21350716 + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"version": "SQL Server 2019", "edition": + "Evaluation", "instanceName": "MSSQLSERVER01", "monitoring": {"enabled": true}, + "migration": {"assessment": {"enabled": true}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '207' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.11.8 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - e79c3dac-caae-11ee-b3c3-d8bbc1c51c4b + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01 + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01","name":"ArcBox-SQL_MSSQLSERVER01","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T19:57:49.4129853Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-13T20:31:45.5926894Z"},"properties":{"version":"SQL + Server 2019","edition":"Evaluation","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2000.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER01","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Accepted","lastInventoryUploadTime":"2024-02-13T20:07:38.2473789Z","lastUsageUploadTime":null,"hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS/operationStatuses/29f7be1c-574f-456c-8ec8-811696a3b834*8BB7BC934B9F41AD0FF7C54687BFAFB8EF2C451C86A92570B24F3A946416EED3?api-version=2024-02-01-preview&t=638434531061083549&c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYMYYup1R1RZPIwVtk7z89JkrsDK8coPmULAovQOy3jgtdJ-z5oyCO28-zQ4LRHmuyeq1ROWdQR5e828FYihyBqnnQQea3EcS6CFfXpYes-7NPXy73E_P3goJLJU7bfuZ4iDPGZxXIIjo6_Uex0eX_AuBJeq8ZFcmNy3x0loDHkDww9lMprf49PmIZJEAshTnLBtfT3BC7JAuTTl2duIcC6YRT8vITdFw1HxFqywnOqD35zttD8vp0XowEP4ksBLfhJWduspxICp4Yu2ouSlh-T4GmsjQaTjrzZpw29eEj3gUyzTfkDY-WEGsEujkl9a9FCX1_AvT-9Eqmd7uYqV6kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBTDXVhSVDy9FvMjLTrSyU7UjKUXqzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHyzMCBJbTmiP_gOh98fZltsl9jQdlB-g_OYCr82viu1SgLxte7Za3Vtb3XRCTquz_JfY_4eQJpUy0p6F37f0oaTQkBvUF7HDDvkm49rmKF4nDFjPGNEqm53KbVEak46WTgD9fGZLQH1XouZGRe0LxQVIWm-K-MYMbrDWF_njKsIaV5Z4VxgFVaX5SlzHvr6coDX5oXwwksEsw8E8g0LfZCpfT5mCwgDPrDv2Ekk26koWUYlmJWgkky22R538qwuJmE6F33YwWStmUGfZfFDyjek8Rd_KyuEuC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE&s=ZqWH6YUU_dNT1u-6kuJAy5c3DjbDce2Ntj6nbs8poBebvMr3TNRxDX2Qe_SbfGSElm9YwwQrSeGJfn9_IditIRFb4XuX8qFUJF5paLgDRb0GmpwaOu4krEygf1cZc56DbLgncIH6BlWtPIjxqBwTzor3pWUbfbFa8p3B4WQXdytvXuR6oR5SQbvHcq5WPn6bnULMqQ_S248IvWe2wjelti4C0ivKXKpg5JA9Wa9Go5GLfygMEVf8KjjNigP7G3V4hIYy-u6YwkoSNf29esbkuTcAZAk9xuBoH74bczMH1-vuek618x6fiKtJ2vSEd0OX44VfEZNdDNLBACqgh42hQA&h=8dRAoCt6-nB1ZXqnR0vSvpoYfiSKNZtECZ60_sb8ExY + Cache-Control: + - no-cache + Content-Length: + - '1420' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 20:31:45 GMT + ETag: + - '"df0358c6-0000-0100-0000-65cbd1b10000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + - ARRAffinitySameSite=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 1A3A891C4E204B5497688E18324830EC Ref B: BN1AA2051015011 Ref C: 2024-02-13T20:31:45Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - c46cd098-44d7-490c-9e92-51b1344eef5a + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '9999' + x-ms-request-id: + - 29f7be1c-574f-456c-8ec8-811696a3b834 + x-ms-routing-request-id: + - EASTUS:20240213T203146Z:c46cd098-44d7-490c-9e92-51b1344eef5a + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_invalid_inputs[ARCBOX-SQL-aagonzalez-ci-test-mk6-60-7-12-5-False-Value Error b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_invalid_inputs[ARCBOX-SQL-aagonzalez-ci-test-mk6-60-7-12-5-False-Value Error new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_invalid_inputs[ARCBOX-SQL-lawynn-LTRHdack-rg-7-7-12-5-False-Could not find resource group].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_invalid_inputs[ARCBOX-SQL-lawynn-LTRHdack-rg-7-7-12-5-False-Could not find resource group].yaml new file mode 100644 index 00000000000..c80204fc8a6 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_invalid_inputs[ARCBOX-SQL-lawynn-LTRHdack-rg-7-7-12-5-False-Could not find resource group].yaml @@ -0,0 +1,55 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 6e73f6cc-c7a2-11ee-9b6e-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/lawynn-LTRHdack-rg/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"error": {"code": "ResourceGroupNotFound", "message": "Resource group + ''lawynn-LTRHdack-rg'' could not be found."}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '110' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 23:24:55 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 23070170F81D481881E787863D85BC75 Ref B: BN1AA2051012011 Ref C: 2024-02-09T23:24:54Z' + x-ms-correlation-request-id: + - 603ded49-df01-485c-9ce8-feb0ee3c2401 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 603ded49-df01-485c-9ce8-feb0ee3c2401 + x-ms-routing-request-id: + - EASTUS2:20240209T232455Z:603ded49-df01-485c-9ce8-feb0ee3c2401 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_invalid_inputs[ARCBOX-SQLasd-aagonzalez-ci-test-mk6-10-7-12-5-False-Could not find Sql Server instance].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_invalid_inputs[ARCBOX-SQLasd-aagonzalez-ci-test-mk6-10-7-12-5-False-Could not find Sql Server instance].yaml new file mode 100644 index 00000000000..0af9dae95a2 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_invalid_inputs[ARCBOX-SQLasd-aagonzalez-ci-test-mk6-10-7-12-5-False-Could not find Sql Server instance].yaml @@ -0,0 +1,56 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 74cdb3e3-c7a2-11ee-bfe8-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-ci-test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQLasd?api-version=2024-03-01-preview + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/ARCBOX-SQLasd'' + under resource group ''aagonzalez-ci-test-mk6'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '249' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 23:25:05 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: C3C528264B6D4733849F2D81402446E9 Ref B: BN1AA2051014025 Ref C: 2024-02-09T23:25:05Z' + x-ms-correlation-request-id: + - b5758b5f-3d1a-4363-aed4-b1216d93c7f8 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - b5758b5f-3d1a-4363-aed4-b1216d93c7f8 + x-ms-routing-request-id: + - EASTUS:20240209T232505Z:b5758b5f-3d1a-4363-aed4-b1216d93c7f8 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_invalid_license[ARCBOX-SQL-aagonzalez-ci-test-mk6-10-7-12-5-not a valid license].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_invalid_license[ARCBOX-SQL-aagonzalez-ci-test-mk6-10-7-12-5-not a valid license].yaml new file mode 100644 index 00000000000..e9fa4ecb60f --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_invalid_license[ARCBOX-SQL-aagonzalez-ci-test-mk6-10-7-12-5-not a valid license].yaml @@ -0,0 +1,109 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 6080db9a-c6be-11ee-b361-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-ci-test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-08T20:12:20.787441Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-08T20:12:18.5694017Z","lastUsageUploadTime":"2024-02-08T19:57:46.3792906Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":10,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1495' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:12:25 GMT + ETag: + - '"cb022d5f-0000-0100-0000-65c535a50000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 23F2F53981CF46F7BA32F54C183A2938 Ref B: BN1AA2051013037 Ref C: 2024-02-08T20:12:26Z' + x-ms-correlation-request-id: + - 6f1394ed-b22c-4387-b51b-716274639bce + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - bc32b24e-6ad3-4771-b010-eb451fd1e594 + x-ms-routing-request-id: + - EASTUS:20240208T201226Z:6f1394ed-b22c-4387-b51b-716274639bce + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host//subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"LicenseOnly","cloudprovider":"N/A"},"provisioningState":"Updating","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '756' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:12:26 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: F5DD453979A14224888FC851893F3C36 Ref B: BN1AA2051015021 Ref C: 2024-02-08T20:12:26Z' + x-ms-correlation-request-id: + - e9804451-f9a6-45da-a223-e1d2fde72dbf + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 6c81768c-ecf2-466d-9bac-cdc42d7d80d3 + x-ms-routing-request-id: + - EASTUS:20240208T201227Z:e9804451-f9a6-45da-a223-e1d2fde72dbf + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_invalid_license[ARCBOX-SQL/MSSQLSERVER01-aagonzalez-ci-test-mk6-10-7-12-5-not a valid license].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_invalid_license[ARCBOX-SQL/MSSQLSERVER01-aagonzalez-ci-test-mk6-10-7-12-5-not a valid license].yaml new file mode 100644 index 00000000000..e13c5c642a2 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_invalid_license[ARCBOX-SQL/MSSQLSERVER01-aagonzalez-ci-test-mk6-10-7-12-5-not a valid license].yaml @@ -0,0 +1,109 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 5c35cf56-c6be-11ee-8512-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-ci-test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL_MSSQLSERVER01 + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01","name":"ArcBox-SQL_MSSQLSERVER01","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T19:57:49.4129853Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-08T20:11:16.357275Z"},"properties":{"version":"SQL + Server 2019","edition":"Evaluation","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2000.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER01","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-08T19:57:45.8130848Z","lastUsageUploadTime":null,"hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":10,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1478' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:12:19 GMT + ETag: + - '"cb02b348-0000-0100-0000-65c535680000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 28DA375731BE4B8290122AB298B6FCAA Ref B: BN1AA2051013017 Ref C: 2024-02-08T20:12:19Z' + x-ms-correlation-request-id: + - 6758e98f-6067-4479-87ab-cb378feba4cd + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - a2f537e1-cf65-4c18-b792-268b5fe0c763 + x-ms-routing-request-id: + - EASTUS:20240208T201219Z:6758e98f-6067-4479-87ab-cb378feba4cd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"LicenseOnly","cloudprovider":"N/A"},"provisioningState":"Updating","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '756' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:12:19 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 4C004110235A4E4FA11E01BAB409B4EA Ref B: BN1AA2051013033 Ref C: 2024-02-08T20:12:19Z' + x-ms-correlation-request-id: + - bea42dcd-dd1a-44ee-a4dc-a5e70852323d + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - c7c054e4-7c50-4f36-899d-d995487e9271 + x-ms-routing-request-id: + - EASTUS2:20240208T201220Z:bea42dcd-dd1a-44ee-a4dc-a5e70852323d + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs[ARCBOX-SQL-aagonzalez-ci-test-mk6-0-5-24-5].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs[ARCBOX-SQL-aagonzalez-ci-test-mk6-0-5-24-5].yaml new file mode 100644 index 00000000000..4f60781ace3 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs[ARCBOX-SQL-aagonzalez-ci-test-mk6-0-5-24-5].yaml @@ -0,0 +1,190 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 297678fa-c6be-11ee-aa20-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-ci-test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-08T20:10:43.1642328Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-08T19:57:45.8130693Z","lastUsageUploadTime":"2024-02-08T19:57:46.3792906Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":4,"fullBackupDays":4,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1476' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:10:53 GMT + ETag: + - '"cb02b53c-0000-0100-0000-65c535460000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: F02EF895DAF641A79FB7F8BC6EED1E30 Ref B: BN1AA2051014009 Ref C: 2024-02-08T20:10:53Z' + x-ms-correlation-request-id: + - 6a0a329f-2b3c-4f73-9a4d-564a26c079cc + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 1f9b9659-10fa-4685-82ff-0177dca7efb8 + x-ms-routing-request-id: + - EASTUS:20240208T201054Z:6a0a329f-2b3c-4f73-9a4d-564a26c079cc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"Paid"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/08, 20:09:20.575; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {};: Listening on port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2047' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:10:54 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: BFC5E1F4342945AA98BE92D2D940D001 Ref B: BN1AA2051015045 Ref C: 2024-02-08T20:10:54Z' + x-ms-correlation-request-id: + - 090e6975-8de9-4637-9c17-bf95970caa76 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 779d2a43-6f24-43ff-8b5b-1aa1ea97ed47 + x-ms-routing-request-id: + - CENTRALUS:20240208T201054Z:090e6975-8de9-4637-9c17-bf95970caa76 + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"version": "SQL Server 2019", "edition": + "Developer", "instanceName": "MSSQLSERVER", "backupPolicy": {"retentionPeriodDays": + 0, "fullBackupDays": 5, "differentialBackupHours": 24, "transactionLogBackupMinutes": + 5}, "monitoring": {"enabled": true}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '286' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 2a21b223-c6be-11ee-9806-d8bbc1c51c4b + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-ci-test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-08T20:10:54.9919745Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Accepted","lastInventoryUploadTime":"2024-02-08T19:57:45.8130693Z","lastUsageUploadTime":"2024-02-08T19:57:46.3792906Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":0,"fullBackupDays":5,"differentialBackupHours":24,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true}}}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS/operationStatuses/d7f00e5a-0089-4de6-a6b5-63cf52f6c3e4*C906F38C07D4F836F526FED232979609A8F846D164807297CBA32165DEAABB09?api-version=2024-02-01-preview&t=638430198556326089&c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYMYYup1R1RZPIwVtk7z89JkrsDK8coPmULAovQOy3jgtdJ-z5oyCO28-zQ4LRHmuyeq1ROWdQR5e828FYihyBqnnQQea3EcS6CFfXpYes-7NPXy73E_P3goJLJU7bfuZ4iDPGZxXIIjo6_Uex0eX_AuBJeq8ZFcmNy3x0loDHkDww9lMprf49PmIZJEAshTnLBtfT3BC7JAuTTl2duIcC6YRT8vITdFw1HxFqywnOqD35zttD8vp0XowEP4ksBLfhJWduspxICp4Yu2ouSlh-T4GmsjQaTjrzZpw29eEj3gUyzTfkDY-WEGsEujkl9a9FCX1_AvT-9Eqmd7uYqV6kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBTDXVhSVDy9FvMjLTrSyU7UjKUXqzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHyzMCBJbTmiP_gOh98fZltsl9jQdlB-g_OYCr82viu1SgLxte7Za3Vtb3XRCTquz_JfY_4eQJpUy0p6F37f0oaTQkBvUF7HDDvkm49rmKF4nDFjPGNEqm53KbVEak46WTgD9fGZLQH1XouZGRe0LxQVIWm-K-MYMbrDWF_njKsIaV5Z4VxgFVaX5SlzHvr6coDX5oXwwksEsw8E8g0LfZCpfT5mCwgDPrDv2Ekk26koWUYlmJWgkky22R538qwuJmE6F33YwWStmUGfZfFDyjek8Rd_KyuEuC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE&s=htdzjxUmCY9Vbrs0BClIGlRqaO-o2vIQfs-HHu3D5xu3Av7UAJCDfi6TsLHLkIbIjpLebXTBrmRzPCRYO2QRpsSMx6Y1F7slSDNaS0pLE4OqbgWIBl6j_rxMfxV9IfgQKGPtGrh-fTNmIwHR1xg8IeqXqBJwodrjfLzKbMKUiPBthnsZttEUUkOUEOA1u-3CxFJ4X28H2J8RxIid9RF7ERAOgKKtG5rUG5sXZ7kNrxEnzUNXzR1vDUteDE7vUIqjA2bepunqghqV1znUVh6vny77-cnPWvXC3ZZ3Zwqd2og72cLw7oWxs3Mb14049bbu3mPJL9hw0ZzHqcAme5IixA&h=KF4HWtLHnH4_2hwPsDVvtu2djEckYybPLNRTZ_0c73k + Cache-Control: + - no-cache + Content-Length: + - '1475' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:10:54 GMT + ETag: + - '"cb02873f-0000-0100-0000-65c5354f0000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + - ARRAffinitySameSite=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 872C658D9AA645BAA0BD5002456247BF Ref B: BN1AA2051014009 Ref C: 2024-02-08T20:10:54Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - 0fa05d79-659d-4f60-b2cc-aa5e7bfd690f + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '9998' + x-ms-request-id: + - d7f00e5a-0089-4de6-a6b5-63cf52f6c3e4 + x-ms-routing-request-id: + - EASTUS:20240208T201055Z:0fa05d79-659d-4f60-b2cc-aa5e7bfd690f + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs[ARCBOX-SQL-aagonzalez-ci-test-mk6-32-7-24-15].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs[ARCBOX-SQL-aagonzalez-ci-test-mk6-32-7-24-15].yaml new file mode 100644 index 00000000000..91e8d202d25 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs[ARCBOX-SQL-aagonzalez-ci-test-mk6-32-7-24-15].yaml @@ -0,0 +1,190 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 1f424fb5-c6be-11ee-b010-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-ci-test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-08T20:10:22.8241707Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-08T19:57:45.8130693Z","lastUsageUploadTime":"2024-02-08T19:57:46.3792906Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1476' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:10:35 GMT + ETag: + - '"cb02a738-0000-0100-0000-65c5353b0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 2B5B33B39E7047EA8E0C238593D26907 Ref B: BN1AA2051012027 Ref C: 2024-02-08T20:10:36Z' + x-ms-correlation-request-id: + - 81312705-082c-4a33-8d8a-9ed4620836fb + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - cbafa8bf-ae36-4dfa-b755-3cc2731745f3 + x-ms-routing-request-id: + - EASTUS:20240208T201036Z:81312705-082c-4a33-8d8a-9ed4620836fb + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"Paid"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/08, 20:09:20.575; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {};: Listening on port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2047' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:10:37 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 6832317DF54848178B4E06F01C3F8CF6 Ref B: BN1AA2051012029 Ref C: 2024-02-08T20:10:37Z' + x-ms-correlation-request-id: + - 597b57fc-d565-435c-9419-5a72304431ae + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 87ea7356-571b-4f98-8b31-5361959c1ad6 + x-ms-routing-request-id: + - EASTUS:20240208T201037Z:597b57fc-d565-435c-9419-5a72304431ae + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"version": "SQL Server 2019", "edition": + "Developer", "instanceName": "MSSQLSERVER", "backupPolicy": {"retentionPeriodDays": + 32, "fullBackupDays": 7, "differentialBackupHours": 24, "transactionLogBackupMinutes": + 15}, "monitoring": {"enabled": true}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '288' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 1fb5794e-c6be-11ee-8c0c-d8bbc1c51c4b + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-ci-test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-08T20:10:37.5150991Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Accepted","lastInventoryUploadTime":"2024-02-08T19:57:45.8130693Z","lastUsageUploadTime":"2024-02-08T19:57:46.3792906Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":32,"fullBackupDays":7,"differentialBackupHours":24,"transactionLogBackupMinutes":15},"upgradeLockedUntil":null,"monitoring":{"enabled":true}}}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS/operationStatuses/449d7543-0ddc-4792-aca7-840a6efe544e*C906F38C07D4F836F526FED232979609A8F846D164807297CBA32165DEAABB09?api-version=2024-02-01-preview&t=638430198381869764&c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYMYYup1R1RZPIwVtk7z89JkrsDK8coPmULAovQOy3jgtdJ-z5oyCO28-zQ4LRHmuyeq1ROWdQR5e828FYihyBqnnQQea3EcS6CFfXpYes-7NPXy73E_P3goJLJU7bfuZ4iDPGZxXIIjo6_Uex0eX_AuBJeq8ZFcmNy3x0loDHkDww9lMprf49PmIZJEAshTnLBtfT3BC7JAuTTl2duIcC6YRT8vITdFw1HxFqywnOqD35zttD8vp0XowEP4ksBLfhJWduspxICp4Yu2ouSlh-T4GmsjQaTjrzZpw29eEj3gUyzTfkDY-WEGsEujkl9a9FCX1_AvT-9Eqmd7uYqV6kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBTDXVhSVDy9FvMjLTrSyU7UjKUXqzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHyzMCBJbTmiP_gOh98fZltsl9jQdlB-g_OYCr82viu1SgLxte7Za3Vtb3XRCTquz_JfY_4eQJpUy0p6F37f0oaTQkBvUF7HDDvkm49rmKF4nDFjPGNEqm53KbVEak46WTgD9fGZLQH1XouZGRe0LxQVIWm-K-MYMbrDWF_njKsIaV5Z4VxgFVaX5SlzHvr6coDX5oXwwksEsw8E8g0LfZCpfT5mCwgDPrDv2Ekk26koWUYlmJWgkky22R538qwuJmE6F33YwWStmUGfZfFDyjek8Rd_KyuEuC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE&s=k-uWT4uNeKEIIMWTzIs3hDck6imNPdNL_zej_4umrP7h-x9W2BImud14p82oOnOuGp4KOSGaIal3jccWi8MqCqtX7K-QP4oCLLUuu3TQDNFhvtRLQZPB1qO8auScSsjrsYzCDc99sMl7GU9i6AizEMlzxVoJKYf_o3Iw2LCwAMCxoQOMnqTrUz1GKm1rVba4_u4c0RJsMYDlQ2Z2nLJ_gyoikyUsEfCdgUhPQOX7kHIqGSW88xal1oKPT1Wge-XvzTsh-LlJPo_utLC0AZMM5Bt_7T-y9cqQUDRcUG0ZXwqz8bKY9sP2_tJkH1qABDMxSgGpn6vDeYnk0obQRQl1MA&h=OAUWEL-awZU57c8GH0VfHYtzARm3LKw-Zcbr2KcLxok + Cache-Control: + - no-cache + Content-Length: + - '1477' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:10:37 GMT + ETag: + - '"cb027a39-0000-0100-0000-65c5353d0000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + - ARRAffinitySameSite=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 4AB75409A02042F9A7EC581631CEC23A Ref B: BN1AA2051012027 Ref C: 2024-02-08T20:10:37Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - d3c1e84d-ecd8-4822-a809-46bfe0d1a66e + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '9999' + x-ms-request-id: + - 449d7543-0ddc-4792-aca7-840a6efe544e + x-ms-routing-request-id: + - EASTUS:20240208T201038Z:d3c1e84d-ecd8-4822-a809-46bfe0d1a66e + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs[ARCBOX-SQL-aagonzalez-ci-test-mk6-4-4-12-5].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs[ARCBOX-SQL-aagonzalez-ci-test-mk6-4-4-12-5].yaml new file mode 100644 index 00000000000..7fd9369f8c5 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs[ARCBOX-SQL-aagonzalez-ci-test-mk6-4-4-12-5].yaml @@ -0,0 +1,190 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 229cc649-c6be-11ee-808a-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-ci-test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-08T20:10:37.5150991Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"ConnectingToAgent","lastInventoryUploadTime":"2024-02-08T19:57:45.8130693Z","lastUsageUploadTime":"2024-02-08T19:57:46.3792906Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":32,"fullBackupDays":7,"differentialBackupHours":24,"transactionLogBackupMinutes":15},"upgradeLockedUntil":null,"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1486' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:10:42 GMT + ETag: + - '"cb029339-0000-0100-0000-65c5353e0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 1A58AE3A2BF44A1987025564D5E8286D Ref B: BN1AA2051014037 Ref C: 2024-02-08T20:10:42Z' + x-ms-correlation-request-id: + - 14ce16f2-9651-4ab5-b986-9de711175e7b + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - a4ce4814-c5c9-4295-942c-288c397ef377 + x-ms-routing-request-id: + - EASTUS:20240208T201042Z:14ce16f2-9651-4ab5-b986-9de711175e7b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"Paid"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/08, 20:09:20.575; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {};: Listening on port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2047' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:10:42 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 0B61EA9B952C47A8BBE511830E16971F Ref B: BN1AA2051012027 Ref C: 2024-02-08T20:10:42Z' + x-ms-correlation-request-id: + - 14b676f5-8582-4ec7-9f66-9e70a39473fd + x-ms-ratelimit-remaining-subscription-reads: + - '11993' + x-ms-request-id: + - 6ecd6b99-0cd5-4d41-9dad-6c5b4a7317d9 + x-ms-routing-request-id: + - EASTUS:20240208T201042Z:14b676f5-8582-4ec7-9f66-9e70a39473fd + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"version": "SQL Server 2019", "edition": + "Developer", "instanceName": "MSSQLSERVER", "backupPolicy": {"retentionPeriodDays": + 4, "fullBackupDays": 4, "differentialBackupHours": 12, "transactionLogBackupMinutes": + 5}, "monitoring": {"enabled": true}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '286' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 23106353-c6be-11ee-98f0-d8bbc1c51c4b + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-ci-test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-08T20:10:43.1642328Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Accepted","lastInventoryUploadTime":"2024-02-08T19:57:45.8130693Z","lastUsageUploadTime":"2024-02-08T19:57:46.3792906Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":4,"fullBackupDays":4,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true}}}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS/operationStatuses/43476e03-1947-470f-bd8b-3971aa38bb19*C906F38C07D4F836F526FED232979609A8F846D164807297CBA32165DEAABB09?api-version=2024-02-01-preview&t=638430198437736146&c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYMYYup1R1RZPIwVtk7z89JkrsDK8coPmULAovQOy3jgtdJ-z5oyCO28-zQ4LRHmuyeq1ROWdQR5e828FYihyBqnnQQea3EcS6CFfXpYes-7NPXy73E_P3goJLJU7bfuZ4iDPGZxXIIjo6_Uex0eX_AuBJeq8ZFcmNy3x0loDHkDww9lMprf49PmIZJEAshTnLBtfT3BC7JAuTTl2duIcC6YRT8vITdFw1HxFqywnOqD35zttD8vp0XowEP4ksBLfhJWduspxICp4Yu2ouSlh-T4GmsjQaTjrzZpw29eEj3gUyzTfkDY-WEGsEujkl9a9FCX1_AvT-9Eqmd7uYqV6kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBTDXVhSVDy9FvMjLTrSyU7UjKUXqzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHyzMCBJbTmiP_gOh98fZltsl9jQdlB-g_OYCr82viu1SgLxte7Za3Vtb3XRCTquz_JfY_4eQJpUy0p6F37f0oaTQkBvUF7HDDvkm49rmKF4nDFjPGNEqm53KbVEak46WTgD9fGZLQH1XouZGRe0LxQVIWm-K-MYMbrDWF_njKsIaV5Z4VxgFVaX5SlzHvr6coDX5oXwwksEsw8E8g0LfZCpfT5mCwgDPrDv2Ekk26koWUYlmJWgkky22R538qwuJmE6F33YwWStmUGfZfFDyjek8Rd_KyuEuC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE&s=hT2em-sP4fR_9NYlalJ7yhwcbHOwV4xP1_vyRfMvyLIEkKPtTYRiKbdqEvCh_ViuyJ8gB54ctwbC3k7fHbT5YEAbwJJv8Him10PitA8koygb_vEruRAg22Rpu_xmA_hnK2GKQNd83qN7v-V_G413r__5W2bBmuxHGKzoNedxMokSbmMMJZgY_Q7Sk_pLr54gWnl12R86DZFIqrAuQ0mNU1O752aZx386kq3v7b0rnZ-NJyHHede8eisUZ6McECJKwStU55UVq4MA5kKbc7CCC7p13cqzpvVPxs1wjrYfE3uVa9QGzLN4kIscfddsBDTrYNfIykGj-xfbpbwmGZzLqw&h=EubNBsQJHSi0SNBOlBWnLIwqzSdIZ9IMUzJzzYhpA0Y + Cache-Control: + - no-cache + Content-Length: + - '1475' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:10:43 GMT + ETag: + - '"cb02903b-0000-0100-0000-65c535430000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + - ARRAffinitySameSite=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 7F81DC1DDC88440989869ACC22845572 Ref B: BN1AA2051014037 Ref C: 2024-02-08T20:10:43Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - a5ca1618-2bc9-4eff-a764-c01807d8a357 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '9999' + x-ms-request-id: + - 43476e03-1947-470f-bd8b-3971aa38bb19 + x-ms-routing-request-id: + - EASTUS:20240208T201043Z:a5ca1618-2bc9-4eff-a764-c01807d8a357 + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs[ARCBOX-SQL-aagonzalez-ci-test-mk6-7-7-12-5].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs[ARCBOX-SQL-aagonzalez-ci-test-mk6-7-7-12-5].yaml new file mode 100644 index 00000000000..9b4fe8925d1 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs[ARCBOX-SQL-aagonzalez-ci-test-mk6-7-7-12-5].yaml @@ -0,0 +1,180 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 71331307-c7a0-11ee-9f2a-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-ci-test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-09T23:10:35.0345672Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-09T23:10:32.5159478Z","lastUsageUploadTime":"2024-02-09T19:13:37.8881188Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":10,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":null}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1513' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 23:10:40 GMT + ETag: + - '"22039882-0000-0100-0000-65c6b0eb0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 898E6AFD5A864ADAAFE28BDEA45A252D Ref B: BN1AA2051015021 Ref C: 2024-02-09T23:10:40Z' + x-ms-correlation-request-id: + - 84eb0e37-abf7-490d-beaf-3b40d991bd82 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 99d96128-0791-41b5-94ff-5a523224710b + x-ms-routing-request-id: + - EASTUS2:20240209T231040Z:84eb0e37-abf7-490d-beaf-3b40d991bd82 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"Paid","cloudprovider":"N/A"},"provisioningState":"Updating","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '749' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 23:10:40 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 24789579A02D462AA0CE66B4D968F875 Ref B: BN1AA2051015029 Ref C: 2024-02-09T23:10:41Z' + x-ms-correlation-request-id: + - dc071c18-a676-43fe-bc0c-6139a3ed320b + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - dc1f4c2a-b5f1-4963-8ec4-e46661a78602 + x-ms-routing-request-id: + - EASTUS:20240209T231041Z:dc071c18-a676-43fe-bc0c-6139a3ed320b + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"version": "SQL Server 2019", "edition": + "Developer", "instanceName": "MSSQLSERVER", "backupPolicy": {"retentionPeriodDays": + 7, "fullBackupDays": 7, "differentialBackupHours": 12, "transactionLogBackupMinutes": + 5}, "monitoring": {"enabled": true}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '286' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 71c53c0f-c7a0-11ee-b0c7-d8bbc1c51c4b + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-ci-test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-09T23:10:41.4881139Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Accepted","lastInventoryUploadTime":"2024-02-09T23:10:32.5159478Z","lastUsageUploadTime":"2024-02-09T19:13:37.8881188Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true},"migration":{"assessment":{"enabled":true}}}}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS/operationStatuses/a40e4580-6f05-4772-b94f-2f411e9d91bf*C906F38C07D4F836F526FED232979609A8F846D164807297CBA32165DEAABB09?api-version=2024-02-01-preview&t=638431170422537481&c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYMYYup1R1RZPIwVtk7z89JkrsDK8coPmULAovQOy3jgtdJ-z5oyCO28-zQ4LRHmuyeq1ROWdQR5e828FYihyBqnnQQea3EcS6CFfXpYes-7NPXy73E_P3goJLJU7bfuZ4iDPGZxXIIjo6_Uex0eX_AuBJeq8ZFcmNy3x0loDHkDww9lMprf49PmIZJEAshTnLBtfT3BC7JAuTTl2duIcC6YRT8vITdFw1HxFqywnOqD35zttD8vp0XowEP4ksBLfhJWduspxICp4Yu2ouSlh-T4GmsjQaTjrzZpw29eEj3gUyzTfkDY-WEGsEujkl9a9FCX1_AvT-9Eqmd7uYqV6kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBTDXVhSVDy9FvMjLTrSyU7UjKUXqzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHyzMCBJbTmiP_gOh98fZltsl9jQdlB-g_OYCr82viu1SgLxte7Za3Vtb3XRCTquz_JfY_4eQJpUy0p6F37f0oaTQkBvUF7HDDvkm49rmKF4nDFjPGNEqm53KbVEak46WTgD9fGZLQH1XouZGRe0LxQVIWm-K-MYMbrDWF_njKsIaV5Z4VxgFVaX5SlzHvr6coDX5oXwwksEsw8E8g0LfZCpfT5mCwgDPrDv2Ekk26koWUYlmJWgkky22R538qwuJmE6F33YwWStmUGfZfFDyjek8Rd_KyuEuC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE&s=iKuQPqkIAIGTwFH6KJfzXbfljNfGDIcwDSBE8qFdIRSACfgS7lO0kBfA42Gv7OqrGbtW---sYfWOhSynzFV8aj0XnGf9v1x2c0VAxA2snZuXpJnn_q4jClWwqmUnIefrD9scoc9sNCCxntgGafOk7jFUdS-0-M6UxzgBPyzXK7t_5XyBlBBBnjbe76RaWP1_dqnH6KUB7LsboTk6tm8xMSaPofvXfGvcfyvuFxEl3gLc1MHRU_p9WHUULuLz157uTdNxxxsAXUSjYg9og-zNJ5e287OiMAewCzGt9JZs7wqbWO1uKdmrMD0lXol12aUvrHVcLmg_oRmzK2CMIadBbg&h=gy7AfTfsRTM4oCbx_rNdtvg2AyRB6Wwc0vO9nA2xQ2Q + Cache-Control: + - no-cache + Content-Length: + - '1519' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 09 Feb 2024 23:10:41 GMT + ETag: + - '"22032d84-0000-0100-0000-65c6b0f10000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + - ARRAffinitySameSite=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 05A94DB2AD3C490EA7603054D39D82C7 Ref B: BN1AA2051015021 Ref C: 2024-02-09T23:10:41Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - b313ba07-801d-4bb8-aeb2-06f0b663d974 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '9999' + x-ms-request-id: + - a40e4580-6f05-4772-b94f-2f411e9d91bf + x-ms-routing-request-id: + - EASTUS:20240209T231042Z:b313ba07-801d-4bb8-aeb2-06f0b663d974 + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs[ARCBOX-SQL/MSSQLSERVER01-aagonzalez-ci-test-mk6-3-2-12-5].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs[ARCBOX-SQL/MSSQLSERVER01-aagonzalez-ci-test-mk6-3-2-12-5].yaml new file mode 100644 index 00000000000..57493edc9da --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs[ARCBOX-SQL/MSSQLSERVER01-aagonzalez-ci-test-mk6-3-2-12-5].yaml @@ -0,0 +1,190 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 1bab54fa-c6be-11ee-8027-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-ci-test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL_MSSQLSERVER01 + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01","name":"ArcBox-SQL_MSSQLSERVER01","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T19:57:49.4129853Z","lastModifiedBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","lastModifiedByType":"Application","lastModifiedAt":"2024-02-08T19:57:49.4129853Z"},"properties":{"version":"SQL + Server 2019","edition":"Evaluation","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2000.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER01","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-08T19:57:45.8130848Z","lastUsageUploadTime":null,"hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":null,"upgradeLockedUntil":null,"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1396' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:10:30 GMT + ETag: + - '"c90248f0-0000-0100-0000-65c5323d0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 432A0CD737E54FFEB08DAED74A48D945 Ref B: BN1AA2051013025 Ref C: 2024-02-08T20:10:30Z' + x-ms-correlation-request-id: + - 0aef30b5-2a80-478d-885f-84566a41460f + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - abdcacef-ce5f-4126-85a8-c3c0755d3ba2 + x-ms-routing-request-id: + - EASTUS:20240208T201030Z:0aef30b5-2a80-478d-885f-84566a41460f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"Paid"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/08, 20:09:20.575; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {};: Listening on port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2047' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:10:30 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: ECF049E3797C4AC8836724D62171CB1C Ref B: BN1AA2051015035 Ref C: 2024-02-08T20:10:31Z' + x-ms-correlation-request-id: + - a2272f3b-b192-40ab-9d73-309bc9d7204f + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 7918ba6a-243e-41a1-b2dd-a1b03fc27387 + x-ms-routing-request-id: + - NORTHCENTRALUS:20240208T201031Z:a2272f3b-b192-40ab-9d73-309bc9d7204f + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"version": "SQL Server 2019", "edition": + "Evaluation", "instanceName": "MSSQLSERVER01", "backupPolicy": {"retentionPeriodDays": + 3, "fullBackupDays": 2, "differentialBackupHours": 12, "transactionLogBackupMinutes": + 5}, "monitoring": {"enabled": true}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '289' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 1c329458-c6be-11ee-87a5-d8bbc1c51c4b + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-ci-test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL_MSSQLSERVER01 + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01","name":"ArcBox-SQL_MSSQLSERVER01","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T19:57:49.4129853Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-08T20:10:31.6750658Z"},"properties":{"version":"SQL + Server 2019","edition":"Evaluation","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2000.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER01","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Accepted","lastInventoryUploadTime":"2024-02-08T19:57:45.8130848Z","lastUsageUploadTime":null,"hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":3,"fullBackupDays":2,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true}}}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS/operationStatuses/f1fe5b3f-7b01-4c4b-baa7-3d28c686a83f*8BB7BC934B9F41AD0FF7C54687BFAFB8EF2C451C86A92570B24F3A946416EED3?api-version=2024-02-01-preview&t=638430198325032721&c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYMYYup1R1RZPIwVtk7z89JkrsDK8coPmULAovQOy3jgtdJ-z5oyCO28-zQ4LRHmuyeq1ROWdQR5e828FYihyBqnnQQea3EcS6CFfXpYes-7NPXy73E_P3goJLJU7bfuZ4iDPGZxXIIjo6_Uex0eX_AuBJeq8ZFcmNy3x0loDHkDww9lMprf49PmIZJEAshTnLBtfT3BC7JAuTTl2duIcC6YRT8vITdFw1HxFqywnOqD35zttD8vp0XowEP4ksBLfhJWduspxICp4Yu2ouSlh-T4GmsjQaTjrzZpw29eEj3gUyzTfkDY-WEGsEujkl9a9FCX1_AvT-9Eqmd7uYqV6kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBTDXVhSVDy9FvMjLTrSyU7UjKUXqzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHyzMCBJbTmiP_gOh98fZltsl9jQdlB-g_OYCr82viu1SgLxte7Za3Vtb3XRCTquz_JfY_4eQJpUy0p6F37f0oaTQkBvUF7HDDvkm49rmKF4nDFjPGNEqm53KbVEak46WTgD9fGZLQH1XouZGRe0LxQVIWm-K-MYMbrDWF_njKsIaV5Z4VxgFVaX5SlzHvr6coDX5oXwwksEsw8E8g0LfZCpfT5mCwgDPrDv2Ekk26koWUYlmJWgkky22R538qwuJmE6F33YwWStmUGfZfFDyjek8Rd_KyuEuC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE&s=RjzUqivG2IexypYzgbGDgdnrOAHQLoLE7OW6Hb1x-tbJfWaP1PBkzLjM_Es5jpxTP1trETpT7Zlhj8XBwuOduzyXb_bUpz0IVgW6v6wmSiXFF1P4mFG2qackE7oii4BT8AYTyd7az9cwU3VjRNo9TQH1ux4cr9S2v_P5JQnKwfmY_TtUyqEC3URomn0vW8MI6ZgjTjufWvle_5nTrwOMKZd1YInOf92MYED6mx_DPeNJ_Bv1G0jiSU5YZpCViAx2xzOY5BVh4A6XqWrz_mwPBXlORj-TBd49wgstjcMEpgsarRhGkXq9wIfRF2LrS1NX5UbwHQ7XsRULpCIVxLNMsg&h=ytGHF52tE9Njd_hO6ostdfmgzMpSe5_dc2y1-Wz6Ikc + Cache-Control: + - no-cache + Content-Length: + - '1477' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:10:31 GMT + ETag: + - '"cb029b37-0000-0100-0000-65c535380000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + - ARRAffinitySameSite=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 10C88845F4FD4264AD5937C8EB0E5A28 Ref B: BN1AA2051013025 Ref C: 2024-02-08T20:10:31Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - 1417b06c-640e-4dd5-827b-de9b5c00979d + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '9999' + x-ms-request-id: + - f1fe5b3f-7b01-4c4b-baa7-3d28c686a83f + x-ms-routing-request-id: + - EASTUS:20240208T201032Z:1417b06c-640e-4dd5-827b-de9b5c00979d + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs[ARCBOX-SQL_MSSQLSERVER01-aagonzalez-ci-test-mk6-2-3-12-55].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs[ARCBOX-SQL_MSSQLSERVER01-aagonzalez-ci-test-mk6-2-3-12-55].yaml new file mode 100644 index 00000000000..5f5defde99f --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs[ARCBOX-SQL_MSSQLSERVER01-aagonzalez-ci-test-mk6-2-3-12-55].yaml @@ -0,0 +1,190 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 25f3ca37-c6be-11ee-909d-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-ci-test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL_MSSQLSERVER01?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01","name":"ArcBox-SQL_MSSQLSERVER01","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T19:57:49.4129853Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-08T20:10:31.6750658Z"},"properties":{"version":"SQL + Server 2019","edition":"Evaluation","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2000.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER01","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-08T19:57:45.8130848Z","lastUsageUploadTime":null,"hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":3,"fullBackupDays":2,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1478' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:10:47 GMT + ETag: + - '"cb020c3a-0000-0100-0000-65c5353f0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 4A02F43A355D47D3A3F23B28F6F044BA Ref B: BN1AA2051014045 Ref C: 2024-02-08T20:10:48Z' + x-ms-correlation-request-id: + - 85881209-f3b7-44c0-8ad1-23cb2eb7bbee + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99997' + x-ms-request-id: + - c220ba0e-6156-411b-b360-1e68a225cced + x-ms-routing-request-id: + - EASTUS:20240208T201048Z:85881209-f3b7-44c0-8ad1-23cb2eb7bbee + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"Paid"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/08, 20:09:20.575; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {};: Listening on port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2047' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:10:48 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: C4DFE60B3F9E4342A6A0900500D483B0 Ref B: BN1AA2051014029 Ref C: 2024-02-08T20:10:48Z' + x-ms-correlation-request-id: + - c5c3d9d8-85bf-4e57-b3b2-4045867880d5 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - e1e117ee-3023-4ed7-acbe-00cbf0c8b2fd + x-ms-routing-request-id: + - EASTUS2:20240208T201048Z:c5c3d9d8-85bf-4e57-b3b2-4045867880d5 + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"version": "SQL Server 2019", "edition": + "Evaluation", "instanceName": "MSSQLSERVER01", "backupPolicy": {"retentionPeriodDays": + 2, "fullBackupDays": 3, "differentialBackupHours": 12, "transactionLogBackupMinutes": + 55}, "monitoring": {"enabled": true}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '290' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 2694d837-c6be-11ee-b073-d8bbc1c51c4b + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-ci-test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL_MSSQLSERVER01?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL_MSSQLSERVER01","name":"ArcBox-SQL_MSSQLSERVER01","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T19:57:49.4129853Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-08T20:10:49.0534557Z"},"properties":{"version":"SQL + Server 2019","edition":"Evaluation","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2000.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER01","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Accepted","lastInventoryUploadTime":"2024-02-08T19:57:45.8130848Z","lastUsageUploadTime":null,"hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":2,"fullBackupDays":3,"differentialBackupHours":12,"transactionLogBackupMinutes":55},"upgradeLockedUntil":null,"monitoring":{"enabled":true}}}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS/operationStatuses/72bdb9a1-1d5b-421f-be95-9500c09e4ab1*8BB7BC934B9F41AD0FF7C54687BFAFB8EF2C451C86A92570B24F3A946416EED3?api-version=2024-02-01-preview&t=638430198498346507&c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYMYYup1R1RZPIwVtk7z89JkrsDK8coPmULAovQOy3jgtdJ-z5oyCO28-zQ4LRHmuyeq1ROWdQR5e828FYihyBqnnQQea3EcS6CFfXpYes-7NPXy73E_P3goJLJU7bfuZ4iDPGZxXIIjo6_Uex0eX_AuBJeq8ZFcmNy3x0loDHkDww9lMprf49PmIZJEAshTnLBtfT3BC7JAuTTl2duIcC6YRT8vITdFw1HxFqywnOqD35zttD8vp0XowEP4ksBLfhJWduspxICp4Yu2ouSlh-T4GmsjQaTjrzZpw29eEj3gUyzTfkDY-WEGsEujkl9a9FCX1_AvT-9Eqmd7uYqV6kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBTDXVhSVDy9FvMjLTrSyU7UjKUXqzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHyzMCBJbTmiP_gOh98fZltsl9jQdlB-g_OYCr82viu1SgLxte7Za3Vtb3XRCTquz_JfY_4eQJpUy0p6F37f0oaTQkBvUF7HDDvkm49rmKF4nDFjPGNEqm53KbVEak46WTgD9fGZLQH1XouZGRe0LxQVIWm-K-MYMbrDWF_njKsIaV5Z4VxgFVaX5SlzHvr6coDX5oXwwksEsw8E8g0LfZCpfT5mCwgDPrDv2Ekk26koWUYlmJWgkky22R538qwuJmE6F33YwWStmUGfZfFDyjek8Rd_KyuEuC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE&s=fZ_tZXIcFiBrWjeE112w-jP3Grm_df3Gxi5ztEQ1J8c_CfETkrF1gVAZh1mefBOFTkXl2Kgut5gUKg7iyPahmVhCro6V8_g2LIC5thklLQDcLU7T1d-MGcHVljjoasHznn-ykgUI6UASBH5r1B97GR6EYz_rxPudenkSDtEIzQ6kphIVgEU6GLR-qxmgHvLsl0DfOVXvRUU7XJgKNLNBC0t8NGkUGrhR6pH-qRxy-yzmsfUBQrSs_jIgHt8bv60cRVpLLcZSH_tvoXHxDGJk-wCVApYcvscpFm05nMdsUYhHl4JDxecUzOSxEjfntI2r7w43-Eo5A88myr8l-4XA8w&h=EygLsGKoo_IAPxrjtF8fgPptBNZP3C3sE4rSy9jMh-I + Cache-Control: + - no-cache + Content-Length: + - '1478' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:10:49 GMT + ETag: + - '"cb02b73d-0000-0100-0000-65c535490000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + - ARRAffinitySameSite=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 8689C7E252B046E8908FB048877F5A07 Ref B: BN1AA2051014045 Ref C: 2024-02-08T20:10:48Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - 37af6e41-43db-48f6-a9cd-e1a7d3da7482 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '9999' + x-ms-request-id: + - 72bdb9a1-1d5b-421f-be95-9500c09e4ab1 + x-ms-routing-request-id: + - EASTUS:20240208T201049Z:37af6e41-43db-48f6-a9cd-e1a7d3da7482 + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs_default_policy[ARCBOX-SQL-aagonzalez-ci-test-mk6].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs_default_policy[ARCBOX-SQL-aagonzalez-ci-test-mk6].yaml new file mode 100644 index 00000000000..82855e6a9a3 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_set.test_successful_inputs_default_policy[ARCBOX-SQL-aagonzalez-ci-test-mk6].yaml @@ -0,0 +1,190 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 2d2215a7-c6be-11ee-ad5a-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-ci-test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-08T20:10:54.9919745Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","lastInventoryUploadTime":"2024-02-08T19:57:45.8130693Z","lastUsageUploadTime":"2024-02-08T19:57:46.3792906Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":0,"fullBackupDays":5,"differentialBackupHours":24,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1476' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:10:59 GMT + ETag: + - '"cb022b41-0000-0100-0000-65c535530000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 98ED2F7861534906BA3C5581FA03221B Ref B: BN1AA2051012027 Ref C: 2024-02-08T20:11:00Z' + x-ms-correlation-request-id: + - d2e15d1f-b037-4062-a6d3-862048b53d8f + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 3dd4336f-eb75-46ff-95c6-cd76aaa515e8 + x-ms-routing-request-id: + - EASTUS:20240208T201100Z:d2e15d1f-b037-4062-a6d3-862048b53d8f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":true},"ExcludedSqlInstances":[""],"LicenseType":"Paid"},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2566.109","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/08, 20:09:20.575; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {};: Listening on port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2047' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:10:59 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: A529AA1BE0F84F068510954C9EAE2E94 Ref B: BN1AA2051013035 Ref C: 2024-02-08T20:11:00Z' + x-ms-correlation-request-id: + - 43172ff8-5be8-40eb-9806-09b6292a1328 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 39a81bd1-2858-4a8f-9f9a-7bdfdcedabe6 + x-ms-routing-request-id: + - EASTUS2:20240208T201100Z:43172ff8-5be8-40eb-9806-09b6292a1328 + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus", "properties": {"version": "SQL Server 2019", "edition": + "Developer", "instanceName": "MSSQLSERVER", "backupPolicy": {"retentionPeriodDays": + 7, "fullBackupDays": 7, "differentialBackupHours": 24, "transactionLogBackupMinutes": + 5}, "monitoring": {"enabled": true}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '286' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-azurearcdata/1.1.02586.818 Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 2d7762b0-c6be-11ee-a52e-d8bbc1c51c4b + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-ci-test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-CI-Test-mk6/providers/Microsoft.AzureArcData/sqlServerInstances/ArcBox-SQL","name":"ArcBox-SQL","type":"microsoft.azurearcdata/sqlserverinstances","location":"eastus","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2024-02-08T16:58:34.0669699Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-08T20:11:00.5779949Z"},"properties":{"version":"SQL + Server 2019","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-CI-Test-mk6/providers/Microsoft.HybridCompute/machines/ArcBox-SQL","createTime":null,"vCore":"1","cores":null,"status":"Connected","patchLevel":"15.0.2104.1","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"15.0.2000.5","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Accepted","lastInventoryUploadTime":"2024-02-08T19:57:45.8130693Z","lastUsageUploadTime":"2024-02-08T19:57:46.3792906Z","hostType":null,"alwaysOnRole":"None","failoverCluster":null,"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":24,"transactionLogBackupMinutes":5},"upgradeLockedUntil":null,"monitoring":{"enabled":true}}}' + headers: + Azure-AsyncOperation: + - https://management.azure.com/providers/Microsoft.AzureArcData/locations/EASTUS/operationStatuses/cda114b3-96b6-41cb-a308-226a49e30603*C906F38C07D4F836F526FED232979609A8F846D164807297CBA32165DEAABB09?api-version=2024-02-01-preview&t=638430198612186186&c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYMYYup1R1RZPIwVtk7z89JkrsDK8coPmULAovQOy3jgtdJ-z5oyCO28-zQ4LRHmuyeq1ROWdQR5e828FYihyBqnnQQea3EcS6CFfXpYes-7NPXy73E_P3goJLJU7bfuZ4iDPGZxXIIjo6_Uex0eX_AuBJeq8ZFcmNy3x0loDHkDww9lMprf49PmIZJEAshTnLBtfT3BC7JAuTTl2duIcC6YRT8vITdFw1HxFqywnOqD35zttD8vp0XowEP4ksBLfhJWduspxICp4Yu2ouSlh-T4GmsjQaTjrzZpw29eEj3gUyzTfkDY-WEGsEujkl9a9FCX1_AvT-9Eqmd7uYqV6kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBTDXVhSVDy9FvMjLTrSyU7UjKUXqzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHyzMCBJbTmiP_gOh98fZltsl9jQdlB-g_OYCr82viu1SgLxte7Za3Vtb3XRCTquz_JfY_4eQJpUy0p6F37f0oaTQkBvUF7HDDvkm49rmKF4nDFjPGNEqm53KbVEak46WTgD9fGZLQH1XouZGRe0LxQVIWm-K-MYMbrDWF_njKsIaV5Z4VxgFVaX5SlzHvr6coDX5oXwwksEsw8E8g0LfZCpfT5mCwgDPrDv2Ekk26koWUYlmJWgkky22R538qwuJmE6F33YwWStmUGfZfFDyjek8Rd_KyuEuC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE&s=ezdeXoHtpwVnlDbQHrpH3bpXUgIwkYFhkSzUucbv-trzVayMbgdpgVFaIeVlT4hI_pzZ4BRhhTIE3apiVgvKK7ngI0PbY2XJwh0TBB6IO2DJUNP9gPvrHIXe4_5_iWJYg5-r7LOjvix_pBqB8Tj1ekCrRnjqYLYFsQaLbISJZv6mnrVnormeir7YpdT-8CLBKSImAmI-mWlLFCKZCkv_dqGDlRgxqrEyOdAbzPWo7zxCS9tCemoucKMPRE-TQvOCtAbcg7cCF_5B-XwlWarHycjSYujOVOI0f6PSsLnHa3Yygs6UMiEGcq8q9PF5p_EATsogzJ5on-KgklTTTrSV1Q&h=-ZX1FJdrPw2cZdm0y_VUbXDeJreiahXs4RbeV1-QPCA + Cache-Control: + - no-cache + Content-Length: + - '1475' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 08 Feb 2024 20:11:00 GMT + ETag: + - '"cb029441-0000-0100-0000-65c535540000"' + Expires: + - '-1' + Pragma: + - no-cache + Set-Cookie: + - ARRAffinity=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + - ARRAffinitySameSite=9802f2c450efa958b5f9a61fc0b0586d3080a6befb1d8f5049165c73def69d21;Path=/;HttpOnly;SameSite=None;Secure;Domain=azurearcdata-tmprofile-eastus.trafficmanager.net + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Vary: + - Accept-Encoding + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 3B2CA3F40E2C40838FD3E1FFAAFFCA94 Ref B: BN1AA2051012027 Ref C: 2024-02-08T20:11:00Z' + X-Powered-By: + - ASP.NET + x-ms-correlation-request-id: + - 5657493a-e344-4450-8e4e-6754f47adfdd + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '9999' + x-ms-request-id: + - cda114b3-96b6-41cb-a308-226a49e30603 + x-ms-routing-request-id: + - EASTUS:20240208T201101Z:5657493a-e344-4450-8e4e-6754f47adfdd + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_invalid_inputs[DESKTOP-RRP62CV/FISCHERPRICEasd-aagonzalez-easyup].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_invalid_inputs[DESKTOP-RRP62CV/FISCHERPRICEasd-aagonzalez-easyup].yaml new file mode 100644 index 00000000000..654e82b9334 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_invalid_inputs[DESKTOP-RRP62CV/FISCHERPRICEasd-aagonzalez-easyup].yaml @@ -0,0 +1,57 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230919.10+RPSaaSMasterAaronGonzalez + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 7306bf14-5962-11ee-bbd1-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV_FISCHERPRICEasd + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/DESKTOP-RRP62CV_FISCHERPRICEasd'' + under resource group ''aagonzalez-easyup'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '262' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:09:46 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 33E5080785CA4FDFB02D1814C7117226 Ref B: BN1AA2051014029 Ref C: 2023-09-22T16:09:46Z' + x-ms-correlation-request-id: + - 459daef6-74bd-4384-9cb5-a52a861896a5 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 459daef6-74bd-4384-9cb5-a52a861896a5 + x-ms-routing-request-id: + - EASTUS2:20230922T160947Z:459daef6-74bd-4384-9cb5-a52a861896a5 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_invalid_inputs[DESKTOP-RRP62CV_FISCHERPRICE-aagonzalez-easyupasd].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_invalid_inputs[DESKTOP-RRP62CV_FISCHERPRICE-aagonzalez-easyupasd].yaml new file mode 100644 index 00000000000..e7cabaa82d2 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_invalid_inputs[DESKTOP-RRP62CV_FISCHERPRICE-aagonzalez-easyupasd].yaml @@ -0,0 +1,56 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230919.10+RPSaaSMasterAaronGonzalez + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 73394e93-5962-11ee-9c28-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyupasd/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV_FISCHERPRICE + response: + body: + string: '{"error": {"code": "ResourceGroupNotFound", "message": "Resource group + ''aagonzalez-easyupasd'' could not be found."}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '112' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:09:47 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: CF48396756C24B6FA56BE90B99CC26FA Ref B: BN1AA2051015031 Ref C: 2023-09-22T16:09:47Z' + x-ms-correlation-request-id: + - 874a4a8a-2f37-494a-b317-647863c9a2cb + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 874a4a8a-2f37-494a-b317-647863c9a2cb + x-ms-routing-request-id: + - EASTUS2:20230922T160947Z:874a4a8a-2f37-494a-b317-647863c9a2cb + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_invalid_inputs[DESKTOP-RRP62CVss-aagonzalez-easyup].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_invalid_inputs[DESKTOP-RRP62CVss-aagonzalez-easyup].yaml new file mode 100644 index 00000000000..39c9fba27ab --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_invalid_inputs[DESKTOP-RRP62CVss-aagonzalez-easyup].yaml @@ -0,0 +1,57 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230919.10+RPSaaSMasterAaronGonzalez + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 729e90aa-5962-11ee-adf4-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CVss + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/DESKTOP-RRP62CVss'' + under resource group ''aagonzalez-easyup'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '248' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:09:46 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: F5B303F688234CD1B2945719FD2D0AE6 Ref B: BN1AA2051015031 Ref C: 2023-09-22T16:09:46Z' + x-ms-correlation-request-id: + - a456be5f-005f-4fd9-9083-dcac25549b6e + x-ms-failure-cause: + - gateway + x-ms-request-id: + - a456be5f-005f-4fd9-9083-dcac25549b6e + x-ms-routing-request-id: + - CANADACENTRAL:20230922T160946Z:a456be5f-005f-4fd9-9083-dcac25549b6e + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_invalid_licenses[DESKTOP-RRP62CV-aagonzalez-easyup].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_invalid_licenses[DESKTOP-RRP62CV-aagonzalez-easyup].yaml new file mode 100644 index 00000000000..0b393d934ae --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_invalid_licenses[DESKTOP-RRP62CV-aagonzalez-easyup].yaml @@ -0,0 +1,111 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230919.10+RPSaaSMasterAaronGonzalez + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - ef5d6952-5962-11ee-b7d1-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV","name":"DESKTOP-RRP62CV","type":"microsoft.azurearcdata/sqlserverinstances","location":"centraluseuap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-09-07T16:00:22.8047205Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-09-21T21:07:59.8611751Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV","createTime":null,"vCore":"20","cores":null,"status":"Connected","patchLevel":"16.0.1050.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","hostType":null,"alwaysOnRole":null,"failoverCluster":null,"backupPolicy":{"retentionPeriodDays":30,"fullBackupDays":7,"differentialBackupHours":24,"transactionLogBackupMinutes":5},"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1352' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:13:15 GMT + ETag: + - '"0000fa27-0000-3400-0000-650cb0b30000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: C998E9363E614F549E5863B0374380E6 Ref B: BN1AA2051013035 Ref C: 2023-09-22T16:13:15Z' + x-ms-correlation-request-id: + - 48e9394b-3d48-4de3-abf2-58c9581523bf + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 16847ce7-2adb-40e7-9174-d74e004fa689 + x-ms-routing-request-id: + - EASTUS2:20230922T161315Z:48e9394b-3d48-4de3-abf2-58c9581523bf + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"centraluseuap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"LicenseType":"LicenseOnly","SqlManagement":{"IsEnabled":true},"FeatureFlags":[{"Name":"SqlManagement","Enable":true},{"Name":"AvailabilityGroupDiscovery","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Creating","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","status":{"code":"null","level":"Information","message":"Extension + is processing request. "}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '950' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:13:15 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 0A5B9B4684BB4487A096BF94FF0ADC35 Ref B: BN1AA2051015021 Ref C: 2023-09-22T16:13:15Z' + x-ms-correlation-request-id: + - 90857f72-b4d6-40e2-9f67-74e75c317b79 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - d322dcec-fc33-46a7-9d72-8352d4bd86a6 + x-ms-routing-request-id: + - EASTUS:20230922T161316Z:90857f72-b4d6-40e2-9f67-74e75c317b79 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_invalid_licenses[DESKTOP-RRP62CV/FISCHERPRICE-aagonzalez-easyup].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_invalid_licenses[DESKTOP-RRP62CV/FISCHERPRICE-aagonzalez-easyup].yaml new file mode 100644 index 00000000000..4cf8d67c45d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_invalid_licenses[DESKTOP-RRP62CV/FISCHERPRICE-aagonzalez-easyup].yaml @@ -0,0 +1,111 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230919.10+RPSaaSMasterAaronGonzalez + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - effcef79-5962-11ee-bcdf-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV_FISCHERPRICE + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV_FISCHERPRICE","name":"DESKTOP-RRP62CV_FISCHERPRICE","type":"microsoft.azurearcdata/sqlserverinstances","location":"centraluseuap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-09-07T16:00:22.7616599Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-09-21T22:42:46.4135096Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV","createTime":null,"vCore":"20","cores":null,"status":"Connected","patchLevel":"16.0.1050.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"FISCHERPRICE","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","hostType":null,"alwaysOnRole":null,"failoverCluster":null,"backupPolicy":{"retentionPeriodDays":30,"fullBackupDays":7,"differentialBackupHours":24,"transactionLogBackupMinutes":5},"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1376' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:13:16 GMT + ETag: + - '"00006832-0000-3400-0000-650cc6f20000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 2E1672C77BAB4884B788F75D6B484AF2 Ref B: BN1AA2051015017 Ref C: 2023-09-22T16:13:16Z' + x-ms-correlation-request-id: + - 9a5871a2-fea4-4793-bb31-596452e0ef52 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - fc6fef38-cb69-4bba-9af8-f149ccca415a + x-ms-routing-request-id: + - CANADACENTRAL:20230922T161316Z:9a5871a2-fea4-4793-bb31-596452e0ef52 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"centraluseuap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"LicenseType":"LicenseOnly","SqlManagement":{"IsEnabled":true},"FeatureFlags":[{"Name":"SqlManagement","Enable":true},{"Name":"AvailabilityGroupDiscovery","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Creating","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","status":{"code":"null","level":"Information","message":"Extension + is processing request. "}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '950' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:13:17 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 566DC94C503E491BAD68EF5D047B4EF7 Ref B: BN1AA2051014035 Ref C: 2023-09-22T16:13:17Z' + x-ms-correlation-request-id: + - 028a7667-99d8-4b45-8488-f4c4cdb9fdda + x-ms-ratelimit-remaining-subscription-reads: + - '11991' + x-ms-request-id: + - 15abf140-39b1-4206-b174-9384cd4b8ff1 + x-ms-routing-request-id: + - CANADACENTRAL:20230922T161317Z:028a7667-99d8-4b45-8488-f4c4cdb9fdda + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_no_policy[DESKTOP-RRP62CV-aagonzalez-easyup-No backup policy has been set for this Sql Server instance].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_no_policy[DESKTOP-RRP62CV-aagonzalez-easyup-No backup policy has been set for this Sql Server instance].yaml new file mode 100644 index 00000000000..effb6264070 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_no_policy[DESKTOP-RRP62CV-aagonzalez-easyup-No backup policy has been set for this Sql Server instance].yaml @@ -0,0 +1,111 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230919.10+RPSaaSMasterAaronGonzalez + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 16643a19-5965-11ee-b0f2-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV","name":"DESKTOP-RRP62CV","type":"microsoft.azurearcdata/sqlserverinstances","location":"centraluseuap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-09-07T16:00:22.8047205Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-09-22T16:24:30.4990317Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV","createTime":null,"vCore":"20","cores":null,"status":"Connected","patchLevel":"16.0.1050.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","hostType":null,"alwaysOnRole":null,"failoverCluster":null,"backupPolicy":null,"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1250' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:28:39 GMT + ETag: + - '"0000efe0-0000-3400-0000-650dbfc80000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: E9FEA39C19E54E7CB24A324BD6CE977D Ref B: BN1AA2051013033 Ref C: 2023-09-22T16:28:40Z' + x-ms-correlation-request-id: + - eb5629a4-e416-40c4-8836-1733f897480c + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - f81bf2c0-eb59-4d80-a6c4-74be1ea67e35 + x-ms-routing-request-id: + - EASTUS2:20230922T162840Z:eb5629a4-e416-40c4-8836-1733f897480c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"centraluseuap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"LicenseType":"PAYG","SqlManagement":{"IsEnabled":true},"FeatureFlags":[{"Name":"SqlManagement","Enable":true},{"Name":"AvailabilityGroupDiscovery","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Creating","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","status":{"code":"null","level":"Information","message":"Extension + is processing request. "}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '943' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:28:40 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 9F3B0AF5B0814D04B220D1EE2050984A Ref B: BN1AA2051014033 Ref C: 2023-09-22T16:28:40Z' + x-ms-correlation-request-id: + - 2b26be78-10aa-4121-b7f9-a40330e016ac + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - abff55ff-6b79-4fdc-bd3e-ef8179de389f + x-ms-routing-request-id: + - CANADACENTRAL:20230922T162840Z:2b26be78-10aa-4121-b7f9-a40330e016ac + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_no_policy[DESKTOP-RRP62CV/FISCHERPRICE-aagonzalez-easyup-No backup policy has been set for this Sql Server instance].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_no_policy[DESKTOP-RRP62CV/FISCHERPRICE-aagonzalez-easyup-No backup policy has been set for this Sql Server instance].yaml new file mode 100644 index 00000000000..9078c956b98 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_no_policy[DESKTOP-RRP62CV/FISCHERPRICE-aagonzalez-easyup-No backup policy has been set for this Sql Server instance].yaml @@ -0,0 +1,111 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230919.10+RPSaaSMasterAaronGonzalez + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 13a0221f-5965-11ee-a36a-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV_FISCHERPRICE + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV_FISCHERPRICE","name":"DESKTOP-RRP62CV_FISCHERPRICE","type":"microsoft.azurearcdata/sqlserverinstances","location":"centraluseuap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-09-07T16:00:22.7616599Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-09-22T16:26:22.5776425Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV","createTime":null,"vCore":"20","cores":null,"status":"Connected","patchLevel":"16.0.1050.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"FISCHERPRICE","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","hostType":null,"alwaysOnRole":null,"failoverCluster":null,"backupPolicy":null,"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1274' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:28:35 GMT + ETag: + - '"000030e1-0000-3400-0000-650dc0350000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 5A42C321B8684DF7A02CB1A677421A6F Ref B: BN1AA2051015029 Ref C: 2023-09-22T16:28:35Z' + x-ms-correlation-request-id: + - 9423e477-9971-4c9c-92ee-f5926db03b1a + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 0250ad20-30b9-4b62-bfec-60275e3497f5 + x-ms-routing-request-id: + - CANADACENTRAL:20230922T162835Z:9423e477-9971-4c9c-92ee-f5926db03b1a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"centraluseuap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"LicenseType":"PAYG","SqlManagement":{"IsEnabled":true},"FeatureFlags":[{"Name":"SqlManagement","Enable":true},{"Name":"AvailabilityGroupDiscovery","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Creating","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","status":{"code":"null","level":"Information","message":"Extension + is processing request. "}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '943' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:28:35 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: A92D5D9D25EE4E53A7CB02B00EB88D74 Ref B: BN1AA2051015035 Ref C: 2023-09-22T16:28:35Z' + x-ms-correlation-request-id: + - 3c21daa9-7cd4-4500-9b39-cc2e92520675 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 24ac00f3-4ff9-4c95-a09f-4cd104a9e659 + x-ms-routing-request-id: + - CANADACENTRAL:20230922T162836Z:3c21daa9-7cd4-4500-9b39-cc2e92520675 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_no_policy[DESKTOP-RRP62CV_FISCHERPRICE-aagonzalez-easyup-No backup policy has been set for this Sql Server instance].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_no_policy[DESKTOP-RRP62CV_FISCHERPRICE-aagonzalez-easyup-No backup policy has been set for this Sql Server instance].yaml new file mode 100644 index 00000000000..afbbb9cc3a2 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_no_policy[DESKTOP-RRP62CV_FISCHERPRICE-aagonzalez-easyup-No backup policy has been set for this Sql Server instance].yaml @@ -0,0 +1,111 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230919.10+RPSaaSMasterAaronGonzalez + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 19051708-5965-11ee-9bde-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV_FISCHERPRICE?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV_FISCHERPRICE","name":"DESKTOP-RRP62CV_FISCHERPRICE","type":"microsoft.azurearcdata/sqlserverinstances","location":"centraluseuap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-09-07T16:00:22.7616599Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-09-22T16:26:22.5776425Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV","createTime":null,"vCore":"20","cores":null,"status":"Connected","patchLevel":"16.0.1050.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"FISCHERPRICE","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","hostType":null,"alwaysOnRole":null,"failoverCluster":null,"backupPolicy":null,"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1274' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:28:44 GMT + ETag: + - '"000030e1-0000-3400-0000-650dc0350000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: DA782BAE3E0E49BBA2105AD21295C907 Ref B: BN1AA2051013051 Ref C: 2023-09-22T16:28:44Z' + x-ms-correlation-request-id: + - 24182fe2-0b1b-47e5-896a-77d8adb3fa00 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 9d8fd36d-7cfd-4257-99c9-f387cada16dd + x-ms-routing-request-id: + - EASTUS2:20230922T162844Z:24182fe2-0b1b-47e5-896a-77d8adb3fa00 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"centraluseuap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"LicenseType":"PAYG","SqlManagement":{"IsEnabled":true},"FeatureFlags":[{"Name":"SqlManagement","Enable":true},{"Name":"AvailabilityGroupDiscovery","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Creating","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","status":{"code":"null","level":"Information","message":"Extension + is processing request. "}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '943' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:28:44 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: EC3230FFE0A349E78705F1D8A138C294 Ref B: BN1AA2051013019 Ref C: 2023-09-22T16:28:44Z' + x-ms-correlation-request-id: + - 615a2137-45ca-4285-a09f-711b06ace452 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - ff21c191-43dc-4433-aef6-00b1b141bd6f + x-ms-routing-request-id: + - EASTUS2:20230922T162844Z:615a2137-45ca-4285-a09f-711b06ace452 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV-aagonzalez-easyup-0-5-24-5-DESKTOP-RRP62CV].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV-aagonzalez-easyup-0-5-24-5-DESKTOP-RRP62CV].yaml new file mode 100644 index 00000000000..a9f404b4cdb --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV-aagonzalez-easyup-0-5-24-5-DESKTOP-RRP62CV].yaml @@ -0,0 +1,111 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230919.10+RPSaaSMasterAaronGonzalez + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 483b7608-5965-11ee-809d-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV","name":"DESKTOP-RRP62CV","type":"microsoft.azurearcdata/sqlserverinstances","location":"centraluseuap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-09-07T16:00:22.8047205Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-09-22T16:29:59.3299059Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV","createTime":null,"vCore":"20","cores":null,"status":"Connected","patchLevel":"16.0.1050.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","hostType":null,"alwaysOnRole":null,"failoverCluster":null,"backupPolicy":{"retentionPeriodDays":0,"fullBackupDays":5,"differentialBackupHours":24,"transactionLogBackupMinutes":5},"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1351' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:30:03 GMT + ETag: + - '"0000cde1-0000-3400-0000-650dc10a0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 8617621B1A5D4BAC887D1F9600B3579A Ref B: BN1AA2051012045 Ref C: 2023-09-22T16:30:03Z' + x-ms-correlation-request-id: + - 86f8e1a6-549d-44ef-a68d-93ef64cb5b4e + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 3dc0411d-5c54-4d18-96f6-97624e15c777 + x-ms-routing-request-id: + - EASTUS2:20230922T163003Z:86f8e1a6-549d-44ef-a68d-93ef64cb5b4e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"centraluseuap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"LicenseType":"PAYG","SqlManagement":{"IsEnabled":true},"FeatureFlags":[{"Name":"SqlManagement","Enable":true},{"Name":"AvailabilityGroupDiscovery","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Creating","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","status":{"code":"null","level":"Information","message":"Extension + is processing request. "}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '943' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:30:03 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: FB65C151460B4A41B87DA77B229B4051 Ref B: BN1AA2051015027 Ref C: 2023-09-22T16:30:03Z' + x-ms-correlation-request-id: + - 41d1e56e-6efe-4ebb-ba64-328cb92722ed + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 5ad24fdf-23c6-486a-8aac-dcc7f911f9c2 + x-ms-routing-request-id: + - CANADACENTRAL:20230922T163004Z:41d1e56e-6efe-4ebb-ba64-328cb92722ed + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV-aagonzalez-easyup-32-7-24-15-DESKTOP-RRP62CV].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV-aagonzalez-easyup-32-7-24-15-DESKTOP-RRP62CV].yaml new file mode 100644 index 00000000000..92b3c14db60 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV-aagonzalez-easyup-32-7-24-15-DESKTOP-RRP62CV].yaml @@ -0,0 +1,111 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230919.10+RPSaaSMasterAaronGonzalez + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 36648887-5965-11ee-86f7-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV","name":"DESKTOP-RRP62CV","type":"microsoft.azurearcdata/sqlserverinstances","location":"centraluseuap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-09-07T16:00:22.8047205Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-09-22T16:29:29.4491508Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV","createTime":null,"vCore":"20","cores":null,"status":"Connected","patchLevel":"16.0.1050.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","hostType":null,"alwaysOnRole":null,"failoverCluster":null,"backupPolicy":{"retentionPeriodDays":32,"fullBackupDays":7,"differentialBackupHours":24,"transactionLogBackupMinutes":15},"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1353' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:29:33 GMT + ETag: + - '"0000abe1-0000-3400-0000-650dc0ed0000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 10E1BB5EAB7E450B80E22E83D61A18D5 Ref B: BN1AA2051012053 Ref C: 2023-09-22T16:29:33Z' + x-ms-correlation-request-id: + - 58175972-d838-4238-aa34-098b44abb71a + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 87e12e88-718a-43f8-bdac-c86e494bc7cb + x-ms-routing-request-id: + - EASTUS2:20230922T162933Z:58175972-d838-4238-aa34-098b44abb71a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"centraluseuap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"LicenseType":"PAYG","SqlManagement":{"IsEnabled":true},"FeatureFlags":[{"Name":"SqlManagement","Enable":true},{"Name":"AvailabilityGroupDiscovery","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Creating","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","status":{"code":"null","level":"Information","message":"Extension + is processing request. "}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '943' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:29:34 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: B6BA0200C4214A10A25930BE12A4E848 Ref B: BN1AA2051015019 Ref C: 2023-09-22T16:29:33Z' + x-ms-correlation-request-id: + - c80e1cc3-dd65-47e1-91d1-e114ad42d3e4 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 1fe6f057-fc3b-4573-bc2f-a7dc5aa954a4 + x-ms-routing-request-id: + - CANADACENTRAL:20230922T162935Z:c80e1cc3-dd65-47e1-91d1-e114ad42d3e4 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV-aagonzalez-easyup-4-4-12-5-DESKTOP-RRP62CV].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV-aagonzalez-easyup-4-4-12-5-DESKTOP-RRP62CV].yaml new file mode 100644 index 00000000000..97ffa776da3 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV-aagonzalez-easyup-4-4-12-5-DESKTOP-RRP62CV].yaml @@ -0,0 +1,111 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230919.10+RPSaaSMasterAaronGonzalez + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 3c9653f9-5965-11ee-b6b2-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV","name":"DESKTOP-RRP62CV","type":"microsoft.azurearcdata/sqlserverinstances","location":"centraluseuap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-09-07T16:00:22.8047205Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-09-22T16:29:39.3775892Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV","createTime":null,"vCore":"20","cores":null,"status":"Connected","patchLevel":"16.0.1050.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","hostType":null,"alwaysOnRole":null,"failoverCluster":null,"backupPolicy":{"retentionPeriodDays":4,"fullBackupDays":4,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1351' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:29:44 GMT + ETag: + - '"0000b1e1-0000-3400-0000-650dc0f70000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 774EC0B03E8E4AF6BDED013ECD10D44C Ref B: BN1AA2051014045 Ref C: 2023-09-22T16:29:44Z' + x-ms-correlation-request-id: + - b71583f3-654d-4c42-961b-c4fd0c1d51ae + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 31f58cc5-a85a-42b4-86c5-630bce3c0847 + x-ms-routing-request-id: + - CANADACENTRAL:20230922T162944Z:b71583f3-654d-4c42-961b-c4fd0c1d51ae + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"centraluseuap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"LicenseType":"PAYG","SqlManagement":{"IsEnabled":true},"FeatureFlags":[{"Name":"SqlManagement","Enable":true},{"Name":"AvailabilityGroupDiscovery","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Creating","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","status":{"code":"null","level":"Information","message":"Extension + is processing request. "}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '943' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:29:44 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 22847E13D3A94601AF68B609C6B8FF61 Ref B: BN1AA2051013021 Ref C: 2023-09-22T16:29:44Z' + x-ms-correlation-request-id: + - 225e7dbb-e2d3-4c8d-868a-254cf2e61126 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 599a86f0-3769-490a-a290-cdd04c6cf440 + x-ms-routing-request-id: + - EASTUS2:20230922T162945Z:225e7dbb-e2d3-4c8d-868a-254cf2e61126 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV-aagonzalez-easyup-7-7-12-5-DESKTOP-RRP62CV].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV-aagonzalez-easyup-7-7-12-5-DESKTOP-RRP62CV].yaml new file mode 100644 index 00000000000..439494c4994 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV-aagonzalez-easyup-7-7-12-5-DESKTOP-RRP62CV].yaml @@ -0,0 +1,111 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230919.10+RPSaaSMasterAaronGonzalez + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 2af2344b-5965-11ee-9e1d-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV","name":"DESKTOP-RRP62CV","type":"microsoft.azurearcdata/sqlserverinstances","location":"centraluseuap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-09-07T16:00:22.8047205Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-09-22T16:29:09.2700119Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV","createTime":null,"vCore":"20","cores":null,"status":"Connected","patchLevel":"16.0.1050.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"ConnectingToAgent","hostType":null,"alwaysOnRole":null,"failoverCluster":null,"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1359' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:29:14 GMT + ETag: + - '"000094e1-0000-3400-0000-650dc0d60000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: C814CD836A304194A43E609B10AF33FA Ref B: BN1AA2051014027 Ref C: 2023-09-22T16:29:14Z' + x-ms-correlation-request-id: + - d632e108-bb9b-4e9b-9348-db3ed3a77393 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 54fb29e8-ba40-497c-a1ae-eed4c87918aa + x-ms-routing-request-id: + - CANADACENTRAL:20230922T162914Z:d632e108-bb9b-4e9b-9348-db3ed3a77393 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"centraluseuap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"LicenseType":"PAYG","SqlManagement":{"IsEnabled":true},"FeatureFlags":[{"Name":"SqlManagement","Enable":true},{"Name":"AvailabilityGroupDiscovery","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Creating","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","status":{"code":"null","level":"Information","message":"Extension + is processing request. "}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '943' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:29:14 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 349F27A82CB64EB39E521C7ABB314074 Ref B: BN1AA2051012035 Ref C: 2023-09-22T16:29:14Z' + x-ms-correlation-request-id: + - b058f44c-722e-4aa8-8eec-0f227fb394f5 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 487a4c23-6710-41e4-89f7-a86c81684810 + x-ms-routing-request-id: + - EASTUS2:20230922T162915Z:b058f44c-722e-4aa8-8eec-0f227fb394f5 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV-aagonzalez-easyup-7-7-24-5-DESKTOP-RRP62CV].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV-aagonzalez-easyup-7-7-24-5-DESKTOP-RRP62CV].yaml new file mode 100644 index 00000000000..8ab4280cf88 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV-aagonzalez-easyup-7-7-24-5-DESKTOP-RRP62CV].yaml @@ -0,0 +1,111 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230919.10+RPSaaSMasterAaronGonzalez + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 4d6a94a5-5965-11ee-92f8-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV","name":"DESKTOP-RRP62CV","type":"microsoft.azurearcdata/sqlserverinstances","location":"centraluseuap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-09-07T16:00:22.8047205Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-09-22T16:30:08.5685819Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV","createTime":null,"vCore":"20","cores":null,"status":"Connected","patchLevel":"16.0.1050.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"MSSQLSERVER","tcpDynamicPorts":"","tcpStaticPorts":"1433","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"ConnectingToAgent","hostType":null,"alwaysOnRole":null,"failoverCluster":null,"backupPolicy":{"retentionPeriodDays":7,"fullBackupDays":7,"differentialBackupHours":24,"transactionLogBackupMinutes":5},"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1359' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:30:11 GMT + ETag: + - '"0000d3e1-0000-3400-0000-650dc1120000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 9AF9AA803BB44C2E9ADE2210D83AF780 Ref B: BN1AA2051013049 Ref C: 2023-09-22T16:30:12Z' + x-ms-correlation-request-id: + - 0d292f35-fdca-4eb5-a8ce-c920c109bc1f + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 53e4a5cc-7036-46ca-81a5-fc4aadd003f9 + x-ms-routing-request-id: + - EASTUS2:20230922T163012Z:0d292f35-fdca-4eb5-a8ce-c920c109bc1f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"centraluseuap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"LicenseType":"PAYG","SqlManagement":{"IsEnabled":true},"FeatureFlags":[{"Name":"SqlManagement","Enable":true},{"Name":"AvailabilityGroupDiscovery","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Creating","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","status":{"code":"null","level":"Information","message":"Extension + is processing request. "}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '943' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:30:14 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: B4B34AC22AA34ACAB2A1EBEF24667C71 Ref B: BN1AA2051012009 Ref C: 2023-09-22T16:30:12Z' + x-ms-correlation-request-id: + - 24269949-2f4f-4ebe-804f-5d9231b7ddb5 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 068ecc07-bf8f-4fc3-b63e-4b6e9019a3c3 + x-ms-routing-request-id: + - EASTUS2:20230922T163015Z:24269949-2f4f-4ebe-804f-5d9231b7ddb5 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV/FISCHERPRICE-aagonzalez-easyup-3-2-12-5-FISCHERPRICE].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV/FISCHERPRICE-aagonzalez-easyup-3-2-12-5-FISCHERPRICE].yaml new file mode 100644 index 00000000000..c649c6bd088 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV/FISCHERPRICE-aagonzalez-easyup-3-2-12-5-FISCHERPRICE].yaml @@ -0,0 +1,111 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230919.10+RPSaaSMasterAaronGonzalez + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 309aabbe-5965-11ee-b28b-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV_FISCHERPRICE?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV_FISCHERPRICE","name":"DESKTOP-RRP62CV_FISCHERPRICE","type":"microsoft.azurearcdata/sqlserverinstances","location":"centraluseuap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-09-07T16:00:22.7616599Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-09-22T16:29:20.0849022Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV","createTime":null,"vCore":"20","cores":null,"status":"Connected","patchLevel":"16.0.1050.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"FISCHERPRICE","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","hostType":null,"alwaysOnRole":null,"failoverCluster":null,"backupPolicy":{"retentionPeriodDays":3,"fullBackupDays":2,"differentialBackupHours":12,"transactionLogBackupMinutes":5},"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1375' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:29:23 GMT + ETag: + - '"0000a4e1-0000-3400-0000-650dc0e30000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: AAC9B318F1794D6A87352653F06999C3 Ref B: BN1AA2051014017 Ref C: 2023-09-22T16:29:23Z' + x-ms-correlation-request-id: + - 3932c30c-750d-4252-bdbb-a2ae038ef246 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 4a9139ae-1a3a-4688-b45f-d065e2a67c13 + x-ms-routing-request-id: + - CANADACENTRAL:20230922T162924Z:3932c30c-750d-4252-bdbb-a2ae038ef246 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"centraluseuap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"LicenseType":"PAYG","SqlManagement":{"IsEnabled":true},"FeatureFlags":[{"Name":"SqlManagement","Enable":true},{"Name":"AvailabilityGroupDiscovery","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Creating","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","status":{"code":"null","level":"Information","message":"Extension + is processing request. "}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '943' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:29:24 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: FCDFA3C2E29B44D0A13B1769D8666137 Ref B: BN1AA2051014033 Ref C: 2023-09-22T16:29:24Z' + x-ms-correlation-request-id: + - 9bc8118e-7906-4ca4-95f9-e93f6fa11c6e + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 55672057-fe09-4316-9251-c3ad40449f09 + x-ms-routing-request-id: + - CANADACENTRAL:20230922T162924Z:9bc8118e-7906-4ca4-95f9-e93f6fa11c6e + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV_FISCHERPRICE-aagonzalez-easyup-2-3-12-55-FISCHERPRICE].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV_FISCHERPRICE-aagonzalez-easyup-2-3-12-55-FISCHERPRICE].yaml new file mode 100644 index 00000000000..ad151101730 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_backups_show.test_successful_inputs[DESKTOP-RRP62CV_FISCHERPRICE-aagonzalez-easyup-2-3-12-55-FISCHERPRICE].yaml @@ -0,0 +1,111 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - azsdk-python-azurearcdatamanagementclient/1.1.20230919.10+RPSaaSMasterAaronGonzalez + Python/3.10.11 (Windows-10-10.0.22621-SP0) + x-ms-client-request-id: + - 4258554c-5965-11ee-a3ee-d8bbc1c51c4b + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV_FISCHERPRICE?api-version=2024-03-01-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.AzureArcData/sqlServerInstances/DESKTOP-RRP62CV_FISCHERPRICE","name":"DESKTOP-RRP62CV_FISCHERPRICE","type":"microsoft.azurearcdata/sqlserverinstances","location":"centraluseuap","systemData":{"createdBy":"a12e8ccb-0fcd-46f8-b6a1-b9df7a9d7231","createdByType":"Application","createdAt":"2023-09-07T16:00:22.7616599Z","lastModifiedBy":"aagonzalez@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-09-22T16:29:49.8197207Z"},"properties":{"version":"SQL + Server 2022","edition":"Developer","containerResourceId":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV","createTime":null,"vCore":"20","cores":null,"status":"Connected","patchLevel":"16.0.1050.5","collation":"SQL_Latin1_General_CP1_CI_AS","currentVersion":"16.0.1000.6","instanceName":"FISCHERPRICE","tcpDynamicPorts":"0","tcpStaticPorts":"","productId":"Unknown","licenseType":"Free","azureDefenderStatusLastUpdated":null,"azureDefenderStatus":"Unknown","provisioningState":"Succeeded","hostType":null,"alwaysOnRole":null,"failoverCluster":null,"backupPolicy":{"retentionPeriodDays":2,"fullBackupDays":3,"differentialBackupHours":12,"transactionLogBackupMinutes":55},"monitoring":{"enabled":true}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '1376' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:29:53 GMT + ETag: + - '"0000c8e1-0000-3400-0000-650dc1000000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: F8E770024C1F44E7AA677EBE56798144 Ref B: BN1AA2051015009 Ref C: 2023-09-22T16:29:53Z' + x-ms-correlation-request-id: + - bf7e079a-ea36-482b-8341-659f5947b4f7 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - bbc1c198-bbbf-4c43-aec2-bbd3e2f49aa7 + x-ms-routing-request-id: + - CANADACENTRAL:20230922T162953Z:bf7e079a-ea36-482b-8341-659f5947b4f7 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourcegroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/aagonzalez-easyup/providers/Microsoft.HybridCompute/machines/DESKTOP-RRP62CV/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"centraluseuap","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"LicenseType":"PAYG","SqlManagement":{"IsEnabled":true},"FeatureFlags":[{"Name":"SqlManagement","Enable":true},{"Name":"AvailabilityGroupDiscovery","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Creating","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2437.52","status":{"code":"null","level":"Information","message":"Extension + is processing request. "}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '943' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Sep 2023 16:29:54 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 297B906E3A2E488B85FFC3B226F8FE11 Ref B: BN1AA2051012049 Ref C: 2023-09-22T16:29:54Z' + x-ms-correlation-request-id: + - 54f9b411-db76-4852-9d0e-a6399d0d83c3 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 1b612661-e1b9-4f4a-8e77-21cac38b6060 + x-ms-routing-request-id: + - EASTUS2:20230922T162954Z:54f9b411-db76-4852-9d0e-a6399d0d83c3 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_delete.test_feature_flag_delete[ARCBOX-SQL-arcee-test-leastprivilege-leastprivilege feature flag deleted successfully.].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_delete.test_feature_flag_delete[ARCBOX-SQL-arcee-test-leastprivilege-leastprivilege feature flag deleted successfully.].yaml new file mode 100644 index 00000000000..29fcb4c6fbb --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_delete.test_feature_flag_delete[ARCBOX-SQL-arcee-test-leastprivilege-leastprivilege feature flag deleted successfully.].yaml @@ -0,0 +1,152 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9q7q7q6LGZ53dz9opjWVVOdt+NvX0/qYnZSLVbrNr+7yKbzYpk3d49fnTz5 + 8vfefv0Tz+/m79p82XD/3y2Ws+qqOb7Il+349S8qX+f1ZV5/NPpomS1yQnfw+/Z6he9v7Nb1RS+V + 1TTDuOnFPGvaNT6jIazyui3y5qNHv/ij1XpSFs2cuvBhH/9gXedPszaj9trxRsS+nS1nZV7/JBFG + etsd74737u/sjx8+pCbZuq2+Wl3U2Sz/olhWrt15Vjb56KN8mU3K/JhaLQjdqTb96FFbr+nbJm/b + YnnB6J6+m5brWT4jBM6WTZstpxjG974/+uhZnrWE9LMyQ8vv/eKPXghBX+RX+hUhcsodab+/ZGQb + PQd1XtbFZVHmF35DYPBLCPrzYkpUzd/QWKn5y4xYa/QRIfFFtswu8gXRBNidNfIe8R2/aEZ2ijkB + 1vl0XRft9VerWUbspHhQq2b9nBCQj2dvigWxWrZYUU97O3v3tnd3t3cfvNl9+Ojeg0f3d37qI4JL + k3hZgIZEmNctvUVtX6+nxKfUDaFWKHF+ssivgNktuWvj9zdMMnUIBqPOphUm76Md+rDML/OSfj9b + nlc1JpdeHH1E42uIbPQ5Uwbg0i/ks0cpCUwq/abuW8boUfrtPCvb+fVh2hoaffXmJH2Ugkx3d3fv + 7u2N0t2dR3v3Hu0/HO98ev8wXa/KKpuBROuGGn75ex1aNnuSTd+SeD9KX62XoOPhy3V9SfR6Wa4v + iuWj9Bf/kkOWg+NpW1zmT4s6n7ZVfe19/Sh9XjSEIr2cEpKrqm7TnUPIzSRr8i9oduiF43pqXtFP + qLl8km69qFrt/c4oJYLzOOVL6uH3/eh3A+F/348e/b5d4VTxxySNvyB6l83YDow+k7GdVMvz4mJd + 04fV0sH/fT8a/b4f1Tkhjs9f5nVRzc6WT7Prhnp6QN8Rd52TJODPAIfX1zTaxfikKkuiBb3bjD/P + l/T+dAxC/AG73/vezWi+nhOZ3uT14pXBoI/4S0HAofz979Pv0jvElBiesKjz58WEB/O7XWblmvH9 + 3vd/yS8ZpTqT6UopSQoiZXzSjPC+zNOZmc106tMofKFpiCch26nwD8+I+/TbNGSCwJ0SDir69KdI + NX1S11WtfE0f/74fMa4vSEO/ns7z2ZpaQ9bpq+W6LOkrYgXpiT6ihpY3+D36hujm2tMwvwSrQVZI + O327Ig2m2BOabtKOa9CVm469tmY6vK877OJ947/4+5L+SfFhnMeDvh03ECTAyOuxU5nuQ1UtgDrG + Px7oDlJfAyJTj/TvqiqW7Vd1yZjN25ZE/+7dNi/pzba+Hv/inV8yJktPKpg659E242m1uBu8frxa + nWGKf9+P7u/t79w/yO9t7z3Y2SNH4uHB9sN7e5Ptyd5sd5Z/unvvfLZHpProl/ySX/JL/h8fQ85T + iwgAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 22 Nov 2023 10:27:52 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 09896d3d-6879-4a3a-b35c-def1d95557c6 + x-ms-ratelimit-remaining-subscription-reads: + - '11996' + x-ms-request-id: + - fc0f8ef9-b829-45ea-bc3f-740ca18780fd + x-ms-routing-request-id: + - CENTRALINDIA:20231122T102753Z:09896d3d-6879-4a3a-b35c-def1d95557c6 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer", + "name": "WindowsAgent.SqlServer", "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus", "properties": {"publisher": "Microsoft.AzureData", "type": + "WindowsAgent.SqlServer", "typeHandlerVersion": "1.1.2504.99", "autoUpgradeMinorVersion": + false, "enableAutomaticUpgrade": true, "settings": {"ExcludedSqlInstances": + [], "FeatureFlags": [{"Name": "NewFeature", "Enable": false}], "LicenseType": + "Paid", "SqlManagement": {"IsEnabled": true}, "enableExtendedSecurityUpdates": + false, "esuLastUpdatedTimestamp": "2023-11-17T19:37:50Z"}, "provisioningState": + "Succeeded", "instanceView": {"name": "WindowsAgent.SqlServer", "type": "WindowsAgent.SqlServer", + "typeHandlerVersion": "1.1.2504.99", "status": {"code": "0", "level": "Information", + "message": "Extension Message: SQL Server Extension Agent: Healthy; timestampUTC + : 2023/11/22, 10:23:49.065; uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: + {};AzureActiveDirectoryPlugin: {};: Listening on port 0;DatabaseMonitorArcPlugin: + MonitoringPlugin (NotRunning), SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], Azure + active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2198' + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '' + headers: + Azure-AsyncOperation: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/725b5fc5-e7c9-45ad-b540-a3c82984a65c?api-version=2019-08-02-preview&t=638362456748138440&c=MIIHADCCBeigAwIBAgITHgOOZnSUesiIBulFwAAAA45mdDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDUxOTQ3WhcNMjQxMDI2MDUxOTQ3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOtwjRh-1G1a4yBlEy6M1AUa9Hq-Ri3r8iWBtdkLmcsejm48p6INIQx7aREhaizCEfvdoJpt69YKxHHg88zVFCZmcjwwXfyQKfZfKO2LZ0pWDws_OPuxD2zTIQHyZera5VZWwqn0El0Y7Vi7ROfDODi-_coovUwQhkUnnRqi1qHAWHn132H1R0LTlVpve9I6Osbib8lkRd6e4jrVrCT96iC8MJcdr5TVBH8shaJT_PXgda0rZwA_YIKVO8URdjWCaNuuRbkrrCIfoCj0O3tyRVkK4VNNAcWiEZUJVj2Dkzpn6fxA01bNli4-RvP0GQ4rk-cK28IIq9KBLyHA7QLdF80CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBTUZBUS9B61FL0tNpXxcrxMZE6PMzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAKKa3hOZEgZXFsSf1I0yVgExP5QoFqwoL9gFup0ENl3D9BNUuSsJYpNcqCY-6HyZeDCMQWsgI663Hc9xPq-LX47BRWkNpWdV-DOD2BbSL42M7aGdyNxYilWFKeTy-P0vZBhfJQHTsmZCM7T_sGB0iaeJSp03JIWGCbn1iFU8_0PLBRf6Xp18C8Yo-xv1QFPEKvrSSHof-6k2YTbYTIaoJQJ8I-uoFWm0csgtiYn5jiF6Cq1qSsJ1SecSkZ_Be0jsEECNlA26v7Pi_NqL_lKOpi752KtXbvn2IuMAmCQjr28NZz2fcJ1q-3CsBflvJzW1aBnQxCxC19jDjfSiGbcE11A&s=vmYlr-0j--zJG1oozi7qtUJHX9bcdbhnrwvrYIJ7ZyltkDm-WWt7z2cQtghg6AO-4ThWO-kbASek68uGBT8a97P4E19swFqzD07pxwF8ASbjCFSNql8ymdAOSN6ls4dNHuMJEHlvyjJFidWAYZXEkV-8FTEyMPbSTzcDRIkVSYHu4NVyu902BMmDDwKNbhl49U9hS4MjfNmUw4J7CLmHJqQnV5j-AZytpDC334gV10BdCiTIum2lO1HIeumClRft4Kl1bymIQc53das8OxX-ROsw38Dh7W0nSMLlwfafziSql0oiot3pvf-8eB1k_DHgVhWTqiebpOkBBA84BRpQIg&h=dzsbsKXUTG2v5joV5ZifKodYeCquDY78PncEn9C6FVs + Cache-Control: + - no-cache + Content-Length: + - '0' + Content-Type: + - application/json + Date: + - Wed, 22 Nov 2023 10:27:54 GMT + Expires: + - '-1' + Location: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/providers/Microsoft.HybridCompute/locations/eastus/operationresults/725b5fc5-e7c9-45ad-b540-a3c82984a65c?api-version=2019-08-02-preview&t=638362456748295223&c=MIIHADCCBeigAwIBAgITHgOOZnSUesiIBulFwAAAA45mdDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDUxOTQ3WhcNMjQxMDI2MDUxOTQ3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOtwjRh-1G1a4yBlEy6M1AUa9Hq-Ri3r8iWBtdkLmcsejm48p6INIQx7aREhaizCEfvdoJpt69YKxHHg88zVFCZmcjwwXfyQKfZfKO2LZ0pWDws_OPuxD2zTIQHyZera5VZWwqn0El0Y7Vi7ROfDODi-_coovUwQhkUnnRqi1qHAWHn132H1R0LTlVpve9I6Osbib8lkRd6e4jrVrCT96iC8MJcdr5TVBH8shaJT_PXgda0rZwA_YIKVO8URdjWCaNuuRbkrrCIfoCj0O3tyRVkK4VNNAcWiEZUJVj2Dkzpn6fxA01bNli4-RvP0GQ4rk-cK28IIq9KBLyHA7QLdF80CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBTUZBUS9B61FL0tNpXxcrxMZE6PMzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAKKa3hOZEgZXFsSf1I0yVgExP5QoFqwoL9gFup0ENl3D9BNUuSsJYpNcqCY-6HyZeDCMQWsgI663Hc9xPq-LX47BRWkNpWdV-DOD2BbSL42M7aGdyNxYilWFKeTy-P0vZBhfJQHTsmZCM7T_sGB0iaeJSp03JIWGCbn1iFU8_0PLBRf6Xp18C8Yo-xv1QFPEKvrSSHof-6k2YTbYTIaoJQJ8I-uoFWm0csgtiYn5jiF6Cq1qSsJ1SecSkZ_Be0jsEECNlA26v7Pi_NqL_lKOpi752KtXbvn2IuMAmCQjr28NZz2fcJ1q-3CsBflvJzW1aBnQxCxC19jDjfSiGbcE11A&s=hoXolq2r_Y3klLVi0NmJ4GNckwgfKwOd3ormOLLEPEWaN_YH2_yVQtlylit3kr5pLMp_Ip2dUVLINxUDFZpTy-n-mVE_e61w1qbmPQj7Rpeq3HjvrFgU3l65Vncbi7Q7LDB7iE6TCRWIW7hJGz2PlCN7IzjBf--PQcW9PrwXHNgdTlcgQ8i02A-c1G5_RtvM8vWDowI9eCbl1_28Q_JMqjRRmmu9puyMKI5vq8WPNC4PWzXhvdQDPG9sK4WmkvKa4h4-n31kMystHGS2dHHZnGfbhzF534cUor-8PtIXkLkUJ7NVEwbE3mvCmTsikgqnX9YAUxfxSYQLaoU_S3ALBw&h=-mC0x0bUU4JyJoXk_XWiKyn8-vCnY9kPcrXO_DWsc2Q + Pragma: + - no-cache + Retry-After: + - '120' + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - a92fd4c4-63fe-4464-a61e-08e0d66453bc + x-ms-ratelimit-remaining-subscription-resource-requests: + - '319' + x-ms-request-id: + - 5888f526-c7b5-4882-a607-24c77a4f61f0 + x-ms-routing-request-id: + - CENTRALINDIA:20231122T102754Z:a92fd4c4-63fe-4464-a61e-08e0d66453bc + status: + code: 202 + message: Accepted +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_delete.test_feature_flag_delete[ARCBOX-SQL-arcee-test-randomFeature-Feature flag not found for randomFeature].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_delete.test_feature_flag_delete[ARCBOX-SQL-arcee-test-randomFeature-Feature flag not found for randomFeature].yaml new file mode 100644 index 00000000000..d57e8ea6a3e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_delete.test_feature_flag_delete[ARCBOX-SQL-arcee-test-randomFeature-Feature flag not found for randomFeature].yaml @@ -0,0 +1,77 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9q7q7q6LGZ53dz9opjWVVOdt+NvX0/qYnZSLVbrNr+7yKbzYpk3d49fnTz5 + 8vfefv0Tz+/m79p82XD/3y2Ws+qqOb7Il+349S8qX+f1ZV5/NPpomS1yQnfw+/Z6he9v7Nb1RS+V + 1TTDuOnFPGvaNT6jIazyui3y5qNHv/ij1XpSFs2cuvBhH/9gXedPszaj9trxRsS+nS1nZV7/JBFG + etsd74737u/sjx8+pCbZuq2+Wl3U2Sz/olhWrt15Vjb56KN8mU3K/JhaLQjdqTb96FFbr+nbJm/b + YnnB6J6+m5brWT4jBM6WTZstpxjG974/+uhZnrWE9LMyQ8vv/eKPXghBX+RX+hUhcsodab+/ZGQb + PQd1XtbFZVHmF35DYPBLCPrzYkpUzd/QWKn5y4xYa/QRIfFFtswu8gXRBNidNfIe8R2/aEZ2ijkB + 1vl0XRft9VerWUbspHhQq2b9nBCQj2dvigWxWrZYUU97O3v3tnd3t3cfvNl9+Ojeg0f3d37qI4JL + k3hZgIZEmNctvUVtX6+nxKfUDaFWKHF+ssivgNktuWvj9zdMMnUIBqPOphUm76Md+rDML/OSfj9b + nlc1JpdeHH1E42uIbPQ5Uwbg0i/ks0cpCUwq/abuW8boUfrtPCvb+fVh2hoaffXmJH2Ugkx3d3fv + 7u2N0t2dR3v3Hu0/HO98ev8wXa/KKpuBROuGGn75ex1aNnuSTd+SeD9KX62XoOPhy3V9SfR6Wa4v + iuWj9Bf/kkOWg+NpW1zmT4s6n7ZVfe19/Sh9XjSEIr2cEpKrqm7TnUPIzSRr8i9oduiF43pqXtFP + qLl8km69qFrt/c4oJYLzOOVL6uH3/eh3A+F/348e/b5d4VTxxySNvyB6l83YDow+k7GdVMvz4mJd + 04fV0sH/fT8a/b4f1Tkhjs9f5nVRzc6WT7Prhnp6QN8Rd52TJODPAIfX1zTaxfikKkuiBb3bjD/P + l/T+dAxC/AG73/vezWi+nhOZ3uT14pXBoI/4S0HAofz979Pv0jvElBiesKjz58WEB/O7XWblmvH9 + 3vd/yS8ZpTqT6UopSQoiZXzSjPC+zNOZmc106tMofKFpiCch26nwD8+I+/TbNGSCwJ0SDir69KdI + NX1S11WtfE0f/74fMa4vSEO/ns7z2ZpaQ9bpq+W6LOkrYgXpiT6ihpY3+D36hujm2tMwvwSrQVZI + O327Ig2m2BOabtKOa9CVm469tmY6vK877OJ947/4+5L+SfFhnMeDvh03ECTAyOuxU5nuQ1UtgDrG + Px7oDlJfAyJTj/TvqiqW7Vd1yZjN25ZE/+7dNi/pzba+Hv/inV8yJktPKpg659E242m1uBu8frxa + nWGKf9+P7u/t79w/yO9t7z3Y2SNH4uHB9sN7e5Ptyd5sd5Z/unvvfLZHpProl/ySX/JL/h8fQ85T + iwgAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 22 Nov 2023 10:27:55 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - b36783ec-5e11-4c57-954f-d5148e17a27f + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - fd5ffc3b-52c0-4aa8-b5fb-3cbc0377c6b7 + x-ms-routing-request-id: + - CENTRALINDIA:20231122T102756Z:b36783ec-5e11-4c57-954f-d5148e17a27f + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_delete.test_feature_flag_delete_with_both_machine_and_sql_server_name[ARCBOX-SQL-ARCBOX-SQL-arcee-test-1-RandomFeature-0].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_delete.test_feature_flag_delete_with_both_machine_and_sql_server_name[ARCBOX-SQL-ARCBOX-SQL-arcee-test-1-RandomFeature-0].yaml new file mode 100644 index 00000000000..b42401360ce --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_delete.test_feature_flag_delete_with_both_machine_and_sql_server_name[ARCBOX-SQL-ARCBOX-SQL-arcee-test-1-RandomFeature-0].yaml @@ -0,0 +1,147 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test-1/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL/?api-version=2023-12-01-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9rt3bururosZnnd3P2imNZVU5234+MfrOv8uJ4+zdrsbvOLytd5fZnXZ8um + zZbTvLl7/OrkyZe/9/brn3j+0eijZbbICa/gs/Z6hc8WFmIGiNTvTCE2DLEwEOmVsppmGBK9lmdN + u8ZnzXXT5gtg8dGjX/zRlCC0+ezJNTXJdvfyg+l0sr1zPp1t7396frA9+TTb3Z7QmB9kD2cP9u7t + EgD7yhtB6Hi1Kgvtx3573NI3ezt797Z397b39t7s7j/auf/o3sPx/s79/Yf793+KmpaE0hfVrDgv + AI3a3xKB8L0oFn6TCCq7e4/29se7Dx7sHdwnVH7J6COasVVetwWRjahCZGwA6NFHRPpUZird29l9 + SKDzWcGdPProaX6Zl3iNPp1WyzYrlnn9Stni7EP56uKWfPXt60ldzE6qxWrd5ncX2XROaHTYSSbl + TQGmWq7LcvTR5UlV0x8fgZ5T+pWGLV8Q84BPHn10Ui2X+ZSmklqssnY6f47h0he798c7473dHSIg + fTWtylKozsT6/Z/TH8vd3//znGiRlb//ycvd3//k7Pc/fo2m67rOl+1PEv7SXiDt7OyM79PXhnFf + CO9/8ZrAvT599ZOnr+jLdrp6ek1SUUxfVnUL/OTD14Su+2x3/949+pzINFtPW56Cr5Zvl9UV80Qx + zZdNrvzyrM5z+pBl6Gl+ni+JrAC2bp4T73y1IqGioStRIq0IhAeaXjlbXtLgqvr6q1VZZTMhdoTv + 7o137j/c/XTnwIjAV012kfsvSZ/zqmkFV/k7K6+y6+bL5auqpM8+Or7MijKbFGXRXrMKepWzABDQ + c/qmIo49Kdck6rUBMMmmb9erlxW1ImGTz9arizqb5c+r6dt89tWyLWiC5ZtFtSxoNMXyAgKRL7NJ + CXq09ToXcbksMIv0PegBjF6vp8SqM2r1S37J/wOpYBwXWAUAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 14:24:38 GMT + ETag: + - '"810bd5fc-0000-0100-0000-658599480000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - f4c4d243-60bd-4552-af48-aa3cce7dc51b + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 2429d0a1-c015-4618-8ab2-3b1b9e2dd283 + x-ms-routing-request-id: + - JIOINDIACENTRAL:20231222T142439Z:f4c4d243-60bd-4552-af48-aa3cce7dc51b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test-1/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9rt3bururosZnnd3P2imNZVU523429fT+pidlItVus2v7vIpvNimTd3j1+d + PPny995+/RPP7+bv2nzZMAbfLZaz6qo5vsiX7fj1Lypf5/VlXn80+miZLXJCePD79nqF72/s1vVF + L5XVNMPI6cU8a9o1PqMhrPK6LfLmo0e/+KPVelIWzZy68GEf/2Bd50+zNqP22vFGxL6dLWdlXv8k + EUZ62x3vjvfu73063t05oDbZuq2+Wl3U2Sz/olhWruF5Vjb56KN8mU3K/JhaLQjfqTb96FFbr+nb + Jm/bYnnB+FLPX2TL7CJfEB744Kw55ZdptqX1y6qmL3b37u3/ktFHz4spUSN/QzgSVi+Pf5/PCZtn + edbS+J6VGWB+7xd/9EJo/4rm+HhVOPgYIwEA1aQT6eOXjOwrITqDzY4vs6LMJkVZtNfMVk+LZloR + /a6H33mSTd9eUNvl7DvV5GZMnmOCX9bFZVHmF3m33fcNjU/BHrN89jqfrmvC5qvVLCPelmbUqFk/ + Jzjy6exNsSCSZIsVwd/b2bu3vbu3vbf3Znf/0c6DRzsPf+ojojCx02WByaQZet3SW9T29XpKMkO9 + EBrFkiAsp/lPFvkV5uuWfL7x+5vYjXoEr1Nv0wps9NEOfVjml3lJv58tz6sabEZvjj6iATY0ffQ5 + Uwbw0i/ks0cpyW4qHafuW0bpUfrtPCvb+fVh2hoiffXmJH2Ugk53d/fu7u2NUiLU7qeP9u6N79/7 + 9DBdr8oqm4FG64Yafvl7HVqGx1yTrnmUvlovQcjDl2ua7/zqZbm+KJaP0l/8Sw5ZJI+nbXGZPy3q + fNpW9bX39aP0edEQivRySkiuSAjSnUOI8CRr8i9oeuiF43pqX/l9PwIm+e/70aPf96MXVasd/740 + pSmRmwfptf3dQHZu21ESqoYwReMviNhlM7ajos9kYCfV8ry4WNf0YbV08H/fj0a/70d1Tljj85d5 + XVSzs+XT7Lqhnh7Qd8Rb58TO+DPA4fU1DXUxPqnKkghB7zbjz/MlvT8dgwp/wO73vnczmq/nRKM3 + eb14ZTDoI/5SEHAof//79Lv0DlkjAhIWdf68mPBgfrfLrFwzvt/7/i8hSuo0piul5PfodcYnzQjv + yzydmalMpz6NwheahhgSCibFlK2JTYga7tNv05AJAndKOIjcz+hPUa70SV1XtTI1ffz7fsS4viBL + 8Xo6z2drag1Jp6+W67Kkr4gZpCf6iBp63EFf0jdEN9eehvkl+AyCQirq2xWpIcWe0HSTdlyDrtx0 + 7LU10+F93WEX7xv/RWZVfDjI4K5vxw0ECTDyeuz0tvtQFQugjvGPB7qD1NeAyNQj5buqimX7VV0y + ZvO2Jbm/e7fNS3qzra/Hv3jnl4zJ5yAFTJ3zaJvxtFrcDV4/Xq3OMMW/70f39/Z37h/k97b3Huzs + be9PHh5sP7y3N9me7M12Z/mnu/fOZ3tEqo9+yS/5Jb/k/wEu9i4GFQkAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 14:24:39 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 0808bb2e-c206-4b12-9d70-d9eb965f24bc + x-ms-ratelimit-remaining-subscription-reads: + - '11998' + x-ms-request-id: + - cea5883e-9198-4c26-bb7a-a10b2f28506a + x-ms-routing-request-id: + - JIOINDIACENTRAL:20231222T142440Z:0808bb2e-c206-4b12-9d70-d9eb965f24bc + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_delete.test_feature_flag_delete_with_both_machine_and_sql_server_name[ARCBOX_SQL-1-ARCBOX-SQL-arcee-test-1-RandomFeature-1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_delete.test_feature_flag_delete_with_both_machine_and_sql_server_name[ARCBOX_SQL-1-ARCBOX-SQL-arcee-test-1-RandomFeature-1].yaml new file mode 100644 index 00000000000..31fee639676 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_delete.test_feature_flag_delete_with_both_machine_and_sql_server_name[ARCBOX_SQL-1-ARCBOX-SQL-arcee-test-1-RandomFeature-1].yaml @@ -0,0 +1,72 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test-1/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL/?api-version=2023-03-15-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9rt3bururosZnnd3P2imNZVU5234+MfrOv8uJ4+zdrsbvOLytd5fZnXZ8um + zZbTvLl7/OrkyZe/9/brn3j+0eijZbbICa/gs/Z6hc8WFmIGiNTvTCE2DLEwEOmVsppmGBK9lmdN + u8ZnzXXT5gtg8dGjX/zRlCC0+ezJNTXJdvfyg+l0sr1zPp1t7396frA9+TTb3Z7QmB9kD2cP9u7t + EgD7yhtB6Hi1Kgvtx3573NI3ezt797Z397b39t7s7j/auf/o3sPx/s79/Yf793+KmpaE0hfVrDgv + AI3a3xKB8L0oFn6TCCq7e4/29se7Dx7sHdwnVH7J6COasVVetwWRjahCZGwA6NFHRPpUZird29l9 + SKDzWcGdPProaX6Zl3iNPp1WyzYrlnn9Stni7EP56uKWfPXt60ldzE6qxWrd5ncX2XROaHTYSSbl + TQGmWq7LcvTR5UlV0x8fgZ5T+pWGLV8Q84BPHn10Ui2X+ZSmklqssnY6f47h0he798c7473dHSIg + fTWtylKozsT6/Z/TH8vd3//znGiRlb//ycvd3//k7Pc/fo2m67rOl+1PEv7SXiDt7OyM79PXhnFf + CO9/8ZrAvT599ZOnr+jLdrp6ek1SUUxfVnUL/OTD14Su+2x3/949+pzINFtPW56Cr5Zvl9UV80Qx + zZdNrvzyrM5z+pBl6Gl+ni+JrAC2bp4T73y1IqGioStRIq0IhAeaXjlbXtLgqvr6q1VZZTMhdoTv + 7o137j/c/XTnwIjAV012kfsvSZ/zqmkFV/k7K6+y6+bL5auqpM8+Or7MijKbFGXRXrMKepWzABDQ + c/qmIo49Kdck6rUBMMmmb9erlxW1ImGTz9arizqb5c+r6dt89tWyLWiC5ZtFtSxoNMXyAgKRL7NJ + CXq09ToXcbksMIv0PegBjF6vp8SqM2r1S37J/wOpYBwXWAUAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 14:24:41 GMT + ETag: + - '"810bd5fc-0000-0100-0000-658599480000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 80479969-9ee9-46a4-95ac-a07e036e13a7 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 8428ddb9-7a00-42ca-8206-72a21eb26ed6 + x-ms-routing-request-id: + - JIOINDIACENTRAL:20231222T142441Z:80479969-9ee9-46a4-95ac-a07e036e13a7 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_delete.test_feature_flag_delete_with_only_sql_server_name[ARCBOX-SQL-1-arcee-test-1-RandomFeature-1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_delete.test_feature_flag_delete_with_only_sql_server_name[ARCBOX-SQL-1-arcee-test-1-RandomFeature-1].yaml new file mode 100644 index 00000000000..815096aa015 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_delete.test_feature_flag_delete_with_only_sql_server_name[ARCBOX-SQL-1-arcee-test-1-RandomFeature-1].yaml @@ -0,0 +1,50 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test-1/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL-1/?api-version=2023-12-01-preview + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/ARCBOX-SQL-1'' + under resource group ''arcee-test-1'' was not found. For more details please + go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '238' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 14:34:46 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - ea6031f2-2821-4005-9be0-4e58c0c3ede3 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - ea6031f2-2821-4005-9be0-4e58c0c3ede3 + x-ms-routing-request-id: + - CENTRALINDIA:20231222T143446Z:ea6031f2-2821-4005-9be0-4e58c0c3ede3 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_delete.test_feature_flag_delete_with_only_sql_server_name[ARCBOX-SQL-arcee-test-1-RandomFeature-0].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_delete.test_feature_flag_delete_with_only_sql_server_name[ARCBOX-SQL-arcee-test-1-RandomFeature-0].yaml new file mode 100644 index 00000000000..703b8a0770b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_delete.test_feature_flag_delete_with_only_sql_server_name[ARCBOX-SQL-arcee-test-1-RandomFeature-0].yaml @@ -0,0 +1,230 @@ +interactions: +- request: + body: client_id=04b07795-8ddb-461a-bbee-02f9e1bf7b46&grant_type=refresh_token&client_info=1&claims=%7B%22access_token%22%3A+%7B%22xms_cc%22%3A+%7B%22values%22%3A+%5B%22CP1%22%5D%7D%7D%7D&refresh_token=0.AQEAv4j5cvGGr0GRqy180BHbR5V3sATbjRpGu-4C-eG_e0YaAEI.AgABAAEAAAAmoFfGtYxvRrNriQdPKIZ-AgDs_wUA9P-KjrPY7V-_eZ-pYVmu03B7WRWRffXehebY1hIQ55LwUt43I-VGA709W-HmjEAMPw6Hrs8y28zIY7-MGGDpWB-DFvviBgb1zg5am0gBtXAdW0CO7mFyOo_ilue_TlNsE7IcFBn3wreUkIVVeVVCyqe47rhmqrFkGwFPJYXni-1AfYzU6EpEbPLDqaLd-aLOSmDR_uxEBHsaGDvAaFx_qXeCDOitZaq35rU0lYYgvrBoakUB9VZldov9rzPZCM-amEUxY_X74OWvjFnQw5rDK_T1980BiEoYW7AtRiZ-MM9AJvTxh_C-bhbPOeirvtQoHMAIL-YinHr8Wan1mkNcchyY1HpyJhSlrKITMNMPMsAKSoBACsgxwE0gbUt-gtJ8NiQGBxXRFm-Hjel6ls_rk-xelOu8-kVT8o1craYC5KlfeVwGjfKNLkLldH7MV206hJsxejvsQeE0mvmL1de8ra_Rltj8Q9CM5J1FB30azhMPFEWwF42neNSLc3Ol_oPe35u6MX9BN7aW67uTyCoHjofUOLQi0n9CXNlwk1VHBHLoucJsumdSBM03mTgrq4TM3BsKGfA1PvLj9VTL26Nw-I39Kzz606qmGNX9_eiK-5_CmKYpGCpb3CMxQID7VCiquh_qIu9SpakNXh4loQICdtEXoPce7atUvIyhOt89rSExUS0HS-DH_hctuFqpWCPOywze9djBIwzlDHzPhrfH_B2dDTWKmNa2XUVTQp22TsBilujdvW-Vw2uyGO_9KJX9s3gPG0mE0wqwf-Nr1q4vmi9PAV3Hfw5u1QPb3pVWm4sPCRRs_-EmOGyDtWhdR6wXLWqoZOmzGkbjmZtVvuO4zyE5JWRTKSmd1XKQ0cMQtpady32bQXuhpsK6SVkQRgHYL6zPKYlOml5IIUK38y9RWiaO-TdLW3BaSK5AkaYU&scope=https%3A%2F%2Fmanagement.core.windows.net%2F%2F.default+offline_access+openid+profile + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1317' + Content-Type: + - application/x-www-form-urlencoded + User-Agent: + - python-requests/2.31.0 + X-AnchorMailbox: + - Oid:1463f5a0-2b3e-4ea7-88ea-662ba7e9d98a@72f988bf-86f1-41af-91ab-2d7cd011db47 + client-request-id: + - 4fc9b32c-bd0f-49b1-8d57-d022f111cc1e + x-client-cpu: + - x64 + x-client-current-telemetry: + - 4|84,3| + x-client-last-telemetry: + - 4|0||| + x-client-os: + - win32 + x-client-sku: + - MSAL.Python + x-client-ver: + - 1.20.0 + x-ms-lib-capability: + - retry-after, h429 + method: POST + uri: https://mock-host/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token + response: + body: + string: '{"token_type": "Bearer", "scope": "https://management.core.windows.net//user_impersonation + https://management.core.windows.net//.default", "expires_in": 4799, "ext_expires_in": + 4799, "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IjVCM25SeHRRN2ppOGVORGMzRnkwNUtmOTdaRSIsImtpZCI6IjVCM25SeHRRN2ppOGVORGMzRnkwNUtmOTdaRSJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuY29yZS53aW5kb3dzLm5ldC8iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwiaWF0IjoxNzAzMjU1MDgyLCJuYmYiOjE3MDMyNTUwODIsImV4cCI6MTcwMzI2MDE4MiwiX2NsYWltX25hbWVzIjp7Imdyb3VwcyI6InNyYzEifSwiX2NsYWltX3NvdXJjZXMiOnsic3JjMSI6eyJlbmRwb2ludCI6Imh0dHBzOi8vZ3JhcGgud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3L3VzZXJzLzE0NjNmNWEwLTJiM2UtNGVhNy04OGVhLTY2MmJhN2U5ZDk4YS9nZXRNZW1iZXJPYmplY3RzIn19LCJhY3IiOiIxIiwiYWlvIjoiQVZRQXEvOFZBQUFBeXRmWFE1S1hlSG5FZjdDb2ZPY2NoeGdpQVNNeWZPVUR6Vi9XeXRqVURrNFR1SW9iUnhoZVJNbVlJVWdaUjZBUmRMSlMxMkdIQnVJRW1xNi9xdnRzbU9HRFRQK1VRelZLR1g3bzVDT1RXNWs9IiwiYW1yIjpbInB3ZCIsIm1mYSJdLCJhcHBpZCI6IjA0YjA3Nzk1LThkZGItNDYxYS1iYmVlLTAyZjllMWJmN2I0NiIsImFwcGlkYWNyIjoiMCIsImNhcG9saWRzX2xhdGViaW5kIjpbIjI5Mzk5Y2Y5LTliNmItNDIwNS1iNWIzLTEzYTEzNGU5YjIzMyJdLCJmYW1pbHlfbmFtZSI6IkthdXNoaWsiLCJnaXZlbl9uYW1lIjoiQW51YmhhdiIsImlkdHlwIjoidXNlciIsImlwYWRkciI6IjI0MDQ6ZjgwMTo4MDI4OjM6ZjUzODoyZmRkOjU3ZGI6OWU3NiIsIm5hbWUiOiJBbnViaGF2IEthdXNoaWsiLCJvaWQiOiIxNDYzZjVhMC0yYjNlLTRlYTctODhlYS02NjJiYTdlOWQ5OGEiLCJvbnByZW1fc2lkIjoiUy0xLTUtMjEtMjEyNzUyMTE4NC0xNjA0MDEyOTIwLTE4ODc5Mjc1MjctNTgwNjQ5NDciLCJwdWlkIjoiMTAwMzIwMDIwMEY4NjQyMSIsInJoIjoiMC5BUUVBdjRqNWN2R0dyMEdScXkxODBCSGJSMFpJZjNrQXV0ZFB1a1Bhd2ZqMk1CTWFBRUkuIiwic2NwIjoidXNlcl9pbXBlcnNvbmF0aW9uIiwic3ViIjoiMHhaUTREbFc3RkE1SEdyTGhlSU5KMlJWQXNyUnJMTVdIZ1ZrcTlzd0hUUSIsInRpZCI6IjcyZjk4OGJmLTg2ZjEtNDFhZi05MWFiLTJkN2NkMDExZGI0NyIsInVuaXF1ZV9uYW1lIjoiYW5rYXVzaGlrQG1pY3Jvc29mdC5jb20iLCJ1cG4iOiJhbmthdXNoaWtAbWljcm9zb2Z0LmNvbSIsInV0aSI6IkNsLWw4ekktUkVLakhnSWRIdndoQUEiLCJ2ZXIiOiIxLjAiLCJ3aWRzIjpbImI3OWZiZjRkLTNlZjktNDY4OS04MTQzLTc2YjE5NGU4NTUwOSJdLCJ4bXNfY2FlIjoiMSIsInhtc19jYyI6WyJDUDEiXSwieG1zX2ZpbHRlcl9pbmRleCI6WyIyNiJdLCJ4bXNfcmQiOiIwLjQyTGxZQlJpbEFJQSIsInhtc19zc20iOiIxIiwieG1zX3RjZHQiOjEyODkyNDE1NDd9.O_kwC7G7TCdC2GT7-kiB8-ysqvJHonWAS0gQzlvY24FL8CNttcZKsuC6IfmHjZutaDTqSmaAUn8RymB8zHxnf9KLXHfEcnBR5kbOg79xn6GcJRjjccyWJMagxDMJ-Vf6UbQ2jjO82bnjimRvZyJVl26r-liMaz6UVM-Tz-97ZfNdk3rohnd6HB1CAz1Nz5du-95uajXb6MpY48esl8nZIIqeRM-juAx1EXONMERvBh2inRUisQurpfcDa4vu0xlcwpsc1tNRcFXFo_87-FXHnaI4jsNHA5Z8g3xKv8x1uKPG31Yx7MQUYCwaRZimtZAU_SHrENmwXE50cwOVl5W-HQ", + "refresh_token": "0.AQEAv4j5cvGGr0GRqy180BHbR5V3sATbjRpGu-4C-eG_e0YaAEI.AgABAAEAAAAmoFfGtYxvRrNriQdPKIZ-AgDs_wUA9P9JTstmQqAfYJHilG7f1q-R1NLOEOGpcE52SrdJFuqLA_p4coarUO7gv7OfHlCKQ2WAk8j_NVbI0_XfJomxhTMEh1ZdqnM5EsiZiXKX0p5ZPzh-OTnrLpOp_fNEVmqWwUILKc-wO7DKtrBVc5V4nLRaKsdhWZTRjBy1G3Uu2PiKGMRt4OTSEQUsPuxfAshlbz4DbL25gk3k8jczTIg1HC4A1SWRXtCWqeYid_FWbBV_Fy9S9cbLCpkRbF7Vk7MijF0UhFdnQO7_DfiK36KX1C6OGR6moUXlTDG5_vogHy4tZQCamYzfr_-F2fpuP746Jath3-ueN_EULajhZTgQ9100TDuttzSv4gpbCsaQK1XLATMcJAY5c4ood8ibdNoAYMeh5_4u2F_sRRp_aa4aufCX0-U7wypCo1G3-b29r6tBREnEl9HaUeLCSi3f1tOCOB-Ec1ajRugbG7b8x9fYVw2Xgh-nI5d-T_CdU7xyET3qyRcs0xdHux3gip7206P8T99CUEvbXAdWdDRed7fiFBPtlkuaTWBP2nJgpAToS-BsMRr6FN41SRX7LNfMMkmYADgUUWa_745NU6O9t5H_acQDnZLDC1g-qjKPv0sNzB4fJOOcA4a2XZ11Qesp9PjPFRQmqfB48wem7DwQkmJApY6fa7CSRJvaUPoVqL2dSVOraM0sHLFTSNmMJqgcUjsSyFdLUSeRcWjUiIJVNIBgX1HozfLNTf31s6QZUiRGAmxNuskEATltAtI6n_sCGLe2XJxBsmtMnD0aP-TfQvDdD79tRI4vWQPPUN0HNYY-gQxX246jcUSO3vmc_e3Ux1D7rUZeTaa96TerK6ufSGhHHJRaAuwgY-UFnBvDiVVREwXsNnzvA_HMKY8-kF7d8y93BzVYySVGVhwOcHKpPcDusL8lxWLfbySnL8VCgQ91", + "foci": "1", "id_token": "eyJxxxx", + "client_info": "eyJ1aWQiOiIxNDYzZjVhMC0yYjNlLTRlYTctODhlYS02NjJiYTdlOWQ5OGEiLCJ1dGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3In0"}' + headers: + Cache-Control: + - no-store, no-cache + Content-Length: + - '5091' + Content-Security-Policy-Report-Only: + - script-src 'self' 'nonce-H3uOsRx1XPNqFfIbyDZDDw' 'unsafe-eval' 'unsafe-inline' + 'report-sample'; object-src 'none'; base-uri 'self'; report-uri https://csp.microsoft.com/report/ESTS-UX-All + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 14:29:42 GMT + Expires: + - '-1' + P3P: + - CP="DSP CUR OTPi IND OTRi ONL FIN" + Pragma: + - no-cache + Set-Cookie: + - fpc=AgVVh-NzGbtDiDnWH49bIt32qRfnAQAAAFWUF90OAAAA; expires=Sun, 21-Jan-2024 + 14:29:42 GMT; path=/; secure; HttpOnly; SameSite=None + - x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly + - stsservicecookie=estsfd; path=/; secure; samesite=none; httponly + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-XSS-Protection: + - '0' + client-request-id: + - 4fc9b32c-bd0f-49b1-8d57-d022f111cc1e + x-ms-clitelem: + - 1,0,0,3559273.4521, + x-ms-ests-server: + - 2.1.16986.9 - KRSLR1 ProdSlices + x-ms-request-id: + - f3a55f0a-3e32-4244-a31e-021d1efc2100 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test-1/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL/?api-version=2023-12-01-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9rt3bururosZnnd3P2imNZVU5234+MfrOv8uJ4+zdrsbvOLytd5fZnXZ8um + zZbTvLl7/OrkyZe/9/brn3j+0eijZbbICa/gs/Z6hc8WFmIGiNTvTCE2DLEwEOmVsppmGBK9lmdN + u8ZnzXXT5gtg8dGjX/zRlCC0+ezJNTXJdvfyg+l0sr1zPp1t7396frA9+TTb3Z7QmB9kD2cP9u7t + EgD7yhtB6Hi1Kgvtx3573NI3ezt797Z397b39t7s7j/auf/o3sPx/s79/Yf793+KmpaE0hfVrDgv + AI3a3xKB8L0oFn6TCCq7e4/29se7Dx7sHdwnVH7J6COasVVetwWRjahCZGwA6NFHRPpUZird29l9 + SKDzWcGdPProaX6Zl3iNPp1WyzYrlnn9Stni7EP56uKWfPXt60ldzE6qxWrd5ncX2XROaHTYSSbl + TQGmWq7LcvTR5UlV0x8fgZ5T+pWGLV8Q84BPHn10Ui2X+ZSmklqssnY6f47h0he798c7473dHSIg + fTWtylKozsT6/Z/TH8vd3//znGiRlb//ycvd3//k7Pc/fo2m67rOl+1PEv7SXiDt7OyM79PXhnFf + CO9/8ZrAvT599ZOnr+jLdrp6ek1SUUxfVnUL/OTD14Su+2x3/949+pzINFtPW56Cr5Zvl9UV80Qx + zZdNrvzyrM5z+pBl6Gl+ni+JrAC2bp4T73y1IqGioStRIq0IhAeaXjlbXtLgqvr6q1VZZTMhdoTv + 7o137j/c/XTnwIjAV012kfsvSZ/zqmkFV/k7K6+y6+bL5auqpM8+Or7MijKbFGXRXrMKepWzABDQ + c/qmIo49Kdck6rUBMMmmb9erlxW1ImGTz9arizqb5c+r6dt89tWyLWiC5ZtFtSxoNMXyAgKRL7NJ + CXq09ToXcbksMIv0PegBjF6vp8SqM2r1S37J/wOpYBwXWAUAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 14:29:43 GMT + ETag: + - '"810bd5fc-0000-0100-0000-658599480000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 523d92ec-239a-44d3-814e-e59ac7a179d2 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99998' + x-ms-request-id: + - 0f4054b2-6861-4a73-99b1-9fd1286a3eb4 + x-ms-routing-request-id: + - JIOINDIACENTRAL:20231222T142944Z:523d92ec-239a-44d3-814e-e59ac7a179d2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test-1/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9rt3bururosZnnd3P2imNZVU523429fT+pidlItVus2v7vIpvNimTd3j1+d + PPny995+/RPP7+bv2nzZMAbfLZaz6qo5vsiX7fj1Lypf5/VlXn80+miZLXJCePD79nqF72/s1vVF + L5XVNMPI6cU8a9o1PqMhrPK6LfLmo0e/+KPVelIWzZy68GEf/2Bd50+zNqP22vFGxL6dLWdlXv8k + EUZ62x3vjvfu73063t05oDbZuq2+Wl3U2Sz/olhWruF5Vjb56KN8mU3K/JhaLQjfqTb96FFbr+nb + Jm/bYnnB+FLPX2TL7CJfEB744Kw55ZdptqX1y6qmL3b37u3/ktFHz4spUSN/QzgSVi+Pf5/PCZtn + edbS+J6VGWB+7xd/9EJo/4rm+HhVOPgYIwEA1aQT6eOXjOwrITqDzY4vs6LMJkVZtNfMVk+LZloR + /a6H33mSTd9eUNvl7DvV5GZMnmOCX9bFZVHmF3m33fcNjU/BHrN89jqfrmvC5qvVLCPelmbUqFk/ + Jzjy6exNsSCSZIsVwd/b2bu3vbu3vbf3Znf/0c6DRzsPf+ojojCx02WByaQZet3SW9T29XpKMkO9 + EBrFkiAsp/lPFvkV5uuWfL7x+5vYjXoEr1Nv0wps9NEOfVjml3lJv58tz6sabEZvjj6iATY0ffQ5 + Uwbw0i/ks0cpyW4qHafuW0bpUfrtPCvb+fVh2hoiffXmJH2Ugk53d/fu7u2NUiLU7qeP9u6N79/7 + 9DBdr8oqm4FG64Yafvl7HVqGx1yTrnmUvlovQcjDl2ua7/zqZbm+KJaP0l/8Sw5ZJI+nbXGZPy3q + fNpW9bX39aP0edEQivRySkiuSAjSnUOI8CRr8i9oeuiF43pqX/l9PwIm+e/70aPf96MXVasd/740 + pSmRmwfptf3dQHZu21ESqoYwReMviNhlM7ajos9kYCfV8ry4WNf0YbV08H/fj0a/70d1Tljj85d5 + XVSzs+XT7Lqhnh7Qd8Rb58TO+DPA4fU1DXUxPqnKkghB7zbjz/MlvT8dgwp/wO73vnczmq/nRKM3 + eb14ZTDoI/5SEHAof//79Lv0DlkjAhIWdf68mPBgfrfLrFwzvt/7/i8hSuo0piul5PfodcYnzQjv + yzydmalMpz6NwheahhgSCibFlK2JTYga7tNv05AJAndKOIjcz+hPUa70SV1XtTI1ffz7fsS4viBL + 8Xo6z2drag1Jp6+W67Kkr4gZpCf6iBp63EFf0jdEN9eehvkl+AyCQirq2xWpIcWe0HSTdlyDrtx0 + 7LU10+F93WEX7xv/RWZVfDjI4K5vxw0ECTDyeuz0tvtQFQugjvGPB7qD1NeAyNQj5buqimX7VV0y + ZvO2Jbm/e7fNS3qzra/Hv3jnl4zJ5yAFTJ3zaJvxtFrcDV4/Xq3OMMW/70f39/Z37h/k97b3Huzs + be9PHh5sP7y3N9me7M12Z/mnu/fOZ3tEqo9+yS/5Jb/k/wEu9i4GFQkAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 14:29:44 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - f75e4443-b530-4e30-9c5f-2d77354e90cb + x-ms-ratelimit-remaining-subscription-reads: + - '11998' + x-ms-request-id: + - 122e1f9b-e2a7-418b-bfd0-ff9d989325a3 + x-ms-routing-request-id: + - JIOINDIACENTRAL:20231222T142945Z:f75e4443-b530-4e30-9c5f-2d77354e90cb + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_feature_flag_set_with_both_machine_and_sql_server_name[ARCBOX-SQL-ARCBOX-SQL-arcee-test-1-LeastPrivilege-True-0].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_feature_flag_set_with_both_machine_and_sql_server_name[ARCBOX-SQL-ARCBOX-SQL-arcee-test-1-LeastPrivilege-True-0].yaml new file mode 100644 index 00000000000..b22c2582e9b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_feature_flag_set_with_both_machine_and_sql_server_name[ARCBOX-SQL-ARCBOX-SQL-arcee-test-1-LeastPrivilege-True-0].yaml @@ -0,0 +1,225 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test-1/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL/?api-version=2023-12-01-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9rt3bururosZnnd3P2imNZVU5234+MfrOv8uJ4+zdrsbvOLytd5fZnXZ8um + zZbTvLl7/OrkyZe/9/brn3j+0eijZbbICa/gs/Z6hc8WFmIGiNTvTCE2DLEwEOmVsppmGBK9lmdN + u8ZnzXXT5gtg8dGjX/zRlCC0+ezJNTXJdvfyg+l0sr1zPp1t7396frA9+TTb3Z7QmB9kD2cP9u7t + EgD7yhtB6Hi1Kgvtx3573NI3ezt797Z397b39t7s7j/auf/o3sPx/s79/Yf793+KmpaE0hfVrDgv + AI3a3xKB8L0oFn6Tm1H5JaOPaMZWed0WRDaiCpGxAaBHHxHpU5mpdG9n9yGBzmcFd/Loo6f5ZV7i + Nfp0Wi3brFjm9Stli7MP5auLW/LVt68ndTE7qRardZvfXWTTOaHRYSeZlDcFmGq5LsvRR5cnVU1/ + fAR6TulXGrZ8QcwDPnn00Um1XOZTmkpqscra6fw5hktf7N4f74z3dnf2x/JyWQrVmVi//3P6Y7n7 + +3+eEy2y8vc/ebn7+5+c/f7Hr9F0Xdf5sv1Jwl/aC6SdnZ3xffraMO4L4f0vXhO416evfvL0FX3Z + TldPr0kqiunLqm6Bn3z4mtB1n+3u37tHnxOZZutpy1Pw1fLtsrpiniim+bLJlV+e1XlOH7IMPc3P + 8yWRFcDWzXPina9WJFQ0dCVKpBWBcKCpw8sCgyqWF/gaHbxeT2nmZgSEuiaQZ8tLGnxVX3+1Kqts + JpMR4csH4917n+7vPCS+lBe/arKL3H9JcJpXTStjkb+z8iq7br5cvqpK+uyj48usKLNJURbtNauo + VzkLCAE9p28q4uiTck2qoDYAJtn07Xr1sqJWJIzy2Xp1UWez/Hk1fZvPvlq2BTGAfLOgwdJoaMAQ + mHyZTUoa6qO2Xue/5Jf8kv8H40jhkFgFAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 14:11:23 GMT + ETag: + - '"810b2182-0000-0100-0000-658597b30000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 812f5bdf-205b-421c-8167-e84e7198e518 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99998' + x-ms-request-id: + - 8446e26e-d468-4aad-95d3-3e72ed617c7a + x-ms-routing-request-id: + - JIOINDIACENTRAL:20231222T141123Z:812f5bdf-205b-421c-8167-e84e7198e518 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test-1/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9rt3bururosZnnd3P2imNZVU523429fT+pidlItVus2v7vIpvNimTd3j1+d + PPny995+/RPP7+bv2nzZMAbfLZaz6qo5vsiX7fj1Lypf5/VlXn80+miZLXJCePD79nqF72/s1vVF + L5XVNMPI6cU8a9o1PqMhrPK6LfLmo0e/+KPVelIWzZy68GEf/2Bd50+zNqP22vFGxL6dLWdlXv8k + EUZ62x3vjvfu73063t05oDbZuq2+Wl3U2Sz/olhWruF5Vjb56KN8mU3K/JhaLQjfqTb96FFbr+nb + Jm/bYnnB+FLPX2TL7CJfEB744Kw55ZdptqX1y6qmL3b37u3/ktFHz4spUSN/QzgSVi+Pf5/PCZtn + edbS+J6VGWB+7xd/9EJo/4rm+HhVOPgYIwEA1aQT6eOXjOwrITqDzY4vs6LMJkVZtNfMVk+LZloR + /a6H33mSTd9eUNvl7DvV5GZMnmOCX9bFZVHmF7nXjkn8S75viHwK/pjls9f5dF0TOl+tZhkxt8Cj + Rs36OQGST2dvigXRJFusqIO9nb1727t723t7b3b3H+08eLTz8Kc+IhITP10WmE2aotctvUVtX6+n + JDTUC+FRLAnCcpr/ZJFfYcJuyegbv7+J36hHMDv1Nq3ARx/t0IdlfpmX9PvZ8ryqwWf05ugjGmBD + 80efM2UAL/1CPnuUkvCm0nHqvmWUHqXfzrOynV8fpq0h0ldvTtJHKeh0d3fv7t7eKBVC3ft0fO/+ + zmG6XpVVNgON1g01/PL3OrQcj8kmZfMofbVegpCHL9c04fnVy3J9USwfpb/4lxyyTB5P2+Iyf1rU + +bSt6mv79e9b/77LNP19P/riNaH8+vTVT56++n0/ekQf0H/01S85fJQ+LxoaAcFOaQwrEpJ05xAi + Psma/AuaPYJ3XE8dxI+AaE5Qft+PXlSt4vX70oynNBtMA6/t74ZZ4bYdJaJqCjM4/oLmomzGdtD0 + mYz7pFqeFxfrmj6slg7+7/vR6Pf9qM4Ja3z+Mq+Lana2fJpdN9TTA/qOWO+c2B1/Bji8vqahLsYn + VVkSnejdZvx5vqT3p2NQ4Q/Y/d73bkbz9Zxo9CavF68MBn3EXwoCDuXvf59+l94hi0RAwqLOnxcT + HszvdpmVa8b3e9//JURJneV0pZT8Hr3O+KQZ4X2ZpzMz0+nUp1H4QtMQv0IBpZiyNXERUcN9+m0a + MkHgTgkH0Qsz+pM1Az6p66pWnqePiWWA6wuyJK+n83y2ptZQBPTVcl2W9BUxg/REH1FDjzvoS/qG + 6Oba0zC/BJ9BjkiFfbsiNaXYE5pu0o5r0JWbjr22Zjq8rzvs4n3jv8isig8HGdz17biBIAFGXo+d + Xncfqt4B1DH+8UB3kPoaEJl6pJtXVbFsv6pLxmzetqQW7t5t85LebOvr8S/e+SVj8klIP1PnPNpm + PK0Wd4PXj1erM0zx7/vR/b39nfsH+b3tvQc7e9v7k4cH2w/v7U22J3uz3Vn+6e6989kekeqjX/JL + fskv+X8AauGtlDUJAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 14:11:24 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 17af602f-c278-4b06-951d-efdcfff435c7 + x-ms-ratelimit-remaining-subscription-reads: + - '11987' + x-ms-request-id: + - 2e0cf288-8294-4fdb-9b3d-6c5f51a8d1dc + x-ms-routing-request-id: + - JIOINDIACENTRAL:20231222T141124Z:17af602f-c278-4b06-951d-efdcfff435c7 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test-1/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer", + "name": "WindowsAgent.SqlServer", "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus", "properties": {"publisher": "Microsoft.AzureData", "type": + "WindowsAgent.SqlServer", "typeHandlerVersion": "1.1.2526.108", "autoUpgradeMinorVersion": + false, "enableAutomaticUpgrade": true, "settings": {"SqlManagement": {"IsEnabled": + true, "Port": 1234}, "LicenseType": "PAYG", "FeatureFlags": [{"Name": "RestApiManagementServices", + "Enable": true}, {"Name": "SqlManagement", "Enable": true}, {"Name": "AvailabilityGroupDiscovery", + "Enable": true}, {"Name": "BackgroundJobServices", "Enable": true}, {"Name": + "LeastPrivilege", "Enable": true}], "enableExtendedSecurityUpdates": true, "esuLastUpdatedTimestamp": + "2023-12-22T14:07:09Z"}, "provisioningState": "Succeeded", "instanceView": {"name": + "WindowsAgent.SqlServer", "type": "WindowsAgent.SqlServer", "typeHandlerVersion": + "1.1.2526.108", "status": {"code": "0", "level": "Information", "message": "Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2023/12/22, 14:07:36.350; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\"\r\n};: Listening on port 0;DatabaseMonitorArcPlugin: + {\"State\":\"NotRunning\"}, SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], Azure + active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2423' + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test-1/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '' + headers: + Azure-AsyncOperation: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/161f7c8e-5e5e-4ee4-9f94-9416dc7254b5?api-version=2019-08-02-preview&t=638388510874353250&c=MIIHADCCBeigAwIBAgITHgOOTF2IP7nZFyla6AAAA45MXTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDMzOTAzWhcNMjQxMDI2MDMzOTAzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKktUTh2v1SGL7dLk28cowQRt_0hicbpjq4Bo165pqYdhPZdZR58gWiSuY5k5s6B5gMa9D10Xjfynj9LGEik-W98DwEfgm4wXFu78jQJxAv50-XPkoizqK4lbk1wnLh7bItGww4tYgqKKEkO7K5O3rDRvFYOOf2xEYLB3APzCMnKyk0DGyXBYNmhtHajbi3NmP2Qa4wxTHPJpU3LfUuQieDVElhkWThcJRmHKYW0rw63bX9WmJJObX5cFUgKc84g6UBi6duzxAaz6X7E6BvUx9oIXP0_HLcJ9_1rjHbrcy6RUSgXExEtmdQNnKJJri2TccAeaY1Bw303JflacltM28kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBQERNOvwwG8gNC_q_Svo16a4QGpPTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIbmsySIop8ARfn3Uc4sq71s6OlH2KvNhPihjJeCSer2Z9iFHQtTPDG4uuJ6NWaFLOCZGGL_KENGz3J5wbD3b6QrzGDAMSYkyH_vDFv_av_MDo5FN5rlAL5O-ri2cFlO6_woZWUcpZt7fLs8YnJxk5kE8jmNbNapuomF9aKRFS-H2rHeDcsxyRpdmi-Q2OBhUjJ7Y9GDRKPgCNLqKg8Y7P-cE5DkkzRgmcJv1jx9CqIOPFWoHx0Uu7OCEOLyl5rkz-fGlMFCDbyLgSiy8qBFi_m5sg4FCDgMCrODS1dzOU1fuOmoGYbxLd-GoFFfCtcbfRJtQr8D2Bq306YSypf0nWY&s=KRAyyem0X1y5HERMhBROomzeCNUHtLUE7KGO4iPobjRD340u5ycGS3lbd8-TA_Glmd2wPyJ3S08JbjaTeRs4ceekDWQHeGfIcMTazz5BYTCdGQw2j9BZrtwwBP4fBAIAmhPSx-qOyJDwmEbYt7T058EeVtYJ-0WFs7Cr3R0JRYCWc4gap25n3TdwGGFNC-2edifYUydA_4Be-P1wq4WdwCUa0EhJoQrZiGxcZ_0z1qwmSt63y4MLLfl25slEadHLyB6avWcLo2jIXmaqa7nM84oQuBRitWt-FWh5hADRBinpE2ikGfSF9bvS2DvV0jdINM8BuLtDIuFEwTnp9Vsb2w&h=J4R0YW0_3v3F6QKS5p3x1ugKJPDwgPeZgv9BU98oZvg + Cache-Control: + - no-cache + Content-Length: + - '0' + Content-Type: + - application/json + Date: + - Fri, 22 Dec 2023 14:11:26 GMT + Expires: + - '-1' + Location: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/providers/Microsoft.HybridCompute/locations/eastus/operationresults/161f7c8e-5e5e-4ee4-9f94-9416dc7254b5?api-version=2019-08-02-preview&t=638388510874509500&c=MIIHADCCBeigAwIBAgITHgOOTF2IP7nZFyla6AAAA45MXTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDMzOTAzWhcNMjQxMDI2MDMzOTAzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKktUTh2v1SGL7dLk28cowQRt_0hicbpjq4Bo165pqYdhPZdZR58gWiSuY5k5s6B5gMa9D10Xjfynj9LGEik-W98DwEfgm4wXFu78jQJxAv50-XPkoizqK4lbk1wnLh7bItGww4tYgqKKEkO7K5O3rDRvFYOOf2xEYLB3APzCMnKyk0DGyXBYNmhtHajbi3NmP2Qa4wxTHPJpU3LfUuQieDVElhkWThcJRmHKYW0rw63bX9WmJJObX5cFUgKc84g6UBi6duzxAaz6X7E6BvUx9oIXP0_HLcJ9_1rjHbrcy6RUSgXExEtmdQNnKJJri2TccAeaY1Bw303JflacltM28kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBQERNOvwwG8gNC_q_Svo16a4QGpPTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIbmsySIop8ARfn3Uc4sq71s6OlH2KvNhPihjJeCSer2Z9iFHQtTPDG4uuJ6NWaFLOCZGGL_KENGz3J5wbD3b6QrzGDAMSYkyH_vDFv_av_MDo5FN5rlAL5O-ri2cFlO6_woZWUcpZt7fLs8YnJxk5kE8jmNbNapuomF9aKRFS-H2rHeDcsxyRpdmi-Q2OBhUjJ7Y9GDRKPgCNLqKg8Y7P-cE5DkkzRgmcJv1jx9CqIOPFWoHx0Uu7OCEOLyl5rkz-fGlMFCDbyLgSiy8qBFi_m5sg4FCDgMCrODS1dzOU1fuOmoGYbxLd-GoFFfCtcbfRJtQr8D2Bq306YSypf0nWY&s=kEkOMh-Svud1s6e_VqOVs1w66bscXIaTj40dOb9q4da3P6wkC2ZTRLRy7XV77nbtFqNLoaqk7K4zPVrLtqiWdsmK0y0_kGOBdmE20K6xwj0cURnuym2m6G0bt9AFwQfONl9hc7yEJYMzCRr700PWMiwyTZAbWbQCetHYCVRpySpZemM4tNAUHztpNVkQEPs4YVLwulSuCGjyPz40AvWfQVzkmmudb8k1fRs3QMpXet0e0o21McHT45L-NXnDPaC1Nl_XH3P7CcdxDJm_EB-hyi5Xadt2g3x-r-5ZX1Zsr9ouz6SvNV-QXR0IJaebzgSrmVfeoypx_KNgigs-18zGOg&h=i-uXg1qcdh3IHlb6PTmKn6F3ulSo2cbY3DqfkZJr72c + Pragma: + - no-cache + Retry-After: + - '120' + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 1e5dab90-0904-458c-a3bd-e51d7e9fae3a + x-ms-ratelimit-remaining-subscription-resource-requests: + - '319' + x-ms-request-id: + - dd733ec7-afe7-480e-a7a4-b968b889582d + x-ms-routing-request-id: + - JIOINDIACENTRAL:20231222T141127Z:1e5dab90-0904-458c-a3bd-e51d7e9fae3a + status: + code: 202 + message: Accepted +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_feature_flag_set_with_both_machine_and_sql_server_name[ARCBOX_SQL-1-ARCBOX-SQL-arcee-test-1-LeastPrivilege-True-1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_feature_flag_set_with_both_machine_and_sql_server_name[ARCBOX_SQL-1-ARCBOX-SQL-arcee-test-1-LeastPrivilege-True-1].yaml new file mode 100644 index 00000000000..0bf55fce759 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_feature_flag_set_with_both_machine_and_sql_server_name[ARCBOX_SQL-1-ARCBOX-SQL-arcee-test-1-LeastPrivilege-True-1].yaml @@ -0,0 +1,72 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test-1/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL/?api-version=2023-12-01-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9rt3bururosZnnd3P2imNZVU5234+MfrOv8uJ4+zdrsbvOLytd5fZnXZ8um + zZbTvLl7/OrkyZe/9/brn3j+0eijZbbICa/gs/Z6hc8WFmIGiNTvTCE2DLEwEOmVsppmGBK9lmdN + u8ZnzXXT5gtg8dGjX/zRlCC0+ezJNTXJdvfyg+l0sr1zPp1t7396frA9+TTb3Z7QmB9kD2cP9u7t + EgD7yhtB6Hi1Kgvtx3573NI3ezt797Z397b39t7s7j/auf/o3sPx/s79/Yf793+KmpaE0hfVrDgv + AI3a3xKB8L0oFn6Tm1H5JaOPaMZWed0WRDaiCpGxAaBHHxHpU5mpdG9n9yGBzmcFd/Loo6f5ZV7i + Nfp0Wi3brFjm9Stli7MP5auLW/LVt68ndTE7qRardZvfXWTTOaHRYSeZlDcFmGq5LsvRR5cnVU1/ + fAR6TulXGrZ8QcwDPnn00Um1XOZTmkpqscra6fw5hktf7N4f74z3dnf2x/JyWQrVmVi//3P6Y7n7 + +3+eEy2y8vc/ebn7+5+c/f7Hr9F0Xdf5sv1Jwl/aC6SdnZ3xffraMO4L4f0vXhO416evfvL0FX3Z + TldPr0kqiunLqm6Bn3z4mtB1n+3u37tHnxOZZutpy1Pw1fLtsrpiniim+bLJlV+e1XlOH7IMPc3P + 8yWRFcDWzXPina9WJFQ0dCVKpBWBcKCpw8sCgyqWF/gaHbxeT2nmZgSEuiaQZ8tLGnxVX3+1Kqts + JpMR4csH4917n+7vPCS+lBe/arKL3H9JcJpXTStjkb+z8iq7br5cvqpK+uyj48usKLNJURbtNauo + VzkLCAE9p28q4uiTck2qoDYAJtn07Xr1sqJWJIzy2Xp1UWez/Hk1fZvPvlq2BTGAfLOgwdJoaMAQ + mHyZTUoa6qO2Xue/5Jf8kv8H40jhkFgFAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 14:11:28 GMT + ETag: + - '"810b2182-0000-0100-0000-658597b30000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 0539412b-c529-407e-a956-9ac6e2fef554 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99998' + x-ms-request-id: + - e28fa126-15f5-4f2e-a819-74eb98b2a102 + x-ms-routing-request-id: + - JIOINDIACENTRAL:20231222T141129Z:0539412b-c529-407e-a956-9ac6e2fef554 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_feature_flag_set_with_only_sql_server_name[ARCBOX-SQL-1-arcee-test-1-LeastPrivilege-True-1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_feature_flag_set_with_only_sql_server_name[ARCBOX-SQL-1-arcee-test-1-LeastPrivilege-True-1].yaml new file mode 100644 index 00000000000..4031389eeed --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_feature_flag_set_with_only_sql_server_name[ARCBOX-SQL-1-arcee-test-1-LeastPrivilege-True-1].yaml @@ -0,0 +1,50 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test-1/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL-1/?api-version=2023-03-15-preview + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/ARCBOX-SQL-1'' + under resource group ''arcee-test-1'' was not found. For more details please + go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '238' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 14:21:34 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 57c39fc1-d3fe-4aed-a90e-473117a94ed6 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 57c39fc1-d3fe-4aed-a90e-473117a94ed6 + x-ms-routing-request-id: + - CENTRALINDIA:20231222T142134Z:57c39fc1-d3fe-4aed-a90e-473117a94ed6 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_feature_flag_set_with_only_sql_server_name[ARCBOX-SQL-arcee-test-1-LeastPrivilege-True-0].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_feature_flag_set_with_only_sql_server_name[ARCBOX-SQL-arcee-test-1-LeastPrivilege-True-0].yaml new file mode 100644 index 00000000000..2ba1f9dfcca --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_feature_flag_set_with_only_sql_server_name[ARCBOX-SQL-arcee-test-1-LeastPrivilege-True-0].yaml @@ -0,0 +1,224 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test-1/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL/?api-version=2023-12-01-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9rt3bururosZnnd3P2imNZVU5234+MfrOv8uJ4+zdrsbvOLytd5fZnXZ8um + zZbTvLl7/OrkyZe/9/brn3j+0eijZbbICa/gs/Z6hc8WFmIGiNTvTCE2DLEwEOmVsppmGBK9lmdN + u8ZnzXXT5gtg8dGjX/zRlCC0+ezJNTXJdvfyg+l0sr1zPp1t7396frA9+TTb3Z7QmB9kD2cP9u7t + EgD7yhtB6Hi1Kgvtx3573NI3ezt797Z397b39t7s7j/auf/o3sPx/s79/Yf793+KmpaE0hfVrDgv + AI3a3xKB8L0oFn6TCCq7e4/29se7Dx7sHdwnVH7J6COasVVetwWRjahCZGwA6NFHRPpUZird29l9 + SKDzWcGdPProaX6Zl3iNPp1WyzYrlnn9Stni7EP56uKWfPXt60ldzE6qxWrd5ncX2XROaHTYSSbl + TQGmWq7LcvTR5UlV0x8fgZ5T+pWGLV8Q84BPHn10Ui2X+ZSmklqssnY6f47h0he798c7473dHSIg + fTWtylKozsT6/Z/TH8vd3//znGiRlb//ycvd3//k7Pc/fo2m67rOl+1PEv7SXiDt7OyM79PXhnFf + CO9/8ZrAvT599ZOnr+jLdrp6ek1SUUxfVnUL/OTD14Su+2x3/949+pzINFtPW56Cr5Zvl9UV80Qx + zZdNrvzyrM5z+pBl6Gl+ni+JrAC2bp4T73y1IqGioStRIq0IhAeaXjlbXtLgqvr6q1VZZTMhdoTv + 7o137j/c/XTnwIjAV012kfsvSZ/zqmkFV/k7K6+y6+bL5auqpM8+Or7MijKbFGXRXrMKepWzABDQ + c/qmIo49Kdck6rUBMMmmb9erlxW1ImGTz9arizqb5c+r6dt89tWyLWiC5ZtFtSxoNMXyAgKRL7NJ + CXq09ToXcbksMIv0PegBjF6vp8SqM2r1S37J/wOpYBwXWAUAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 14:16:30 GMT + ETag: + - '"810bd5fc-0000-0100-0000-658599480000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 5f2afb3d-ac34-47ec-8578-1f4b00886b3e + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 01cb9610-9d67-43ce-9356-2824d6217df8 + x-ms-routing-request-id: + - JIOINDIACENTRAL:20231222T141630Z:5f2afb3d-ac34-47ec-8578-1f4b00886b3e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test-1/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9rt3bururosZnnd3P2imNZVU523429fT+pidlItVus2v7vIpvNimTd3j1+d + PPny995+/RPP7+bv2nzZMAbfLZaz6qo5vsiX7fj1Lypf5/VlXn80+miZLXJCePD79nqF72/s1vVF + L5XVNMPI6cU8a9o1PqMhrPK6LfLmo0e/+KPVelIWzZy68GEf/2Bd50+zNqP22vFGxL6dLWdlXv8k + EUZ62x3vjvfu73063t05oDbZuq2+Wl3U2Sz/olhWruF5Vjb56KN8mU3K/JhaLQjfqTb96FFbr+nb + Jm/bYnnB+FLPX2TL7CJfEB744Kw55ZdptqX1y6qmL3b37u3/ktFHz4spUSN/QzgSVi+Pf5/PCZtn + edbS+J6VGWB+7xd/9EJo/4rm+HhVOPgYIwEA1aQT6eOXjOwrITqDzY4vs6LMJkVZtNfMVk+LZloR + /a6H33mSTd9eUNvl7DvV5GZMnmOCX9bFZVHmF3m33fcNjU/BHrN89jqfrmvC5qvVLCPelmbUqFk/ + Jzjy6exNsSCSZIsVwd/b2bu3vbu3vbf3Znf/0c6DRzsPf+ojojCx02WByaQZet3SW9T29XpKMkO9 + EBrFkiAsp/lPFvkV5uuWfL7x+5vYjXoEr1Nv0wps9NEOfVjml3lJv58tz6sabEZvjj6iATY0ffQ5 + Uwbw0i/ks0cpyW4qHafuW0bpUfrtPCvb+fVh2hoiffXmJH2Ugk53d/fu7u2NUiIU/W9vb/zppw8O + 0/WqrLIZaLRuqOGXv9ehZXjMNeka6nHdrHh+Dl+uacbzq5fl+qJYPkp/8S85ZKE8nrbFZf60qPNp + W9XX3teP0udFQ0jSPKSE5orEIN05hBBPsib/giaIXjiup/aV3/cj4JL/vh89+n0/elG1r9ZLvPv7 + 0qSmRHAeptf2dwPhuW1HTagiwiSNvyByl83Yjos+k6GdVMvz4mJd04fV0sH/fT8a/b4f1Tlhjc9f + 5nVRzc6WT7Prhnp6QN8Rd50TQ+PPAIfX1zTUxfikKksiBL3bjD/Pl/T+dAwq/AG73/vezWi+nhON + 3uT14pXBoI/4S0HAofz979Pv0jukjQhIWNT582LCg/ndLrNyzfh+7/u/hCip05iulJLfo9cZnzQj + vC/zdGamMp36NApfaBpiSaiYFFO2JkYharhPv01DJgjcKeEgkj+jP0W90id1XdXK1vTx7/sR4/qC + bMXr6Tyfrak1ZJ2+Wq7Lkr4iZpCe6CNq6HEHfUnfEN1cexrml+AziAopqW9XpIgUe0LTTdpxDbpy + 07HX1kyH93WHXbxv/BeZVfHhIIO7vh03ECTAyOux09zuQ1UtgDrGPx7oDlJfAyJTj8R7VRXL9qu6 + ZMzmbUuSf/dum5f0Zltfj3/xzi8Zk9dBKpg659E242m1uBu8frxanWGKf9+P7u/t79w/yO9t7z3Y + 2dvenzw82H54b2+yPdmb7c7yT3fvnc/2iFQf/ZJf8kt+yf8DFSF5gxcJAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 14:16:32 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 87077ca4-9e38-44ba-a4cd-b2d52e6db37f + x-ms-ratelimit-remaining-subscription-reads: + - '11997' + x-ms-request-id: + - e604b62f-2bf0-4692-8cdc-1ed12363f3c9 + x-ms-routing-request-id: + - JIOINDIACENTRAL:20231222T141632Z:87077ca4-9e38-44ba-a4cd-b2d52e6db37f + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test-1/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer", + "name": "WindowsAgent.SqlServer", "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus", "properties": {"publisher": "Microsoft.AzureData", "type": + "WindowsAgent.SqlServer", "typeHandlerVersion": "1.1.2526.108", "autoUpgradeMinorVersion": + false, "enableAutomaticUpgrade": true, "settings": {"SqlManagement": {"IsEnabled": + true, "Port": 1234}, "LicenseType": "PAYG", "FeatureFlags": [{"Name": "RestApiManagementServices", + "Enable": true}, {"Name": "SqlManagement", "Enable": true}, {"Name": "AvailabilityGroupDiscovery", + "Enable": true}, {"Name": "BackgroundJobServices", "Enable": true}, {"Name": + "LeastPrivilege", "Enable": true}], "enableExtendedSecurityUpdates": true, "esuLastUpdatedTimestamp": + "2023-12-22T14:07:09Z"}, "provisioningState": "Succeeded", "instanceView": {"name": + "WindowsAgent.SqlServer", "type": "WindowsAgent.SqlServer", "typeHandlerVersion": + "1.1.2526.108", "status": {"code": "0", "level": "Information", "message": "Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2023/12/22, 14:14:22.667; + uploadStatus : OK;AutomaticBackups: Suspended;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {};: Listening on port 0;DatabaseMonitorArcPlugin: {\"State\":\"NotRunning\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], Azure + active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2394' + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test-1/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '' + headers: + Azure-AsyncOperation: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/929561b3-e09f-4d31-a540-25b8a052e157?api-version=2019-08-02-preview&t=638388513942493926&c=MIIHADCCBeigAwIBAgITHgOOTF2IP7nZFyla6AAAA45MXTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDMzOTAzWhcNMjQxMDI2MDMzOTAzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKktUTh2v1SGL7dLk28cowQRt_0hicbpjq4Bo165pqYdhPZdZR58gWiSuY5k5s6B5gMa9D10Xjfynj9LGEik-W98DwEfgm4wXFu78jQJxAv50-XPkoizqK4lbk1wnLh7bItGww4tYgqKKEkO7K5O3rDRvFYOOf2xEYLB3APzCMnKyk0DGyXBYNmhtHajbi3NmP2Qa4wxTHPJpU3LfUuQieDVElhkWThcJRmHKYW0rw63bX9WmJJObX5cFUgKc84g6UBi6duzxAaz6X7E6BvUx9oIXP0_HLcJ9_1rjHbrcy6RUSgXExEtmdQNnKJJri2TccAeaY1Bw303JflacltM28kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBQERNOvwwG8gNC_q_Svo16a4QGpPTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIbmsySIop8ARfn3Uc4sq71s6OlH2KvNhPihjJeCSer2Z9iFHQtTPDG4uuJ6NWaFLOCZGGL_KENGz3J5wbD3b6QrzGDAMSYkyH_vDFv_av_MDo5FN5rlAL5O-ri2cFlO6_woZWUcpZt7fLs8YnJxk5kE8jmNbNapuomF9aKRFS-H2rHeDcsxyRpdmi-Q2OBhUjJ7Y9GDRKPgCNLqKg8Y7P-cE5DkkzRgmcJv1jx9CqIOPFWoHx0Uu7OCEOLyl5rkz-fGlMFCDbyLgSiy8qBFi_m5sg4FCDgMCrODS1dzOU1fuOmoGYbxLd-GoFFfCtcbfRJtQr8D2Bq306YSypf0nWY&s=PSbwCeRPgzmanoKoK9lT29cBlN_eLa1tEabhSflVv61NOLnLqopOSlX6Bd5RLo3GdAPQBDlcsRVbXnypatb4L9yI5FDRSsNsBPtZewsdXwIHgvMMk12TMWXyMA1o5MdgcGtn1VfPkHBGMFW3SlNj5xnWiKhMPdIEjcBFO_wtMEPqaWbT4i-Uiy2fDQqkDUcteJhLIhH33oTwMEg61bYkqknVAiNciDwC_aLoSPqjrFvO3t4SB7rHCtCkBmm_UBWtCvKTUrWZddywPIKET-d9mfYwsN3zVkGNVU8bSDq0nDz54gaz5MRLVCGz1TFi160td2c32x8bQrLe08QSGmyBtQ&h=b4-90WSkPc-OO6MwKtEB3ISK31UQw8QxXzZARZvq_QE + Cache-Control: + - no-cache + Content-Length: + - '0' + Content-Type: + - application/json + Date: + - Fri, 22 Dec 2023 14:16:33 GMT + Expires: + - '-1' + Location: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/providers/Microsoft.HybridCompute/locations/eastus/operationresults/929561b3-e09f-4d31-a540-25b8a052e157?api-version=2019-08-02-preview&t=638388513942648978&c=MIIHADCCBeigAwIBAgITHgOOTF2IP7nZFyla6AAAA45MXTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDMzOTAzWhcNMjQxMDI2MDMzOTAzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKktUTh2v1SGL7dLk28cowQRt_0hicbpjq4Bo165pqYdhPZdZR58gWiSuY5k5s6B5gMa9D10Xjfynj9LGEik-W98DwEfgm4wXFu78jQJxAv50-XPkoizqK4lbk1wnLh7bItGww4tYgqKKEkO7K5O3rDRvFYOOf2xEYLB3APzCMnKyk0DGyXBYNmhtHajbi3NmP2Qa4wxTHPJpU3LfUuQieDVElhkWThcJRmHKYW0rw63bX9WmJJObX5cFUgKc84g6UBi6duzxAaz6X7E6BvUx9oIXP0_HLcJ9_1rjHbrcy6RUSgXExEtmdQNnKJJri2TccAeaY1Bw303JflacltM28kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBQERNOvwwG8gNC_q_Svo16a4QGpPTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIbmsySIop8ARfn3Uc4sq71s6OlH2KvNhPihjJeCSer2Z9iFHQtTPDG4uuJ6NWaFLOCZGGL_KENGz3J5wbD3b6QrzGDAMSYkyH_vDFv_av_MDo5FN5rlAL5O-ri2cFlO6_woZWUcpZt7fLs8YnJxk5kE8jmNbNapuomF9aKRFS-H2rHeDcsxyRpdmi-Q2OBhUjJ7Y9GDRKPgCNLqKg8Y7P-cE5DkkzRgmcJv1jx9CqIOPFWoHx0Uu7OCEOLyl5rkz-fGlMFCDbyLgSiy8qBFi_m5sg4FCDgMCrODS1dzOU1fuOmoGYbxLd-GoFFfCtcbfRJtQr8D2Bq306YSypf0nWY&s=f4RN_rA4MJx7ZT9OF5PnnZLpHFLnUd6wNwsjbYNmprZDEgudf8di13V8yf_5al0Mz9ZBOjpyX95Xv4-vPUBccG8Lp9hlSOyHc79BsywtoSRLPvEqYJBg9q0eBg_NkSogTGepdzwTaKtc_R-9ZrL95CaHRnVIqT4dFJaGu3BSQ5IDcZAhaJQPqVwwK7EOSXIE-q_lFfWxchetqaMW3n9HHJ_46FFNICJsHu6aKSWb_qS9FRTYoNzu3kQ9uzWuuA73jsspQ1YN0ExdiQ-JYs1rOEgHqCXedo4CT_CL6bxQyYo3Sq-JJEypa7ymrgIW89taIZ15qnP0Lyq-6mNMC6i2JQ&h=4DmJzruOM-2uTqpeJ5utbbmMuPPvURLzpqIRxu2z-vY + Pragma: + - no-cache + Retry-After: + - '120' + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 7579a8fc-4878-4547-b07d-204fc2576804 + x-ms-ratelimit-remaining-subscription-resource-requests: + - '319' + x-ms-request-id: + - b2ccf005-5854-4c55-9c57-b4176bd02534 + x-ms-routing-request-id: + - JIOINDIACENTRAL:20231222T141634Z:7579a8fc-4878-4547-b07d-204fc2576804 + status: + code: 202 + message: Accepted +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_invalid_inputs[ARCBOX-SQL-random-rg-NewFeature-True].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_invalid_inputs[ARCBOX-SQL-random-rg-NewFeature-True].yaml new file mode 100644 index 00000000000..d74d65d89e3 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_invalid_inputs[ARCBOX-SQL-random-rg-NewFeature-True].yaml @@ -0,0 +1,54 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/random-rg/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer + response: + body: + string: '{"error": {"code": "InvalidAuthenticationToken", "message": "The access + token is invalid."}}' + headers: + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '88' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 22 Nov 2023 08:41:58 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + WWW-Authenticate: + - Bearer authorization_uri="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + error="invalid_token", error_description="The access token is invalid." + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - a51f044d-8b56-4e33-bebb-fb800bf47e4d + x-ms-failure-cause: + - gateway + x-ms-request-id: + - a51f044d-8b56-4e33-bebb-fb800bf47e4d + x-ms-routing-request-id: + - JIOINDIACENTRAL:20231122T084158Z:a51f044d-8b56-4e33-bebb-fb800bf47e4d + status: + code: 401 + message: Unauthorized +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_invalid_inputs[random-SQL-arcee-test-LeastPrivilege-True].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_invalid_inputs[random-SQL-arcee-test-LeastPrivilege-True].yaml new file mode 100644 index 00000000000..dc7306a258c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_invalid_inputs[random-SQL-arcee-test-LeastPrivilege-True].yaml @@ -0,0 +1,54 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/random-SQL/extensions/WindowsAgent.SqlServer + response: + body: + string: '{"error": {"code": "InvalidAuthenticationToken", "message": "The access + token is invalid."}}' + headers: + Cache-Control: + - no-cache + Connection: + - close + Content-Length: + - '88' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 22 Nov 2023 08:41:57 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + WWW-Authenticate: + - Bearer authorization_uri="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + error="invalid_token", error_description="The access token is invalid." + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 79f7d4ac-d7ec-440c-8304-0d2d098c1954 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 79f7d4ac-d7ec-440c-8304-0d2d098c1954 + x-ms-routing-request-id: + - JIOINDIACENTRAL:20231122T084158Z:79f7d4ac-d7ec-440c-8304-0d2d098c1954 + status: + code: 401 + message: Unauthorized +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_successful_inputs[ARCBOX-SQL-arcee-test-LeastPrivilege-False-LeastPrivilege feature flag successfully updated to False].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_successful_inputs[ARCBOX-SQL-arcee-test-LeastPrivilege-False-LeastPrivilege feature flag successfully updated to False].yaml new file mode 100644 index 00000000000..158a4c5d05a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_successful_inputs[ARCBOX-SQL-arcee-test-LeastPrivilege-False-LeastPrivilege feature flag successfully updated to False].yaml @@ -0,0 +1,153 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9q7q7q6LGZ53dz9opjWVVOdt+NvX0/qYnZSLVbrNr+7yKbzYpk3d49fnTz5 + 8vfefv0Tz+/m79p82XD/3y2Ws+qqOb7Il+349S8qX+f1ZV5/NPpomS1yQnfw+/Z6he9v7Nb1RS+V + 1TTDuOnFPGvaNT6jIazyui3y5qNHv/ij1XpSFs2cuvBhH/9gXedPszaj9trxRsS+nS1nZV7/JBFG + etsd74737u/sjx8+pCbZuq2+Wl3U2Sz/olhWrt15Vjb56KN8mU3K/JhaLQjdqTb96FFbr+nbJm/b + YnnB6J6+m5brWT4jBM6WTZstpxjG974/+og++SJbZhf5ghBE07PmlMESEwDOLxl99LyYEmnyN4Qw + ofgyI/4wfZ+CaoCbT9d10V5/tZplNOEOw2b9nAgoH8/eFAtihmyxIjB7O3v3tnd3t3cfvNl9+Oje + g0f3d36KwD7Ls5Zo+KzMgPj3fvFHL2R+n2MeXtbFZVHmFzk1FCQNjrbdi/xKQXTbfJ9GQnN4WYCE + RJfXLaFEb7xeT4lNaQz0QqG0+ckivwItbslcG7+/YY6pQ/AXdTatMHcf7dCHZX6Zl/T72fK8qjG3 + 9OLoIyJeQxNFnzPZAS79Qj57lJK8pNJv6r5ljB6l386zsp1fH6atmYCv3pykj1LMwd3d3bu7B6N0 + 9+DR/d1H9w/Guwe7h+l6VVbZDCRaN9Twy9/r0HLZk2z6lqT7UfpqvQQdD1+u60ui18tyfVEsH6W/ + +JccshgcT9viMn9a1Pm0repr+/XvW/++yzT9fT/64jWh/Pr01U+evvp9P3pEH9B/9NUvOXyUPi8a + GgHBTmkMq6pu051DSNUka/IvaPII3nE9NRD1E2oun6RbL6pWkbszSmk+mAzyJRD46HfDvFCnhEQo + uqocMIfjL2g6ymZsx02fydBPquV5cbGu6cNq6eD/vh+Nft+P6pwQx+cv87qoZmfLp9l1Qz09oO+I + +c6Je/FngMPraxrtYnxSlSWRit5txp/nS3p/OgYh/oDd733vZjRfz4lMb/J68cpg0Ef8pSDgUP7+ + 9+l36R2iRfJAWNT582LCg/ndLrNyzfh+7/u/5JeMUp3odKWUJPWRMj5pRnhf5unMTHY69WkUvtA0 + xLJQNqmwF8+I+/TbNGSCwJ0SDiLCM/pTNAp9UtdVrWxPHxPXANcXpL9fT+f5bE2toWfoq+W6LOkr + YgXpiT6ihpY3+D36hujm2tMwvwSrQZRI7X27Iq2j2BOabtKOa9CVm469tmY6vK877OJ947/4+35E + PePDOI8HfTtuIEiAkddjp8Pdh6p5AHWMfzzQHaS+BkSmHun+VVUs26/qkjGbty1phrt327ykN9v6 + evyLd37JmPwAUv/UOY+2GU+rxd3g9ePV6gxT/Pt+dH9vf+f+QX5ve+/Bzh65GQ8Pth/e25tsT/Zm + u7P8091757M9ItVHv+SX/JJf8v8AiXJJO6kIAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Sat, 18 Nov 2023 18:58:48 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 26242c09-65ac-4a1b-b005-e7b30ec8deea + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 15bc549d-5416-403c-a2ad-dd12cff7e4d2 + x-ms-routing-request-id: + - CENTRALINDIA:20231118T185848Z:26242c09-65ac-4a1b-b005-e7b30ec8deea + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer", + "name": "WindowsAgent.SqlServer", "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus", "properties": {"publisher": "Microsoft.AzureData", "type": + "WindowsAgent.SqlServer", "typeHandlerVersion": "1.1.2504.99", "autoUpgradeMinorVersion": + false, "enableAutomaticUpgrade": true, "settings": {"ExcludedSqlInstances": + [], "SqlManagement": {"IsEnabled": true}, "LicenseType": "Paid", "enableExtendedSecurityUpdates": + false, "esuLastUpdatedTimestamp": "2023-11-17T19:37:50Z", "FeatureFlags": [{"Name": + "LeastPrivilege", "Enable": "False"}, {"Name": "NewFeature", "Enable": true}]}, + "provisioningState": "Succeeded", "instanceView": {"name": "WindowsAgent.SqlServer", + "type": "WindowsAgent.SqlServer", "typeHandlerVersion": "1.1.2504.99", "status": + {"code": "0", "level": "Information", "message": "Extension Message: SQL Server + Extension Agent: Healthy; timestampUTC : 2023/11/18, 18:51:58.181; uploadStatus + : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\"\r\n};: Listening on port 0;DatabaseMonitorArcPlugin: + MonitoringPlugin (NotRunning), SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], Azure + active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2275' + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '' + headers: + Azure-AsyncOperation: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/6d752dd2-db50-4cc1-a82e-ed94e1c3d20e?api-version=2019-08-02-preview&t=638359307301190507&c=MIIHADCCBeigAwIBAgITHgOOZnSUesiIBulFwAAAA45mdDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDUxOTQ3WhcNMjQxMDI2MDUxOTQ3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOtwjRh-1G1a4yBlEy6M1AUa9Hq-Ri3r8iWBtdkLmcsejm48p6INIQx7aREhaizCEfvdoJpt69YKxHHg88zVFCZmcjwwXfyQKfZfKO2LZ0pWDws_OPuxD2zTIQHyZera5VZWwqn0El0Y7Vi7ROfDODi-_coovUwQhkUnnRqi1qHAWHn132H1R0LTlVpve9I6Osbib8lkRd6e4jrVrCT96iC8MJcdr5TVBH8shaJT_PXgda0rZwA_YIKVO8URdjWCaNuuRbkrrCIfoCj0O3tyRVkK4VNNAcWiEZUJVj2Dkzpn6fxA01bNli4-RvP0GQ4rk-cK28IIq9KBLyHA7QLdF80CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBTUZBUS9B61FL0tNpXxcrxMZE6PMzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAKKa3hOZEgZXFsSf1I0yVgExP5QoFqwoL9gFup0ENl3D9BNUuSsJYpNcqCY-6HyZeDCMQWsgI663Hc9xPq-LX47BRWkNpWdV-DOD2BbSL42M7aGdyNxYilWFKeTy-P0vZBhfJQHTsmZCM7T_sGB0iaeJSp03JIWGCbn1iFU8_0PLBRf6Xp18C8Yo-xv1QFPEKvrSSHof-6k2YTbYTIaoJQJ8I-uoFWm0csgtiYn5jiF6Cq1qSsJ1SecSkZ_Be0jsEECNlA26v7Pi_NqL_lKOpi752KtXbvn2IuMAmCQjr28NZz2fcJ1q-3CsBflvJzW1aBnQxCxC19jDjfSiGbcE11A&s=EoOOsytc40RtWhPctQZHvdZbPgDnFU9CzV_sF1Bna9TVe9TQkGwxNMErGxazs1Tiw-fa2fWDY-zo5M2pzqIgAzKKAVxgj6W7Bi6nuTdvBXeIUZfHwnxZTOfdjpGC_cvlAIvhnJfR5PFR2IyYedtskhF6JGS-hLVrcqphbTTlethntIbcUpZ4sWi2uIdjpUAqw1ZFQtifROqeYV9eOuxzBU8yiICFyrlSszHOMdzRBHRDk8bOnW5z8ADXqSIDzR0IDF78blQn8Eb_tPDb01NoAXGK6Lws-1SgHGCqlzB5LR_oWSXEi4H2-vGlkbmTLTE9AR7QiqWH5P_plSiaSU1ZpA&h=5sqn4_r4LIXY9NP5GfVjtF0RFG7bU888N5W1dKxls1s + Cache-Control: + - no-cache + Content-Length: + - '0' + Content-Type: + - application/json + Date: + - Sat, 18 Nov 2023 18:58:49 GMT + Expires: + - '-1' + Location: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/providers/Microsoft.HybridCompute/locations/eastus/operationresults/6d752dd2-db50-4cc1-a82e-ed94e1c3d20e?api-version=2019-08-02-preview&t=638359307301347343&c=MIIHADCCBeigAwIBAgITHgOOZnSUesiIBulFwAAAA45mdDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDUxOTQ3WhcNMjQxMDI2MDUxOTQ3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOtwjRh-1G1a4yBlEy6M1AUa9Hq-Ri3r8iWBtdkLmcsejm48p6INIQx7aREhaizCEfvdoJpt69YKxHHg88zVFCZmcjwwXfyQKfZfKO2LZ0pWDws_OPuxD2zTIQHyZera5VZWwqn0El0Y7Vi7ROfDODi-_coovUwQhkUnnRqi1qHAWHn132H1R0LTlVpve9I6Osbib8lkRd6e4jrVrCT96iC8MJcdr5TVBH8shaJT_PXgda0rZwA_YIKVO8URdjWCaNuuRbkrrCIfoCj0O3tyRVkK4VNNAcWiEZUJVj2Dkzpn6fxA01bNli4-RvP0GQ4rk-cK28IIq9KBLyHA7QLdF80CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBTUZBUS9B61FL0tNpXxcrxMZE6PMzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAKKa3hOZEgZXFsSf1I0yVgExP5QoFqwoL9gFup0ENl3D9BNUuSsJYpNcqCY-6HyZeDCMQWsgI663Hc9xPq-LX47BRWkNpWdV-DOD2BbSL42M7aGdyNxYilWFKeTy-P0vZBhfJQHTsmZCM7T_sGB0iaeJSp03JIWGCbn1iFU8_0PLBRf6Xp18C8Yo-xv1QFPEKvrSSHof-6k2YTbYTIaoJQJ8I-uoFWm0csgtiYn5jiF6Cq1qSsJ1SecSkZ_Be0jsEECNlA26v7Pi_NqL_lKOpi752KtXbvn2IuMAmCQjr28NZz2fcJ1q-3CsBflvJzW1aBnQxCxC19jDjfSiGbcE11A&s=PTsOZfeDHea0nNq4xruDCz1huScpfysG2kk2kBxsssID0rS4guYuX9dGjFB8HPjhmKp-e9LFfGfsNAbvQZJ4YMHZ3MxQGBL6WHjEY3uP87-8ooinV_B-_Q6TXEEUA4Bj3GOQ4HZPxgRCZfPRDgqQ29VlMg8wKaKJcK2IDA33EHQgQQpKj7EcUAgXmxBmhu1r6xVlW_FzdmW8MkwE7YpZiguXjgyND8icbIYKa66Ztl01WmmNxISPX-ovd6r4YEib_XyMrpSErZUl96sVD0CVwaBTOyyEKCoSG1ys9F3_13cffoYsSNpFmhCAUgYmcBjwzFN2yx-vd1giWPLelH81jw&h=sMrggouaR-oU87FJAEEmKMzSrEUpKlD84kPVuHPB4kE + Pragma: + - no-cache + Retry-After: + - '120' + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - debf8b28-7324-48a4-afd5-1110d7a6cf74 + x-ms-ratelimit-remaining-subscription-resource-requests: + - '319' + x-ms-request-id: + - 88a02550-98b2-4fe4-8395-b623551473e6 + x-ms-routing-request-id: + - CENTRALINDIA:20231118T185850Z:debf8b28-7324-48a4-afd5-1110d7a6cf74 + status: + code: 202 + message: Accepted +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_successful_inputs[ARCBOX-SQL-arcee-test-LeastPrivilege-True-LeastPrivilege feature flag successfully updated to True].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_successful_inputs[ARCBOX-SQL-arcee-test-LeastPrivilege-True-LeastPrivilege feature flag successfully updated to True].yaml new file mode 100644 index 00000000000..765a3efe3a8 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_successful_inputs[ARCBOX-SQL-arcee-test-LeastPrivilege-True-LeastPrivilege feature flag successfully updated to True].yaml @@ -0,0 +1,153 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9q7q7q6LGZ53dz9opjWVVOdt+NvX0/qYnZSLVbrNr+7yKbzYpk3d49fnTz5 + 8vfefv0Tz+/m79p82XD/3y2Ws+qqOb7Il+349S8qX+f1ZV5/NPpomS1yQnfw+/Z6he9v7Nb1RS+V + 1TTDuOnFPGvaNT6jIazyui3y5qNHv/ij1XpSFs2cuvBhH/9gXedPszaj9trxRsS+nS1nZV7/JBFG + etsd74737u/sjx8+pCbZuq2+Wl3U2Sz/olhWrt15Vjb56KN8mU3K/JhaLQjdqTb96FFbr+nbJm/b + YnnB6J6+m5brWT4jBM6WTZstpxjG974/+og++SJbZhf5ghBE07PmlMESEwDOLxl99LyYEmnyN4Qw + ofgyI/4wfZ+CaoCbT9d10V5/tZplNOEOw2b9nAgoH8/eFAtihmyxIjB7O3v3tnd3t3cfvNl9+Oje + g0f3d36KwD7Ls5Zo+KzMgPj3fvFHL2R+n2MeXtbFZVHmFzk1FCQNjrbdi/xKQXTbfJ9GQnN4WYCE + RJfXLaFEb7xeT4lNaQz0QqG0+ckivwItbslcG7+/YY6pQ/AXdTatMHcf7dCHZX6Zl/T72fK8qjG3 + 9OLoIyJeQxNFnzPZAS79Qj57lJK8pNJv6r5ljB6l386zsp1fH6atmYCv3pykj1LMwd3d3bu7B6N0 + 9+DR3u6j3f3x/sHOYbpelVU2A4nWDTX88vc6tFz2JJu+Jel+lL5aL0HHw5fr+pLo9bJcXxTLR+kv + /iWHLAbH07a4zJ8WdT5tq/rafv371r/vMk1/34++eE0ovz599ZOnr37fjx7RB/QfffVLDh+lz4uG + RkCwUxrDqqrbdOcQUjXJmvwLmjyCd1xPDUT9hJrLJ+nWi6pV5O6MUpoPJoN8CQQ++t0wL9QpIRGK + rioHzOH4C5qOshnbcdNnMvSTanleXKxr+rBaOvi/70ej3/ejOifE8fnLvC6q2dnyaXbdUE8P6Dti + vnPiXvwZ4PD6mka7GJ9UZUmkoneb8ef5kt6fjkGIP2D3e9+7Gc3XcyLTm7xevDIY9BF/KQg4lL// + ffpdeodokTwQFnX+vJjwYH63y6xcM77f+/4v+SWjVCc6XSklSX2kjE+aEd6XeTozk51OfRqFLzQN + sSyUTSrsxTPiPv02DZkgcKeEg4jwjP4UjUKf1HVVK9vTx8Q1wPUF6e/X03k+W1Nr6Bn6arkuS/qK + WEF6oo+ooeUNfo++Ibq59jTML8FqECVSe9+uSOso9oSmm7TjGnTlpmOvrZkO7+sOu3jf+C/+vh9R + z/gwzuNB344bCBJg5PXY6XD3oWoeQB3jHw90B6mvAZGpR7p/VRXL9qu6ZMzmbUua4e7dNi/pzba+ + Hv/inV8yJj+A1D91zqNtxtNqcTd4/Xi1OsMU/74f3d/b37l/kN/b3nuws0duxsOD7Yf39ibbk73Z + 7iz/dPfe+WyPSPXRL/klv+SX/D+5LSZdqQgAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Sat, 18 Nov 2023 18:33:05 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 7209a9ab-283b-428c-a41f-b07a001d58b8 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 7f817ea9-c96f-4d15-a46c-2e6eaa128eca + x-ms-routing-request-id: + - JIOINDIACENTRAL:20231118T183306Z:7209a9ab-283b-428c-a41f-b07a001d58b8 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer", + "name": "WindowsAgent.SqlServer", "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus", "properties": {"publisher": "Microsoft.AzureData", "type": + "WindowsAgent.SqlServer", "typeHandlerVersion": "1.1.2504.99", "autoUpgradeMinorVersion": + false, "enableAutomaticUpgrade": true, "settings": {"ExcludedSqlInstances": + [], "SqlManagement": {"IsEnabled": true}, "LicenseType": "Paid", "enableExtendedSecurityUpdates": + false, "esuLastUpdatedTimestamp": "2023-11-17T19:37:50Z", "FeatureFlags": [{"Name": + "LeastPrivilege", "Enable": true}, {"Name": "NewFeature", "Enable": true}]}, + "provisioningState": "Succeeded", "instanceView": {"name": "WindowsAgent.SqlServer", + "type": "WindowsAgent.SqlServer", "typeHandlerVersion": "1.1.2504.99", "status": + {"code": "0", "level": "Information", "message": "Extension Message: SQL Server + Extension Agent: Healthy; timestampUTC : 2023/11/18, 18:21:14.480; uploadStatus + : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\"\r\n};: Listening on port 0;DatabaseMonitorArcPlugin: + MonitoringPlugin (NotRunning), SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], Azure + active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2272' + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '' + headers: + Azure-AsyncOperation: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/a700ba8a-8659-4a73-90dc-63fb0c480e54?api-version=2019-08-02-preview&t=638359291885028340&c=MIIHADCCBeigAwIBAgITHgOOTF2IP7nZFyla6AAAA45MXTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDMzOTAzWhcNMjQxMDI2MDMzOTAzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKktUTh2v1SGL7dLk28cowQRt_0hicbpjq4Bo165pqYdhPZdZR58gWiSuY5k5s6B5gMa9D10Xjfynj9LGEik-W98DwEfgm4wXFu78jQJxAv50-XPkoizqK4lbk1wnLh7bItGww4tYgqKKEkO7K5O3rDRvFYOOf2xEYLB3APzCMnKyk0DGyXBYNmhtHajbi3NmP2Qa4wxTHPJpU3LfUuQieDVElhkWThcJRmHKYW0rw63bX9WmJJObX5cFUgKc84g6UBi6duzxAaz6X7E6BvUx9oIXP0_HLcJ9_1rjHbrcy6RUSgXExEtmdQNnKJJri2TccAeaY1Bw303JflacltM28kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBQERNOvwwG8gNC_q_Svo16a4QGpPTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIbmsySIop8ARfn3Uc4sq71s6OlH2KvNhPihjJeCSer2Z9iFHQtTPDG4uuJ6NWaFLOCZGGL_KENGz3J5wbD3b6QrzGDAMSYkyH_vDFv_av_MDo5FN5rlAL5O-ri2cFlO6_woZWUcpZt7fLs8YnJxk5kE8jmNbNapuomF9aKRFS-H2rHeDcsxyRpdmi-Q2OBhUjJ7Y9GDRKPgCNLqKg8Y7P-cE5DkkzRgmcJv1jx9CqIOPFWoHx0Uu7OCEOLyl5rkz-fGlMFCDbyLgSiy8qBFi_m5sg4FCDgMCrODS1dzOU1fuOmoGYbxLd-GoFFfCtcbfRJtQr8D2Bq306YSypf0nWY&s=FU6dKYCsj5MXlk58wasPq4NLi6gWAKHxEu3CsKftKHF1Cj7J2FK0XM6DL9FAgccHQvMdj5mYvSxQgFtZogoN_zjEO-Vz7i_4ft_KX5Sn20FA_w5SF14HLewCmX-hkDZbx6KD0KA8H_W6UyaySssunImUeQY-XdSA1wadaA4CPHR_6lyXwzjEz9_4_U1x5ykEAhakOZr9KV6jbKsPmA2obZOk7adWfgijABLdV_MQbUfwCUF-tGQgVR1rS-58mWx9ezP7BsrdXINY-lWSuGGLSycWITOEtR6GiDgS9Biubx5Y4mwmH-IC_J_-wwDbn9q70FqQCFUrS0RQyufy1_yo9A&h=prhF9AfhLNfNZeWZvZ4RU9F_s0opj909DaRcGxamq2Q + Cache-Control: + - no-cache + Content-Length: + - '0' + Content-Type: + - application/json + Date: + - Sat, 18 Nov 2023 18:33:07 GMT + Expires: + - '-1' + Location: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/providers/Microsoft.HybridCompute/locations/eastus/operationresults/a700ba8a-8659-4a73-90dc-63fb0c480e54?api-version=2019-08-02-preview&t=638359291885028340&c=MIIHADCCBeigAwIBAgITHgOOTF2IP7nZFyla6AAAA45MXTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDMzOTAzWhcNMjQxMDI2MDMzOTAzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKktUTh2v1SGL7dLk28cowQRt_0hicbpjq4Bo165pqYdhPZdZR58gWiSuY5k5s6B5gMa9D10Xjfynj9LGEik-W98DwEfgm4wXFu78jQJxAv50-XPkoizqK4lbk1wnLh7bItGww4tYgqKKEkO7K5O3rDRvFYOOf2xEYLB3APzCMnKyk0DGyXBYNmhtHajbi3NmP2Qa4wxTHPJpU3LfUuQieDVElhkWThcJRmHKYW0rw63bX9WmJJObX5cFUgKc84g6UBi6duzxAaz6X7E6BvUx9oIXP0_HLcJ9_1rjHbrcy6RUSgXExEtmdQNnKJJri2TccAeaY1Bw303JflacltM28kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBQERNOvwwG8gNC_q_Svo16a4QGpPTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIbmsySIop8ARfn3Uc4sq71s6OlH2KvNhPihjJeCSer2Z9iFHQtTPDG4uuJ6NWaFLOCZGGL_KENGz3J5wbD3b6QrzGDAMSYkyH_vDFv_av_MDo5FN5rlAL5O-ri2cFlO6_woZWUcpZt7fLs8YnJxk5kE8jmNbNapuomF9aKRFS-H2rHeDcsxyRpdmi-Q2OBhUjJ7Y9GDRKPgCNLqKg8Y7P-cE5DkkzRgmcJv1jx9CqIOPFWoHx0Uu7OCEOLyl5rkz-fGlMFCDbyLgSiy8qBFi_m5sg4FCDgMCrODS1dzOU1fuOmoGYbxLd-GoFFfCtcbfRJtQr8D2Bq306YSypf0nWY&s=Xv2Yoee2jwDuM3sXbSTXMafoj2L-_KYZ8OX8FTVtOBUuAn0a74OKQU0CYcj1SX5ZyomTsorbl_gmqH7zofrYKGErLc1pYk6T3LRBkob9jOVNHo2pE3iPNDJTRM6qdWGtXV_Xu9EeJ2I7nwtLGLaRPNmWuEfrCmQziIzMZIY7yEw0W8MhqJxy5YXzkyIdBm8VVpSq7NJzh2_pg5D9Mccpm3AC-xWp7U552AQH4DBpIS3zOtCDMjCeW33n9FTZj76NFuBwjU3ntlYW-QXEQNi5i5a_0y1BE9b1VhvSBn_EZUb3MbrQQDdHSdcuRoG39MzlFHFxZUHx9K7CYJ3v3zUXgA&h=WFmMo448LglsXBx2c6PQQW9XyZ6jqWBc1HLEE7NeYyY + Pragma: + - no-cache + Retry-After: + - '120' + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - c5c0f6da-3a99-4961-b84a-f312533c4326 + x-ms-ratelimit-remaining-subscription-resource-requests: + - '319' + x-ms-request-id: + - 440c5a83-971b-4f86-a0bd-887164c36859 + x-ms-routing-request-id: + - JIOINDIACENTRAL:20231118T183308Z:c5c0f6da-3a99-4961-b84a-f312533c4326 + status: + code: 202 + message: Accepted +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_successful_inputs[ARCBOX-SQL-arcee-test-NewFeature-True-NewFeature feature flag successfully updated to True].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_successful_inputs[ARCBOX-SQL-arcee-test-NewFeature-True-NewFeature feature flag successfully updated to True].yaml new file mode 100644 index 00000000000..26012964e0e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_set.test_successful_inputs[ARCBOX-SQL-arcee-test-NewFeature-True-NewFeature feature flag successfully updated to True].yaml @@ -0,0 +1,153 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9q7q7q6LGZ53dz9opjWVVOdt+NvX0/qYnZSLVbrNr+7yKbzYpk3d49fnTz5 + 8vfefv0Tz+/m79p82XD/3y2Ws+qqOb7Il+349S8qX+f1ZV5/NPpomS1yQnfw+/Z6he9v7Nb1RS+V + 1TTDuOnFPGvaNT6jIazyui3y5qNHv/ij1XpSFs2cuvBhH/9gXedPszaj9trxRsS+nS1nZV7/JBFG + etsd74737u/sjx8+pCbZuq2+Wl3U2Sz/olhWrt15Vjb56KN8mU3K/JhaLQjdqTb96FFbr+nbJm/b + YnnB6J6+m5brWT4jBM6WTZstpxjG974/+og++SJbZhf5ghBE07PmlMESEwDOLxl99LyYEmnyN4Qw + ofgyI/4wfZ+CaoCbT9d10V5/tZplNOEOw2b9nAgoH8/eFAtihmyxIjB7O3v3tnd3t3cfvNl9+Oje + g0f3d36KwD7Ls5Zo+KzMgPj3fvFHL2R+n2MeXtbFZVHmFzk1FCQNjrbdi/xKQXTbfJ9GQnN4WYCE + RJfXLaFEb7xeT4lNaQz0QqG0+ckivwItbslcG7+/YY6pQ/AXdTatMHcf7dCHZX6Zl/T72fK8qjG3 + 9OLoIyJeQxNFnzPZAS79Qj57lJK8pNJv6r5ljB6l386zsp1fH6atmYCv3pykj1LMwd3d3bu7B6N0 + 9+DRvU8f7RFyD3YP0/WqrLIZSLRuqOGXv9eh5bIn2fQtSfej9NV6CToevlzXl0Svl+X6olg+Sn/x + LzlkMTietsVl/rSo82lb1df269+3/n2Xafr7fvTFa0L59emrnzx99ft+9Ig+oP/oq19y+Ch9XjQ0 + AoKd0hhWVd2mO4eQqknW5F/Q5BG843pqIOon1Fw+SbdeVK0id2eU0nwwGeRLIPDR74Z5oU4JiVB0 + VTlgDsdf0HSUzdiOmz6ToZ9Uy/PiYl3Th9XSwf99Pxr9vh/VOSGOz1/mdVHNzpZPs+uGenpA3xHz + nRP34s8Ah9fXNNrF+KQqSyIVvduMP8+X9P50DEL8Abvf+97NaL6eE5ne5PXilcGgj/hLQcCh/P3v + 0+/SO0SL5IGwqPPnxYQH87tdZuWa8f3e93/JLxmlOtHpSilJ6iNlfNKM8L7M05mZ7HTq0yh8oWmI + ZaFsUmEvnhH36bdpyASBOyUcRIRn9KdoFPqkrqta2Z4+Jq4Bri9If7+ezvPZmlpDz9BXy3VZ0lfE + CtITfUQNLW/we/QN0c21p2F+CVaDKJHa+3ZFWkexJzTdpB3XoCs3HXttzXR4X3fYxfvGf/H3/Yh6 + xodxHg/6dtxAkAAjr8dOh7sPVfMA6hj/eKA7SH0NiEw90v2rqli2X9UlYzZvW9IMd++2eUlvtvX1 + +Bfv/JIx+QGk/qlzHm0znlaLu8Hrx6vVGab49/3o/t7+zv2D/N723oOdPXIzHh5sP7y3N9me7M12 + Z/mnu/fOZ3tEqo9+yS/5Jb/k/wFQ54WYqQgAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Sat, 18 Nov 2023 18:39:09 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - a1ba886a-4a05-4044-bcdc-0fae11831b22 + x-ms-ratelimit-remaining-subscription-reads: + - '11984' + x-ms-request-id: + - 186c12d7-75b7-48a3-a623-3c0ea8ac136c + x-ms-routing-request-id: + - CENTRALINDIA:20231118T183910Z:a1ba886a-4a05-4044-bcdc-0fae11831b22 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer", + "name": "WindowsAgent.SqlServer", "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus", "properties": {"publisher": "Microsoft.AzureData", "type": + "WindowsAgent.SqlServer", "typeHandlerVersion": "1.1.2504.99", "autoUpgradeMinorVersion": + false, "enableAutomaticUpgrade": true, "settings": {"ExcludedSqlInstances": + [], "SqlManagement": {"IsEnabled": true}, "LicenseType": "Paid", "enableExtendedSecurityUpdates": + false, "esuLastUpdatedTimestamp": "2023-11-17T19:37:50Z", "FeatureFlags": [{"Name": + "LeastPrivilege", "Enable": true}, {"Name": "NewFeature", "Enable": true}]}, + "provisioningState": "Succeeded", "instanceView": {"name": "WindowsAgent.SqlServer", + "type": "WindowsAgent.SqlServer", "typeHandlerVersion": "1.1.2504.99", "status": + {"code": "0", "level": "Information", "message": "Extension Message: SQL Server + Extension Agent: Healthy; timestampUTC : 2023/11/18, 18:36:21.171; uploadStatus + : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\"\r\n};: Listening on port 0;DatabaseMonitorArcPlugin: + MonitoringPlugin (NotRunning), SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], Azure + active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}"}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2272' + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '' + headers: + Azure-AsyncOperation: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/5a03ff25-9c99-435c-8c15-12e5204b4bc5?api-version=2019-08-02-preview&t=638359295516896112&c=MIIHADCCBeigAwIBAgITHgOOZnSUesiIBulFwAAAA45mdDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDUxOTQ3WhcNMjQxMDI2MDUxOTQ3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOtwjRh-1G1a4yBlEy6M1AUa9Hq-Ri3r8iWBtdkLmcsejm48p6INIQx7aREhaizCEfvdoJpt69YKxHHg88zVFCZmcjwwXfyQKfZfKO2LZ0pWDws_OPuxD2zTIQHyZera5VZWwqn0El0Y7Vi7ROfDODi-_coovUwQhkUnnRqi1qHAWHn132H1R0LTlVpve9I6Osbib8lkRd6e4jrVrCT96iC8MJcdr5TVBH8shaJT_PXgda0rZwA_YIKVO8URdjWCaNuuRbkrrCIfoCj0O3tyRVkK4VNNAcWiEZUJVj2Dkzpn6fxA01bNli4-RvP0GQ4rk-cK28IIq9KBLyHA7QLdF80CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBTUZBUS9B61FL0tNpXxcrxMZE6PMzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAKKa3hOZEgZXFsSf1I0yVgExP5QoFqwoL9gFup0ENl3D9BNUuSsJYpNcqCY-6HyZeDCMQWsgI663Hc9xPq-LX47BRWkNpWdV-DOD2BbSL42M7aGdyNxYilWFKeTy-P0vZBhfJQHTsmZCM7T_sGB0iaeJSp03JIWGCbn1iFU8_0PLBRf6Xp18C8Yo-xv1QFPEKvrSSHof-6k2YTbYTIaoJQJ8I-uoFWm0csgtiYn5jiF6Cq1qSsJ1SecSkZ_Be0jsEECNlA26v7Pi_NqL_lKOpi752KtXbvn2IuMAmCQjr28NZz2fcJ1q-3CsBflvJzW1aBnQxCxC19jDjfSiGbcE11A&s=YQon1AsqdMIjkkKSMTMWbn9JbP2iG8MOLvAmQH11Ce3bDuv1HJ6bqObNFKDsT1309rxbYlzIhKNBXb5qidrrEKN9YMY4CROlbKgntzkz7hVokH-crT5Cng0QAgAo_8ygDY30jf14Mry7P82ODB9O3KOTbRgGhu-Gz2LYfe_n1IYCEOyWGPanurRBmyaclgHkwjU_qPFdIan_Ex2ROGBupdKnEYFV07so0-KTRzofSqTzEZFLCjPEu_NXOu56_yTDvpVrHgO-zry2LWLMPiOvyoIElHQIfxs0JOEyQ7norfJEO6M4hLnzjPYj3SzAQoEUenUHRtYsNWZ6L4pUpXBlTA&h=I_vp79cnKt6PxZB8h_JWPryqU9nj5R1s9uBK8l270pI + Cache-Control: + - no-cache + Content-Length: + - '0' + Content-Type: + - application/json + Date: + - Sat, 18 Nov 2023 18:39:10 GMT + Expires: + - '-1' + Location: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/providers/Microsoft.HybridCompute/locations/eastus/operationresults/5a03ff25-9c99-435c-8c15-12e5204b4bc5?api-version=2019-08-02-preview&t=638359295516896112&c=MIIHADCCBeigAwIBAgITHgOOZnSUesiIBulFwAAAA45mdDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDUxOTQ3WhcNMjQxMDI2MDUxOTQ3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOtwjRh-1G1a4yBlEy6M1AUa9Hq-Ri3r8iWBtdkLmcsejm48p6INIQx7aREhaizCEfvdoJpt69YKxHHg88zVFCZmcjwwXfyQKfZfKO2LZ0pWDws_OPuxD2zTIQHyZera5VZWwqn0El0Y7Vi7ROfDODi-_coovUwQhkUnnRqi1qHAWHn132H1R0LTlVpve9I6Osbib8lkRd6e4jrVrCT96iC8MJcdr5TVBH8shaJT_PXgda0rZwA_YIKVO8URdjWCaNuuRbkrrCIfoCj0O3tyRVkK4VNNAcWiEZUJVj2Dkzpn6fxA01bNli4-RvP0GQ4rk-cK28IIq9KBLyHA7QLdF80CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBTUZBUS9B61FL0tNpXxcrxMZE6PMzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAKKa3hOZEgZXFsSf1I0yVgExP5QoFqwoL9gFup0ENl3D9BNUuSsJYpNcqCY-6HyZeDCMQWsgI663Hc9xPq-LX47BRWkNpWdV-DOD2BbSL42M7aGdyNxYilWFKeTy-P0vZBhfJQHTsmZCM7T_sGB0iaeJSp03JIWGCbn1iFU8_0PLBRf6Xp18C8Yo-xv1QFPEKvrSSHof-6k2YTbYTIaoJQJ8I-uoFWm0csgtiYn5jiF6Cq1qSsJ1SecSkZ_Be0jsEECNlA26v7Pi_NqL_lKOpi752KtXbvn2IuMAmCQjr28NZz2fcJ1q-3CsBflvJzW1aBnQxCxC19jDjfSiGbcE11A&s=dTsEo4KqsFlS68dzm-Xcd8_abg64LCOFonutZIikIMS7zsTTffuLbVIrvtJvhisUzMHr-ompzhvpwFIZqOwyRyl8lpdpXyH4l26E84BKw5Hgy8L4H4esKPeP-CXNXDji0bud3QhK7NdI0tv_YdXKMD_zkCYL_BqCLuW-nTDRIZLv9lZ674uB7hWYWVjgm6WyxzOZqur0n_Tg0clTKY8vBSNVWYcd7w5Gex3FNpRvFHUUU2YOY4W_t2OfPLv8ZS65XAgYXoKdN0jjFBgLV2wSLrfDy1kkTiqnUdhj7rPB21JMWw7D13AHfbR3VDJNxSXyqXsrvvfKxy1CBhmi2lYIjg&h=CCP4sQ_CkNmUekNzpnK5sRgC-8G9Up0GSxQeNl7HEQY + Pragma: + - no-cache + Retry-After: + - '120' + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - fcff8789-6de0-4c21-80ad-de72a2d910fb + x-ms-ratelimit-remaining-subscription-resource-requests: + - '319' + x-ms-request-id: + - b2a1a12f-cc50-4df0-8b40-c6e9548b4abb + x-ms-routing-request-id: + - CENTRALINDIA:20231118T183911Z:fcff8789-6de0-4c21-80ad-de72a2d910fb + status: + code: 202 + message: Accepted +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_ff_added[ARCBOX-SQL-arcee-test-LeastPrivilege].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_ff_added[ARCBOX-SQL-arcee-test-LeastPrivilege].yaml new file mode 100644 index 00000000000..d7e7ff8e87c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_ff_added[ARCBOX-SQL-arcee-test-LeastPrivilege].yaml @@ -0,0 +1,77 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9q7q7q6LGZ53dz9opjWVVOdt+NvX0/qYnZSLVbrNr+7yKbzYpk3d49fnTz5 + 8vfefv0Tz+/m79p82XD/3y2Ws+qqOb7Il+349S8qX+f1ZV5/NPpomS1yQnfw+/Z6he9v7Nb1RS+V + 1TTDuOnFPGvaNT6jIazyui3y5qNHv/ij1XpSFs2cuvBhH/9gXedPszaj9trxRsS+nS1nZV7/JBFG + etsd74737u/sjx8+pCbZuq2+Wl3U2Sz/olhWrt15Vjb56KN8mU3K/JhaLQjdqTb96FFbr+nbJm/b + YnnB6J6+m5brWT4jBM6WTZstpxjG974/+uhZnrWE9LMyQ8vv/eKPXghBSwx8VReXRZlf5ITMKXcm + wH/JyLZ7kV8pCK8N4/dLCPrzYkpUzd/QWKnty4xYa/QRIfFFtswu8gXRBNidNfIi8Z1A15GdYk6A + dT5d10V7/dVqlhE7KXxq1ayfE5by8exNsSBWyxYr6mlvZ+/e9u7u9u6DN7sPH9178Oj+zk99RHBp + Ei8L0JAI87qlt6jt6/WU+JS6IdQKJc5PFvkVMLsld238/oZJpg7BYNTZtMLkfbRDH5b5ZV7S72fL + 86rG5NKLo49ofA2RjT5nygBc+oV89iglgUml39R9yxg9Sr+dZ2U7vz5MW0Ojr96cpI9SkOnu7u7d + vXujdOf+o/29R3t74wcP7h+m61VZZTOQaN1Qwy9/r0PLZk+y6VsS70fpq/USdDx8ua4viV4vy/VF + sXyU/uJfcshycDxti8v8aVHn07aqr+3Xv2/9+y7T9Pf96IvXhPLr01c/efrq9/3oEX1A/9FXv+Tw + Ufq8aGgEBDulMayquk13DiFWk6zJv6DJI3jH9dRA1E+ouXySbr2oWkXuziil+WAyyJdA4KPfDfNC + nRISoeyqdsAcjr+g6SibsR03fSZDP6mW58XFuqYPq6WD//t+NPp9P6pzQhyfv8zropqdLZ9m1w31 + 9IC+I+Y7J2nCnwEOr69ptIvxSVWWRCp6txl/ni/p/ekYhPgDdr/3vZvRfD0nMr3J68Urg0Ef8ZeC + gEP5+9+n36X3lyTqJA+ERZ0/LyY8mN/tMivXjO/3vv9Lfsko1YlOV0pJ0h8p45NmhPdlns7MZKdT + n0bhC01DLAvRT4W9eEbcp9+mIRME7pRwUM1Af4rQ0yd1XdXK9vQxcQ1wfUEK/PV0ns/W1BqqgL5a + rsuSviJWkJ7oI2poeYPfo2+Ibq49DfNLsBpEiZTXt6smzjjHNejKTcdeWzMd3tcddvG+8V/8fUk9 + pfgwzuNB344bCBJg5PXYaVT3oWoeQB3jHw90B6mvAZGpR+p5VRXL9qu6ZMzmbUua4e7dNi/pzba+ + Hv/inV8yJkeANDR1zqNtxtNqcTd4/Xi1OsMU/74f3d/b37l/kN/b3nuws0d+xsOD7Yf39ibbk73Z + 7iz/dPfe+WyPSPXRL/klv+SX/D9iffsxqggAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 23 Nov 2023 05:49:29 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - a4941c8f-adf7-40a8-bdc9-76b7d954b6e8 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 3de7d2d2-62a1-45db-b76f-0cf6a2ad0d7d + x-ms-routing-request-id: + - CENTRALINDIA:20231123T054929Z:a4941c8f-adf7-40a8-bdc9-76b7d954b6e8 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_ff_added[ARCBOX-SQL-arcee-test-None].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_ff_added[ARCBOX-SQL-arcee-test-None].yaml new file mode 100644 index 00000000000..33289852d44 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_ff_added[ARCBOX-SQL-arcee-test-None].yaml @@ -0,0 +1,77 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9q7q7q6LGZ53dz9opjWVVOdt+NvX0/qYnZSLVbrNr+7yKbzYpk3d49fnTz5 + 8vfefv0Tz+/m79p82XD/3y2Ws+qqOb7Il+349S8qX+f1ZV5/NPpomS1yQnfw+/Z6he9v7Nb1RS+V + 1TTDuOnFPGvaNT6jIazyui3y5qNHv/ij1XpSFs2cuvBhH/9gXedPszaj9trxRsS+nS1nZV7/JBFG + etsd74737u/sjx8+pCbZuq2+Wl3U2Sz/olhWrt15Vjb56KN8mU3K/JhaLQjdqTb96FFbr+nbJm/b + YnnB6J6+m5brWT4jBM6WTZstpxjG974/+uhZnrWE9LMyQ8vv/eKPXghBSwx8VReXRZlf5ITMKXcm + wH/JyLZ7kV8pCK8N4/dLCPrzYkpUzd/QWKnty4xYa/QRIfFFtswu8gXRBNidNfIi8Z1A15GdYk6A + dT5d10V7/dVqlhE7KXxq1ayfE5by8exNsSBWyxYr6mlvZ+/e9u7u9u6DN7sPH9178Oj+zk99RHBp + Ei8L0JAI87qlt6jt6/WU+JS6IdQKJc5PFvkVMLsld238/oZJpg7BYNTZtMLkfbRDH5b5ZV7S72fL + 86rG5NKLo49ofA2RjT5nygBc+oV89iglgUml39R9yxg9Sr+dZ2U7vz5MW0Ojr96cpI9SkOnu7u7d + vXujdOf+o/29R3t74wcP7h+m61VZZTOQaN1Qwy9/r0PLZk+y6VsS70fpq/USdDx8ua4viV4vy/VF + sXyU/uJfcshycDxti8v8aVHn07aqr+3Xv2/9+y7T9Pf96IvXhPLr01c/efrq9/3oEX1A/9FXv+Tw + Ufq8aGgEBDulMayquk13DiFWk6zJv6DJI3jH9dRA1E+ouXySbr2oWkXuziil+WAyyJdA4KPfDfNC + nRISoeyqdsAcjr+g6SibsR03fSZDP6mW58XFuqYPq6WD//t+NPp9P6pzQhyfv8zropqdLZ9m1w31 + 9IC+I+Y7J2nCnwEOr69ptIvxSVWWRCp6txl/ni/p/ekYhPgDdr/3vZvRfD0nMr3J68Urg0Ef8ZeC + gEP5+9+n36X3lyTqJA+ERZ0/LyY8mN/tMivXjO/3vv9Lfsko1YlOV0pJ0h8p45NmhPdlns7MZKdT + n0bhC01DLAvRT4W9eEbcp9+mIRME7pRwUM1Af4rQ0yd1XdXK9vQxcQ1wfUEK/PV0ns/W1BqqgL5a + rsuSviJWkJ7oI2poeYPfo2+Ibq49DfNLsBpEiZTXt6smzjjHNejKTcdeWzMd3tcddvG+8V/8fUk9 + pfgwzuNB344bCBJg5PXYaVT3oWoeQB3jHw90B6mvAZGpR+p5VRXL9qu6ZMzmbUua4e7dNi/pzba+ + Hv/inV8yJkeANDR1zqNtxtNqcTd4/Xi1OsMU/74f3d/b37l/kN/b3nuws0d+xsOD7Yf39ibbk73Z + 7iz/dPfe+WyPSPXRL/klv+SX/D9iffsxqggAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 23 Nov 2023 05:49:31 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 396acca5-f414-483e-895d-261534d90e4f + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 2c6dfc16-8f1f-4c5f-8005-1b24b3936478 + x-ms-routing-request-id: + - CENTRALINDIA:20231123T054931Z:396acca5-f414-483e-895d-261534d90e4f + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_ff_added[ARCBOX-SQL-arcee-test-randomFeature].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_ff_added[ARCBOX-SQL-arcee-test-randomFeature].yaml new file mode 100644 index 00000000000..6851f695db9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_ff_added[ARCBOX-SQL-arcee-test-randomFeature].yaml @@ -0,0 +1,77 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9q7q7q6LGZ53dz9opjWVVOdt+NvX0/qYnZSLVbrNr+7yKbzYpk3d49fnTz5 + 8vfefv0Tz+/m79p82XD/3y2Ws+qqOb7Il+349S8qX+f1ZV5/NPpomS1yQnfw+/Z6he9v7Nb1RS+V + 1TTDuOnFPGvaNT6jIazyui3y5qNHv/ij1XpSFs2cuvBhH/9gXedPszaj9trxRsS+nS1nZV7/JBFG + etsd74737u/sjx8+pCbZuq2+Wl3U2Sz/olhWrt15Vjb56KN8mU3K/JhaLQjdqTb96FFbr+nbJm/b + YnnB6J6+m5brWT4jBM6WTZstpxjG974/+uhZnrWE9LMyQ8vv/eKPXghBSwx8VReXRZlf5ITMKXcm + wH/JyLZ7kV8pCK8N4/dLCPrzYkpUzd/QWKnty4xYa/QRIfFFtswu8gXRBNidNfIi8Z1A15GdYk6A + dT5d10V7/dVqlhE7KXxq1ayfE5by8exNsSBWyxYr6mlvZ+/e9u7u9u6DN7sPH9178Oj+zk99RHBp + Ei8L0JAI87qlt6jt6/WU+JS6IdQKJc5PFvkVMLsld238/oZJpg7BYNTZtMLkfbRDH5b5ZV7S72fL + 86rG5NKLo49ofA2RjT5nygBc+oV89iglgUml39R9yxg9Sr+dZ2U7vz5MW0Ojr96cpI9SkOnu7u7d + vXujdOf+o/29R3t74wcP7h+m61VZZTOQaN1Qwy9/r0PLZk+y6VsS70fpq/USdDx8ua4viV4vy/VF + sXyU/uJfcshycDxti8v8aVHn07aqr+3Xv2/9+y7T9Pf96IvXhPLr01c/efrq9/3oEX1A/9FXv+Tw + Ufq8aGgEBDulMayquk13DiFWk6zJv6DJI3jH9dRA1E+ouXySbr2oWkXuziil+WAyyJdA4KPfDfNC + nRISoeyqdsAcjr+g6SibsR03fSZDP6mW58XFuqYPq6WD//t+NPp9P6pzQhyfv8zropqdLZ9m1w31 + 9IC+I+Y7J2nCnwEOr69ptIvxSVWWRCp6txl/ni/p/ekYhPgDdr/3vZvRfD0nMr3J68Urg0Ef8ZeC + gEP5+9+n36X3lyTqJA+ERZ0/LyY8mN/tMivXjO/3vv9Lfsko1YlOV0pJ0h8p45NmhPdlns7MZKdT + n0bhC01DLAvRT4W9eEbcp9+mIRME7pRwUM1Af4rQ0yd1XdXK9vQxcQ1wfUEK/PV0ns/W1BqqgL5a + rsuSviJWkJ7oI2poeYPfo2+Ibq49DfNLsBpEiZTXt6smzjjHNejKTcdeWzMd3tcddvG+8V/8fUk9 + pfgwzuNB344bCBJg5PXYaVT3oWoeQB3jHw90B6mvAZGpR+p5VRXL9qu6ZMzmbUua4e7dNi/pzba+ + Hv/inV8yJkeANDR1zqNtxtNqcTd4/Xi1OsMU/74f3d/b37l/kN/b3nuws0d+xsOD7Yf39ibbk73Z + 7iz/dPfe+WyPSPXRL/klv+SX/D9iffsxqggAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 23 Nov 2023 05:49:33 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 3e75b236-04ab-4dca-8139-df1b3ebbc88d + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 6437732c-b601-4abd-a7bb-f5fb57bc4505 + x-ms-routing-request-id: + - CENTRALINDIA:20231123T054933Z:3e75b236-04ab-4dca-8139-df1b3ebbc88d + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_no_ff_added[ARCBOX-SQL-arcee-test-Feature].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_no_ff_added[ARCBOX-SQL-arcee-test-Feature].yaml new file mode 100644 index 00000000000..d6d2cc43f6f --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_no_ff_added[ARCBOX-SQL-arcee-test-Feature].yaml @@ -0,0 +1,76 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9q7q7q6LGZ53dz9opjWVVOdt+NvX0/qYnZSLVbrNr+7yKbzYpk3d49fnTz5 + 8vfefv0Tz+/m79p82XD/3y2Ws+qqOb7Il+349S8qX+f1ZV5/NPpomS1yQnfw+/Z6he9v7Nb1RS+V + 1TTDuOnFPGvaNT6jIazyui3y5qNHv/ij1XpSFs2cuvBhH/9gXedPszaj9trxRsS+nS1nZV7/JBFG + etsd74737u/sjx8+pCbZuq2+Wl3U2Sz/olhWrt15Vjb56KN8mU3K/JhaLQjdqTb96FFbr+nbJm/b + YnnB6J6+m5brWT4jBM6WTZstpxjG974/+uhZnrWE9LMyQ0t88ryYEiXyN4QfYfQyI3YYfUQvfpEt + s4t8QeMAxLPmlHsnXkF3v8Rgcwo6oqd8uq6L9vqr1SwjFnA4N+vnRFL5ePamWBB7ZIsV9bS3s3dv + e3d3e/fBm92Hj+49eHR/56c+IrhE+MsC46bBvG7pLWr7ej0l3qJuCLVCB/STRX4FzG7JERu/v2Fi + qEMwBXU2rUDwj3bowzK/zEv6/Wx5XtWYEHpx9BGNryGy0edMGYBLv5DPHqXE5Kn0m7pvGaNH6bfz + rGzn14dpa2j01ZuT9FEKMt3d3b27tzdKd3ce3dt5tP/peG9v/zBdr8oqm4FE64Yafvl7HVrWeJJN + 35JIPkpfrZeg4+HLdX1J9HpZri+K5aP0F/+SQ+bd42lbXOZPizqftlV9bb/+fevfd5mmv+9HX7wm + lF+fvvrJ01e/70eP6AP6j776JYeP0udFQyMg2CmNYVXVbbpzCFGYZE3+BU0ewTuupwaifkLN5ZN0 + 60XVKnJ3RinNB5NBvgQCH/1umBfqlJAI5U0lGnM4/oKmo2zGdtz0mQz9pFqeFxfrmj6slg7+7/vR + 6Pf9qM4JcXz+Mq+Lana2fJpdN9TTA/qOmO+8KHP8GeDw+ppGuxifVGVJpKJ3m/Hn+ZLen45BiD9g + 93vfuxnN13Mi05u8XrwyGPQRfykIOJS//336XXp/WReXJA+ERZ0/LyY8mN/tMivXjO/3vv9Lfsko + 1YlOV0pJkvCU8UkzwvsyT2dmstOpT6PwhaYhloXop8JePCPu02/TkAkCd0o4qGagP0Xo6ZO6rmpl + e/qYuAa4viCl+3o6z2drag1VQF8t12VJXxErSE/0ETW0vMHv0TdEN9eehvklWA2iRMrr21UTZ5zj + GnTlpmOvrZkO7+sOu3jf+C/+vqSeUnwY5/Ggb8cNBAkw8nrsNKr7UDUPoI7xjwe6g9TXgMjUI/W8 + qopl+1VdMmbztiXNcPdum5f0Zltfj3/xzi8Zk/EmDU2d82ib8bRa3A1eP16tzjDFv+9H9/f2d+4f + 5Pe29x7s7JFv8PBg++G9vcn2ZG+2O8s/3b13PtsjUn30S37JL/kl/w/UzQfzXggAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 22 Nov 2023 10:31:10 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - a1f316b2-bb5d-4e40-8d8f-2365bf7966ac + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 02e30f0c-50ad-446f-9781-4e92512adbf9 + x-ms-routing-request-id: + - CENTRALINDIA:20231122T103111Z:a1f316b2-bb5d-4e40-8d8f-2365bf7966ac + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_no_ff_added[ARCBOX-SQL-arcee-test-LeastPrivilege-Feature flag not found for LeastPrivilege.].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_no_ff_added[ARCBOX-SQL-arcee-test-LeastPrivilege-Feature flag not found for LeastPrivilege.].yaml new file mode 100644 index 00000000000..d6d2cc43f6f --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_no_ff_added[ARCBOX-SQL-arcee-test-LeastPrivilege-Feature flag not found for LeastPrivilege.].yaml @@ -0,0 +1,76 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9q7q7q6LGZ53dz9opjWVVOdt+NvX0/qYnZSLVbrNr+7yKbzYpk3d49fnTz5 + 8vfefv0Tz+/m79p82XD/3y2Ws+qqOb7Il+349S8qX+f1ZV5/NPpomS1yQnfw+/Z6he9v7Nb1RS+V + 1TTDuOnFPGvaNT6jIazyui3y5qNHv/ij1XpSFs2cuvBhH/9gXedPszaj9trxRsS+nS1nZV7/JBFG + etsd74737u/sjx8+pCbZuq2+Wl3U2Sz/olhWrt15Vjb56KN8mU3K/JhaLQjdqTb96FFbr+nbJm/b + YnnB6J6+m5brWT4jBM6WTZstpxjG974/+uhZnrWE9LMyQ0t88ryYEiXyN4QfYfQyI3YYfUQvfpEt + s4t8QeMAxLPmlHsnXkF3v8Rgcwo6oqd8uq6L9vqr1SwjFnA4N+vnRFL5ePamWBB7ZIsV9bS3s3dv + e3d3e/fBm92Hj+49eHR/56c+IrhE+MsC46bBvG7pLWr7ej0l3qJuCLVCB/STRX4FzG7JERu/v2Fi + qEMwBXU2rUDwj3bowzK/zEv6/Wx5XtWYEHpx9BGNryGy0edMGYBLv5DPHqXE5Kn0m7pvGaNH6bfz + rGzn14dpa2j01ZuT9FEKMt3d3b27tzdKd3ce3dt5tP/peG9v/zBdr8oqm4FE64Yafvl7HVrWeJJN + 35JIPkpfrZeg4+HLdX1J9HpZri+K5aP0F/+SQ+bd42lbXOZPizqftlV9bb/+fevfd5mmv+9HX7wm + lF+fvvrJ01e/70eP6AP6j776JYeP0udFQyMg2CmNYVXVbbpzCFGYZE3+BU0ewTuupwaifkLN5ZN0 + 60XVKnJ3RinNB5NBvgQCH/1umBfqlJAI5U0lGnM4/oKmo2zGdtz0mQz9pFqeFxfrmj6slg7+7/vR + 6Pf9qM4JcXz+Mq+Lana2fJpdN9TTA/qOmO+8KHP8GeDw+ppGuxifVGVJpKJ3m/Hn+ZLen45BiD9g + 93vfuxnN13Mi05u8XrwyGPQRfykIOJS//336XXp/WReXJA+ERZ0/LyY8mN/tMivXjO/3vv9Lfsko + 1YlOV0pJkvCU8UkzwvsyT2dmstOpT6PwhaYhloXop8JePCPu02/TkAkCd0o4qGagP0Xo6ZO6rmpl + e/qYuAa4viCl+3o6z2drag1VQF8t12VJXxErSE/0ETW0vMHv0TdEN9eehvklWA2iRMrr21UTZ5zj + GnTlpmOvrZkO7+sOu3jf+C/+vqSeUnwY5/Ggb8cNBAkw8nrsNKr7UDUPoI7xjwe6g9TXgMjUI/W8 + qopl+1VdMmbztiXNcPdum5f0Zltfj3/xzi8Zk/EmDU2d82ib8bRa3A1eP16tzjDFv+9H9/f2d+4f + 5Pe29x7s7JFv8PBg++G9vcn2ZG+2O8s/3b13PtsjUn30S37JL/kl/w/UzQfzXggAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 22 Nov 2023 10:31:10 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - a1f316b2-bb5d-4e40-8d8f-2365bf7966ac + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 02e30f0c-50ad-446f-9781-4e92512adbf9 + x-ms-routing-request-id: + - CENTRALINDIA:20231122T103111Z:a1f316b2-bb5d-4e40-8d8f-2365bf7966ac + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_no_ff_added[ARCBOX-SQL-arcee-test-LeastPrivilege-Feature].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_no_ff_added[ARCBOX-SQL-arcee-test-LeastPrivilege-Feature].yaml new file mode 100644 index 00000000000..47894ded0a1 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_no_ff_added[ARCBOX-SQL-arcee-test-LeastPrivilege-Feature].yaml @@ -0,0 +1,73 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2735.199","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"SqlManagement":{"IsEnabled":"true"}},"provisioningState":"Succeeded","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2735.199","status":{"code":"0","level":"Information","message":"Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/08/21, 09:44:51.446; + uploadStatus : OK; uploadMessage : \"Upload succeeded.\"; telemetryUploadStatus + : {\"logs\":{\"status\":\"OK\",\"message\":\"Upload succeeded.\"},\"dmv\":null,\"ma\":{\"status\":\"OK\",\"message\":\"Upload + succeeded.\"}};AutomaticBackups: Suspended;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {};DatabaseMonitorArcPlugin: {\"State\":\"NotRunning\"}, AutomaticBackups: + {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment: [], Assessment + Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}, + MigrationAssessmentPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PublicSettings, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"excludedSqlInstances\":{\"$type\":\"System.String[], + System.Private.CoreLib\",\"$values\":[]},\"azureAD\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.AADSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"externalPolicyBasedAuthorization\":{\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.PurviewSettings[], + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"$values\":[]},\"licenseType\":\"Undefined\",\"enableExtendedSecurityUpdates\":false,\"esuLastUpdatedTimestamp\":\"0001-01-01T00:00:00\"}, + SQL Server Extension Agent Deployer: {\"FailureCount\":0,\"LastUpdatedTimestamp\":\"2024\\/08\\/14, + 19:35:15.583\",\"Message\":\"Completed asyncEnable\",\"SeqNum\":43}"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2943' + Content-Type: + - application/json; charset=utf-8 + Date: + - Thu, 31 Oct 2024 19:32:17 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: C1299396D47A4B8BA424C1662AC2397E Ref B: SJC211051203035 Ref C: 2024-10-31T19:32:18Z' + x-ms-correlation-request-id: + - 75e9ce1b-15b8-4217-847c-82953eff4498 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-ms-ratelimit-remaining-subscription-reads: + - '1099' + x-ms-request-id: + - d567185a-f093-4572-8d3d-9a2b92a2c81b + x-ms-routing-request-id: + - WESTUS:20241031T193218Z:75e9ce1b-15b8-4217-847c-82953eff4498 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_no_ff_added[ARCBOX-SQL-arcee-test-None-No feature flags are set for this machine.].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_no_ff_added[ARCBOX-SQL-arcee-test-None-No feature flags are set for this machine.].yaml new file mode 100644 index 00000000000..79f5eb1dc7b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_no_ff_added[ARCBOX-SQL-arcee-test-None-No feature flags are set for this machine.].yaml @@ -0,0 +1,76 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9q7q7q6LGZ53dz9opjWVVOdt+NvX0/qYnZSLVbrNr+7yKbzYpk3d49fnTz5 + 8vfefv0Tz+/m79p82XD/3y2Ws+qqOb7Il+349S8qX+f1ZV5/NPpomS1yQnfw+/Z6he9v7Nb1RS+V + 1TTDuOnFPGvaNT6jIazyui3y5qNHv/ij1XpSFs2cuvBhH/9gXedPszaj9trxRsS+nS1nZV7/JBFG + etsd74737u/sjx8+pCbZuq2+Wl3U2Sz/olhWrt15Vjb56KN8mU3K/JhaLQjdqTb96FFbr+nbJm/b + YnnB6J6+m5brWT4jBM6WTZstpxjG974/+uhZnrWE9LMyQ0t88ryYEiXyN4QfYfQyI3YYfUQvfpEt + s4t8QeMAxLPmlHsnXkF3v8Rgcwo6oqd8uq6L9vqr1SwjFnA4N+vnRFL5ePamWBB7ZIsV9bS3s3dv + e3d3e/fBm92Hj+49eHR/56c+IrhE+MsC46bBvG7pLWr7ej0l3qJuCLVCB/STRX4FzG7JERu/v2Fi + qEMwBXU2rUDwj3bowzK/zEv6/Wx5XtWYEHpx9BGNryGy0edMGYBLv5DPHqXE5Kn0m7pvGaNH6bfz + rGzn14dpa2j01ZuT9FEKMt3d3b27tzdKd3ce3dt5tP/peG9v/zBdr8oqm4FE64Yafvl7HVrWeJJN + 35JIPkpfrZeg4+HLdX1J9HpZri+K5aP0F/+SQ+bd42lbXOZPizqftlV9bb/+fevfd5mmv+9HX7wm + lF+fvvrJ01e/70eP6AP6j776JYeP0udFQyMg2CmNYVXVbbpzCFGYZE3+BU0ewTuupwaifkLN5ZN0 + 60XVKnJ3RinNB5NBvgQCH/1umBfqlJAI5U0lGnM4/oKmo2zGdtz0mQz9pFqeFxfrmj6slg7+7/vR + 6Pf9qM4JcXz+Mq+Lana2fJpdN9TTA/qOmO+8KHP8GeDw+ppGuxifVGVJpKJ3m/Hn+ZLen45BiD9g + 93vfuxnN13Mi05u8XrwyGPQRfykIOJS//336XXp/WReXJA+ERZ0/LyY8mN/tMivXjO/3vv9Lfsko + 1YlOV0pJkvCU8UkzwvsyT2dmstOpT6PwhaYhloXop8JePCPu02/TkAkCd0o4qGagP0Xo6ZO6rmpl + e/qYuAa4viCl+3o6z2drag1VQF8t12VJXxErSE/0ETW0vMHv0TdEN9eehvklWA2iRMrr21UTZ5zj + GnTlpmOvrZkO7+sOu3jf+C/+vqSeUnwY5/Ggb8cNBAkw8nrsNKr7UDUPoI7xjwe6g9TXgMjUI/W8 + qopl+1VdMmbztiXNcPdum5f0Zltfj3/xzi8Zk/EmDU2d82ib8bRa3A1eP16tzjDFv+9H9/f2d+4f + 5Pe29x7s7JFv8PBg++G9vcn2ZG+2O8s/3b13PtsjUn30S37JL/kl/w/UzQfzXggAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 22 Nov 2023 10:31:13 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 67e533fe-a7c4-40a2-bd22-3a78eb5a16d5 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 08c87138-e4b3-4d6f-b974-115b75f00f85 + x-ms-routing-request-id: + - JIOINDIACENTRAL:20231122T103113Z:67e533fe-a7c4-40a2-bd22-3a78eb5a16d5 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_with_both_machine_and_sql_server_name[ARCBOX-SQL-ARCBOX-SQL-arcee-test-RandomFeature-0].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_with_both_machine_and_sql_server_name[ARCBOX-SQL-ARCBOX-SQL-arcee-test-RandomFeature-0].yaml new file mode 100644 index 00000000000..a255d44b55f --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_with_both_machine_and_sql_server_name[ARCBOX-SQL-ARCBOX-SQL-arcee-test-RandomFeature-0].yaml @@ -0,0 +1,147 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL/?api-version=2023-12-01-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9q7q7q6LGZ53dz9opjWVVOdt+PjH6zr/LiePs3a7G7zi8rXeX2Z12fLps2W + 07y5e/zq5MmXv/f26594/tHoo2W2yAmr4LP2eoXPFhZiBojU60whNgyxMBDplbKaZhgQvZZnTbvG + Z8110+YLYPHRo1/80ZQgtPnsyTU1yXb38oPpdLK9cz6dbe9/en6wPfk0292e0IgfZA9nD/bu7RIA + +8obQeh4tSoL7cd+e9zSN3s7e/e2d3e3dx+82X346N6nj3Y/Hd/b/3Tn4cMHP0VNS0Lpi2pWnBeA + Ru1viUD4XhQLv4mHyt723u6b3QeEx6O93fH+p/u7nz58+FMf/ZLRRzRjq7xuCyIbUYXI2ADQo4+I + 9KnMVLq3s/uQQOezgjt59NHT/DIv8Rp9Oq2WbVYs8/qVMsXZh3LVxa246tvXk7qYnVSL1brN7y6y + 6ZyQ6DCTTMmbAiy1XJfl6KPLk6qmPz4CNaf0Kw1aviDWAZc8+uikWi7zKU0ktVhl7XT+HIOlL3bv + j3fGe7s7+2N5uSyF5kyq3/85/bHc/f0/z4kSWfn7n7zc/f1Pzn7/49douq7rfNn+JOEv7QXSzs7O + +D59bdj2hXD+F68J3OvTVz95+oq+bKerp9ckE8X0ZVW3wE8+fE3ous929+/do8+JTLP1tOUJ+Gr5 + dlldMUcU03zZ5Motz+o8pw9Zgp7m5/mSyApg6+Y5cc5XKxIpGroSJdKKQHig6ZWz5SUNrqqvv1qV + VTYTYgdcRyz38NHug/HDnd1PDx5YAfiqyS7ywZeYVXcfjvd39h7uHBCrjj6aV00ro1Dsyqvsuvly + +aoq6bOPji+zoswmRVm016yYXuUsGPTmOX1TESeflGtSAbUBMMmmb9erlxW1IiGUz9arizqb5c+r + 6dt89tWyLWjq5ZtFtSxonMXyAoKSL7NJCUq19ToXMbosML/0PSgFjF6vp8TCM2r1S37J/wP6yovT + bgUAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 12:25:28 GMT + ETag: + - '"500b1b7d-0000-0100-0000-658472e50000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 149093eb-47be-4a5d-94a3-60d09170d395 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 44396df6-e9c9-4952-bac0-57f6cd9b9218 + x-ms-routing-request-id: + - CENTRALINDIA:20231222T122528Z:149093eb-47be-4a5d-94a3-60d09170d395 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9q7q7q6LGZ53dz9opjWVVOdt+NvX0/qYnZSLVbrNr+7yKbzYpk3d49fnTz5 + 8vfefv0Tz+/m79p82XD/3y2Ws+qqOb7Il+349S8qX+f1ZV5/NPpomS1yQnfw+/Z6he9v7Nb1RS+V + 1TTDuOnFPGvaNT6jIazyui3y5qNHv/ij1XpSFs2cuvBhH/9gXedPszaj9trxRsS+nS1nZV7/JBFG + etsd74737u/sjx8+pCbZuq2+Wl3U2Sz/olhWrt15Vjb56KN8mU3K/JhaLQjdqTb96FFbr+nbJm/b + YnnB6J6+m5brWT4jBM6WTZstpxjG9z5qflG5Sx3Rj72Pvj/66FmetTSCZ2WG1773iz96IdR9kV/p + V9T4lHuVXn7JyLZ5Dkq9rIvLoswvNrQDP5z3gPGIfgmh8LyY0jzkb4g61PhlRsw4+ojQ/iJbZhf5 + gqiI8Zw18iJxqoBXWpxiFjHOfLqui/b6q9Usow5tK5rEywI0JMK8bukr6uP1ekp8Si9RR4US5yeL + /Ar93JK7Nn5/wyRTh2Aw6mxaYfI+2qEPy/wyL+n3s+V5VWNy6cXRR4u8aYgI9DmPE+DSL+SzRykJ + TCr9pu5bxuhR+u08K9v59WHaFgSjzRarr96cpI/SvZ29e3d39+7u7Y7S3QePdj99tPNgvPNw7zBd + r8oqm4FE64Yafvl7HVo2e5JN35J4P0pfrZeg4+HLdX1J9HpZri+K5aP0F/+SQ5aD42lbXOZPizqf + tlV97X39KH1eNIQivZwSkquqbtOdQ8jNJGvyL2h26IXjempe0U+ouXySbr2oWu39ziglgvM45Uvq + 4ff96HcD4X/fjx79vl3hVPHHJI2/IHqXzdgOjD6TsZ1Uy/PiYl3Th9XSwf99Pxr9vh/VOSGOz1/m + dVHNzpZPs+uGenpA3xF3nRP3488Ah9fXNNrF+KQqS6IFvduMP8+X9P50DEL8Abvf+97NaL6eE5ne + 5PXilcGgj/hLQcCh/P3v0+/SO0STGJ6wqPPnxYQH87tdZuWa8f3e93/JLxmlOpPpSin5PXqd8Ukz + wvsyT2dmNtOpT6PwhaYhnoSkpsI/PCPu02/TkAkCd0o4qCDTn6wD8EldV7XyNX38+37EuL4gDf16 + Os9na2r9hviYvlquy5K+IlaQnugjamh5g9+jb4hurj0N80uwGmSFdM23K9Jaij2h6SbtuAZduenY + a2umw/u6wy7eN/6Lv+9H1DM+jPN40LfjBoIEGHk9dgrQfaiqBVDH+McD3UHqa0Bk6pE2XVXFsv2q + LhmzeduS6N+92+YlvdnW1+NfvPNLxmTpSc9S5zzaZjytFneD149XqzNM8e/70f29/Z37B/m97b0H + O3vkSDw82H54b2+yPdmb7c7yT3fvnc/2iFQf/ZJf8kt+yf8DHSkUSYsIAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 12:25:30 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 8b0159e4-6452-4dae-8c73-6548ccbeb1a4 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 7bafe300-c6b4-4b44-a060-46b0652eb321 + x-ms-routing-request-id: + - CENTRALINDIA:20231222T122530Z:8b0159e4-6452-4dae-8c73-6548ccbeb1a4 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_with_both_machine_and_sql_server_name[ARCBOX_SQL-1-ARCBOX-SQL-arcee-test-RandomFeature-1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_with_both_machine_and_sql_server_name[ARCBOX_SQL-1-ARCBOX-SQL-arcee-test-RandomFeature-1].yaml new file mode 100644 index 00000000000..f0e1c5c180c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_with_both_machine_and_sql_server_name[ARCBOX_SQL-1-ARCBOX-SQL-arcee-test-RandomFeature-1].yaml @@ -0,0 +1,73 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL/?api-version=2023-12-01-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9q7q7q6LGZ53dz9opjWVVOdt+PjH6zr/LiePs3a7G7zi8rXeX2Z12fLps2W + 07y5e/zq5MmXv/f26594/tHoo2W2yAmr4LP2eoXPFhZiBojU60whNgyxMBDplbKaZhgQvZZnTbvG + Z8110+YLYPHRo1/80ZQgtPnsyTU1yXb38oPpdLK9cz6dbe9/en6wPfk0292e0IgfZA9nD/bu7RIA + +8obQeh4tSoL7cd+e9zSN3s7e/e2d3e3dx+82X346N6nj3Y/Hd/b/3Tn4cMHP0VNS0Lpi2pWnBeA + Ru1viUD4XhQLv4mHyt723u6b3QeEx6O93fH+p/u7nz58+FMf/ZLRRzRjq7xuCyIbUYXI2ADQo4+I + 9KnMVLq3s/uQQOezgjt59NHT/DIv8Rp9Oq2WbVYs8/qVMsXZh3LVxa246tvXk7qYnVSL1brN7y6y + 6ZyQ6DCTTMmbAiy1XJfl6KPLk6qmPz4CNaf0Kw1aviDWAZc8+uikWi7zKU0ktVhl7XT+HIOlL3bv + j3fGe7s7+2N5uSyF5kyq3/85/bHc/f0/z4kSWfn7n7zc/f1Pzn7/49douq7rfNn+JOEv7QXSzs7O + +D59bdj2hXD+F68J3OvTVz95+oq+bKerp9ckE8X0ZVW3wE8+fE3ous929+/do8+JTLP1tOUJ+Gr5 + dlldMUcU03zZ5Motz+o8pw9Zgp7m5/mSyApg6+Y5cc5XKxIpGroSJdKKQHig6ZWz5SUNrqqvv1qV + VTYTYgdcRyz38NHug/HDnd1PDx5YAfiqyS7ywZeYVXcfjvd39h7uHBCrjj6aV00ro1Dsyqvsuvly + +aoq6bOPji+zoswmRVm016yYXuUsGPTmOX1TESeflGtSAbUBMMmmb9erlxW1IiGUz9arizqb5c+r + 6dt89tWyLWjq5ZtFtSxonMXyAoKSL7NJCUq19ToXMbosML/0PSgFjF6vp8TCM2r1S37J/wP6yovT + bgUAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 12:25:32 GMT + ETag: + - '"500b1b7d-0000-0100-0000-658472e50000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - d5cc37ac-7e42-4b41-869c-146791772404 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - e2f0448d-1a22-4319-827a-5998e8cacc1d + x-ms-routing-request-id: + - CENTRALINDIA:20231222T122532Z:d5cc37ac-7e42-4b41-869c-146791772404 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_with_only_sql_server_name[ARCBOX-SQL-1-arcee-test-RandomFeature-1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_with_only_sql_server_name[ARCBOX-SQL-1-arcee-test-RandomFeature-1].yaml new file mode 100644 index 00000000000..3d3f535897e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_with_only_sql_server_name[ARCBOX-SQL-1-arcee-test-RandomFeature-1].yaml @@ -0,0 +1,50 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL-1/?api-version=2023-12-01-preview + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.AzureArcData/SqlServerInstances/ARCBOX-SQL-1'' + under resource group ''arcee-test'' was not found. For more details please + go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '236' + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 12:25:35 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 3654a447-0ffa-4248-bcf7-2d703febc359 + x-ms-failure-cause: + - gateway + x-ms-request-id: + - 3654a447-0ffa-4248-bcf7-2d703febc359 + x-ms-routing-request-id: + - CENTRALINDIA:20231222T122536Z:3654a447-0ffa-4248-bcf7-2d703febc359 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_with_only_sql_server_name[ARCBOX-SQL-arcee-test-RandomFeature-0].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_with_only_sql_server_name[ARCBOX-SQL-arcee-test-RandomFeature-0].yaml new file mode 100644 index 00000000000..0b7ee20305e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_feature_flag_show.test_feature_flag_show_with_only_sql_server_name[ARCBOX-SQL-arcee-test-RandomFeature-0].yaml @@ -0,0 +1,147 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.AzureArcData/sqlServerInstances/ARCBOX-SQL/?api-version=2023-12-01-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9q7q7q6LGZ53dz9opjWVVOdt+PjH6zr/LiePs3a7G7zi8rXeX2Z12fLps2W + 07y5e/zq5MmXv/f26594/tHoo2W2yAmr4LP2eoXPFhZiBojU60whNgyxMBDplbKaZhgQvZZnTbvG + Z8110+YLYPHRo1/80ZQgtPnsyTU1yXb38oPpdLK9cz6dbe9/en6wPfk0292e0IgfZA9nD/bu7RIA + +8obQeh4tSoL7cd+e9zSN3s7e/e2d3e3dx+82X346N6nj3Y/Hd/b/3Tn4cMHP0VNS0Lpi2pWnBeA + Ru1viUD4XhQLv4mHyt723u6b3QeEx6O93fH+p/u7nz58+FMf/ZLRRzRjq7xuCyIbUYXI2ADQo4+I + 9KnMVLq3s/uQQOezgjt59NHT/DIv8Rp9Oq2WbVYs8/qVMsXZh3LVxa246tvXk7qYnVSL1brN7y6y + 6ZyQ6DCTTMmbAiy1XJfl6KPLk6qmPz4CNaf0Kw1aviDWAZc8+uikWi7zKU0ktVhl7XT+HIOlL3bv + j3fGe7s7+2N5uSyF5kyq3/85/bHc/f0/z4kSWfn7n7zc/f1Pzn7/49douq7rfNn+JOEv7QXSzs7O + +D59bdj2hXD+F68J3OvTVz95+oq+bKerp9ckE8X0ZVW3wE8+fE3ous929+/do8+JTLP1tOUJ+Gr5 + dlldMUcU03zZ5Motz+o8pw9Zgp7m5/mSyApg6+Y5cc5XKxIpGroSJdKKQHig6ZWz5SUNrqqvv1qV + VTYTYgdcRyz38NHug/HDnd1PDx5YAfiqyS7ywZeYVXcfjvd39h7uHBCrjj6aV00ro1Dsyqvsuvly + +aoq6bOPji+zoswmRVm016yYXuUsGPTmOX1TESeflGtSAbUBMMmmb9erlxW1IiGUz9arizqb5c+r + 6dt89tWyLWjq5ZtFtSxonMXyAoKSL7NJCUq19ToXMbosML/0PSgFjF6vp8TCM2r1S37J/wP6yovT + bgUAAA== + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 12:25:33 GMT + ETag: + - '"500b1b7d-0000-0100-0000-658472e50000"' + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - ea5835d2-87cc-4fb4-9200-acb46777d575 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99999' + x-ms-request-id: + - 9861b95a-0af9-45cc-bc86-15f39a1e2db3 + x-ms-routing-request-id: + - CENTRALINDIA:20231222T122533Z:ea5835d2-87cc-4fb4-9200-acb46777d575 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR8Xs + o0cf3W3Wk2ZaF6u2qJbN3ez+zsHeZPfh9kH2ab69P5ne3z44n822D/Lzew9n5/lkeu/h3TpvqnU9 + zT+vq/WK3qFf8+02b9q7q7q6LGZ53dz9opjWVVOdt+NvX0/qYnZSLVbrNr+7yKbzYpk3d49fnTz5 + 8vfefv0Tz+/m79p82XD/3y2Ws+qqOb7Il+349S8qX+f1ZV5/NPpomS1yQnfw+/Z6he9v7Nb1RS+V + 1TTDuOnFPGvaNT6jIazyui3y5qNHv/ij1XpSFs2cuvBhH/9gXedPszaj9trxRsS+nS1nZV7/JBFG + etsd74737u/sjx8+pCbZuq2+Wl3U2Sz/olhWrt15Vjb56KN8mU3K/JhaLQjdqTb96FFbr+nbJm/b + YnnB6J6+m5brWT4jBM6WTZstpxjG9z5qflG5Sx3Rj72Pvj/66FmetTSCZ2WG1773iz96IdR9kV/p + V9T4lHuVXn7JyLZ5Dkq9rIvLoswvNrQDP5z3gPGIfgmh8LyY0jzkb4g61PhlRsw4+ojQ/iJbZhf5 + gqiI8Zw18iJxqoBXWpxiFjHOfLqui/b6q9Usow5tK5rEywI0JMK8bukr6uP1ekp8Si9RR4US5yeL + /Ar93JK7Nn5/wyRTh2Aw6mxaYfI+2qEPy/wyL+n3s+V5VWNy6cXRR4u8aYgI9DmPE+DSL+SzRykJ + TCr9pu5bxuhR+u08K9v59WHaFgSjzRarr96cpI/SvZ29e3d39+7u7Y7S3QePdj99tPNgvPNw7zBd + r8oqm4FE64Yafvl7HVo2e5JN35J4P0pfrZeg4+HLdX1J9HpZri+K5aP0F/+SQ5aD42lbXOZPizqf + tlV97X39KH1eNIQivZwSkquqbtOdQ8jNJGvyL2h26IXjempe0U+ouXySbr2oWu39ziglgvM45Uvq + 4ff96HcD4X/fjx79vl3hVPHHJI2/IHqXzdgOjD6TsZ1Uy/PiYl3Th9XSwf99Pxr9vh/VOSGOz1/m + dVHNzpZPs+uGenpA3xF3nRP3488Ah9fXNNrF+KQqS6IFvduMP8+X9P50DEL8Abvf+97NaL6eE5ne + 5PXilcGgj/hLQcCh/P3v0+/SO0STGJ6wqPPnxYQH87tdZuWa8f3e93/JLxmlOpPpSin5PXqd8Ukz + wvsyT2dmNtOpT6PwhaYhnoSkpsI/PCPu02/TkAkCd0o4qCDTn6wD8EldV7XyNX38+37EuL4gDf16 + Os9na2r9hviYvlquy5K+IlaQnugjamh5g9+jb4hurj0N80uwGmSFdM23K9Jaij2h6SbtuAZduenY + a2umw/u6wy7eN/6Lv+9H1DM+jPN40LfjBoIEGHk9dgrQfaiqBVDH+McD3UHqa0Bk6pE2XVXFsv2q + LhmzeduS6N+92+YlvdnW1+NfvPNLxmTpSc9S5zzaZjytFneD149XqzNM8e/70f29/Z37B/m97b0H + O3vkSDw82H54b2+yPdmb7c7yT3fvnc/2iFQf/ZJf8kt+yf8DHSkUSYsIAAA= + headers: + Cache-Control: + - no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Fri, 22 Dec 2023 12:25:35 GMT + Expires: + - '-1' + Pragma: + - no-cache + Server: + - Kestrel + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + x-ms-correlation-request-id: + - 6c77f0df-7195-407c-8b0c-9eea6d0082c7 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - e93b7091-df03-4218-b1a2-2e082c384d64 + x-ms-routing-request-id: + - CENTRALINDIA:20231222T122535Z:6c77f0df-7195-407c-8b0c-9eea6d0082c7 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_properties_set.test_esu_type_host_property[ARCBOX-SQL-arcee-test-False-0].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_properties_set.test_esu_type_host_property[ARCBOX-SQL-arcee-test-False-0].yaml new file mode 100644 index 00000000000..6920b19e228 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_properties_set.test_esu_type_host_property[ARCBOX-SQL-arcee-test-False-0].yaml @@ -0,0 +1,364 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2526.108","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"SqlManagement":{"IsEnabled":true},"LicenseType":"Paid","enableExtendedSecurityUpdates":true,"esuLastUpdatedTimestamp":"2024-01-25T09:31:35.543Z","FeatureFlags":[{"Name":"flightfeature","Enable":true},{"Name":"LeastPrivilege","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Failed","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2526.108","status":{"code":"0","level":"Error","message":"Extension + failed during enable. Extension returned non-zero exit code for Enable: 1. Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 11:44:06.762; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"NEWSQL\": \"\",\r\n \"TURKSQL\": \"\",\r\n \"LATINSQL\": + \"\",\r\n \"FRENCHSQL\": \"\",\r\n \"CASESQL\": \"\",\r\n \"LITHSQL\": + \"\",\r\n \"POLISHSQL\": \"\",\r\n \"JAPSQL\": \"\"\r\n};: Listening on + port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}\nExtension + Error: [2024-02-13 11:44:03.1224739 UTC] [INFO] SqlServerExtensionDeployer + called with arguments : enable\n[2024-02-13 11:44:08.1030861 UTC] [INFO] Otel + endpoint: https://telemetry.eastus.arcdataservices.com:443/v1/logs\n[2024-02-13 + 11:44:08.6672309 UTC] [INFO] No valid proxy uri received.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\24.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager[0]\n Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\"\n ],\n \"FeatureFlags\": + [\n {\n \"Enable\": true,\n \"Name\": \"flightfeature\"\n },\n {\n \"Enable\": + true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"Paid\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n }\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\24.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + Distribution : Windows\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + version: 10.0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Checking + if least privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Least + privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Executing + deployer action: Enable\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Last + installation exit code: 0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Found + new RuntimeConfig setting file\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\24.settings\nfail: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\n File name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n System.IO.FileNotFoundException: Could not load file or assembly + ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the file specified.\n File + name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Finished + deployer action: Enable. Exit code is UnexpectedError\n2024-02-13 03:44:09.2852|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\24.settings\n2024-02-13 + 03:44:09.8633|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager|Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\"\n ],\n \"FeatureFlags\": + [\n {\n \"Enable\": true,\n \"Name\": \"flightfeature\"\n },\n {\n \"Enable\": + true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"Paid\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n}\n2024-02-13 03:44:09.8633|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-13 03:44:09.8817|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\24.settings\n2024-02-13 + 03:44:09.8817|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-13 03:44:10.4438|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\n2024-02-13 03:44:10.4438|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + Distribution : Windows\n2024-02-13 03:44:10.4438|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + version: 10.0\n2024-02-13 03:44:10.4438|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Checking + if least privilege mode is enabled.\n2024-02-13 03:44:10.4438|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\n2024-02-13 03:44:10.4657|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Least + privilege mode is enabled.\n2024-02-13 03:44:10.4657|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Executing + deployer action: Enable\n2024-02-13 03:44:10.4657|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Last + installation exit code: 0\n2024-02-13 03:44:10.4657|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Found + new RuntimeConfig setting file\n2024-02-13 03:44:10.4657|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\24.settings\n2024-02-13 + 03:44:11.0374|ERROR|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\nFile name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n2024-02-13 03:44:11.0374|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Finished + deployer action: Enable. Exit code is UnexpectedError\n"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '14913' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 11:47:46 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: 13871BE8286B4CEAB2F91DA29D8C6A87 Ref B: MAA201060514017 Ref C: 2024-02-13T11:47:45Z' + x-ms-correlation-request-id: + - 9db305fc-7b19-4b12-8025-9bebb641a7d0 + x-ms-ratelimit-remaining-subscription-reads: + - '11999' + x-ms-request-id: + - 999a2e9f-223c-433d-ade2-9bf8d7207fab + x-ms-routing-request-id: + - JIOINDIACENTRAL:20240213T114747Z:9db305fc-7b19-4b12-8025-9bebb641a7d0 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer", + "name": "WindowsAgent.SqlServer", "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus", "properties": {"publisher": "Microsoft.AzureData", "type": + "WindowsAgent.SqlServer", "typeHandlerVersion": "1.1.2526.108", "autoUpgradeMinorVersion": + false, "enableAutomaticUpgrade": true, "settings": {"ExcludedSqlInstances": + [""], "SqlManagement": {"IsEnabled": true}, "LicenseType": "Paid", "enableExtendedSecurityUpdates": + false, "esuLastUpdatedTimestamp": "2024-01-25T09:31:35.543Z", "FeatureFlags": + [{"Name": "flightfeature", "Enable": true}, {"Name": "LeastPrivilege", "Enable": + true}], "cloudprovider": "N/A"}, "provisioningState": "Failed", "instanceView": + {"name": "WindowsAgent.SqlServer", "type": "WindowsAgent.SqlServer", "typeHandlerVersion": + "1.1.2526.108", "status": {"code": "0", "level": "Error", "message": "Extension + failed during enable. Extension returned non-zero exit code for Enable: 1. Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 11:44:06.762; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"NEWSQL\": \"\",\r\n \"TURKSQL\": \"\",\r\n \"LATINSQL\": + \"\",\r\n \"FRENCHSQL\": \"\",\r\n \"CASESQL\": \"\",\r\n \"LITHSQL\": \"\",\r\n \"POLISHSQL\": + \"\",\r\n \"JAPSQL\": \"\"\r\n};: Listening on port 0;DatabaseMonitorArcPlugin: + {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], Azure + active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}\nExtension + Error: [2024-02-13 11:44:03.1224739 UTC] [INFO] SqlServerExtensionDeployer called + with arguments : enable\n[2024-02-13 11:44:08.1030861 UTC] [INFO] Otel endpoint: + https://telemetry.eastus.arcdataservices.com:443/v1/logs\n[2024-02-13 11:44:08.6672309 + UTC] [INFO] No valid proxy uri received.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\24.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager[0]\n Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\"\n ],\n \"FeatureFlags\": + [\n {\n \"Enable\": true,\n \"Name\": \"flightfeature\"\n },\n {\n \"Enable\": + true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"Paid\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n }\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL Server\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\24.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL Server\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + Distribution : Windows\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + version: 10.0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Checking + if least privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Least + privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Executing + deployer action: Enable\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Last + installation exit code: 0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Found + new RuntimeConfig setting file\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\24.settings\nfail: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the + file specified.\n File name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n System.IO.FileNotFoundException: Could not load file or assembly + ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the file specified.\n File + name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Finished + deployer action: Enable. Exit code is UnexpectedError\n2024-02-13 03:44:09.2852|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\24.settings\n2024-02-13 + 03:44:09.8633|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager|Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\"\n ],\n \"FeatureFlags\": + [\n {\n \"Enable\": true,\n \"Name\": \"flightfeature\"\n },\n {\n \"Enable\": + true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": \"Paid\",\n \"SqlManagement\": + {\n \"IsEnabled\": true\n },\n \"cloudprovider\": \"N/A\",\n \"enableExtendedSecurityUpdates\": + true,\n \"esuLastUpdatedTimestamp\": \"2024-01-25T09:31:35.543Z\"\n}\n2024-02-13 + 03:44:09.8633|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL Server\n2024-02-13 + 03:44:09.8817|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\24.settings\n2024-02-13 + 03:44:09.8817|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL Server\n2024-02-13 + 03:44:10.4438|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\n2024-02-13 03:44:10.4438|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + Distribution : Windows\n2024-02-13 03:44:10.4438|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + version: 10.0\n2024-02-13 03:44:10.4438|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Checking + if least privilege mode is enabled.\n2024-02-13 03:44:10.4438|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\n2024-02-13 03:44:10.4657|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Least + privilege mode is enabled.\n2024-02-13 03:44:10.4657|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Executing + deployer action: Enable\n2024-02-13 03:44:10.4657|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Last + installation exit code: 0\n2024-02-13 03:44:10.4657|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Found + new RuntimeConfig setting file\n2024-02-13 03:44:10.4657|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\24.settings\n2024-02-13 + 03:44:11.0374|ERROR|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the + file specified.\nFile name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n2024-02-13 03:44:11.0374|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Finished + deployer action: Enable. Exit code is UnexpectedError\n"}}}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '14971' + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: PUT + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '' + headers: + Azure-AsyncOperation: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/providers/Microsoft.HybridCompute/locations/eastus/operationstatus/58e5d882-f412-4b1a-89cc-8199b7d8b3d6?api-version=2019-08-02-preview&t=638434216689190872&c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY&s=KEvgP7Hov8zrm68DXbopBYV7p8QZ9jt7IdefxxA6elBSsdadzY0N7n6XWMnhUZSqdybOC7OsUoTk5ARLy_ETjwEvVtjP0yNYPABcOedNE6TLac-bbijt3L-qbhsmfKM5zqH0DZa9e7mocV_oVrQKxbod_jkjz1RuIYKs_E7sb8_BrU6iJ4YLRWXYPO8jz7r1-Jw7K4C9aziA67luBRE9EAq5UDHccblmVbvOtlcsG7ethET_5EanN6r_ONZy-wS0WjrLw41_PKyVMn5EzXeCIkXB1Dbcu5CGqW-2hUb_2dfz9-nEKXpsV7iUmQderukfCvhQSi7f6GzUr_Eckm3lRA&h=gB7pVB_uUjQ57vZ84ptn3NRddMxCR62ZYXhI_qb7CGo + Cache-Control: + - no-cache + Content-Length: + - '0' + Content-Type: + - application/json + Date: + - Tue, 13 Feb 2024 11:47:48 GMT + Expires: + - '-1' + Location: + - https://management.azure.com/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/providers/Microsoft.HybridCompute/locations/eastus/operationresults/58e5d882-f412-4b1a-89cc-8199b7d8b3d6?api-version=2019-08-02-preview&t=638434216689190872&c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY&s=ZyP7iyxD1BhG8JWOtfVbvymT6Z-BG93HFmWNSQpWxy6lQ-TYO_8HAmAfo3IIKpHxUkKlRFq3BX4yow5HKVPVCx1cQffGGOCn1_oqMqm4ErWXSLYPT9lrn_3kk0rL9iKIwFE-YRsFktuAd1MWmYyVy0wlee6wctBS8z2giri1jK_gF20Lf8SX9Z5apZABU0j7vJtN34xRh3dlrV9pTdyert-tmAdiIqDDrCCnfHrxkk_ZDZlkx9tzb6dFY2MTVAsOanXUnyQq_gup4r9saGJRtg4lrEA7zmWz9Mq0euWeF5vt17oBdniZuhLMw6oJxu-0SbH_54G4mj0uE95n4Y99xQ&h=SlG7EyBm20dxpHrh1aP7knQcNS0HJQqxHQxOJR7_lfg + Pragma: + - no-cache + Retry-After: + - '120' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: FA30656C09764C43BF09B5C62C1F741F Ref B: MAA201060516053 Ref C: 2024-02-13T11:47:47Z' + x-ms-correlation-request-id: + - e03f55d2-c37e-47d0-b8bd-b516e4db55a6 + x-ms-ratelimit-remaining-subscription-resource-requests: + - '319' + x-ms-request-id: + - 58e5d882-f412-4b1a-89cc-8199b7d8b3d6 + x-ms-routing-request-id: + - CENTRALINDIA:20240213T114748Z:e03f55d2-c37e-47d0-b8bd-b516e4db55a6 + status: + code: 202 + message: Accepted +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_properties_set.test_esu_type_host_property[ARCBOX-SQL-arcee-test-Random-1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_properties_set.test_esu_type_host_property[ARCBOX-SQL-arcee-test-Random-1].yaml new file mode 100644 index 00000000000..76cba1e755f --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/cassettes/Tests_host_properties_set.test_esu_type_host_property[ARCBOX-SQL-arcee-test-Random-1].yaml @@ -0,0 +1,175 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.31.0 + method: GET + uri: https://mock-host/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer?api-version=2023-03-15-preview + response: + body: + string: '{"id":"/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/arcee-test/providers/Microsoft.HybridCompute/machines/ARCBOX-SQL/extensions/WindowsAgent.SqlServer","name":"WindowsAgent.SqlServer","type":"Microsoft.HybridCompute/machines/extensions","location":"eastus","properties":{"publisher":"Microsoft.AzureData","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2526.108","autoUpgradeMinorVersion":false,"enableAutomaticUpgrade":true,"settings":{"ExcludedSqlInstances":[""],"SqlManagement":{"IsEnabled":true},"LicenseType":"Paid","enableExtendedSecurityUpdates":true,"esuLastUpdatedTimestamp":"2024-01-25T09:31:35.543Z","FeatureFlags":[{"Name":"flightfeature","Enable":true},{"Name":"LeastPrivilege","Enable":true}],"cloudprovider":"N/A"},"provisioningState":"Failed","instanceView":{"name":"WindowsAgent.SqlServer","type":"WindowsAgent.SqlServer","typeHandlerVersion":"1.1.2526.108","status":{"code":"0","level":"Error","message":"Extension + failed during enable. Extension returned non-zero exit code for Enable: 1. Extension + Message: SQL Server Extension Agent: Healthy; timestampUTC : 2024/02/13, 11:44:06.762; + uploadStatus : OK;AutomaticBackups: Running;PurviewPlugin: {};AzureActiveDirectoryPlugin: + {\r\n \"MSSQLSERVER\": \"\",\r\n \"NEWSQL\": \"\",\r\n \"TURKSQL\": \"\",\r\n \"LATINSQL\": + \"\",\r\n \"FRENCHSQL\": \"\",\r\n \"CASESQL\": \"\",\r\n \"LITHSQL\": + \"\",\r\n \"POLISHSQL\": \"\",\r\n \"JAPSQL\": \"\"\r\n};: Listening on + port 0;DatabaseMonitorArcPlugin: {\"State\":\"Running\",\"MetricsUploadStatus\":\"OK\"}, + SqlAgentPlugin: {\"$type\":\"Microsoft.Azure.Hybrid.Sql.Models.AutomaticSqlBackupConfiguration, + SqlAgent\",\"retentionPeriodInDays\":7,\"profiles\":{\"$type\":\"System.Collections.Generic.List`1[[Microsoft.Azure.Hybrid.Sql.Models.ShortTermRetentionAutomaticSqlBackupProfile, + SqlAgent]], System.Private.CoreLib\",\"$values\":[]}}, Purview plugin: [], + Azure active directory configuration plugin: [], Assessment Status: {\"AssessmentHistory\":[],\"Enabled\":false,\"ErrorMessage\":\"\",\"NextScheduledTime\":null,\"RunStatus\":\"NotRunning\",\"StartTime\":null}, + ODataServiceHostPlugin: {\"$type\":\"ArcSqlOData.ServiceHost.Models.ArcSqlODataConfiguration, + ArcSqlOData.ServiceHost\"}, DatabaseMonitorArcPlugin: {\"$type\":\"Microsoft.SqlServer.Management.SqlServerHandlerData.DatabaseMonitorConfiguration, + Microsoft.SqlServer.Management.SqlServerHandlerData\",\"endpointUrl\":\"https://telemetry.{0}.arcdataservices.com/\",\"endpointAppId\":\"524058e3-2702-4b98-932b-b2d1de613fd2\"}\nExtension + Error: [2024-02-13 11:44:03.1224739 UTC] [INFO] SqlServerExtensionDeployer + called with arguments : enable\n[2024-02-13 11:44:08.1030861 UTC] [INFO] Otel + endpoint: https://telemetry.eastus.arcdataservices.com:443/v1/logs\n[2024-02-13 + 11:44:08.6672309 UTC] [INFO] No valid proxy uri received.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\24.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager[0]\n Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\"\n ],\n \"FeatureFlags\": + [\n {\n \"Enable\": true,\n \"Name\": \"flightfeature\"\n },\n {\n \"Enable\": + true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"Paid\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n }\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices[0]\n Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\24.settings\ninfo: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService[0]\n Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + Distribution : Windows\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n OS + version: 10.0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Checking + if least privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Least + privilege mode is enabled.\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Executing + deployer action: Enable\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Last + installation exit code: 0\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Found + new RuntimeConfig setting file\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\24.settings\nfail: + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\n File name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n System.IO.FileNotFoundException: Could not load file or assembly + ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find the file specified.\n File + name: ''System.ServiceProcess.ServiceController, Version=8.0.0.0, Culture=neutral, + PublicKeyToken=b03f5f7f11d50a3a''\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\ninfo: Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer[0]\n Finished + deployer action: Enable. Exit code is UnexpectedError\n2024-02-13 03:44:09.2852|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\24.settings\n2024-02-13 + 03:44:09.8633|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.LeastPrivilege.ExtensionPermissionManager|Processing + extension settings: {\n \"ExcludedSqlInstances\": [\n \"\"\n ],\n \"FeatureFlags\": + [\n {\n \"Enable\": true,\n \"Name\": \"flightfeature\"\n },\n {\n \"Enable\": + true,\n \"Name\": \"LeastPrivilege\"\n }\n ],\n \"LicenseType\": + \"Paid\",\n \"SqlManagement\": {\n \"IsEnabled\": true\n },\n \"cloudprovider\": + \"N/A\",\n \"enableExtendedSecurityUpdates\": true,\n \"esuLastUpdatedTimestamp\": + \"2024-01-25T09:31:35.543Z\"\n}\n2024-02-13 03:44:09.8633|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-13 03:44:09.8817|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.CommonServices|Fetching + raw settings from C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\24.settings\n2024-02-13 + 03:44:09.8817|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.Services.RegistryService|Getting + value for InstalledInstances from path SOFTWARE\\Microsoft\\Microsoft SQL + Server\n2024-02-13 03:44:10.4438|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Version + of file at filepath: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\SqlServerExtensionDeployer.dll + is 0.0..0\n2024-02-13 03:44:10.4438|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + Distribution : Windows\n2024-02-13 03:44:10.4438|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|OS + version: 10.0\n2024-02-13 03:44:10.4438|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Checking + if least privilege mode is enabled.\n2024-02-13 03:44:10.4438|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Searching + folder: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings + for *.settings.\n2024-02-13 03:44:10.4657|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Least + privilege mode is enabled.\n2024-02-13 03:44:10.4657|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Executing + deployer action: Enable\n2024-02-13 03:44:10.4657|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Last + installation exit code: 0\n2024-02-13 03:44:10.4657|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Found + new RuntimeConfig setting file\n2024-02-13 03:44:10.4657|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|RuntimeConfig + setting file is at location: C:\\Packages\\Plugins\\Microsoft.AzureData.WindowsAgent.SqlServer\\1.1.2526.108\\RuntimeSettings\\24.settings\n2024-02-13 + 03:44:11.0374|ERROR|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Deployer + execution failed with unexpected error.System.IO.FileNotFoundException: Could + not load file or assembly ''System.ServiceProcess.ServiceController, Version=8.0.0.0, + Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. The system cannot find + the file specified.\nFile name: ''System.ServiceProcess.ServiceController, + Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsServiceInstalledAndRunning(String + serviceName)\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.ServiceHelper.IsSqlServerAgentServicesInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\ServiceHelper.cs:line 306\n at + Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.IsServiceInstalledAndRunning() + in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 204\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.CheckingRuntimeSettings(DirectoryMonitor + configMonitor, Action processNewSettings) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 501\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlServerExtensionDeployer.ExecuteEnableAction(String + ExtensionAppDataPathAsLocalSystem, Stopwatch stopWatch) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlServerExtensionDeployer.cs:line + 272\n at Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer.ExecuteAction(DeployerAction + action) in C:\\ArceeExtension\\src\\ExtensionAgent\\Setup\\SqlWindowsExtensionDeployer.cs:line + 364\n2024-02-13 03:44:11.0374|INFO|Microsoft.SqlServer.Management.SqlServerHandler.Setup.SqlWindowsExtensionDeployer|Finished + deployer action: Enable. Exit code is UnexpectedError\n"}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '14913' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 13 Feb 2024 11:47:49 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + X-MSEdge-Ref: + - 'Ref A: C7E2C6AE58954164902983FC8FCE7D8E Ref B: MAA201060516011 Ref C: 2024-02-13T11:47:49Z' + x-ms-correlation-request-id: + - 3c0e516d-734c-417c-9b78-201a89b1b795 + x-ms-ratelimit-remaining-subscription-reads: + - '11998' + x-ms-request-id: + - c7856a9c-c3a6-406e-a06e-4a446efebc7a + x-ms-routing-request-id: + - CENTRALINDIA:20240213T114750Z:3c0e516d-734c-417c-9b78-201a89b1b795 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_ag_create.py b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_ag_create.py new file mode 100644 index 00000000000..a5dbfbac952 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_ag_create.py @@ -0,0 +1,241 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import os +import pytest + +from azext_arcdata.vendored_sdks.arm_sdk.swagger.swagger_latest.models import ( + SqlServerAvailabilityGroupResource, + SqlAvailabilityGroupReplicaResourceProperties, +) + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord + + +@pytest.mark.usefixtures("setup") +class TestsAvailabilityGroupCreate(object): + @pytest.fixture + def setup(self): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "Placeholder001" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "resource_group, availability_group ", + [ + ("hh-sqldev01-rg", "ag1"), + ], + ) + def test_create_single_replica_ag( + self, resource_group, availability_group, az + ): + replica_id = "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/SqlServerInstances/sql01" + mirroring_port = 5022 + database_name = "appdb01" + + result = az( + "sql server-arc availability-group create ", + name=availability_group, + resource_group=resource_group, + replica_ids=replica_id, + databases=database_name, + mirroring_port=mirroring_port, + ) + + assert result.exit_code == 0 + assert ( + result.out + == f"Successfully created/altered availability group {availability_group}.\n" + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "resource_group, availability_group ", + [ + ("hh-sqldev01-rg", "ag1"), + ], + ) + def test_create_ag_with_listener( + self, resource_group, availability_group, az + ): + replica_id = "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01" + mirroring_port = 5022 + database_name = "appdb01" + listener_name = "test-listener" + listener_port = 7777 + listener_ipv4_addresses = "192.168.0.50" + listener_ipv4_masks = "255.255.255.0" + + result = az( + "sql server-arc availability-group create ", + name=availability_group, + resource_group=resource_group, + replica_ids=replica_id, + databases=database_name, + mirroring_port=mirroring_port, + listener_name=listener_name, + listener_port=listener_port, + listener_ipv4_addresses=listener_ipv4_addresses, + listener_ipv4_masks=listener_ipv4_masks, + ) + + assert result.exit_code == 0 + assert ( + result.out + == f"Successfully created/altered availability group {availability_group}.\n" + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "resource_group, availability_group ", + [ + ("hh-sqldev01-rg", "ag1"), + ], + ) + def test_create_single_replica_ag_no_db( + self, resource_group, availability_group, az + ): + replica_id = "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01" + mirroring_port = 5022 + + result = az( + "sql server-arc availability-group create ", + name=availability_group, + resource_group=resource_group, + replica_ids=replica_id, + mirroring_port=mirroring_port, + ) + + assert result.exit_code == 0 + assert ( + result.out + == f"Successfully created/altered availability group {availability_group}.\n" + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "resource_group, availability_group ", + [ + ("hh-sqldev01-rg", "ag1"), + ], + ) + def test_create_ag_all_args(self, resource_group, availability_group, az): + # all args except for endpoint login and cluster type, we have bugs that needs fixing + # in the extension + replica_id = "/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01" + mirroring_port = 5022 + database_name = "appdb01" + listener_name = "test-listener" + listener_port = 9999 + listener_ipv4_addresses = "192.168.0.51" + listener_ipv4_masks = "255.255.255.0" + availability_mode = "ASYNCHRONOUS_COMMIT" + failover_mode = "MANUAL" + seeding_mode = "MANUAL" + automated_backup_preference = "PRIMARY" + failure_condition_level = 1 + health_check_timeout = 35000 + db_failover = "ON" + dtc_support = "PER_DB" + + result = az( + "sql server-arc availability-group create ", + name=availability_group, + resource_group=resource_group, + replica_ids=replica_id, + mirroring_port=mirroring_port, + databases=database_name, + listener_name=listener_name, + listener_port=listener_port, + listener_ipv4_addresses=listener_ipv4_addresses, + listener_ipv4_masks=listener_ipv4_masks, + availability_mode=availability_mode, + failover_mode=failover_mode, + seeding_mode=seeding_mode, + automated_backup_preference=automated_backup_preference, + failure_condition_level=failure_condition_level, + health_check_timeout=health_check_timeout, + db_failover=db_failover, + dtc_support=dtc_support, + ) + + assert result.exit_code == 0 + assert ( + result.out + == f"Successfully created/altered availability group {availability_group}.\n" + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "resource_group, availability_group ", + [ + ("hh-sqldev01-rg", "ag1"), + ], + ) + def test_create_ag_invalid_replica_id( + self, resource_group, availability_group, az + ): + result = az( + "sql server-arc availability-group create ", + name=availability_group, + resource_group=resource_group, + replica_ids="/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql3000", + databases="appdb01", + mirroring_port=5022, + endpoint_login="FG\\Administrator", + endpoint_auth_mode="WINDOWS_NEGOTIATE", + ) + + assert result.exit_code == 1 + assert "ResourceNotFound" in result.err.args[0].exc_msg + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "resource_group, availability_group ", + [ + ("hh-sqldev01-rg", "ag1"), + ], + ) + def test_create_ag_invalid_login( + self, resource_group, availability_group, az + ): + result = az( + "sql server-arc availability-group create ", + name=availability_group, + resource_group=resource_group, + replica_ids="/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + databases="appdb01", + mirroring_port=5022, + endpoint_login="foo", + endpoint_auth_mode="WINDOWS_NEGOTIATE", + ) + + assert result.exit_code == 1 + assert ( + "Failed to grant connect on endpoint" in result.err.args[0].exc_msg + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "resource_group, availability_group ", + [ + ("hh-sqldev01-rg", "ag1"), + ], + ) + def test_create_ag_db_already_in_ag( + self, resource_group, availability_group, az + ): + result = az( + "sql server-arc availability-group create ", + name=availability_group, + resource_group=resource_group, + replica_ids="/subscriptions/a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39/resourceGroups/hh-sqldev01-rg/providers/Microsoft.AzureArcData/sqlServerInstances/sql01", + databases="db01", + mirroring_port=5022, + ) + + assert result.exit_code == 1 + assert ( + "Failed to create availability group" in result.err.args[0].exc_msg + ) diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_ag_failover.py b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_ag_failover.py new file mode 100644 index 00000000000..f63b7536779 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_ag_failover.py @@ -0,0 +1,53 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import os +import sys +import pytest + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord + + +@pytest.mark.usefixtures("setup") +class TestsAvailabilityGroupFailover(object): + @pytest.fixture + def setup(self): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "Placeholder001" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "resource_group, server, availability_group ", + [ + ("hh-arcee-test", "hh-sql-dev01", "hh_ag1"), + ], + ) + def test_unsuccessful_failover( + self, resource_group, server, availability_group, az + ): + result = az( + "sql server-arc availability-group failover " + f"-n {availability_group} -g {resource_group} --server-name {server}", + ) + assert result.exit_code != 0 + + @pytest.mark.skipif( + sys.version_info < (3, 10), reason="requires python3.10 or higher" + ) + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "resource_group, server, availability_group ", + [ + ("hh-arcee-test", "hh-sql-dev02", "hh_ag1"), + ], + ) + def test_successful_failover( + self, resource_group, server, availability_group, az + ): + result = az( + "sql server-arc availability-group failover " + f"-n {availability_group} -g {resource_group} --server-name {server}", + ) + assert result.exit_code == 0 + assert "Successfully requested availability group" in result.out diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_backups_policy_delete.py b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_backups_policy_delete.py new file mode 100644 index 00000000000..bb0e7c0f496 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_backups_policy_delete.py @@ -0,0 +1,100 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import pytest +import os + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord + + +@pytest.mark.usefixtures("setup") +class Tests_backups_delete(object): # TODO CHANGE TO _backups_delete + @pytest.fixture + def setup(self): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "Placeholder001" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, resource_group", + [ + ("ArcBox-SQL", "aagonzalez-CI-Test-mk6"), + # ("ArcBox-SQL/MSSQLSERVER01", "aagonzalez-CI-Test-mk6"), + ], + ) + def test_no_policy(self, name, resource_group, az): + result = az( + "sql server-arc backups-policy delete", + name=name, + resource_group=resource_group, + yes="", + ) + assert result.exit_code == 0 + assert ( + "There is no policy currently active on this Sql Server instance." + in result.out + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, resource_group", + [ + ("ArcBox-SQLss", "aagonzalez-CI-Test-mk6"), + ("ArcBox-SQL/MSSQLSERVER01asd", "aagonzalez-CI-Test-mk6"), + ("ArcBox-SQL_MSSQLSERVER01", "aagonzalez-CI-Test-mk6asd"), + ], + ) + def test_invalid_inputs(self, name, resource_group, az): + result = az( + "sql server-arc backups-policy delete", + name=name, + resource_group=resource_group, + yes="", + ) + assert result.exit_code == 1 + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, resource_group", + [ + ( + "ArcBox-SQL", + "aagonzalez-CI-Test-mk6", + ), + # ( + # "ArcBox-SQL/MSSQLSERVER01", + # "aagonzalez-CI-Test-mk6", + # ), + ], + ) + def test_successful_inputs( + self, + name, + resource_group, + az, + ): + result = az( + "sql server-arc backups-policy delete", + name=name, + resource_group=resource_group, + yes="", + ) + assert result.exit_code == 0 + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, resource_group", + [ + ("ArcBox-SQL", "aagonzalez-CI-Test-mk6"), + ("ArcBox-SQL/MSSQLSERVER01", "aagonzalez-CI-Test-mk6"), + ], + ) + def test_invalid_licenses(self, name, resource_group, az): + result = az( + "sql server-arc backups-policy delete", + name=name, + resource_group=resource_group, + yes="", + ) + assert result.exit_code == 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_backups_policy_set.py b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_backups_policy_set.py new file mode 100644 index 00000000000..1493ddddcc4 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_backups_policy_set.py @@ -0,0 +1,321 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import os +import time + +import pytest + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord + + +@pytest.mark.skip( + reason="Skipping this entire test suite due to vc and urllib and how the testsare witten." +) +@pytest.mark.usefixtures("setup") +class Tests_backups_set(object): + @pytest.fixture + def setup(self): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "Placeholder001" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, resource_group,str_retention_days , backup_days, diff_hours, tlog_mins", + [ + ("ARCBOX-SQL", "aagonzalez-ci-test-mk6", 7, 7, 12, 5), + # ("ARCBOX-SQL/MSSQLSERVER01", "aagonzalez-ci-test-mk6", 3, 2, 12, 5), + ("ARCBOX-SQL", "aagonzalez-ci-test-mk6", 32, 7, 24, 15), + ("ARCBOX-SQL", "aagonzalez-ci-test-mk6", 4, 4, 12, 5), + # ( + # "ARCBOX-SQL_MSSQLSERVER01", + # "aagonzalez-ci-test-mk6", + # 2, + # 3, + # 12, + # 55, + # ), + ("ARCBOX-SQL", "aagonzalez-ci-test-mk6", 0, 5, 24, 5), + ], + ) + def test_successful_inputs( + self, + name, + resource_group, + str_retention_days, + backup_days, + diff_hours, + tlog_mins, + az, + ): + result = az( + "sql server-arc backups-policy set", + name=name, + resource_group=resource_group, + retention_days=str_retention_days, + full_backup_days=backup_days, + diff_backup_hours=diff_hours, + tlog_backup_mins=tlog_mins, + ) + assert result.exit_code == 0 + assert ( + "The policy has successfully been sent to the Sql Server instance" + in result.out + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, resource_group", + [ + ("ARCBOX-SQL", "aagonzalez-ci-test-mk6"), + ], + ) + def test_successful_inputs_default_policy( + self, + name, + resource_group, + az, + ): + result = az( + "sql server-arc backups-policy set", + name=name, + resource_group=resource_group, + default_policy="", + ) + assert result.exit_code == 0 + assert ( + "The policy has successfully been sent to the Sql Server instance" + in result.out + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, resource_group,str_retention_days , backup_days, diff_hours, tlog_mins, def_policy, expected", + [ + ( + "ARCBOX-SQL", + "aagonzalez-ci-test-mk6", + 60, + 7, + 12, + 5, + False, + "Value Error: 60 is an invalid value for argument", + ), + ( + "ARCBOX-SQL", + "aagonzalez-ci-test-mk6", + -7, + 7, + 12, + 5, + False, + "Value Error: -7 is an invalid value for argument", + ), + ( + "ARCBOX-SQL", + "aagonzalez-ci-test-mk6", + None, + 7, + None, + None, + True, + "You can either do --default-policy to use the default policy or setup a custom policy", + ), + ( + "ARCBOX-SQL", + "aagonzalez-ci-test-mk6", + None, + None, + 12, + None, + True, + "You can either do --default-policy to use the default policy or setup a custom policy", + ), + ( + "ARCBOX-SQL", + "aagonzalez-ci-test-mk6", + None, + None, + None, + 5, + True, + "You can either do --default-policy to use the default policy or setup a custom policy", + ), + ( + "ARCBOX-SQL", + "aagonzalez-ci-test-mk6", + 30, + None, + None, + None, + True, + "You can either do --default-policy to use the default policy or setup a custom policy", + ), + ( + "ARCBOX-SQL", + "aagonzalez-ci-test-mk6", + None, + 7, + 12, + 5, + False, + "Please enter all the following parameter(s): ", + ), + ( + "ARCBOX-SQL", + "aagonzalez-ci-test-mk6", + 30, + None, + 12, + 5, + False, + "Please enter all the following parameter(s): ", + ), + ( + "ARCBOX-SQL", + "aagonzalez-ci-test-mk6", + 30, + 7, + None, + 5, + False, + "Please enter all the following parameter(s): ", + ), + ( + "ARCBOX-SQL", + "aagonzalez-ci-test-mk6", + 30, + 7, + 12, + None, + False, + "Please enter all the following parameter(s): ", + ), + ( + "ARCBOX-SQL", + "aagonzalez-ci-test-mk6", + None, + None, + None, + None, + False, + "Please enter all the following parameter(s): ", + ), + ( + "ARCBOX-SQL", + "aagonzalez-ci-test-mk6", + 30, + None, + None, + None, + False, + "Please enter all the following parameter(s): ", + ), + ( + "ARCBOX-SQL", + "lawynn-LTRHdack-rg", + 7, + 7, + 12, + 5, + False, + "Could not find resource group", + ), + ( + "ARCBOX-SQLasd", + "aagonzalez-ci-test-mk6", + 10, + 7, + 12, + 5, + False, + "Could not find Sql Server instance", + ), + ], + ) + def test_invalid_inputs( + self, + name, + resource_group, + str_retention_days, + backup_days, + diff_hours, + tlog_mins, + def_policy, + expected, + az, + ): + if def_policy: + result = az( + "sql server-arc backups-policy set", + name=name, + resource_group=resource_group, + retention_days=str_retention_days, + full_backup_days=backup_days, + diff_backup_hours=diff_hours, + tlog_backup_mins=tlog_mins, + default_policy="", + expect_failure=True, + ) + else: + result = az( + "sql server-arc backups-policy set", + name=name, + resource_group=resource_group, + retention_days=str_retention_days, + full_backup_days=backup_days, + diff_backup_hours=diff_hours, + tlog_backup_mins=tlog_mins, + expect_failure=True, + ) + assert result.exit_code == 1 or result.exit_code == 2 + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, resource_group,str_retention_days , backup_days, diff_hours, tlog_mins, expected", + [ + ( + "ARCBOX-SQL", + "aagonzalez-ci-test-mk6", + 10, + 7, + 12, + 5, + "not a valid license", + ), + ( + "ARCBOX-SQL/MSSQLSERVER01", + "aagonzalez-ci-test-mk6", + 10, + 7, + 12, + 5, + "not a valid license", + ), + ], + ) + def test_invalid_license( + self, + name, + resource_group, + str_retention_days, + backup_days, + diff_hours, + tlog_mins, + expected, + az, + ): + result = az( + "sql server-arc backups-policy set", + name=name, + resource_group=resource_group, + retention_days=str_retention_days, + full_backup_days=backup_days, + diff_backup_hours=diff_hours, + tlog_backup_mins=tlog_mins, + ) + assert result.exit_code == 1 + assert expected in str(result.err) diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_backups_policy_show.py b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_backups_policy_show.py new file mode 100644 index 00000000000..a07fadebc6f --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_backups_policy_show.py @@ -0,0 +1,172 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import pytest +import os + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord + + +@pytest.mark.usefixtures("setup") +class Tests_backups_show(object): # TODO CHANGE TO _backups_show + @pytest.fixture + def setup(self): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "Placeholder001" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, resource_group, expected", + [ + ( + "DESKTOP-RRP62CV", + "aagonzalez-easyup", + "No backup policy has been set for this Sql Server instance", + ), + # ( + # "DESKTOP-RRP62CV/FISCHERPRICE", + # "aagonzalez-easyup", + # "No backup policy has been set for this Sql Server instance", + # ), + ( + "DESKTOP-RRP62CV_FISCHERPRICE", + "aagonzalez-easyup", + "No backup policy has been set for this Sql Server instance", + ), + ], + ) + def test_no_policy(self, name, resource_group, expected, az): + result = az( + "sql server-arc backups-policy show", + name=name, + resource_group=resource_group, + ) + assert result.exit_code == 0 + assert expected in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, resource_group", + [ + ("DESKTOP-RRP62CVss", "aagonzalez-easyup"), + # ("DESKTOP-RRP62CV/FISCHERPRICEasd", "aagonzalez-easyup"), + ("DESKTOP-RRP62CV_FISCHERPRICE", "aagonzalez-easyupasd"), + ], + ) + def test_invalid_inputs(self, name, resource_group, az): + result = az( + "sql server-arc backups-policy show", + name=name, + resource_group=resource_group, + ) + assert result.exit_code == 1 + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, resource_group, retention_days , full_backup_days, diff_backup_hours, tlog_backup_mins, instance_name", + [ + ( + "DESKTOP-RRP62CV", + "aagonzalez-easyup", + 7, + 7, + 12, + 5, + "DESKTOP-RRP62CV", + ), + # ( + # "DESKTOP-RRP62CV/FISCHERPRICE", + # "aagonzalez-easyup", + # 3, + # 2, + # 12, + # 5, + # "FISCHERPRICE", + # ), + ( + "DESKTOP-RRP62CV", + "aagonzalez-easyup", + 32, + 7, + 24, + 15, + "DESKTOP-RRP62CV", + ), + ( + "DESKTOP-RRP62CV", + "aagonzalez-easyup", + 4, + 4, + 12, + 5, + "DESKTOP-RRP62CV", + ), + ( + "DESKTOP-RRP62CV_FISCHERPRICE", + "aagonzalez-easyup", + 2, + 3, + 12, + 55, + "FISCHERPRICE", + ), + ( + "DESKTOP-RRP62CV", + "aagonzalez-easyup", + 0, + 5, + 24, + 5, + "DESKTOP-RRP62CV", + ), + ( + "DESKTOP-RRP62CV", + "aagonzalez-easyup", + 7, + 7, + 24, + 5, + "DESKTOP-RRP62CV", + ), + ], + ) + def test_successful_inputs( + self, + name, + resource_group, + retention_days, + full_backup_days, + diff_backup_hours, + tlog_backup_mins, + instance_name, + az, + ): + result = az( + "sql server-arc backups-policy show", + name=name, + resource_group=resource_group, + ) + assert result.exit_code == 0 + res = eval(result.out) + assert diff_backup_hours == res["differentialBackupHours"] + assert full_backup_days == res["fullBackupDays"] + assert tlog_backup_mins == res["transactionLogBackupMinutes"] + assert retention_days == res["retentionPeriodDays"] + assert instance_name == res["instanceName"] + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, resource_group", + [ + ("DESKTOP-RRP62CV", "aagonzalez-easyup"), + # ("DESKTOP-RRP62CV/FISCHERPRICE", "aagonzalez-easyup"), + ], + ) + def test_invalid_licenses(self, name, resource_group, az): + result = az( + "sql server-arc backups-policy show", + name=name, + resource_group=resource_group, + ) + assert result.exit_code == 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_host_feature_flag_delete.py b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_host_feature_flag_delete.py new file mode 100644 index 00000000000..df51d47285a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_host_feature_flag_delete.py @@ -0,0 +1,123 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import pytest +import os +import json +import sys + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord + + +@pytest.mark.skipif( + sys.version_info < (3, 10), reason="requires python3.10 or higher" +) +@pytest.mark.usefixtures("setup") +class Tests_host_feature_flag_delete(object): + @pytest.fixture + def setup(self): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "Placeholder001" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "machine_name, resource_group, feature_name, expected", + [ + ( + "ARCBOX-SQL", + "arcee-test", + "leastprivilege", + "leastprivilege feature flag deleted successfully.", + ), + ( + "ARCBOX-SQL", + "arcee-test", + "randomFeature", + "Feature flag not found for randomFeature", + ), + ], + ) + def test_feature_flag_delete( + self, machine_name, resource_group, feature_name, expected, az + ): + result = az( + "sql server-arc extension feature-flag delete", + name=feature_name, + resource_group=resource_group, + machine_name=machine_name, + ) + assert result.exit_code == 0 + assert expected in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "machine_name, sql_server_arc_name, resource_group, feature_name, exit_code", + [ + ( + "ARCBOX-SQL", + "ARCBOX-SQL", + "arcee-test-1", + "RandomFeature", + 1, # 0 + ), + ( + "ARCBOX_SQL-1", + "ARCBOX-SQL", + "arcee-test-1", + "RandomFeature", + 1, + ), + ], + ) + def test_feature_flag_delete_with_both_machine_and_sql_server_name( + self, + machine_name, + sql_server_arc_name, + resource_group, + feature_name, + exit_code, + az, + ): + result = az( + "sql server-arc extension feature-flag delete", + name=feature_name, + sql_server_arc_name=sql_server_arc_name, + machine_name=machine_name, + resource_group=resource_group, + ) + assert result.exit_code == exit_code + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "sql_server_arc_name, resource_group, feature_name, exit_code", + [ + ( + "ARCBOX-SQL", + "arcee-test-1", + "RandomFeature", + 0, + ), + ( + "ARCBOX-SQL-1", + "arcee-test-1", + "RandomFeature", + 1, + ), + ], + ) + def test_feature_flag_delete_with_only_sql_server_name( + self, + sql_server_arc_name, + resource_group, + feature_name, + exit_code, + az, + ): + result = az( + "sql server-arc extension feature-flag delete", + name=feature_name, + sql_server_arc_name=sql_server_arc_name, + resource_group=resource_group, + ) + assert result.exit_code == exit_code diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_host_feature_flag_set.py b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_host_feature_flag_set.py new file mode 100644 index 00000000000..16e5fd69e4d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_host_feature_flag_set.py @@ -0,0 +1,175 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import os +import pytest +import sys + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord + + +@pytest.mark.skipif( + sys.version_info < (3, 10), reason="requires python3.10 or higher" +) +@pytest.mark.usefixtures("setup") +class Tests_host_feature_flag_set(object): + @pytest.fixture + def setup(self): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "Placeholder001" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "machine_name, resource_group, feature_name, flag_value, expected", + [ + ( + "ARCBOX-SQL", + "arcee-test", + "LeastPrivilege", + True, + "LeastPrivilege feature flag successfully updated to True", + ), + ( + "ARCBOX-SQL", + "arcee-test", + "LeastPrivilege", + False, + "LeastPrivilege feature flag successfully updated to False", + ), + ], + ) + def test_successful_inputs( + self, + machine_name, + resource_group, + feature_name, + flag_value, + expected, + az, + ): + result = az( + "sql server-arc extension feature-flag set", + name=feature_name, + enable=flag_value, + resource_group=resource_group, + machine_name=machine_name, + ) + assert result.exit_code == 0 + assert expected in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "machine_name, resource_group, feature_name, flag_value", + [ + ( + "random-SQL", + "arcee-test", + "LeastPrivilege", + True, + ), + ( + "ARCBOX-SQL", + "random-rg", + "NewFeature", + True, + ), + ], + ) + def test_invalid_inputs( + self, + machine_name, + resource_group, + feature_name, + flag_value, + az, + ): + result = az( + "sql server-arc extension feature-flag set", + name=feature_name, + enable=flag_value, + resource_group=resource_group, + machine_name=machine_name, + expect_failure=True, + ) + assert result.exit_code == 1 or result.exit_code == 2 + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "machine_name, sql_server_arc_name, resource_group, feature_name, flag_value, exit_code", + [ + ( + "ARCBOX-SQL", + "ARCBOX-SQL", + "arcee-test-1", + "LeastPrivilege", + True, + 0, + ), + ( + "ARCBOX_SQL-1", + "ARCBOX-SQL", + "arcee-test-1", + "LeastPrivilege", + True, + 1, + ), + ], + ) + def test_feature_flag_set_with_both_machine_and_sql_server_name( + self, + machine_name, + sql_server_arc_name, + resource_group, + feature_name, + flag_value, + exit_code, + az, + ): + result = az( + "sql server-arc extension feature-flag set", + name=feature_name, + enable=flag_value, + sql_server_arc_name=sql_server_arc_name, + machine_name=machine_name, + resource_group=resource_group, + ) + assert result.exit_code == exit_code + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "sql_server_arc_name, resource_group, feature_name, flag_value, exit_code", + [ + ( + "ARCBOX-SQL", + "arcee-test-1", + "LeastPrivilege", + True, + 0, + ), + ( + "ARCBOX-SQL-1", + "arcee-test-1", + "LeastPrivilege", + True, + 1, + ), + ], + ) + def test_feature_flag_set_with_only_sql_server_name( + self, + sql_server_arc_name, + resource_group, + feature_name, + exit_code, + flag_value, + az, + ): + result = az( + "sql server-arc extension feature-flag set", + name=feature_name, + enable=flag_value, + sql_server_arc_name=sql_server_arc_name, + resource_group=resource_group, + ) + assert result.exit_code == exit_code diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_host_feature_flag_show.py b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_host_feature_flag_show.py new file mode 100644 index 00000000000..e7370b63093 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_host_feature_flag_show.py @@ -0,0 +1,182 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import pytest +import os +import json +import sys + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord + + +@pytest.mark.skipif( + sys.version_info < (3, 10), reason="requires python3.10 or higher" +) +@pytest.mark.usefixtures("setup") +class Tests_host_feature_flag_show(object): + @pytest.fixture + def setup(self): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "Placeholder001" + + """ ( + "ARCBOX-SQL", + "arcee-test", + None, + "No feature flags are set for this machine.", + ),""" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "machine_name, resource_group, feature_name, expected", + [ + ( + "ARCBOX-SQL", + "arcee-test", + "LeastPrivilege", + "Feature", + # "Feature flag not found for LeastPrivilege.", + ), + ], + ) + def test_feature_flag_show_no_ff_added( + self, machine_name, resource_group, feature_name, expected, az + ): + if feature_name is not None: + result = az( + "sql server-arc extension feature-flag show", + name=feature_name, + resource_group=resource_group, + machine_name=machine_name, + ) + else: + result = az( + "sql server-arc extension feature-flag show", + machine_name=machine_name, + resource_group=resource_group, + ) + assert result.exit_code == 0 + assert expected in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "machine_name, resource_group, feature_name", + [ + ( + "ARCBOX-SQL", + "arcee-test", + "LeastPrivilege", + ), + ( + "ARCBOX-SQL", + "arcee-test", + None, + ), + ( + "ARCBOX-SQL", + "arcee-test", + "randomFeature", + ), + ], + ) + def test_feature_flag_show_ff_added( + self, machine_name, resource_group, feature_name, az + ): + + if feature_name is not None: + result = az( + "sql server-arc extension feature-flag show", + name=feature_name, + resource_group=resource_group, + machine_name=machine_name, + ) + else: + result = az( + "sql server-arc extension feature-flag show", + machine_name=machine_name, + resource_group=resource_group, + ) + assert result.exit_code == 0 + + if isinstance(result.out, str) is False: + expected = "Feature flag not found for {0}." + assert expected.format(feature_name) in result.out + else: + if feature_name is not None: + assert feature_name.lower() in result.out.lower() + else: + actual = json.loads(result.out) + assert len(actual) == 2 + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "machine_name, sql_server_arc_name, resource_group, feature_name, exit_code", + [ + ( + "ARCBOX-SQL", + "ARCBOX-SQL", + "arcee-test", + "RandomFeature", + 0, + ), + ( + "ARCBOX_SQL-1", + "ARCBOX-SQL", + "arcee-test", + "RandomFeature", + 1, + ), + ], + ) + def test_feature_flag_show_with_both_machine_and_sql_server_name( + self, + machine_name, + sql_server_arc_name, + resource_group, + feature_name, + exit_code, + az, + ): + result = az( + "sql server-arc extension feature-flag show", + name=feature_name, + sql_server_arc_name=sql_server_arc_name, + machine_name=machine_name, + resource_group=resource_group, + ) + assert result.exit_code == exit_code + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "sql_server_arc_name, resource_group, feature_name, exit_code", + [ + ( + "ARCBOX-SQL", + "arcee-test", + "RandomFeature", + 0, + ), + ( + "ARCBOX-SQL-1", + "arcee-test", + "RandomFeature", + 1, + ), + ], + ) + def test_feature_flag_show_with_only_sql_server_name( + self, + sql_server_arc_name, + resource_group, + feature_name, + exit_code, + az, + ): + result = az( + "sql server-arc extension feature-flag show", + name=feature_name, + sql_server_arc_name=sql_server_arc_name, + resource_group=resource_group, + ) + assert result.exit_code == exit_code diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_host_properties_set.py b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_host_properties_set.py new file mode 100644 index 00000000000..06733db0965 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_host_properties_set.py @@ -0,0 +1,83 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import json +import os +from sys import stdout +import pytest + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord + + +@pytest.mark.usefixtures("setup") +class TestsHostPropertiesSet(object): + @pytest.fixture + def setup(self): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "Placeholder001" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "machine_name, resource_group, value, exit_code", + [ + ("ARCBOX-SQL", "arcee-test", "PAYG", 0), + ("ARCBOX-SQL", "arcee-test", "Random", 1), + ], + ) + def test_license_type_host_property( + self, machine_name, resource_group, value, exit_code, az + ): + result = az( + "sql server-arc extension set", + resource_group=resource_group, + machine_name=machine_name, + license_type=value, + ) + + assert result.exit_code == exit_code + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "machine_name, resource_group, value, exit_code", + [ + ("ARCBOX-SQL", "arcee-test", "False", 0), + ("ARCBOX-SQL", "arcee-test", "Random", 1), + ], + ) + def test_esu_type_host_property( + self, machine_name, resource_group, value, exit_code, az + ): + result = az( + "sql server-arc extension set", + resource_group=resource_group, + machine_name=machine_name, + esu_enabled=value, + ) + + assert result.exit_code == exit_code + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "machine_name, resource_group, license_type, esu_enabled", + [ + ( + "ARCBOX-SQL", + "arcee-test", + "LicenseOnly", + "True", + ), + ], + ) + def test_licenseType_esu_compatibilty( + self, machine_name, resource_group, license_type, esu_enabled, az + ): + result = az( + "sql server-arc extension set", + resource_group=resource_group, + machine_name=machine_name, + license_type=license_type, + esu_enabled=esu_enabled, + ) + + assert result.exit_code != 0 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_host_properties_show.py b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_host_properties_show.py new file mode 100644 index 00000000000..9e06e1a70ed --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlarc/server/test_host_properties_show.py @@ -0,0 +1,67 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import json +import os +import pytest + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord + + +@pytest.mark.usefixtures("setup") +class TestsHostPropertiesShow(object): + @pytest.fixture + def setup(self): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "Placeholder001" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "machine_name, resource_group", + [ + ( + "ARCBOX-SQL", + "arcee-test", + ), + ], + ) + def test_successful_inputs(self, machine_name, resource_group, az): + result = az( + "sql server-arc extension show", + resource_group=resource_group, + machine_name=machine_name, + ) + + expected_output = ( + "{'ExcludedSqlInstances': ['', 'Testing', 'Instance1', ' Instance2'], 'SqlManagement': {'IsEnabled': True}, " + "'LicenseType': 'Paid', 'enableExtendedSecurityUpdates': True, " + "'esuLastUpdatedTimestamp': '2024-01-25T09:31:35.543Z', 'FeatureFlags': " + "[{'Name': 'flightfeature', 'Enable': True}, {'Name': 'LeastPrivilege', " + "'Enable': True}], 'cloudprovider': 'N/A'}\n" + ) + assert result.exit_code == 0 + assert expected_output == result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "machine_name, resource_group", + [ + ( + "random-SQL", + "arcee-test", + ), + ( + "ARCBOX-SQL", + "random-rg", + ), + ], + ) + def test_invalid_inputs(self, machine_name, resource_group, az): + result = az( + "sql server-arc extension show", + resource_group=resource_group, + machine_name=machine_name, + expect_failure=True, + ) + assert result.exit_code != 0 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/__init__.py b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/__init__.py new file mode 100644 index 00000000000..77350c40ee9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/__init__.py @@ -0,0 +1,5 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/assets/create_spec.json b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/assets/create_spec.json new file mode 100644 index 00000000000..821fefde4d0 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/assets/create_spec.json @@ -0,0 +1,12 @@ +{ + "apiVersion": "sql.arcdata.microsoft.com/v13", + "kind":"SqlManagedInstance", + "metadata":{ + "name":"sql2", + "namespace":"test" + }, + "spec":{ + "storage":{ + "volumeSize":"500Mi"} + } +} diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/assets/edit_spec.json b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/assets/edit_spec.json new file mode 100644 index 00000000000..a58cfb95a36 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/assets/edit_spec.json @@ -0,0 +1,13 @@ +{ + "apiVersion": "arcdata.microsoft.com/v13", + "metadata": { + "namespace": "test", + "name": "sql1" + }, + "kind": "SqlManagedInstance", + "spec": { + "storage": { + "volumeSize": "500Mi" + } + } +} diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/assets/invalid_spec.json b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/assets/invalid_spec.json new file mode 100644 index 00000000000..e97e1e2aaf4 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/assets/invalid_spec.json @@ -0,0 +1,12 @@ +{ + "apiVersion": "arcdata.microsoft.com/v13", + "kind":"foobar", + "metadata":{ + "name":"foobar2", + "namespace":"test" + }, + "spec":{ + "storage":{ + "volumeSize":"500Mi"} + } +} diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade[test-sqlmi3].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade[test-sqlmi3].yaml new file mode 100644 index 00000000000..6ef9e3b2926 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade[test-sqlmi3].yaml @@ -0,0 +1,234 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3200312"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:13:14 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","items":[{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:25:20Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:25:20Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:11:34Z"}],"name":"sqlmi3","namespace":"test","resourceVersion":"3200301","uid":"30becac2-c186-455a-a258-00ca9e51437b"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi3-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi3''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi3-0","mirroring":"10.91.136.162:28862","primary":"10.91.136.162,20200"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:10:52.105815Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJAJXxD6gtwu7DMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjUyMVoXDTI3MTEyODAwMjUyMVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwtmWV5W8ULyz\r\n0wODGFYDKj3UKurP2IHNtyjfd8tS9eTIiN94kM4z4AQFEAIEQKW9S+/788915r0XBmRJClgK/iF/\r\nRmiEL6efIBPtjzb110dao/QqCJ5U1/zyH4m58h0X5VMKD61xvxP7r3TzGBxz10bofYqZFDco/9m7\r\n32+14Lt73tq9VcUy7fUtioiexEqcKF1GUKjqf3/20lpSA9Z8usocomVG6Ew8UadNyXbo9tOV6TGr\r\nlJ4cugmOJMplJf1rq4Ywh1MD/v6KIoF+AY3Tr27HOfkuVn15TPuilu0iNd57l0LKCEvq80t9DsZo\r\n9k8PVlbh5RrbQRYUXdTwC/dzzwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkzLXN2Y4Ihc3FsbWkzLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTMtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQAJzrDs9TMyo8HwpQhVxi9z2iUdRByOVrqYuh+MjnkS9BVL/wNm5Q/h24QRBv7pVBMr\r\nGwMANZtOdJ2y7o3N09QLuvkvAhhkIWbOQn5BXH0Y0eqeOz+GolhMyLf1VG3Os/YDDlKSiuGXNaOk\r\n/p/fYWPS6IMaJsEg6+2DnP8Gr06xRbSFIBKkMSOcmC7Oi8/Vfw0QscUe/3jszLxMW9W3mQursItY\r\nTe6c5V+NFbiRPPTOrYsTIM5vgP8AsvFri1HN+WdET/hpwCNEUBVOhZIuY8Spk0jPIu7DNtfL+r8I\r\n34kFKMo43MIj7qxpbH41TfQub4K82abfbHFujB4/v6vJsDQd\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi3-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:13:09.648246Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:09:22.726626Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:22:25Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:22:25Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{},"f:secondary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:11:34Z"}],"name":"sqlmibc1","namespace":"test","resourceVersion":"3200298","uid":"c1a3a58b-87d7-46c9-8fac-d00d234892fe"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":1,"replicas":3,"scheduling":{"default":{"resources":{"limits":{"cpu":"4"},"requests":{"cpu":"4","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmibc1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"bc"},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmibc1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmibc1-0","mirroring":"10.91.136.162:3739","primary":"10.91.136.162,18872","secondary":"10.91.136.162,19183"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:10:51.987781Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDRDCCAiygAwIBAgIJAK1+BLA8NR+/MA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjIyN1oXDTI3MTEyODAwMjIyN1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0Pyvnodl4PwI\r\nCNbT0ojRAVVmFAt82klQWr0HrStWeX1S2QJeDsT221PrIyg4J4c2n7d/hl3DUwYVRiI89Wp+h8Ba\r\nlL7CNGOre6scyOwG0CNN5ORaqAPGdAppueyH6UQGmER6cTdpYUxRRxm+IWuhy6lPqn6P3WWWIdOI\r\nd6NA+K0QgLTtiOZDgAiBqwmzGtugU9UaDIfohYMfbf7/mpM2xWfMxELIO3nLygshaF93o+BIwIPO\r\nk2c++krVfwcmp0m3kkeIZQKcYSRyCRKLL29H2XZFdGwCmX+7iUGxPhtOvi2HO9yITwTaYbqIAoW1\r\n7zDZHVt4RUBcyHCW+Z0x3RlkxwIDAQABo4GKMIGHMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwUwYDVR0RBEwwSoIMc3FsbWliYzEtc3ZjgiNzcWxtaWJj\r\nMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIVc3FsbWliYzEtc3ZjLnRlc3Quc3ZjMA0GCSqG\r\nSIb3DQEBCwUAA4IBAQCPkjNuCmYoVCEe3efP5N0C75pmLRzRXqCNGDKX5S11cIKxEncKVysvFYRy\r\nb1aZocdlo7CKal5Dw0eJ1MYslWSvk1Il+G8XA90Vi/kbthMs/wtuyn0owz28L+VsojqHqi/WpzVS\r\nRyLG5FWTwmfNOJ87iMwqimU5Y27wiu93mLjjCgmmPv5UtUxOws21Z0cNkRHUZ/SoIxB408q+39wf\r\n1+sv3L8Xz6sOQcjAEZaDaP20Xgkw0/kqIC/OxdT35TFy7FqVybnxBpWcH88Ix5TkLnDdcmPekWOU\r\n1O6lYmgwbm8JLCLkiFuPueK4uBbC6hLzeg3UVvirUeBvl0OeG3qkkf/s\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-0","role":"PRIMARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-1","role":"SECONDARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-2","role":"SECONDARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:13:06.762408Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:09:22.581563Z","readyReplicas":3,"replicas":3}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:24:42Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:24:42Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:11:34Z"}],"name":"sqlmivalid1","namespace":"test","resourceVersion":"3200289","uid":"abdb9433-06fa-4543-8823-558edd4d5356"},"spec":{"backup":{"retentionPeriodInDays":1},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmivalid1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmivalid1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmivalid1-0","mirroring":"10.91.136.162:12486","primary":"10.91.136.162,29321"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:10:52.047289Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDTTCCAjWgAwIBAgIJAO6CjCY/WfkqMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjQ0M1oXDTI3MTEyODAwMjQ0M1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwHVnXMOeCQci\r\n5NomX6uwg+ENL3+6W3K0WLyj029cLGAnNHK5sXbwm2aBG9K7Tsum6jto4YWFLIlfY/WxKaY6rqXR\r\nmL6OzWvvcZHsPYXkhcPfNJjNHBKuHF3sSnaxpDjGjBbAiaZXMy7F6qnj7eCcEyk6PNlM7RFoMV8O\r\nrkZar5zRBMoc4U1Igbq/hbz1xcBe2s+wOPd4KEx60/T5MZBfLCZuwbJR+dAt5JRU3skCnhi2HICb\r\nA2w1rx0nP0yDZdCvyVvz7mxZNX7hhL9AqdJew8Wtm2DR3lXLngI61ZmhL3Y02qz5kBn/nEwT7x9f\r\nn6z9NPVIGdaOhgjW+rkpypY2swIDAQABo4GTMIGQMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwXAYDVR0RBFUwU4IPc3FsbWl2YWxpZDEtc3ZjgiZzcWxt\r\naXZhbGlkMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIYc3FsbWl2YWxpZDEtc3ZjLnRlc3Qu\r\nc3ZjMA0GCSqGSIb3DQEBCwUAA4IBAQBH1LBdM7YC/Wn6Yv/kVKbreVeKFEZ1WJZl1LWvkK8pl8Tu\r\nWVv+R1Be4IDqFBA+dMgyf41cvjmq1YD8XPCs+SxiIEgyKvPlRBHhFbGFK9m/bzRgD00JqOBcf6ht\r\nFk+P0sj2hw4sG7AjJo2hXACBgAlseKv0yTswoUjmRlO9gz47IMbIu1yoytC6svleDNRXWv20dxkG\r\naRjwdjjgIwahSnUgfNdHmEr/I/NYOrFgEPNmrmnbgj0r5NRJ9gMyC6VHfc9m+PHA5Rm429pRHdOU\r\nvFt5Gm0ozfJxhCj2sN4wnTaJZUh75y7Pol2+VysbrKIeMZKwuXFVMVsBZo0pcfK0BvYn\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmivalid1-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:13:03.359946Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:09:22.669051Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"SqlManagedInstanceList","metadata":{"continue":"","resourceVersion":"3200312"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:13:14 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":3,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T01:59:20Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-29T02:08:53Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:11:34Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3200082","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_upgrade-test","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-29T02:11:34.011564Z","observedGeneration":3,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3200312"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:13:14 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: '{"spec": {"update": {"desiredVersion": "v1.14.0_upgrade-test"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmi3 + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:25:20Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:11:34Z"},{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"}],"name":"sqlmi3","namespace":"test","resourceVersion":"3200313","uid":"30becac2-c186-455a-a258-00ca9e51437b"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi3-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi3''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi3-0","mirroring":"10.91.136.162:28862","primary":"10.91.136.162,20200"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:10:52.105815Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJAJXxD6gtwu7DMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjUyMVoXDTI3MTEyODAwMjUyMVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwtmWV5W8ULyz\r\n0wODGFYDKj3UKurP2IHNtyjfd8tS9eTIiN94kM4z4AQFEAIEQKW9S+/788915r0XBmRJClgK/iF/\r\nRmiEL6efIBPtjzb110dao/QqCJ5U1/zyH4m58h0X5VMKD61xvxP7r3TzGBxz10bofYqZFDco/9m7\r\n32+14Lt73tq9VcUy7fUtioiexEqcKF1GUKjqf3/20lpSA9Z8usocomVG6Ew8UadNyXbo9tOV6TGr\r\nlJ4cugmOJMplJf1rq4Ywh1MD/v6KIoF+AY3Tr27HOfkuVn15TPuilu0iNd57l0LKCEvq80t9DsZo\r\n9k8PVlbh5RrbQRYUXdTwC/dzzwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkzLXN2Y4Ihc3FsbWkzLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTMtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQAJzrDs9TMyo8HwpQhVxi9z2iUdRByOVrqYuh+MjnkS9BVL/wNm5Q/h24QRBv7pVBMr\r\nGwMANZtOdJ2y7o3N09QLuvkvAhhkIWbOQn5BXH0Y0eqeOz+GolhMyLf1VG3Os/YDDlKSiuGXNaOk\r\n/p/fYWPS6IMaJsEg6+2DnP8Gr06xRbSFIBKkMSOcmC7Oi8/Vfw0QscUe/3jszLxMW9W3mQursItY\r\nTe6c5V+NFbiRPPTOrYsTIM5vgP8AsvFri1HN+WdET/hpwCNEUBVOhZIuY8Spk0jPIu7DNtfL+r8I\r\n34kFKMo43MIj7qxpbH41TfQub4K82abfbHFujB4/v6vJsDQd\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi3-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:13:09.648246Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:09:22.726626Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:13:14 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: '{"spec": {"update": {"desiredVersion": "v1.14.0_upgrade-test"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmibc1 + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:22:25Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{},"f:secondary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:11:34Z"},{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"}],"name":"sqlmibc1","namespace":"test","resourceVersion":"3200314","uid":"c1a3a58b-87d7-46c9-8fac-d00d234892fe"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":1,"replicas":3,"scheduling":{"default":{"resources":{"limits":{"cpu":"4"},"requests":{"cpu":"4","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmibc1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"bc","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmibc1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmibc1-0","mirroring":"10.91.136.162:3739","primary":"10.91.136.162,18872","secondary":"10.91.136.162,19183"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:10:51.987781Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDRDCCAiygAwIBAgIJAK1+BLA8NR+/MA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjIyN1oXDTI3MTEyODAwMjIyN1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0Pyvnodl4PwI\r\nCNbT0ojRAVVmFAt82klQWr0HrStWeX1S2QJeDsT221PrIyg4J4c2n7d/hl3DUwYVRiI89Wp+h8Ba\r\nlL7CNGOre6scyOwG0CNN5ORaqAPGdAppueyH6UQGmER6cTdpYUxRRxm+IWuhy6lPqn6P3WWWIdOI\r\nd6NA+K0QgLTtiOZDgAiBqwmzGtugU9UaDIfohYMfbf7/mpM2xWfMxELIO3nLygshaF93o+BIwIPO\r\nk2c++krVfwcmp0m3kkeIZQKcYSRyCRKLL29H2XZFdGwCmX+7iUGxPhtOvi2HO9yITwTaYbqIAoW1\r\n7zDZHVt4RUBcyHCW+Z0x3RlkxwIDAQABo4GKMIGHMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwUwYDVR0RBEwwSoIMc3FsbWliYzEtc3ZjgiNzcWxtaWJj\r\nMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIVc3FsbWliYzEtc3ZjLnRlc3Quc3ZjMA0GCSqG\r\nSIb3DQEBCwUAA4IBAQCPkjNuCmYoVCEe3efP5N0C75pmLRzRXqCNGDKX5S11cIKxEncKVysvFYRy\r\nb1aZocdlo7CKal5Dw0eJ1MYslWSvk1Il+G8XA90Vi/kbthMs/wtuyn0owz28L+VsojqHqi/WpzVS\r\nRyLG5FWTwmfNOJ87iMwqimU5Y27wiu93mLjjCgmmPv5UtUxOws21Z0cNkRHUZ/SoIxB408q+39wf\r\n1+sv3L8Xz6sOQcjAEZaDaP20Xgkw0/kqIC/OxdT35TFy7FqVybnxBpWcH88Ix5TkLnDdcmPekWOU\r\n1O6lYmgwbm8JLCLkiFuPueK4uBbC6hLzeg3UVvirUeBvl0OeG3qkkf/s\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-0","role":"PRIMARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-1","role":"SECONDARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-2","role":"SECONDARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:13:06.762408Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:09:22.581563Z","readyReplicas":3,"replicas":3}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:13:14 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: '{"spec": {"update": {"desiredVersion": "v1.14.0_upgrade-test"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmivalid1 + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:24:42Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:11:34Z"},{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"}],"name":"sqlmivalid1","namespace":"test","resourceVersion":"3200315","uid":"abdb9433-06fa-4543-8823-558edd4d5356"},"spec":{"backup":{"retentionPeriodInDays":1},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmivalid1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmivalid1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmivalid1-0","mirroring":"10.91.136.162:12486","primary":"10.91.136.162,29321"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:10:52.047289Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDTTCCAjWgAwIBAgIJAO6CjCY/WfkqMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjQ0M1oXDTI3MTEyODAwMjQ0M1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwHVnXMOeCQci\r\n5NomX6uwg+ENL3+6W3K0WLyj029cLGAnNHK5sXbwm2aBG9K7Tsum6jto4YWFLIlfY/WxKaY6rqXR\r\nmL6OzWvvcZHsPYXkhcPfNJjNHBKuHF3sSnaxpDjGjBbAiaZXMy7F6qnj7eCcEyk6PNlM7RFoMV8O\r\nrkZar5zRBMoc4U1Igbq/hbz1xcBe2s+wOPd4KEx60/T5MZBfLCZuwbJR+dAt5JRU3skCnhi2HICb\r\nA2w1rx0nP0yDZdCvyVvz7mxZNX7hhL9AqdJew8Wtm2DR3lXLngI61ZmhL3Y02qz5kBn/nEwT7x9f\r\nn6z9NPVIGdaOhgjW+rkpypY2swIDAQABo4GTMIGQMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwXAYDVR0RBFUwU4IPc3FsbWl2YWxpZDEtc3ZjgiZzcWxt\r\naXZhbGlkMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIYc3FsbWl2YWxpZDEtc3ZjLnRlc3Qu\r\nc3ZjMA0GCSqGSIb3DQEBCwUAA4IBAQBH1LBdM7YC/Wn6Yv/kVKbreVeKFEZ1WJZl1LWvkK8pl8Tu\r\nWVv+R1Be4IDqFBA+dMgyf41cvjmq1YD8XPCs+SxiIEgyKvPlRBHhFbGFK9m/bzRgD00JqOBcf6ht\r\nFk+P0sj2hw4sG7AjJo2hXACBgAlseKv0yTswoUjmRlO9gz47IMbIu1yoytC6svleDNRXWv20dxkG\r\naRjwdjjgIwahSnUgfNdHmEr/I/NYOrFgEPNmrmnbgj0r5NRJ9gMyC6VHfc9m+PHA5Rm429pRHdOU\r\nvFt5Gm0ozfJxhCj2sN4wnTaJZUh75y7Pol2+VysbrKIeMZKwuXFVMVsBZo0pcfK0BvYn\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmivalid1-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:13:03.359946Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:09:22.669051Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:13:14 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_dryrun[test-sqlmi3].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_dryrun[test-sqlmi3].yaml new file mode 100644 index 00000000000..73d377f8434 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_dryrun[test-sqlmi3].yaml @@ -0,0 +1,132 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3196341"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 01:48:05 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","items":[{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:25:20Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:25:20Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T00:28:33Z"}],"name":"sqlmi3","namespace":"test","resourceVersion":"3196306","uid":"30becac2-c186-455a-a258-00ca9e51437b"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi3-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi3''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi3-0","mirroring":"10.91.136.162:28862","primary":"10.91.136.162,20200"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T00:27:50.639535Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJAJXxD6gtwu7DMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjUyMVoXDTI3MTEyODAwMjUyMVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwtmWV5W8ULyz\r\n0wODGFYDKj3UKurP2IHNtyjfd8tS9eTIiN94kM4z4AQFEAIEQKW9S+/788915r0XBmRJClgK/iF/\r\nRmiEL6efIBPtjzb110dao/QqCJ5U1/zyH4m58h0X5VMKD61xvxP7r3TzGBxz10bofYqZFDco/9m7\r\n32+14Lt73tq9VcUy7fUtioiexEqcKF1GUKjqf3/20lpSA9Z8usocomVG6Ew8UadNyXbo9tOV6TGr\r\nlJ4cugmOJMplJf1rq4Ywh1MD/v6KIoF+AY3Tr27HOfkuVn15TPuilu0iNd57l0LKCEvq80t9DsZo\r\n9k8PVlbh5RrbQRYUXdTwC/dzzwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkzLXN2Y4Ihc3FsbWkzLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTMtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQAJzrDs9TMyo8HwpQhVxi9z2iUdRByOVrqYuh+MjnkS9BVL/wNm5Q/h24QRBv7pVBMr\r\nGwMANZtOdJ2y7o3N09QLuvkvAhhkIWbOQn5BXH0Y0eqeOz+GolhMyLf1VG3Os/YDDlKSiuGXNaOk\r\n/p/fYWPS6IMaJsEg6+2DnP8Gr06xRbSFIBKkMSOcmC7Oi8/Vfw0QscUe/3jszLxMW9W3mQursItY\r\nTe6c5V+NFbiRPPTOrYsTIM5vgP8AsvFri1HN+WdET/hpwCNEUBVOhZIuY8Spk0jPIu7DNtfL+r8I\r\n34kFKMo43MIj7qxpbH41TfQub4K82abfbHFujB4/v6vJsDQd\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi3-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T01:47:48.619682Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-bilia","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T00:27:14.159616Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:22:25Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:22:25Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{},"f:secondary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T00:25:57Z"}],"name":"sqlmibc1","namespace":"test","resourceVersion":"3196293","uid":"c1a3a58b-87d7-46c9-8fac-d00d234892fe"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":1,"replicas":3,"scheduling":{"default":{"resources":{"limits":{"cpu":"4"},"requests":{"cpu":"4","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmibc1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"bc"},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmibc1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmibc1-0","mirroring":"10.91.136.162:3739","primary":"10.91.136.162,18872","secondary":"10.91.136.162,19183"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T00:25:30.237826Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDRDCCAiygAwIBAgIJAK1+BLA8NR+/MA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjIyN1oXDTI3MTEyODAwMjIyN1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0Pyvnodl4PwI\r\nCNbT0ojRAVVmFAt82klQWr0HrStWeX1S2QJeDsT221PrIyg4J4c2n7d/hl3DUwYVRiI89Wp+h8Ba\r\nlL7CNGOre6scyOwG0CNN5ORaqAPGdAppueyH6UQGmER6cTdpYUxRRxm+IWuhy6lPqn6P3WWWIdOI\r\nd6NA+K0QgLTtiOZDgAiBqwmzGtugU9UaDIfohYMfbf7/mpM2xWfMxELIO3nLygshaF93o+BIwIPO\r\nk2c++krVfwcmp0m3kkeIZQKcYSRyCRKLL29H2XZFdGwCmX+7iUGxPhtOvi2HO9yITwTaYbqIAoW1\r\n7zDZHVt4RUBcyHCW+Z0x3RlkxwIDAQABo4GKMIGHMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwUwYDVR0RBEwwSoIMc3FsbWliYzEtc3ZjgiNzcWxtaWJj\r\nMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIVc3FsbWliYzEtc3ZjLnRlc3Quc3ZjMA0GCSqG\r\nSIb3DQEBCwUAA4IBAQCPkjNuCmYoVCEe3efP5N0C75pmLRzRXqCNGDKX5S11cIKxEncKVysvFYRy\r\nb1aZocdlo7CKal5Dw0eJ1MYslWSvk1Il+G8XA90Vi/kbthMs/wtuyn0owz28L+VsojqHqi/WpzVS\r\nRyLG5FWTwmfNOJ87iMwqimU5Y27wiu93mLjjCgmmPv5UtUxOws21Z0cNkRHUZ/SoIxB408q+39wf\r\n1+sv3L8Xz6sOQcjAEZaDaP20Xgkw0/kqIC/OxdT35TFy7FqVybnxBpWcH88Ix5TkLnDdcmPekWOU\r\n1O6lYmgwbm8JLCLkiFuPueK4uBbC6hLzeg3UVvirUeBvl0OeG3qkkf/s\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-0","role":"PRIMARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-1","role":"SECONDARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-2","role":"SECONDARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T01:47:43.668321Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-bilia","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T00:24:38.483623Z","readyReplicas":3,"replicas":3}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:24:42Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:24:42Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T00:28:03Z"}],"name":"sqlmivalid1","namespace":"test","resourceVersion":"3196307","uid":"abdb9433-06fa-4543-8823-558edd4d5356"},"spec":{"backup":{"retentionPeriodInDays":1},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmivalid1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmivalid1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmivalid1-0","mirroring":"10.91.136.162:12486","primary":"10.91.136.162,29321"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T00:27:22.771657Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDTTCCAjWgAwIBAgIJAO6CjCY/WfkqMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjQ0M1oXDTI3MTEyODAwMjQ0M1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwHVnXMOeCQci\r\n5NomX6uwg+ENL3+6W3K0WLyj029cLGAnNHK5sXbwm2aBG9K7Tsum6jto4YWFLIlfY/WxKaY6rqXR\r\nmL6OzWvvcZHsPYXkhcPfNJjNHBKuHF3sSnaxpDjGjBbAiaZXMy7F6qnj7eCcEyk6PNlM7RFoMV8O\r\nrkZar5zRBMoc4U1Igbq/hbz1xcBe2s+wOPd4KEx60/T5MZBfLCZuwbJR+dAt5JRU3skCnhi2HICb\r\nA2w1rx0nP0yDZdCvyVvz7mxZNX7hhL9AqdJew8Wtm2DR3lXLngI61ZmhL3Y02qz5kBn/nEwT7x9f\r\nn6z9NPVIGdaOhgjW+rkpypY2swIDAQABo4GTMIGQMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwXAYDVR0RBFUwU4IPc3FsbWl2YWxpZDEtc3ZjgiZzcWxt\r\naXZhbGlkMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIYc3FsbWl2YWxpZDEtc3ZjLnRlc3Qu\r\nc3ZjMA0GCSqGSIb3DQEBCwUAA4IBAQBH1LBdM7YC/Wn6Yv/kVKbreVeKFEZ1WJZl1LWvkK8pl8Tu\r\nWVv+R1Be4IDqFBA+dMgyf41cvjmq1YD8XPCs+SxiIEgyKvPlRBHhFbGFK9m/bzRgD00JqOBcf6ht\r\nFk+P0sj2hw4sG7AjJo2hXACBgAlseKv0yTswoUjmRlO9gz47IMbIu1yoytC6svleDNRXWv20dxkG\r\naRjwdjjgIwahSnUgfNdHmEr/I/NYOrFgEPNmrmnbgj0r5NRJ9gMyC6VHfc9m+PHA5Rm429pRHdOU\r\nvFt5Gm0ozfJxhCj2sN4wnTaJZUh75y7Pol2+VysbrKIeMZKwuXFVMVsBZo0pcfK0BvYn\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmivalid1-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T01:47:48.68774Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-bilia","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T00:26:56.226656Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"SqlManagedInstanceList","metadata":{"continue":"","resourceVersion":"3196341"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 01:48:05 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-28T21:35:31Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3194614","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_ubuntu2004-bilia","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-29T01:35:33.625285Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3196341"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 01:48:05 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_fails_beyond_dc_version.yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_fails_beyond_dc_version.yaml new file mode 100644 index 00000000000..5e7ecc1a940 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_fails_beyond_dc_version.yaml @@ -0,0 +1,132 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3201425"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:17:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","items":[{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:25:20Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:15:34Z"}],"name":"sqlmi3","namespace":"test","resourceVersion":"3201388","uid":"30becac2-c186-455a-a258-00ca9e51437b"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi3-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi3''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi3-0","mirroring":"10.91.136.162:28862","primary":"10.91.136.162,20200"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:10:52.105815Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJAJXxD6gtwu7DMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjUyMVoXDTI3MTEyODAwMjUyMVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwtmWV5W8ULyz\r\n0wODGFYDKj3UKurP2IHNtyjfd8tS9eTIiN94kM4z4AQFEAIEQKW9S+/788915r0XBmRJClgK/iF/\r\nRmiEL6efIBPtjzb110dao/QqCJ5U1/zyH4m58h0X5VMKD61xvxP7r3TzGBxz10bofYqZFDco/9m7\r\n32+14Lt73tq9VcUy7fUtioiexEqcKF1GUKjqf3/20lpSA9Z8usocomVG6Ew8UadNyXbo9tOV6TGr\r\nlJ4cugmOJMplJf1rq4Ywh1MD/v6KIoF+AY3Tr27HOfkuVn15TPuilu0iNd57l0LKCEvq80t9DsZo\r\n9k8PVlbh5RrbQRYUXdTwC/dzzwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkzLXN2Y4Ihc3FsbWkzLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTMtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQAJzrDs9TMyo8HwpQhVxi9z2iUdRByOVrqYuh+MjnkS9BVL/wNm5Q/h24QRBv7pVBMr\r\nGwMANZtOdJ2y7o3N09QLuvkvAhhkIWbOQn5BXH0Y0eqeOz+GolhMyLf1VG3Os/YDDlKSiuGXNaOk\r\n/p/fYWPS6IMaJsEg6+2DnP8Gr06xRbSFIBKkMSOcmC7Oi8/Vfw0QscUe/3jszLxMW9W3mQursItY\r\nTe6c5V+NFbiRPPTOrYsTIM5vgP8AsvFri1HN+WdET/hpwCNEUBVOhZIuY8Spk0jPIu7DNtfL+r8I\r\n34kFKMo43MIj7qxpbH41TfQub4K82abfbHFujB4/v6vJsDQd\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi3-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:17:32.452046Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:15:28.11126Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:22:25Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{},"f:secondary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:11:34Z"},{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"}],"name":"sqlmibc1","namespace":"test","resourceVersion":"3201413","uid":"c1a3a58b-87d7-46c9-8fac-d00d234892fe"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":1,"replicas":3,"scheduling":{"default":{"resources":{"limits":{"cpu":"4"},"requests":{"cpu":"4","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmibc1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"bc","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmibc1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmibc1-0","mirroring":"10.91.136.162:3739","primary":"10.91.136.162,18872","secondary":"10.91.136.162,19183"},"highAvailability":{"healthState":"Error","lastUpdateTime":"2022-11-29T02:17:40.129155Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDRDCCAiygAwIBAgIJAK1+BLA8NR+/MA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjIyN1oXDTI3MTEyODAwMjIyN1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0Pyvnodl4PwI\r\nCNbT0ojRAVVmFAt82klQWr0HrStWeX1S2QJeDsT221PrIyg4J4c2n7d/hl3DUwYVRiI89Wp+h8Ba\r\nlL7CNGOre6scyOwG0CNN5ORaqAPGdAppueyH6UQGmER6cTdpYUxRRxm+IWuhy6lPqn6P3WWWIdOI\r\nd6NA+K0QgLTtiOZDgAiBqwmzGtugU9UaDIfohYMfbf7/mpM2xWfMxELIO3nLygshaF93o+BIwIPO\r\nk2c++krVfwcmp0m3kkeIZQKcYSRyCRKLL29H2XZFdGwCmX+7iUGxPhtOvi2HO9yITwTaYbqIAoW1\r\n7zDZHVt4RUBcyHCW+Z0x3RlkxwIDAQABo4GKMIGHMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwUwYDVR0RBEwwSoIMc3FsbWliYzEtc3ZjgiNzcWxtaWJj\r\nMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIVc3FsbWliYzEtc3ZjLnRlc3Quc3ZjMA0GCSqG\r\nSIb3DQEBCwUAA4IBAQCPkjNuCmYoVCEe3efP5N0C75pmLRzRXqCNGDKX5S11cIKxEncKVysvFYRy\r\nb1aZocdlo7CKal5Dw0eJ1MYslWSvk1Il+G8XA90Vi/kbthMs/wtuyn0owz28L+VsojqHqi/WpzVS\r\nRyLG5FWTwmfNOJ87iMwqimU5Y27wiu93mLjjCgmmPv5UtUxOws21Z0cNkRHUZ/SoIxB408q+39wf\r\n1+sv3L8Xz6sOQcjAEZaDaP20Xgkw0/kqIC/OxdT35TFy7FqVybnxBpWcH88Ix5TkLnDdcmPekWOU\r\n1O6lYmgwbm8JLCLkiFuPueK4uBbC6hLzeg3UVvirUeBvl0OeG3qkkf/s\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-0","role":"PRIMARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-1","role":"SECONDARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"DISCONNECTED","healthState":"Error","replicaName":"sqlmibc1-2","role":"SECONDARY","secondaryRoleAllowConnections":"NO","synchronizationState":"NOT_HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:17:40.129157Z","observedGeneration":2,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:17:29.719053Z","readyReplicas":3,"replicas":3}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Updating"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:24:42Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:15:34Z"}],"name":"sqlmivalid1","namespace":"test","resourceVersion":"3201394","uid":"abdb9433-06fa-4543-8823-558edd4d5356"},"spec":{"backup":{"retentionPeriodInDays":1},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmivalid1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmivalid1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmivalid1-0","mirroring":"10.91.136.162:12486","primary":"10.91.136.162,29321"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:10:52.047289Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDTTCCAjWgAwIBAgIJAO6CjCY/WfkqMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjQ0M1oXDTI3MTEyODAwMjQ0M1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwHVnXMOeCQci\r\n5NomX6uwg+ENL3+6W3K0WLyj029cLGAnNHK5sXbwm2aBG9K7Tsum6jto4YWFLIlfY/WxKaY6rqXR\r\nmL6OzWvvcZHsPYXkhcPfNJjNHBKuHF3sSnaxpDjGjBbAiaZXMy7F6qnj7eCcEyk6PNlM7RFoMV8O\r\nrkZar5zRBMoc4U1Igbq/hbz1xcBe2s+wOPd4KEx60/T5MZBfLCZuwbJR+dAt5JRU3skCnhi2HICb\r\nA2w1rx0nP0yDZdCvyVvz7mxZNX7hhL9AqdJew8Wtm2DR3lXLngI61ZmhL3Y02qz5kBn/nEwT7x9f\r\nn6z9NPVIGdaOhgjW+rkpypY2swIDAQABo4GTMIGQMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwXAYDVR0RBFUwU4IPc3FsbWl2YWxpZDEtc3ZjgiZzcWxt\r\naXZhbGlkMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIYc3FsbWl2YWxpZDEtc3ZjLnRlc3Qu\r\nc3ZjMA0GCSqGSIb3DQEBCwUAA4IBAQBH1LBdM7YC/Wn6Yv/kVKbreVeKFEZ1WJZl1LWvkK8pl8Tu\r\nWVv+R1Be4IDqFBA+dMgyf41cvjmq1YD8XPCs+SxiIEgyKvPlRBHhFbGFK9m/bzRgD00JqOBcf6ht\r\nFk+P0sj2hw4sG7AjJo2hXACBgAlseKv0yTswoUjmRlO9gz47IMbIu1yoytC6svleDNRXWv20dxkG\r\naRjwdjjgIwahSnUgfNdHmEr/I/NYOrFgEPNmrmnbgj0r5NRJ9gMyC6VHfc9m+PHA5Rm429pRHdOU\r\nvFt5Gm0ozfJxhCj2sN4wnTaJZUh75y7Pol2+VysbrKIeMZKwuXFVMVsBZo0pcfK0BvYn\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmivalid1-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:17:33.779376Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:15:28.203344Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}}],"kind":"SqlManagedInstanceList","metadata":{"continue":"","resourceVersion":"3201426"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:17:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":3,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T01:59:20Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-29T02:08:53Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:11:34Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3200980","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_upgrade-test","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-29T02:15:34.580088Z","observedGeneration":3,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3201426"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:17:45 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_pre_dc_upgrade[test-sqlmi3].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_pre_dc_upgrade[test-sqlmi3].yaml new file mode 100644 index 00000000000..573a50a5995 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_pre_dc_upgrade[test-sqlmi3].yaml @@ -0,0 +1,132 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3202773"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:23:31 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","items":[{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:25:20Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:15:34Z"}],"name":"sqlmi3","namespace":"test","resourceVersion":"3202711","uid":"30becac2-c186-455a-a258-00ca9e51437b"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi3-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi3''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi3-0","mirroring":"10.91.136.162:28862","primary":"10.91.136.162,20200"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:22:25.638336Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJAJXxD6gtwu7DMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjUyMVoXDTI3MTEyODAwMjUyMVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwtmWV5W8ULyz\r\n0wODGFYDKj3UKurP2IHNtyjfd8tS9eTIiN94kM4z4AQFEAIEQKW9S+/788915r0XBmRJClgK/iF/\r\nRmiEL6efIBPtjzb110dao/QqCJ5U1/zyH4m58h0X5VMKD61xvxP7r3TzGBxz10bofYqZFDco/9m7\r\n32+14Lt73tq9VcUy7fUtioiexEqcKF1GUKjqf3/20lpSA9Z8usocomVG6Ew8UadNyXbo9tOV6TGr\r\nlJ4cugmOJMplJf1rq4Ywh1MD/v6KIoF+AY3Tr27HOfkuVn15TPuilu0iNd57l0LKCEvq80t9DsZo\r\n9k8PVlbh5RrbQRYUXdTwC/dzzwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkzLXN2Y4Ihc3FsbWkzLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTMtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQAJzrDs9TMyo8HwpQhVxi9z2iUdRByOVrqYuh+MjnkS9BVL/wNm5Q/h24QRBv7pVBMr\r\nGwMANZtOdJ2y7o3N09QLuvkvAhhkIWbOQn5BXH0Y0eqeOz+GolhMyLf1VG3Os/YDDlKSiuGXNaOk\r\n/p/fYWPS6IMaJsEg6+2DnP8Gr06xRbSFIBKkMSOcmC7Oi8/Vfw0QscUe/3jszLxMW9W3mQursItY\r\nTe6c5V+NFbiRPPTOrYsTIM5vgP8AsvFri1HN+WdET/hpwCNEUBVOhZIuY8Spk0jPIu7DNtfL+r8I\r\n34kFKMo43MIj7qxpbH41TfQub4K82abfbHFujB4/v6vJsDQd\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi3-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:23:02.971153Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:20:56.383152Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:22:25Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{},"f:secondary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:20:17Z"}],"name":"sqlmibc1","namespace":"test","resourceVersion":"3202764","uid":"c1a3a58b-87d7-46c9-8fac-d00d234892fe"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":1,"replicas":3,"scheduling":{"default":{"resources":{"limits":{"cpu":"4"},"requests":{"cpu":"4","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmibc1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"bc","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmibc1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmibc1-0","mirroring":"10.91.136.162:3739","primary":"10.91.136.162,18872","secondary":"10.91.136.162,19183"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:21:06.408158Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDRDCCAiygAwIBAgIJAK1+BLA8NR+/MA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjIyN1oXDTI3MTEyODAwMjIyN1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0Pyvnodl4PwI\r\nCNbT0ojRAVVmFAt82klQWr0HrStWeX1S2QJeDsT221PrIyg4J4c2n7d/hl3DUwYVRiI89Wp+h8Ba\r\nlL7CNGOre6scyOwG0CNN5ORaqAPGdAppueyH6UQGmER6cTdpYUxRRxm+IWuhy6lPqn6P3WWWIdOI\r\nd6NA+K0QgLTtiOZDgAiBqwmzGtugU9UaDIfohYMfbf7/mpM2xWfMxELIO3nLygshaF93o+BIwIPO\r\nk2c++krVfwcmp0m3kkeIZQKcYSRyCRKLL29H2XZFdGwCmX+7iUGxPhtOvi2HO9yITwTaYbqIAoW1\r\n7zDZHVt4RUBcyHCW+Z0x3RlkxwIDAQABo4GKMIGHMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwUwYDVR0RBEwwSoIMc3FsbWliYzEtc3ZjgiNzcWxtaWJj\r\nMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIVc3FsbWliYzEtc3ZjLnRlc3Quc3ZjMA0GCSqG\r\nSIb3DQEBCwUAA4IBAQCPkjNuCmYoVCEe3efP5N0C75pmLRzRXqCNGDKX5S11cIKxEncKVysvFYRy\r\nb1aZocdlo7CKal5Dw0eJ1MYslWSvk1Il+G8XA90Vi/kbthMs/wtuyn0owz28L+VsojqHqi/WpzVS\r\nRyLG5FWTwmfNOJ87iMwqimU5Y27wiu93mLjjCgmmPv5UtUxOws21Z0cNkRHUZ/SoIxB408q+39wf\r\n1+sv3L8Xz6sOQcjAEZaDaP20Xgkw0/kqIC/OxdT35TFy7FqVybnxBpWcH88Ix5TkLnDdcmPekWOU\r\n1O6lYmgwbm8JLCLkiFuPueK4uBbC6hLzeg3UVvirUeBvl0OeG3qkkf/s\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-0","role":"SECONDARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-1","role":"PRIMARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-2","role":"SECONDARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:23:26.90841Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:20:56.191592Z","readyReplicas":3,"replicas":3}},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:24:42Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:15:34Z"}],"name":"sqlmivalid1","namespace":"test","resourceVersion":"3202725","uid":"abdb9433-06fa-4543-8823-558edd4d5356"},"spec":{"backup":{"retentionPeriodInDays":1},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmivalid1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmivalid1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmivalid1-0","mirroring":"10.91.136.162:12486","primary":"10.91.136.162,29321"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:22:25.583691Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDTTCCAjWgAwIBAgIJAO6CjCY/WfkqMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjQ0M1oXDTI3MTEyODAwMjQ0M1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwHVnXMOeCQci\r\n5NomX6uwg+ENL3+6W3K0WLyj029cLGAnNHK5sXbwm2aBG9K7Tsum6jto4YWFLIlfY/WxKaY6rqXR\r\nmL6OzWvvcZHsPYXkhcPfNJjNHBKuHF3sSnaxpDjGjBbAiaZXMy7F6qnj7eCcEyk6PNlM7RFoMV8O\r\nrkZar5zRBMoc4U1Igbq/hbz1xcBe2s+wOPd4KEx60/T5MZBfLCZuwbJR+dAt5JRU3skCnhi2HICb\r\nA2w1rx0nP0yDZdCvyVvz7mxZNX7hhL9AqdJew8Wtm2DR3lXLngI61ZmhL3Y02qz5kBn/nEwT7x9f\r\nn6z9NPVIGdaOhgjW+rkpypY2swIDAQABo4GTMIGQMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwXAYDVR0RBFUwU4IPc3FsbWl2YWxpZDEtc3ZjgiZzcWxt\r\naXZhbGlkMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIYc3FsbWl2YWxpZDEtc3ZjLnRlc3Qu\r\nc3ZjMA0GCSqGSIb3DQEBCwUAA4IBAQBH1LBdM7YC/Wn6Yv/kVKbreVeKFEZ1WJZl1LWvkK8pl8Tu\r\nWVv+R1Be4IDqFBA+dMgyf41cvjmq1YD8XPCs+SxiIEgyKvPlRBHhFbGFK9m/bzRgD00JqOBcf6ht\r\nFk+P0sj2hw4sG7AjJo2hXACBgAlseKv0yTswoUjmRlO9gz47IMbIu1yoytC6svleDNRXWv20dxkG\r\naRjwdjjgIwahSnUgfNdHmEr/I/NYOrFgEPNmrmnbgj0r5NRJ9gMyC6VHfc9m+PHA5Rm429pRHdOU\r\nvFt5Gm0ozfJxhCj2sN4wnTaJZUh75y7Pol2+VysbrKIeMZKwuXFVMVsBZo0pcfK0BvYn\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmivalid1-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:23:08.535508Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:20:56.299124Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}}],"kind":"SqlManagedInstanceList","metadata":{"continue":"","resourceVersion":"3202774"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:23:31 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":4,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T01:59:20Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-29T02:20:26Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:20:56Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3202652","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_upgrade-test2","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-29T02:22:37.70222Z","observedGeneration":4,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test2","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"runningVersion":"v1.14.0_upgrade-test2","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3202774"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:23:31 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_to_unsupported_version[test-sqlmi3-20211026.5_master].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_to_unsupported_version[test-sqlmi3-20211026.5_master].yaml new file mode 100644 index 00000000000..fc4c9d4aee4 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_to_unsupported_version[test-sqlmi3-20211026.5_master].yaml @@ -0,0 +1,132 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3202596"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:22:20 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","items":[{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:25:20Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:15:34Z"}],"name":"sqlmi3","namespace":"test","resourceVersion":"3202548","uid":"30becac2-c186-455a-a258-00ca9e51437b"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi3-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi3''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi3-0","mirroring":"10.91.136.162:28862","primary":"10.91.136.162,20200"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:20:56.119954Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJAJXxD6gtwu7DMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjUyMVoXDTI3MTEyODAwMjUyMVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwtmWV5W8ULyz\r\n0wODGFYDKj3UKurP2IHNtyjfd8tS9eTIiN94kM4z4AQFEAIEQKW9S+/788915r0XBmRJClgK/iF/\r\nRmiEL6efIBPtjzb110dao/QqCJ5U1/zyH4m58h0X5VMKD61xvxP7r3TzGBxz10bofYqZFDco/9m7\r\n32+14Lt73tq9VcUy7fUtioiexEqcKF1GUKjqf3/20lpSA9Z8usocomVG6Ew8UadNyXbo9tOV6TGr\r\nlJ4cugmOJMplJf1rq4Ywh1MD/v6KIoF+AY3Tr27HOfkuVn15TPuilu0iNd57l0LKCEvq80t9DsZo\r\n9k8PVlbh5RrbQRYUXdTwC/dzzwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkzLXN2Y4Ihc3FsbWkzLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTMtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQAJzrDs9TMyo8HwpQhVxi9z2iUdRByOVrqYuh+MjnkS9BVL/wNm5Q/h24QRBv7pVBMr\r\nGwMANZtOdJ2y7o3N09QLuvkvAhhkIWbOQn5BXH0Y0eqeOz+GolhMyLf1VG3Os/YDDlKSiuGXNaOk\r\n/p/fYWPS6IMaJsEg6+2DnP8Gr06xRbSFIBKkMSOcmC7Oi8/Vfw0QscUe/3jszLxMW9W3mQursItY\r\nTe6c5V+NFbiRPPTOrYsTIM5vgP8AsvFri1HN+WdET/hpwCNEUBVOhZIuY8Spk0jPIu7DNtfL+r8I\r\n34kFKMo43MIj7qxpbH41TfQub4K82abfbHFujB4/v6vJsDQd\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi3-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:22:02.773461Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:20:56.383152Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:22:25Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{},"f:secondary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:20:17Z"}],"name":"sqlmibc1","namespace":"test","resourceVersion":"3202495","uid":"c1a3a58b-87d7-46c9-8fac-d00d234892fe"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":1,"replicas":3,"scheduling":{"default":{"resources":{"limits":{"cpu":"4"},"requests":{"cpu":"4","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmibc1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"bc","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmibc1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmibc1-0","mirroring":"10.91.136.162:3739","primary":"10.91.136.162,18872","secondary":"10.91.136.162,19183"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:21:06.408158Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDRDCCAiygAwIBAgIJAK1+BLA8NR+/MA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjIyN1oXDTI3MTEyODAwMjIyN1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0Pyvnodl4PwI\r\nCNbT0ojRAVVmFAt82klQWr0HrStWeX1S2QJeDsT221PrIyg4J4c2n7d/hl3DUwYVRiI89Wp+h8Ba\r\nlL7CNGOre6scyOwG0CNN5ORaqAPGdAppueyH6UQGmER6cTdpYUxRRxm+IWuhy6lPqn6P3WWWIdOI\r\nd6NA+K0QgLTtiOZDgAiBqwmzGtugU9UaDIfohYMfbf7/mpM2xWfMxELIO3nLygshaF93o+BIwIPO\r\nk2c++krVfwcmp0m3kkeIZQKcYSRyCRKLL29H2XZFdGwCmX+7iUGxPhtOvi2HO9yITwTaYbqIAoW1\r\n7zDZHVt4RUBcyHCW+Z0x3RlkxwIDAQABo4GKMIGHMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwUwYDVR0RBEwwSoIMc3FsbWliYzEtc3ZjgiNzcWxtaWJj\r\nMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIVc3FsbWliYzEtc3ZjLnRlc3Quc3ZjMA0GCSqG\r\nSIb3DQEBCwUAA4IBAQCPkjNuCmYoVCEe3efP5N0C75pmLRzRXqCNGDKX5S11cIKxEncKVysvFYRy\r\nb1aZocdlo7CKal5Dw0eJ1MYslWSvk1Il+G8XA90Vi/kbthMs/wtuyn0owz28L+VsojqHqi/WpzVS\r\nRyLG5FWTwmfNOJ87iMwqimU5Y27wiu93mLjjCgmmPv5UtUxOws21Z0cNkRHUZ/SoIxB408q+39wf\r\n1+sv3L8Xz6sOQcjAEZaDaP20Xgkw0/kqIC/OxdT35TFy7FqVybnxBpWcH88Ix5TkLnDdcmPekWOU\r\n1O6lYmgwbm8JLCLkiFuPueK4uBbC6hLzeg3UVvirUeBvl0OeG3qkkf/s\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-0","role":"SECONDARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-1","role":"PRIMARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-2","role":"SECONDARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:21:56.586942Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:20:56.191592Z","readyReplicas":3,"replicas":3}},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:24:42Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:15:34Z"}],"name":"sqlmivalid1","namespace":"test","resourceVersion":"3202569","uid":"abdb9433-06fa-4543-8823-558edd4d5356"},"spec":{"backup":{"retentionPeriodInDays":1},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmivalid1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://localhost:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmivalid1''))","metricsDashboard":"https://localhost:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmivalid1-0","mirroring":"10.91.136.162:12486","primary":"10.91.136.162,29321"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:20:55.703098Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDTTCCAjWgAwIBAgIJAO6CjCY/WfkqMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjQ0M1oXDTI3MTEyODAwMjQ0M1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwHVnXMOeCQci\r\n5NomX6uwg+ENL3+6W3K0WLyj029cLGAnNHK5sXbwm2aBG9K7Tsum6jto4YWFLIlfY/WxKaY6rqXR\r\nmL6OzWvvcZHsPYXkhcPfNJjNHBKuHF3sSnaxpDjGjBbAiaZXMy7F6qnj7eCcEyk6PNlM7RFoMV8O\r\nrkZar5zRBMoc4U1Igbq/hbz1xcBe2s+wOPd4KEx60/T5MZBfLCZuwbJR+dAt5JRU3skCnhi2HICb\r\nA2w1rx0nP0yDZdCvyVvz7mxZNX7hhL9AqdJew8Wtm2DR3lXLngI61ZmhL3Y02qz5kBn/nEwT7x9f\r\nn6z9NPVIGdaOhgjW+rkpypY2swIDAQABo4GTMIGQMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwXAYDVR0RBFUwU4IPc3FsbWl2YWxpZDEtc3ZjgiZzcWxt\r\naXZhbGlkMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIYc3FsbWl2YWxpZDEtc3ZjLnRlc3Qu\r\nc3ZjMA0GCSqGSIb3DQEBCwUAA4IBAQBH1LBdM7YC/Wn6Yv/kVKbreVeKFEZ1WJZl1LWvkK8pl8Tu\r\nWVv+R1Be4IDqFBA+dMgyf41cvjmq1YD8XPCs+SxiIEgyKvPlRBHhFbGFK9m/bzRgD00JqOBcf6ht\r\nFk+P0sj2hw4sG7AjJo2hXACBgAlseKv0yTswoUjmRlO9gz47IMbIu1yoytC6svleDNRXWv20dxkG\r\naRjwdjjgIwahSnUgfNdHmEr/I/NYOrFgEPNmrmnbgj0r5NRJ9gMyC6VHfc9m+PHA5Rm429pRHdOU\r\nvFt5Gm0ozfJxhCj2sN4wnTaJZUh75y7Pol2+VysbrKIeMZKwuXFVMVsBZo0pcfK0BvYn\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmivalid1-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:22:08.333355Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:20:56.299124Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}}],"kind":"SqlManagedInstanceList","metadata":{"continue":"","resourceVersion":"3202596"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:22:20 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":4,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T01:59:20Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-29T02:20:26Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:20:56Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3202202","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_upgrade-test2","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-29T02:20:56.159767Z","observedGeneration":4,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"runningVersion":"v1.14.0_upgrade-test","state":"UpdatingDependentResources"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3202596"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:22:20 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_with_instance_not_exists[test-sqlmi100-v1.2.0_2021-12-15].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_with_instance_not_exists[test-sqlmi100-v1.2.0_2021-12-15].yaml new file mode 100644 index 00000000000..da86d23edc8 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_with_instance_not_exists[test-sqlmi100-v1.2.0_2021-12-15].yaml @@ -0,0 +1,100 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3202606"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:22:23 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","items":[{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:25:20Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:15:34Z"}],"name":"sqlmi3","namespace":"test","resourceVersion":"3202548","uid":"30becac2-c186-455a-a258-00ca9e51437b"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi3-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi3''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi3-0","mirroring":"10.91.136.162:28862","primary":"10.91.136.162,20200"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:20:56.119954Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJAJXxD6gtwu7DMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjUyMVoXDTI3MTEyODAwMjUyMVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwtmWV5W8ULyz\r\n0wODGFYDKj3UKurP2IHNtyjfd8tS9eTIiN94kM4z4AQFEAIEQKW9S+/788915r0XBmRJClgK/iF/\r\nRmiEL6efIBPtjzb110dao/QqCJ5U1/zyH4m58h0X5VMKD61xvxP7r3TzGBxz10bofYqZFDco/9m7\r\n32+14Lt73tq9VcUy7fUtioiexEqcKF1GUKjqf3/20lpSA9Z8usocomVG6Ew8UadNyXbo9tOV6TGr\r\nlJ4cugmOJMplJf1rq4Ywh1MD/v6KIoF+AY3Tr27HOfkuVn15TPuilu0iNd57l0LKCEvq80t9DsZo\r\n9k8PVlbh5RrbQRYUXdTwC/dzzwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkzLXN2Y4Ihc3FsbWkzLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTMtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQAJzrDs9TMyo8HwpQhVxi9z2iUdRByOVrqYuh+MjnkS9BVL/wNm5Q/h24QRBv7pVBMr\r\nGwMANZtOdJ2y7o3N09QLuvkvAhhkIWbOQn5BXH0Y0eqeOz+GolhMyLf1VG3Os/YDDlKSiuGXNaOk\r\n/p/fYWPS6IMaJsEg6+2DnP8Gr06xRbSFIBKkMSOcmC7Oi8/Vfw0QscUe/3jszLxMW9W3mQursItY\r\nTe6c5V+NFbiRPPTOrYsTIM5vgP8AsvFri1HN+WdET/hpwCNEUBVOhZIuY8Spk0jPIu7DNtfL+r8I\r\n34kFKMo43MIj7qxpbH41TfQub4K82abfbHFujB4/v6vJsDQd\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi3-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:22:02.773461Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:20:56.383152Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:22:25Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{},"f:secondary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:20:17Z"}],"name":"sqlmibc1","namespace":"test","resourceVersion":"3202495","uid":"c1a3a58b-87d7-46c9-8fac-d00d234892fe"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":1,"replicas":3,"scheduling":{"default":{"resources":{"limits":{"cpu":"4"},"requests":{"cpu":"4","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmibc1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"bc","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmibc1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmibc1-0","mirroring":"10.91.136.162:3739","primary":"10.91.136.162,18872","secondary":"10.91.136.162,19183"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:21:06.408158Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDRDCCAiygAwIBAgIJAK1+BLA8NR+/MA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjIyN1oXDTI3MTEyODAwMjIyN1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0Pyvnodl4PwI\r\nCNbT0ojRAVVmFAt82klQWr0HrStWeX1S2QJeDsT221PrIyg4J4c2n7d/hl3DUwYVRiI89Wp+h8Ba\r\nlL7CNGOre6scyOwG0CNN5ORaqAPGdAppueyH6UQGmER6cTdpYUxRRxm+IWuhy6lPqn6P3WWWIdOI\r\nd6NA+K0QgLTtiOZDgAiBqwmzGtugU9UaDIfohYMfbf7/mpM2xWfMxELIO3nLygshaF93o+BIwIPO\r\nk2c++krVfwcmp0m3kkeIZQKcYSRyCRKLL29H2XZFdGwCmX+7iUGxPhtOvi2HO9yITwTaYbqIAoW1\r\n7zDZHVt4RUBcyHCW+Z0x3RlkxwIDAQABo4GKMIGHMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwUwYDVR0RBEwwSoIMc3FsbWliYzEtc3ZjgiNzcWxtaWJj\r\nMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIVc3FsbWliYzEtc3ZjLnRlc3Quc3ZjMA0GCSqG\r\nSIb3DQEBCwUAA4IBAQCPkjNuCmYoVCEe3efP5N0C75pmLRzRXqCNGDKX5S11cIKxEncKVysvFYRy\r\nb1aZocdlo7CKal5Dw0eJ1MYslWSvk1Il+G8XA90Vi/kbthMs/wtuyn0owz28L+VsojqHqi/WpzVS\r\nRyLG5FWTwmfNOJ87iMwqimU5Y27wiu93mLjjCgmmPv5UtUxOws21Z0cNkRHUZ/SoIxB408q+39wf\r\n1+sv3L8Xz6sOQcjAEZaDaP20Xgkw0/kqIC/OxdT35TFy7FqVybnxBpWcH88Ix5TkLnDdcmPekWOU\r\n1O6lYmgwbm8JLCLkiFuPueK4uBbC6hLzeg3UVvirUeBvl0OeG3qkkf/s\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-0","role":"SECONDARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-1","role":"PRIMARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-2","role":"SECONDARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:21:56.586942Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:20:56.191592Z","readyReplicas":3,"replicas":3}},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:24:42Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:15:34Z"}],"name":"sqlmivalid1","namespace":"test","resourceVersion":"3202569","uid":"abdb9433-06fa-4543-8823-558edd4d5356"},"spec":{"backup":{"retentionPeriodInDays":1},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmivalid1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://localhost:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmivalid1''))","metricsDashboard":"https://localhost:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmivalid1-0","mirroring":"10.91.136.162:12486","primary":"10.91.136.162,29321"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:20:55.703098Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDTTCCAjWgAwIBAgIJAO6CjCY/WfkqMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjQ0M1oXDTI3MTEyODAwMjQ0M1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwHVnXMOeCQci\r\n5NomX6uwg+ENL3+6W3K0WLyj029cLGAnNHK5sXbwm2aBG9K7Tsum6jto4YWFLIlfY/WxKaY6rqXR\r\nmL6OzWvvcZHsPYXkhcPfNJjNHBKuHF3sSnaxpDjGjBbAiaZXMy7F6qnj7eCcEyk6PNlM7RFoMV8O\r\nrkZar5zRBMoc4U1Igbq/hbz1xcBe2s+wOPd4KEx60/T5MZBfLCZuwbJR+dAt5JRU3skCnhi2HICb\r\nA2w1rx0nP0yDZdCvyVvz7mxZNX7hhL9AqdJew8Wtm2DR3lXLngI61ZmhL3Y02qz5kBn/nEwT7x9f\r\nn6z9NPVIGdaOhgjW+rkpypY2swIDAQABo4GTMIGQMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwXAYDVR0RBFUwU4IPc3FsbWl2YWxpZDEtc3ZjgiZzcWxt\r\naXZhbGlkMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIYc3FsbWl2YWxpZDEtc3ZjLnRlc3Qu\r\nc3ZjMA0GCSqGSIb3DQEBCwUAA4IBAQBH1LBdM7YC/Wn6Yv/kVKbreVeKFEZ1WJZl1LWvkK8pl8Tu\r\nWVv+R1Be4IDqFBA+dMgyf41cvjmq1YD8XPCs+SxiIEgyKvPlRBHhFbGFK9m/bzRgD00JqOBcf6ht\r\nFk+P0sj2hw4sG7AjJo2hXACBgAlseKv0yTswoUjmRlO9gz47IMbIu1yoytC6svleDNRXWv20dxkG\r\naRjwdjjgIwahSnUgfNdHmEr/I/NYOrFgEPNmrmnbgj0r5NRJ9gMyC6VHfc9m+PHA5Rm429pRHdOU\r\nvFt5Gm0ozfJxhCj2sN4wnTaJZUh75y7Pol2+VysbrKIeMZKwuXFVMVsBZo0pcfK0BvYn\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmivalid1-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:22:08.333355Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:20:56.299124Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}}],"kind":"SqlManagedInstanceList","metadata":{"continue":"","resourceVersion":"3202606"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:22:23 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_with_name[test-sqlmi3-v1.14.0_upgrade-test2].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_with_name[test-sqlmi3-v1.14.0_upgrade-test2].yaml new file mode 100644 index 00000000000..9a204b8422e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_with_name[test-sqlmi3-v1.14.0_upgrade-test2].yaml @@ -0,0 +1,166 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3202962"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:24:57 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","items":[{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:25:20Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:15:34Z"}],"name":"sqlmi3","namespace":"test","resourceVersion":"3202909","uid":"30becac2-c186-455a-a258-00ca9e51437b"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi3-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi3''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi3-0","mirroring":"10.91.136.162:28862","primary":"10.91.136.162,20200"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:22:25.638336Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJAJXxD6gtwu7DMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjUyMVoXDTI3MTEyODAwMjUyMVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwtmWV5W8ULyz\r\n0wODGFYDKj3UKurP2IHNtyjfd8tS9eTIiN94kM4z4AQFEAIEQKW9S+/788915r0XBmRJClgK/iF/\r\nRmiEL6efIBPtjzb110dao/QqCJ5U1/zyH4m58h0X5VMKD61xvxP7r3TzGBxz10bofYqZFDco/9m7\r\n32+14Lt73tq9VcUy7fUtioiexEqcKF1GUKjqf3/20lpSA9Z8usocomVG6Ew8UadNyXbo9tOV6TGr\r\nlJ4cugmOJMplJf1rq4Ywh1MD/v6KIoF+AY3Tr27HOfkuVn15TPuilu0iNd57l0LKCEvq80t9DsZo\r\n9k8PVlbh5RrbQRYUXdTwC/dzzwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkzLXN2Y4Ihc3FsbWkzLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTMtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQAJzrDs9TMyo8HwpQhVxi9z2iUdRByOVrqYuh+MjnkS9BVL/wNm5Q/h24QRBv7pVBMr\r\nGwMANZtOdJ2y7o3N09QLuvkvAhhkIWbOQn5BXH0Y0eqeOz+GolhMyLf1VG3Os/YDDlKSiuGXNaOk\r\n/p/fYWPS6IMaJsEg6+2DnP8Gr06xRbSFIBKkMSOcmC7Oi8/Vfw0QscUe/3jszLxMW9W3mQursItY\r\nTe6c5V+NFbiRPPTOrYsTIM5vgP8AsvFri1HN+WdET/hpwCNEUBVOhZIuY8Spk0jPIu7DNtfL+r8I\r\n34kFKMo43MIj7qxpbH41TfQub4K82abfbHFujB4/v6vJsDQd\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi3-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:24:33.264102Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:20:56.383152Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:22:25Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{},"f:secondary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:20:17Z"}],"name":"sqlmibc1","namespace":"test","resourceVersion":"3202961","uid":"c1a3a58b-87d7-46c9-8fac-d00d234892fe"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":1,"replicas":3,"scheduling":{"default":{"resources":{"limits":{"cpu":"4"},"requests":{"cpu":"4","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmibc1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"bc","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmibc1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmibc1-0","mirroring":"10.91.136.162:3739","primary":"10.91.136.162,18872","secondary":"10.91.136.162,19183"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:21:06.408158Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDRDCCAiygAwIBAgIJAK1+BLA8NR+/MA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjIyN1oXDTI3MTEyODAwMjIyN1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0Pyvnodl4PwI\r\nCNbT0ojRAVVmFAt82klQWr0HrStWeX1S2QJeDsT221PrIyg4J4c2n7d/hl3DUwYVRiI89Wp+h8Ba\r\nlL7CNGOre6scyOwG0CNN5ORaqAPGdAppueyH6UQGmER6cTdpYUxRRxm+IWuhy6lPqn6P3WWWIdOI\r\nd6NA+K0QgLTtiOZDgAiBqwmzGtugU9UaDIfohYMfbf7/mpM2xWfMxELIO3nLygshaF93o+BIwIPO\r\nk2c++krVfwcmp0m3kkeIZQKcYSRyCRKLL29H2XZFdGwCmX+7iUGxPhtOvi2HO9yITwTaYbqIAoW1\r\n7zDZHVt4RUBcyHCW+Z0x3RlkxwIDAQABo4GKMIGHMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwUwYDVR0RBEwwSoIMc3FsbWliYzEtc3ZjgiNzcWxtaWJj\r\nMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIVc3FsbWliYzEtc3ZjLnRlc3Quc3ZjMA0GCSqG\r\nSIb3DQEBCwUAA4IBAQCPkjNuCmYoVCEe3efP5N0C75pmLRzRXqCNGDKX5S11cIKxEncKVysvFYRy\r\nb1aZocdlo7CKal5Dw0eJ1MYslWSvk1Il+G8XA90Vi/kbthMs/wtuyn0owz28L+VsojqHqi/WpzVS\r\nRyLG5FWTwmfNOJ87iMwqimU5Y27wiu93mLjjCgmmPv5UtUxOws21Z0cNkRHUZ/SoIxB408q+39wf\r\n1+sv3L8Xz6sOQcjAEZaDaP20Xgkw0/kqIC/OxdT35TFy7FqVybnxBpWcH88Ix5TkLnDdcmPekWOU\r\n1O6lYmgwbm8JLCLkiFuPueK4uBbC6hLzeg3UVvirUeBvl0OeG3qkkf/s\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-0","role":"SECONDARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-1","role":"PRIMARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-2","role":"SECONDARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:24:57.220949Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:20:56.191592Z","readyReplicas":3,"replicas":3}},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:24:42Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:15:34Z"}],"name":"sqlmivalid1","namespace":"test","resourceVersion":"3202923","uid":"abdb9433-06fa-4543-8823-558edd4d5356"},"spec":{"backup":{"retentionPeriodInDays":1},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmivalid1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmivalid1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmivalid1-0","mirroring":"10.91.136.162:12486","primary":"10.91.136.162,29321"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:22:25.583691Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDTTCCAjWgAwIBAgIJAO6CjCY/WfkqMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjQ0M1oXDTI3MTEyODAwMjQ0M1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwHVnXMOeCQci\r\n5NomX6uwg+ENL3+6W3K0WLyj029cLGAnNHK5sXbwm2aBG9K7Tsum6jto4YWFLIlfY/WxKaY6rqXR\r\nmL6OzWvvcZHsPYXkhcPfNJjNHBKuHF3sSnaxpDjGjBbAiaZXMy7F6qnj7eCcEyk6PNlM7RFoMV8O\r\nrkZar5zRBMoc4U1Igbq/hbz1xcBe2s+wOPd4KEx60/T5MZBfLCZuwbJR+dAt5JRU3skCnhi2HICb\r\nA2w1rx0nP0yDZdCvyVvz7mxZNX7hhL9AqdJew8Wtm2DR3lXLngI61ZmhL3Y02qz5kBn/nEwT7x9f\r\nn6z9NPVIGdaOhgjW+rkpypY2swIDAQABo4GTMIGQMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwXAYDVR0RBFUwU4IPc3FsbWl2YWxpZDEtc3ZjgiZzcWxt\r\naXZhbGlkMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIYc3FsbWl2YWxpZDEtc3ZjLnRlc3Qu\r\nc3ZjMA0GCSqGSIb3DQEBCwUAA4IBAQBH1LBdM7YC/Wn6Yv/kVKbreVeKFEZ1WJZl1LWvkK8pl8Tu\r\nWVv+R1Be4IDqFBA+dMgyf41cvjmq1YD8XPCs+SxiIEgyKvPlRBHhFbGFK9m/bzRgD00JqOBcf6ht\r\nFk+P0sj2hw4sG7AjJo2hXACBgAlseKv0yTswoUjmRlO9gz47IMbIu1yoytC6svleDNRXWv20dxkG\r\naRjwdjjgIwahSnUgfNdHmEr/I/NYOrFgEPNmrmnbgj0r5NRJ9gMyC6VHfc9m+PHA5Rm429pRHdOU\r\nvFt5Gm0ozfJxhCj2sN4wnTaJZUh75y7Pol2+VysbrKIeMZKwuXFVMVsBZo0pcfK0BvYn\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmivalid1-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:24:38.865655Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:20:56.299124Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}}],"kind":"SqlManagedInstanceList","metadata":{"continue":"","resourceVersion":"3202962"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:24:57 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":4,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T01:59:20Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-29T02:20:26Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:20:56Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3202652","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_upgrade-test2","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-29T02:22:37.70222Z","observedGeneration":4,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test2","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"runningVersion":"v1.14.0_upgrade-test2","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3202962"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:24:57 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: '{"spec": {"update": {"desiredVersion": "v1.14.0_upgrade-test2"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmi3 + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:25:20Z","generation":3,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:15:34Z"}],"name":"sqlmi3","namespace":"test","resourceVersion":"3202963","uid":"30becac2-c186-455a-a258-00ca9e51437b"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi3-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose","update":{"desiredVersion":"v1.14.0_upgrade-test2"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi3''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi3-0","mirroring":"10.91.136.162:28862","primary":"10.91.136.162,20200"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:22:25.638336Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJAJXxD6gtwu7DMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjUyMVoXDTI3MTEyODAwMjUyMVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwtmWV5W8ULyz\r\n0wODGFYDKj3UKurP2IHNtyjfd8tS9eTIiN94kM4z4AQFEAIEQKW9S+/788915r0XBmRJClgK/iF/\r\nRmiEL6efIBPtjzb110dao/QqCJ5U1/zyH4m58h0X5VMKD61xvxP7r3TzGBxz10bofYqZFDco/9m7\r\n32+14Lt73tq9VcUy7fUtioiexEqcKF1GUKjqf3/20lpSA9Z8usocomVG6Ew8UadNyXbo9tOV6TGr\r\nlJ4cugmOJMplJf1rq4Ywh1MD/v6KIoF+AY3Tr27HOfkuVn15TPuilu0iNd57l0LKCEvq80t9DsZo\r\n9k8PVlbh5RrbQRYUXdTwC/dzzwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkzLXN2Y4Ihc3FsbWkzLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTMtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQAJzrDs9TMyo8HwpQhVxi9z2iUdRByOVrqYuh+MjnkS9BVL/wNm5Q/h24QRBv7pVBMr\r\nGwMANZtOdJ2y7o3N09QLuvkvAhhkIWbOQn5BXH0Y0eqeOz+GolhMyLf1VG3Os/YDDlKSiuGXNaOk\r\n/p/fYWPS6IMaJsEg6+2DnP8Gr06xRbSFIBKkMSOcmC7Oi8/Vfw0QscUe/3jszLxMW9W3mQursItY\r\nTe6c5V+NFbiRPPTOrYsTIM5vgP8AsvFri1HN+WdET/hpwCNEUBVOhZIuY8Spk0jPIu7DNtfL+r8I\r\n34kFKMo43MIj7qxpbH41TfQub4K82abfbHFujB4/v6vJsDQd\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi3-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:24:33.264102Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:20:56.383152Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:24:57 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_with_name_wildcard[test-v1.14.0_upgrade-test2].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_with_name_wildcard[test-v1.14.0_upgrade-test2].yaml new file mode 100644 index 00000000000..c987b21091f --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlMiUpgrade.test_upgrade_with_name_wildcard[test-v1.14.0_upgrade-test2].yaml @@ -0,0 +1,132 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3202993"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:25:02 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","items":[{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:25:20Z","generation":3,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:15:34Z"}],"name":"sqlmi3","namespace":"test","resourceVersion":"3202965","uid":"30becac2-c186-455a-a258-00ca9e51437b"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi3-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose","update":{"desiredVersion":"v1.14.0_upgrade-test2"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi3''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi3-0","mirroring":"10.91.136.162:28862","primary":"10.91.136.162,20200"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:22:25.638336Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJAJXxD6gtwu7DMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjUyMVoXDTI3MTEyODAwMjUyMVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwtmWV5W8ULyz\r\n0wODGFYDKj3UKurP2IHNtyjfd8tS9eTIiN94kM4z4AQFEAIEQKW9S+/788915r0XBmRJClgK/iF/\r\nRmiEL6efIBPtjzb110dao/QqCJ5U1/zyH4m58h0X5VMKD61xvxP7r3TzGBxz10bofYqZFDco/9m7\r\n32+14Lt73tq9VcUy7fUtioiexEqcKF1GUKjqf3/20lpSA9Z8usocomVG6Ew8UadNyXbo9tOV6TGr\r\nlJ4cugmOJMplJf1rq4Ywh1MD/v6KIoF+AY3Tr27HOfkuVn15TPuilu0iNd57l0LKCEvq80t9DsZo\r\n9k8PVlbh5RrbQRYUXdTwC/dzzwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkzLXN2Y4Ihc3FsbWkzLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTMtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQAJzrDs9TMyo8HwpQhVxi9z2iUdRByOVrqYuh+MjnkS9BVL/wNm5Q/h24QRBv7pVBMr\r\nGwMANZtOdJ2y7o3N09QLuvkvAhhkIWbOQn5BXH0Y0eqeOz+GolhMyLf1VG3Os/YDDlKSiuGXNaOk\r\n/p/fYWPS6IMaJsEg6+2DnP8Gr06xRbSFIBKkMSOcmC7Oi8/Vfw0QscUe/3jszLxMW9W3mQursItY\r\nTe6c5V+NFbiRPPTOrYsTIM5vgP8AsvFri1HN+WdET/hpwCNEUBVOhZIuY8Spk0jPIu7DNtfL+r8I\r\n34kFKMo43MIj7qxpbH41TfQub4K82abfbHFujB4/v6vJsDQd\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi3-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:24:58.212757Z","observedGeneration":3,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:20:56.383152Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_upgrade-test","state":"Updating"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:22:25Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{},"f:secondary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:20:17Z"}],"name":"sqlmibc1","namespace":"test","resourceVersion":"3202961","uid":"c1a3a58b-87d7-46c9-8fac-d00d234892fe"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":1,"replicas":3,"scheduling":{"default":{"resources":{"limits":{"cpu":"4"},"requests":{"cpu":"4","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmibc1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"bc","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmibc1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmibc1-0","mirroring":"10.91.136.162:3739","primary":"10.91.136.162,18872","secondary":"10.91.136.162,19183"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:21:06.408158Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDRDCCAiygAwIBAgIJAK1+BLA8NR+/MA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjIyN1oXDTI3MTEyODAwMjIyN1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0Pyvnodl4PwI\r\nCNbT0ojRAVVmFAt82klQWr0HrStWeX1S2QJeDsT221PrIyg4J4c2n7d/hl3DUwYVRiI89Wp+h8Ba\r\nlL7CNGOre6scyOwG0CNN5ORaqAPGdAppueyH6UQGmER6cTdpYUxRRxm+IWuhy6lPqn6P3WWWIdOI\r\nd6NA+K0QgLTtiOZDgAiBqwmzGtugU9UaDIfohYMfbf7/mpM2xWfMxELIO3nLygshaF93o+BIwIPO\r\nk2c++krVfwcmp0m3kkeIZQKcYSRyCRKLL29H2XZFdGwCmX+7iUGxPhtOvi2HO9yITwTaYbqIAoW1\r\n7zDZHVt4RUBcyHCW+Z0x3RlkxwIDAQABo4GKMIGHMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwUwYDVR0RBEwwSoIMc3FsbWliYzEtc3ZjgiNzcWxtaWJj\r\nMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIVc3FsbWliYzEtc3ZjLnRlc3Quc3ZjMA0GCSqG\r\nSIb3DQEBCwUAA4IBAQCPkjNuCmYoVCEe3efP5N0C75pmLRzRXqCNGDKX5S11cIKxEncKVysvFYRy\r\nb1aZocdlo7CKal5Dw0eJ1MYslWSvk1Il+G8XA90Vi/kbthMs/wtuyn0owz28L+VsojqHqi/WpzVS\r\nRyLG5FWTwmfNOJ87iMwqimU5Y27wiu93mLjjCgmmPv5UtUxOws21Z0cNkRHUZ/SoIxB408q+39wf\r\n1+sv3L8Xz6sOQcjAEZaDaP20Xgkw0/kqIC/OxdT35TFy7FqVybnxBpWcH88Ix5TkLnDdcmPekWOU\r\n1O6lYmgwbm8JLCLkiFuPueK4uBbC6hLzeg3UVvirUeBvl0OeG3qkkf/s\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-0","role":"SECONDARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-1","role":"PRIMARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-2","role":"SECONDARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:24:57.220949Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:20:56.191592Z","readyReplicas":3,"replicas":3}},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:24:42Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{},"f:update":{".":{},"f:desiredVersion":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T02:13:14Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:15:34Z"}],"name":"sqlmivalid1","namespace":"test","resourceVersion":"3202923","uid":"abdb9433-06fa-4543-8823-558edd4d5356"},"spec":{"backup":{"retentionPeriodInDays":1},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmivalid1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose","update":{"desiredVersion":"v1.14.0_upgrade-test"}},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmivalid1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmivalid1-0","mirroring":"10.91.136.162:12486","primary":"10.91.136.162,29321"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T02:22:25.583691Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDTTCCAjWgAwIBAgIJAO6CjCY/WfkqMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjQ0M1oXDTI3MTEyODAwMjQ0M1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwHVnXMOeCQci\r\n5NomX6uwg+ENL3+6W3K0WLyj029cLGAnNHK5sXbwm2aBG9K7Tsum6jto4YWFLIlfY/WxKaY6rqXR\r\nmL6OzWvvcZHsPYXkhcPfNJjNHBKuHF3sSnaxpDjGjBbAiaZXMy7F6qnj7eCcEyk6PNlM7RFoMV8O\r\nrkZar5zRBMoc4U1Igbq/hbz1xcBe2s+wOPd4KEx60/T5MZBfLCZuwbJR+dAt5JRU3skCnhi2HICb\r\nA2w1rx0nP0yDZdCvyVvz7mxZNX7hhL9AqdJew8Wtm2DR3lXLngI61ZmhL3Y02qz5kBn/nEwT7x9f\r\nn6z9NPVIGdaOhgjW+rkpypY2swIDAQABo4GTMIGQMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwXAYDVR0RBFUwU4IPc3FsbWl2YWxpZDEtc3ZjgiZzcWxt\r\naXZhbGlkMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIYc3FsbWl2YWxpZDEtc3ZjLnRlc3Qu\r\nc3ZjMA0GCSqGSIb3DQEBCwUAA4IBAQBH1LBdM7YC/Wn6Yv/kVKbreVeKFEZ1WJZl1LWvkK8pl8Tu\r\nWVv+R1Be4IDqFBA+dMgyf41cvjmq1YD8XPCs+SxiIEgyKvPlRBHhFbGFK9m/bzRgD00JqOBcf6ht\r\nFk+P0sj2hw4sG7AjJo2hXACBgAlseKv0yTswoUjmRlO9gz47IMbIu1yoytC6svleDNRXWv20dxkG\r\naRjwdjjgIwahSnUgfNdHmEr/I/NYOrFgEPNmrmnbgj0r5NRJ9gMyC6VHfc9m+PHA5Rm429pRHdOU\r\nvFt5Gm0ozfJxhCj2sN4wnTaJZUh75y7Pol2+VysbrKIeMZKwuXFVMVsBZo0pcfK0BvYn\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmivalid1-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T02:24:38.865655Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T02:20:56.299124Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_upgrade-test","state":"Ready"}}],"kind":"SqlManagedInstanceList","metadata":{"continue":"","resourceVersion":"3202995"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:25:02 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":4,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T01:59:20Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-29T02:20:26Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T02:20:56Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3202652","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_upgrade-test2","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-29T02:22:37.70222Z","observedGeneration":4,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_upgrade-test2","latest":"v1.14.0_ubuntu2004-letung","previous":"v1.14.0_ubuntu2004-letung"},"runningVersion":"v1.14.0_upgrade-test2","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3202995"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 02:25:02 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create[sqlmi1-Deployed-local-storage].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create[sqlmi1-Deployed-local-storage].yaml new file mode 100644 index 00000000000..8d524bb851b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create[sqlmi1-Deployed-local-storage].yaml @@ -0,0 +1,298 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3182931"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:21:04 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/local-storage + response: + body: + string: '{"kind":"StorageClass","apiVersion":"storage.k8s.io/v1","metadata":{"name":"local-storage","uid":"940f3ac3-d1c1-4338-a2a3-2680fd8284b9","resourceVersion":"701","creationTimestamp":"2022-11-02T21:00:57Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"storage.k8s.io/v1\",\"kind\":\"StorageClass\",\"metadata\":{\"annotations\":{},\"name\":\"local-storage\"},\"provisioner\":\"kubernetes.io/no-provisioner\",\"volumeBindingMode\":\"WaitForFirstConsumer\"}\n","storageclass.kubernetes.io/is-default-class":"true"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:provisioner":{},"f:reclaimPolicy":{},"f:volumeBindingMode":{}}},{"manager":"kubectl-patch","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:storageclass.kubernetes.io/is-default-class":{}}}}}]},"provisioner":"kubernetes.io/no-provisioner","reclaimPolicy":"Delete","volumeBindingMode":"WaitForFirstConsumer"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1237' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:21:04 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/local-storage + response: + body: + string: '{"kind":"StorageClass","apiVersion":"storage.k8s.io/v1","metadata":{"name":"local-storage","uid":"940f3ac3-d1c1-4338-a2a3-2680fd8284b9","resourceVersion":"701","creationTimestamp":"2022-11-02T21:00:57Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"storage.k8s.io/v1\",\"kind\":\"StorageClass\",\"metadata\":{\"annotations\":{},\"name\":\"local-storage\"},\"provisioner\":\"kubernetes.io/no-provisioner\",\"volumeBindingMode\":\"WaitForFirstConsumer\"}\n","storageclass.kubernetes.io/is-default-class":"true"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:provisioner":{},"f:reclaimPolicy":{},"f:volumeBindingMode":{}}},{"manager":"kubectl-patch","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:storageclass.kubernetes.io/is-default-class":{}}}}}]},"provisioner":"kubernetes.io/no-provisioner","reclaimPolicy":"Delete","volumeBindingMode":"WaitForFirstConsumer"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1237' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:21:04 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmi1 + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"sqlmanagedinstances.sql.arcdata.microsoft.com + \"sqlmi1\" not found","reason":"NotFound","details":{"name":"sqlmi1","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '272' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:21:04 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-28T21:35:31Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3177033","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_ubuntu2004-bilia","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-28T23:35:32.315235Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3182931"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:21:04 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/sqlmi1-login-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"sqlmi1-login-secret\" not found","reason":"NotFound","details":{"name":"sqlmi1-login-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '212' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:21:04 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "sqlmi1-login-secret"}, + "type": "Opaque", "data": {"username": "dXNlcm5hbWU=", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"sqlmi1-login-secret","namespace":"test","uid":"071bbb8f-f086-464b-b858-fccc35ab1ec2","resourceVersion":"3182932","creationTimestamp":"2022-11-29T00:21:04Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-11-29T00:21:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '516' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:21:04 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "sql.arcdata.microsoft.com/v9", "kind": "SqlManagedInstance", + "spec": {"services": {"primary": {"type": "NodePort"}, "readableSecondaries": + {"type": "NodePort"}}, "storage": {"data": {"volumes": [{"size": "5Gi", "className": + "local-storage"}]}, "logs": {"volumes": [{"size": "5Gi", "className": "local-storage"}]}}, + "replicas": 1, "orchestratorReplicas": 1, "readableSecondaries": 0, "syncSecondaryToCommit": + -1, "security": {"adminLoginSecret": "sqlmi1-login-secret", "serviceCertificateSecret": + ""}, "preferredPrimaryReplicaSpec": {"preferredPrimaryReplica": "any", "primaryReplicaFailoverInterval": + 600}, "tier": "GeneralPurpose", "dev": false, "licenseType": "LicenseIncluded", + "backup": {"retentionPeriodInDays": 7}}, "metadata": {"name": "sqlmi1", "namespace": + "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:21:04Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:21:04Z"}],"name":"sqlmi1","namespace":"test","resourceVersion":"3182933","uid":"81758b51-8c38-4bd7-a8d5-e6218c60abd1"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:21:04 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_bc[sqlmibc1-Deployed-local-storage].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_bc[sqlmibc1-Deployed-local-storage].yaml new file mode 100644 index 00000000000..9f62d0355a8 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_bc[sqlmibc1-Deployed-local-storage].yaml @@ -0,0 +1,298 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3183155"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:22:25 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/local-storage + response: + body: + string: '{"kind":"StorageClass","apiVersion":"storage.k8s.io/v1","metadata":{"name":"local-storage","uid":"940f3ac3-d1c1-4338-a2a3-2680fd8284b9","resourceVersion":"701","creationTimestamp":"2022-11-02T21:00:57Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"storage.k8s.io/v1\",\"kind\":\"StorageClass\",\"metadata\":{\"annotations\":{},\"name\":\"local-storage\"},\"provisioner\":\"kubernetes.io/no-provisioner\",\"volumeBindingMode\":\"WaitForFirstConsumer\"}\n","storageclass.kubernetes.io/is-default-class":"true"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:provisioner":{},"f:reclaimPolicy":{},"f:volumeBindingMode":{}}},{"manager":"kubectl-patch","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:storageclass.kubernetes.io/is-default-class":{}}}}}]},"provisioner":"kubernetes.io/no-provisioner","reclaimPolicy":"Delete","volumeBindingMode":"WaitForFirstConsumer"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1237' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:22:25 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/local-storage + response: + body: + string: '{"kind":"StorageClass","apiVersion":"storage.k8s.io/v1","metadata":{"name":"local-storage","uid":"940f3ac3-d1c1-4338-a2a3-2680fd8284b9","resourceVersion":"701","creationTimestamp":"2022-11-02T21:00:57Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"storage.k8s.io/v1\",\"kind\":\"StorageClass\",\"metadata\":{\"annotations\":{},\"name\":\"local-storage\"},\"provisioner\":\"kubernetes.io/no-provisioner\",\"volumeBindingMode\":\"WaitForFirstConsumer\"}\n","storageclass.kubernetes.io/is-default-class":"true"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:provisioner":{},"f:reclaimPolicy":{},"f:volumeBindingMode":{}}},{"manager":"kubectl-patch","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:storageclass.kubernetes.io/is-default-class":{}}}}}]},"provisioner":"kubernetes.io/no-provisioner","reclaimPolicy":"Delete","volumeBindingMode":"WaitForFirstConsumer"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1237' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:22:25 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmibc1 + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"sqlmanagedinstances.sql.arcdata.microsoft.com + \"sqlmibc1\" not found","reason":"NotFound","details":{"name":"sqlmibc1","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '276' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:22:25 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-28T21:35:31Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3177033","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_ubuntu2004-bilia","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-28T23:35:32.315235Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3183155"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:22:25 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/sqlmibc1-login-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"sqlmibc1-login-secret\" not found","reason":"NotFound","details":{"name":"sqlmibc1-login-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '216' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:22:25 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "sqlmibc1-login-secret"}, + "type": "Opaque", "data": {"username": "dXNlcm5hbWU=", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"sqlmibc1-login-secret","namespace":"test","uid":"2be43c56-f98a-43f0-bc66-272d025bc2ac","resourceVersion":"3183156","creationTimestamp":"2022-11-29T00:22:25Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-11-29T00:22:25Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '518' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:22:25 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "sql.arcdata.microsoft.com/v9", "kind": "SqlManagedInstance", + "spec": {"services": {"primary": {"type": "NodePort"}, "readableSecondaries": + {"type": "NodePort"}}, "storage": {"data": {"volumes": [{"size": "5Gi", "className": + "local-storage"}]}, "logs": {"volumes": [{"size": "5Gi", "className": "local-storage"}]}}, + "replicas": 3, "orchestratorReplicas": 1, "readableSecondaries": 1, "syncSecondaryToCommit": + -1, "security": {"adminLoginSecret": "sqlmibc1-login-secret", "serviceCertificateSecret": + ""}, "preferredPrimaryReplicaSpec": {"preferredPrimaryReplica": "any", "primaryReplicaFailoverInterval": + 600}, "tier": "bc", "dev": false, "licenseType": "LicenseIncluded", "backup": + {"retentionPeriodInDays": 7}}, "metadata": {"name": "sqlmibc1", "namespace": + "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:22:25Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:22:25Z"}],"name":"sqlmibc1","namespace":"test","resourceVersion":"3183157","uid":"c1a3a58b-87d7-46c9-8fac-d00d234892fe"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":1,"replicas":3,"scheduling":{"default":{"resources":{"limits":{"cpu":"4"},"requests":{"cpu":"4","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmibc1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"bc"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:22:25 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_conflict[sqlmi1-exists-local-storage].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_conflict[sqlmi1-exists-local-storage].yaml new file mode 100644 index 00000000000..e1998c5fd85 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_conflict[sqlmi1-exists-local-storage].yaml @@ -0,0 +1,158 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3183293"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:23:01 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/local-storage + response: + body: + string: '{"kind":"StorageClass","apiVersion":"storage.k8s.io/v1","metadata":{"name":"local-storage","uid":"940f3ac3-d1c1-4338-a2a3-2680fd8284b9","resourceVersion":"701","creationTimestamp":"2022-11-02T21:00:57Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"storage.k8s.io/v1\",\"kind\":\"StorageClass\",\"metadata\":{\"annotations\":{},\"name\":\"local-storage\"},\"provisioner\":\"kubernetes.io/no-provisioner\",\"volumeBindingMode\":\"WaitForFirstConsumer\"}\n","storageclass.kubernetes.io/is-default-class":"true"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:provisioner":{},"f:reclaimPolicy":{},"f:volumeBindingMode":{}}},{"manager":"kubectl-patch","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:storageclass.kubernetes.io/is-default-class":{}}}}}]},"provisioner":"kubernetes.io/no-provisioner","reclaimPolicy":"Delete","volumeBindingMode":"WaitForFirstConsumer"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1237' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:23:01 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/local-storage + response: + body: + string: '{"kind":"StorageClass","apiVersion":"storage.k8s.io/v1","metadata":{"name":"local-storage","uid":"940f3ac3-d1c1-4338-a2a3-2680fd8284b9","resourceVersion":"701","creationTimestamp":"2022-11-02T21:00:57Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"storage.k8s.io/v1\",\"kind\":\"StorageClass\",\"metadata\":{\"annotations\":{},\"name\":\"local-storage\"},\"provisioner\":\"kubernetes.io/no-provisioner\",\"volumeBindingMode\":\"WaitForFirstConsumer\"}\n","storageclass.kubernetes.io/is-default-class":"true"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:provisioner":{},"f:reclaimPolicy":{},"f:volumeBindingMode":{}}},{"manager":"kubectl-patch","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:storageclass.kubernetes.io/is-default-class":{}}}}}]},"provisioner":"kubernetes.io/no-provisioner","reclaimPolicy":"Delete","volumeBindingMode":"WaitForFirstConsumer"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1237' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:23:01 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmi1 + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:21:04Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:21:04Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T00:21:36Z"}],"name":"sqlmi1","namespace":"test","resourceVersion":"3183289","uid":"81758b51-8c38-4bd7-a8d5-e6218c60abd1"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"},"status":{"lastUpdateTime":"2022-11-29T00:22:57.958674Z","observedGeneration":1,"roles":{"sql":{"lastUpdateTime":"2022-11-29T00:22:57.958673Z","readyReplicas":1,"replicas":1}},"state":"Creating"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:23:01 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_name_length[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-exceeds 60 character length limit].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_name_length[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-exceeds 60 character length limit].yaml new file mode 100644 index 00000000000..0dcbbf2c832 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_name_length[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-exceeds 60 character length limit].yaml @@ -0,0 +1,62 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3183489"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:23:46 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_storage_class_data[sqlmi6-does not exist].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_storage_class_data[sqlmi6-does not exist].yaml new file mode 100644 index 00000000000..c801fab7156 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_storage_class_data[sqlmi6-does not exist].yaml @@ -0,0 +1,95 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3183547"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:14 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/DNE + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"storageclasses.storage.k8s.io + \"DNE\" not found","reason":"NotFound","details":{"name":"DNE","group":"storage.k8s.io","kind":"storageclasses"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '234' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:14 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_storage_class_datalogs[sqlmi6-does not exist].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_storage_class_datalogs[sqlmi6-does not exist].yaml new file mode 100644 index 00000000000..f458ccaa1eb --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_storage_class_datalogs[sqlmi6-does not exist].yaml @@ -0,0 +1,95 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3183553"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:18 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/DNE + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"storageclasses.storage.k8s.io + \"DNE\" not found","reason":"NotFound","details":{"name":"DNE","group":"storage.k8s.io","kind":"storageclasses"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '234' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:18 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_storage_class_logs[sqlmi6-does not exist].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_storage_class_logs[sqlmi6-does not exist].yaml new file mode 100644 index 00000000000..f5ef3dab833 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_storage_class_logs[sqlmi6-does not exist].yaml @@ -0,0 +1,95 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3183563"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:22 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/DNE + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"storageclasses.storage.k8s.io + \"DNE\" not found","reason":"NotFound","details":{"name":"DNE","group":"storage.k8s.io","kind":"storageclasses"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '234' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:22 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_time_zone[sqlmi-tz-Deployed-America/New_York].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_time_zone[sqlmi-tz-Deployed-America/New_York].yaml new file mode 100644 index 00000000000..e6dee517883 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_time_zone[sqlmi-tz-Deployed-America/New_York].yaml @@ -0,0 +1,266 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3183570"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:26 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmi-tz + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"sqlmanagedinstances.sql.arcdata.microsoft.com + \"sqlmi-tz\" not found","reason":"NotFound","details":{"name":"sqlmi-tz","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '276' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:26 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-28T21:35:31Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3183491","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_ubuntu2004-bilia","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-29T00:23:46.953742Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3183570"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:26 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/sqlmi-tz-login-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"sqlmi-tz-login-secret\" not found","reason":"NotFound","details":{"name":"sqlmi-tz-login-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '216' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:27 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "sqlmi-tz-login-secret"}, + "type": "Opaque", "data": {"username": "dXNlcm5hbWU=", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"sqlmi-tz-login-secret","namespace":"test","uid":"58ed0439-06d1-4900-8ad3-659a34337f9f","resourceVersion":"3183571","creationTimestamp":"2022-11-29T00:24:27Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-11-29T00:24:27Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '518' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:27 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "sql.arcdata.microsoft.com/v9", "kind": "SqlManagedInstance", + "spec": {"services": {"primary": {"type": "NodePort"}, "readableSecondaries": + {"type": "NodePort"}}, "storage": {"data": {"volumes": [{"size": "5Gi"}]}, "logs": + {"volumes": [{"size": "5Gi"}]}}, "replicas": 1, "orchestratorReplicas": 1, "readableSecondaries": + 0, "syncSecondaryToCommit": -1, "security": {"adminLoginSecret": "sqlmi-tz-login-secret", + "serviceCertificateSecret": ""}, "preferredPrimaryReplicaSpec": {"preferredPrimaryReplica": + "any", "primaryReplicaFailoverInterval": 600}, "tier": "GeneralPurpose", "dev": + false, "licenseType": "LicenseIncluded", "settings": {"timezone": "America/New_York"}, + "backup": {"retentionPeriodInDays": 7}}, "metadata": {"name": "sqlmi-tz", "namespace": + "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:24:27Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:settings":{},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:24:27Z"}],"name":"sqlmi-tz","namespace":"test","resourceVersion":"3183572","uid":"4d391d75-22d2-47a6-813f-4a0b0cdacef4"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi-tz-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"America/New_York"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:27 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmi-tz + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","details":{"name":"sqlmi-tz","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances","uid":"4d391d75-22d2-47a6-813f-4a0b0cdacef4"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '209' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:27 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_valid[sqlmivalid1-1-Deployed].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_valid[sqlmivalid1-1-Deployed].yaml new file mode 100644 index 00000000000..efa533c8c0a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_create_valid[sqlmivalid1-1-Deployed].yaml @@ -0,0 +1,233 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3183617"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmivalid1 + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"sqlmanagedinstances.sql.arcdata.microsoft.com + \"sqlmivalid1\" not found","reason":"NotFound","details":{"name":"sqlmivalid1","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '282' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:42 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-28T21:35:31Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3183491","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_ubuntu2004-bilia","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-29T00:23:46.953742Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3183617"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/sqlmivalid1-login-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"sqlmivalid1-login-secret\" not found","reason":"NotFound","details":{"name":"sqlmivalid1-login-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '222' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:42 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "sqlmivalid1-login-secret"}, + "type": "Opaque", "data": {"username": "dXNlcm5hbWU=", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"sqlmivalid1-login-secret","namespace":"test","uid":"7f5032e1-b13f-48d0-9007-bed876049206","resourceVersion":"3183618","creationTimestamp":"2022-11-29T00:24:42Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-11-29T00:24:42Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '521' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:42 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "sql.arcdata.microsoft.com/v9", "kind": "SqlManagedInstance", + "spec": {"services": {"primary": {"type": "NodePort"}, "readableSecondaries": + {"type": "NodePort"}}, "storage": {"data": {"volumes": [{"size": "5Gi"}]}, "logs": + {"volumes": [{"size": "5Gi"}]}}, "replicas": 1, "orchestratorReplicas": 1, "readableSecondaries": + 0, "syncSecondaryToCommit": -1, "security": {"adminLoginSecret": "sqlmivalid1-login-secret", + "serviceCertificateSecret": ""}, "preferredPrimaryReplicaSpec": {"preferredPrimaryReplica": + "any", "primaryReplicaFailoverInterval": 600}, "tier": "GeneralPurpose", "dev": + false, "licenseType": "LicenseIncluded", "backup": {"retentionPeriodInDays": + 1}}, "metadata": {"name": "sqlmivalid1", "namespace": "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:24:42Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:24:42Z"}],"name":"sqlmivalid1","namespace":"test","resourceVersion":"3183619","uid":"abdb9433-06fa-4543-8823-558edd4d5356"},"spec":{"backup":{"retentionPeriodInDays":1},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmivalid1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:24:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_delete[sqlmi1-Deleted].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_delete[sqlmi1-Deleted].yaml new file mode 100644 index 00000000000..d04417ce504 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_delete[sqlmi1-Deleted].yaml @@ -0,0 +1,94 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3189825"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 01:01:12 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmi1 + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","details":{"name":"sqlmi1","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances","uid":"81758b51-8c38-4bd7-a8d5-e6218c60abd1"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '207' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 01:01:12 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_delete_not_found[sqlmiinvalid-not found].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_delete_not_found[sqlmiinvalid-not found].yaml new file mode 100644 index 00000000000..d227daaae8c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_delete_not_found[sqlmiinvalid-not found].yaml @@ -0,0 +1,95 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3189897"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 01:01:18 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmiinvalid + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"sqlmanagedinstances.sql.arcdata.microsoft.com + \"sqlmiinvalid\" not found","reason":"NotFound","details":{"name":"sqlmiinvalid","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '284' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 01:01:18 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_edit[sqlmi1-Updated].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_edit[sqlmi1-Updated].yaml new file mode 100644 index 00000000000..a725f8edb27 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_edit[sqlmi1-Updated].yaml @@ -0,0 +1,215 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3185486"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:35:03 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmi1 + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:21:04Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:21:04Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T00:23:57Z"}],"name":"sqlmi1","namespace":"test","resourceVersion":"3185477","uid":"81758b51-8c38-4bd7-a8d5-e6218c60abd1"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi1-0","mirroring":"10.91.136.162:21854","primary":"10.91.136.162,11835"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T00:23:24.587212Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJALbXpeV7ON8rMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjEwNVoXDTI3MTEyODAwMjEwNVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2O1pH3KZ4cuw\r\nDtpIFLCyJEVmotE6XNw5Rt1R5c6b44vbuQBRenLpliVF033BzZgd+x/YfV1hx15GLYBF5KjArDjn\r\nZ/pph5EvwU88LPIXo5PJ19DKo/1MVgIReqCEs67MLsUi5Bae3uzPuoKGBp5LgVVDs4Rt9M8uJQ4B\r\ndr6RfM/h9m4KcCzx4DHemIPx/BFHg4kZaISqA2XygXSaWc6yEcV5JLRwiZa30TUxzXx8nqm5nzRr\r\neVyQXlbd0mwoZO2XdqYuFd3lq2DL6QL1dck/PZB7pz5eZUdgjqGrxTV7wqsQJJIzK7vlqrIUXMP7\r\nwYfLbA089NB08ZXue5nPSCxldwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkxLXN2Y4Ihc3FsbWkxLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTEtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQBa00cN6ni0PCXB3dOt3GsZwqv7uOSC/tMSTMogbz1QMfCwlJu8uBs5wAmAngNTvZ1x\r\njLW4KcF1P6YDcK1MVL94/smlT0Ate7oXAywJezDcRAlPMtZeN7tHM9d2bUXN3TbdS7x/tPQ2IMhS\r\nJi1XfLH2zaqEG1Q4MXVLkRfWjjnIMrBpMoV4xTPxM6V1iyK7ryzB4hM1fd/joUWpd5ms+EaKBUgt\r\n+9CNl6befxeTv5N9dvhVCZQVbythGhmdkgUvm6jwVPFA4AiNIGJs5XydoBu26QL1ybPiXgF3l6I/\r\n4h2tzrAOSxXJwJrRySPv1x7xNyEhQjlyFwJSp+aTHh0dSjQ+\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi1-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T00:34:59.74582Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-bilia","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T00:22:57.958673Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:35:03 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/local-storage + response: + body: + string: '{"kind":"StorageClass","apiVersion":"storage.k8s.io/v1","metadata":{"name":"local-storage","uid":"940f3ac3-d1c1-4338-a2a3-2680fd8284b9","resourceVersion":"701","creationTimestamp":"2022-11-02T21:00:57Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"storage.k8s.io/v1\",\"kind\":\"StorageClass\",\"metadata\":{\"annotations\":{},\"name\":\"local-storage\"},\"provisioner\":\"kubernetes.io/no-provisioner\",\"volumeBindingMode\":\"WaitForFirstConsumer\"}\n","storageclass.kubernetes.io/is-default-class":"true"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:provisioner":{},"f:reclaimPolicy":{},"f:volumeBindingMode":{}}},{"manager":"kubectl-patch","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:storageclass.kubernetes.io/is-default-class":{}}}}}]},"provisioner":"kubernetes.io/no-provisioner","reclaimPolicy":"Delete","volumeBindingMode":"WaitForFirstConsumer"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1237' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:35:03 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/local-storage + response: + body: + string: '{"kind":"StorageClass","apiVersion":"storage.k8s.io/v1","metadata":{"name":"local-storage","uid":"940f3ac3-d1c1-4338-a2a3-2680fd8284b9","resourceVersion":"701","creationTimestamp":"2022-11-02T21:00:57Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"storage.k8s.io/v1\",\"kind\":\"StorageClass\",\"metadata\":{\"annotations\":{},\"name\":\"local-storage\"},\"provisioner\":\"kubernetes.io/no-provisioner\",\"volumeBindingMode\":\"WaitForFirstConsumer\"}\n","storageclass.kubernetes.io/is-default-class":"true"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:provisioner":{},"f:reclaimPolicy":{},"f:volumeBindingMode":{}}},{"manager":"kubectl-patch","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:storageclass.kubernetes.io/is-default-class":{}}}}}]},"provisioner":"kubernetes.io/no-provisioner","reclaimPolicy":"Delete","volumeBindingMode":"WaitForFirstConsumer"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1237' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:35:03 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "sql.arcdata.microsoft.com/v9", "kind": "SqlManagedInstance", + "spec": {"services": {"primary": {"type": "NodePort"}, "readableSecondaries": + {"type": "NodePort"}}, "storage": {"data": {"volumes": [{"size": "5Gi", "className": + "local-storage"}]}, "logs": {"volumes": [{"size": "5Gi", "className": "local-storage"}]}}, + "replicas": 1, "orchestratorReplicas": 1, "readableSecondaries": 0, "syncSecondaryToCommit": + -1, "security": {"adminLoginSecret": "sqlmi1-login-secret", "serviceCertificateSecret": + ""}, "scheduling": {"default": {"resources": {"limits": {"memory": "10Gi", "cpu": + "2"}, "requests": {"memory": "4Gi", "cpu": "2"}}}}, "preferredPrimaryReplicaSpec": + {"preferredPrimaryReplica": "any", "primaryReplicaFailoverInterval": 600}, "tier": + "GeneralPurpose", "dev": false, "licenseType": "LicenseIncluded", "settings": + {"collation": "SQL_Latin1_General_CP1_CI_AS", "language": {"lcid": 1033}, "network": + {"forceencryption": 0, "tlsciphers": "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384", + "tlsprotocols": "1.2"}, "sqlagent": {"enabled": false}, "timezone": "UTC"}}, + "metadata": {"name": "sqlmi1", "namespace": "test", "resourceVersion": "3185477", + "generation": 1, "uid": "81758b51-8c38-4bd7-a8d5-e6218c60abd1", "labels": {"management.azure.com/resourceProvider": + "Microsoft.AzureArcData"}}, "status": {"endpoints": {"logSearchDashboard": "https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi1''))", + "metricsDashboard": "https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi1-0", + "primary": "10.91.136.162,11835", "mirroring": "10.91.136.162:21854"}, "state": + "Ready", "observedGeneration": 1, "roles": {"sql": {"readyReplicas": 1, "replicas": + 1}}, "highAvailability": {"healthState": "OK", "mirroringCertificate": "-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJALbXpeV7ON8rMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjEwNVoXDTI3MTEyODAwMjEwNVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2O1pH3KZ4cuw\r\nDtpIFLCyJEVmotE6XNw5Rt1R5c6b44vbuQBRenLpliVF033BzZgd+x/YfV1hx15GLYBF5KjArDjn\r\nZ/pph5EvwU88LPIXo5PJ19DKo/1MVgIReqCEs67MLsUi5Bae3uzPuoKGBp5LgVVDs4Rt9M8uJQ4B\r\ndr6RfM/h9m4KcCzx4DHemIPx/BFHg4kZaISqA2XygXSaWc6yEcV5JLRwiZa30TUxzXx8nqm5nzRr\r\neVyQXlbd0mwoZO2XdqYuFd3lq2DL6QL1dck/PZB7pz5eZUdgjqGrxTV7wqsQJJIzK7vlqrIUXMP7\r\nwYfLbA089NB08ZXue5nPSCxldwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkxLXN2Y4Ihc3FsbWkxLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTEtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQBa00cN6ni0PCXB3dOt3GsZwqv7uOSC/tMSTMogbz1QMfCwlJu8uBs5wAmAngNTvZ1x\r\njLW4KcF1P6YDcK1MVL94/smlT0Ate7oXAywJezDcRAlPMtZeN7tHM9d2bUXN3TbdS7x/tPQ2IMhS\r\nJi1XfLH2zaqEG1Q4MXVLkRfWjjnIMrBpMoV4xTPxM6V1iyK7ryzB4hM1fd/joUWpd5ms+EaKBUgt\r\n+9CNl6befxeTv5N9dvhVCZQVbythGhmdkgUvm6jwVPFA4AiNIGJs5XydoBu26QL1ybPiXgF3l6I/\r\n4h2tzrAOSxXJwJrRySPv1x7xNyEhQjlyFwJSp+aTHh0dSjQ+\n-----END + CERTIFICATE-----"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmi1 + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:21:04Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T00:23:57Z"},{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:scheduling":{"f:default":{"f:resources":{"f:limits":{"f:memory":{}}}}},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:35:03Z"}],"name":"sqlmi1","namespace":"test","resourceVersion":"3185487","uid":"81758b51-8c38-4bd7-a8d5-e6218c60abd1"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2","memory":"10Gi"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi1-0","mirroring":"10.91.136.162:21854","primary":"10.91.136.162,11835"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T00:23:24.587212Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJALbXpeV7ON8rMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjEwNVoXDTI3MTEyODAwMjEwNVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2O1pH3KZ4cuw\r\nDtpIFLCyJEVmotE6XNw5Rt1R5c6b44vbuQBRenLpliVF033BzZgd+x/YfV1hx15GLYBF5KjArDjn\r\nZ/pph5EvwU88LPIXo5PJ19DKo/1MVgIReqCEs67MLsUi5Bae3uzPuoKGBp5LgVVDs4Rt9M8uJQ4B\r\ndr6RfM/h9m4KcCzx4DHemIPx/BFHg4kZaISqA2XygXSaWc6yEcV5JLRwiZa30TUxzXx8nqm5nzRr\r\neVyQXlbd0mwoZO2XdqYuFd3lq2DL6QL1dck/PZB7pz5eZUdgjqGrxTV7wqsQJJIzK7vlqrIUXMP7\r\nwYfLbA089NB08ZXue5nPSCxldwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkxLXN2Y4Ihc3FsbWkxLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTEtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQBa00cN6ni0PCXB3dOt3GsZwqv7uOSC/tMSTMogbz1QMfCwlJu8uBs5wAmAngNTvZ1x\r\njLW4KcF1P6YDcK1MVL94/smlT0Ate7oXAywJezDcRAlPMtZeN7tHM9d2bUXN3TbdS7x/tPQ2IMhS\r\nJi1XfLH2zaqEG1Q4MXVLkRfWjjnIMrBpMoV4xTPxM6V1iyK7ryzB4hM1fd/joUWpd5ms+EaKBUgt\r\n+9CNl6befxeTv5N9dvhVCZQVbythGhmdkgUvm6jwVPFA4AiNIGJs5XydoBu26QL1ybPiXgF3l6I/\r\n4h2tzrAOSxXJwJrRySPv1x7xNyEhQjlyFwJSp+aTHh0dSjQ+\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi1-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T00:34:59.74582Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-bilia","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T00:22:57.958673Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:35:03 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_edit_valid[sqlmi1-35-Updated].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_edit_valid[sqlmi1-35-Updated].yaml new file mode 100644 index 00000000000..238134ea177 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_edit_valid[sqlmi1-35-Updated].yaml @@ -0,0 +1,216 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3185589"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:35:23 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmi1 + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:21:04Z","generation":2,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T00:23:57Z"},{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:scheduling":{"f:default":{"f:resources":{"f:limits":{"f:memory":{}}}}},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:35:03Z"}],"name":"sqlmi1","namespace":"test","resourceVersion":"3185531","uid":"81758b51-8c38-4bd7-a8d5-e6218c60abd1"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2","memory":"10Gi"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi1-0","mirroring":"10.91.136.162:21854","primary":"10.91.136.162,11835"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T00:23:24.587212Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJALbXpeV7ON8rMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjEwNVoXDTI3MTEyODAwMjEwNVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2O1pH3KZ4cuw\r\nDtpIFLCyJEVmotE6XNw5Rt1R5c6b44vbuQBRenLpliVF033BzZgd+x/YfV1hx15GLYBF5KjArDjn\r\nZ/pph5EvwU88LPIXo5PJ19DKo/1MVgIReqCEs67MLsUi5Bae3uzPuoKGBp5LgVVDs4Rt9M8uJQ4B\r\ndr6RfM/h9m4KcCzx4DHemIPx/BFHg4kZaISqA2XygXSaWc6yEcV5JLRwiZa30TUxzXx8nqm5nzRr\r\neVyQXlbd0mwoZO2XdqYuFd3lq2DL6QL1dck/PZB7pz5eZUdgjqGrxTV7wqsQJJIzK7vlqrIUXMP7\r\nwYfLbA089NB08ZXue5nPSCxldwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkxLXN2Y4Ihc3FsbWkxLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTEtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQBa00cN6ni0PCXB3dOt3GsZwqv7uOSC/tMSTMogbz1QMfCwlJu8uBs5wAmAngNTvZ1x\r\njLW4KcF1P6YDcK1MVL94/smlT0Ate7oXAywJezDcRAlPMtZeN7tHM9d2bUXN3TbdS7x/tPQ2IMhS\r\nJi1XfLH2zaqEG1Q4MXVLkRfWjjnIMrBpMoV4xTPxM6V1iyK7ryzB4hM1fd/joUWpd5ms+EaKBUgt\r\n+9CNl6befxeTv5N9dvhVCZQVbythGhmdkgUvm6jwVPFA4AiNIGJs5XydoBu26QL1ybPiXgF3l6I/\r\n4h2tzrAOSxXJwJrRySPv1x7xNyEhQjlyFwJSp+aTHh0dSjQ+\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi1-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T00:35:05.633688Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-bilia","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T00:35:05.633686Z","readyReplicas":0,"replicas":1}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Updating"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:35:23 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/local-storage + response: + body: + string: '{"kind":"StorageClass","apiVersion":"storage.k8s.io/v1","metadata":{"name":"local-storage","uid":"940f3ac3-d1c1-4338-a2a3-2680fd8284b9","resourceVersion":"701","creationTimestamp":"2022-11-02T21:00:57Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"storage.k8s.io/v1\",\"kind\":\"StorageClass\",\"metadata\":{\"annotations\":{},\"name\":\"local-storage\"},\"provisioner\":\"kubernetes.io/no-provisioner\",\"volumeBindingMode\":\"WaitForFirstConsumer\"}\n","storageclass.kubernetes.io/is-default-class":"true"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:provisioner":{},"f:reclaimPolicy":{},"f:volumeBindingMode":{}}},{"manager":"kubectl-patch","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:storageclass.kubernetes.io/is-default-class":{}}}}}]},"provisioner":"kubernetes.io/no-provisioner","reclaimPolicy":"Delete","volumeBindingMode":"WaitForFirstConsumer"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1237' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:35:23 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/local-storage + response: + body: + string: '{"kind":"StorageClass","apiVersion":"storage.k8s.io/v1","metadata":{"name":"local-storage","uid":"940f3ac3-d1c1-4338-a2a3-2680fd8284b9","resourceVersion":"701","creationTimestamp":"2022-11-02T21:00:57Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"storage.k8s.io/v1\",\"kind\":\"StorageClass\",\"metadata\":{\"annotations\":{},\"name\":\"local-storage\"},\"provisioner\":\"kubernetes.io/no-provisioner\",\"volumeBindingMode\":\"WaitForFirstConsumer\"}\n","storageclass.kubernetes.io/is-default-class":"true"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:provisioner":{},"f:reclaimPolicy":{},"f:volumeBindingMode":{}}},{"manager":"kubectl-patch","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:storageclass.kubernetes.io/is-default-class":{}}}}}]},"provisioner":"kubernetes.io/no-provisioner","reclaimPolicy":"Delete","volumeBindingMode":"WaitForFirstConsumer"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1237' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:35:23 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: '{"apiVersion": "sql.arcdata.microsoft.com/v9", "kind": "SqlManagedInstance", + "spec": {"services": {"primary": {"type": "NodePort"}, "readableSecondaries": + {"type": "NodePort"}}, "storage": {"data": {"volumes": [{"size": "5Gi", "className": + "local-storage"}]}, "logs": {"volumes": [{"size": "5Gi", "className": "local-storage"}]}}, + "replicas": 1, "orchestratorReplicas": 1, "readableSecondaries": 0, "syncSecondaryToCommit": + -1, "security": {"adminLoginSecret": "sqlmi1-login-secret", "serviceCertificateSecret": + ""}, "scheduling": {"default": {"resources": {"limits": {"memory": "10Gi", "cpu": + "2"}, "requests": {"memory": "4Gi", "cpu": "2"}}}}, "preferredPrimaryReplicaSpec": + {"preferredPrimaryReplica": "any", "primaryReplicaFailoverInterval": 600}, "tier": + "GeneralPurpose", "dev": false, "licenseType": "LicenseIncluded", "settings": + {"collation": "SQL_Latin1_General_CP1_CI_AS", "language": {"lcid": 1033}, "network": + {"forceencryption": 0, "tlsciphers": "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384", + "tlsprotocols": "1.2"}, "sqlagent": {"enabled": false}, "timezone": "UTC"}, + "backup": {"retentionPeriodInDays": 35}}, "metadata": {"name": "sqlmi1", "namespace": + "test", "resourceVersion": "3185531", "generation": 2, "uid": "81758b51-8c38-4bd7-a8d5-e6218c60abd1", + "labels": {"management.azure.com/resourceProvider": "Microsoft.AzureArcData"}}, + "status": {"endpoints": {"logSearchDashboard": "https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi1''))", + "metricsDashboard": "https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi1-0", + "primary": "10.91.136.162,11835", "mirroring": "10.91.136.162:21854"}, "state": + "Updating", "observedGeneration": 2, "roles": {"sql": {"readyReplicas": 0, "replicas": + 1}}, "highAvailability": {"healthState": "OK", "mirroringCertificate": "-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJALbXpeV7ON8rMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjEwNVoXDTI3MTEyODAwMjEwNVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2O1pH3KZ4cuw\r\nDtpIFLCyJEVmotE6XNw5Rt1R5c6b44vbuQBRenLpliVF033BzZgd+x/YfV1hx15GLYBF5KjArDjn\r\nZ/pph5EvwU88LPIXo5PJ19DKo/1MVgIReqCEs67MLsUi5Bae3uzPuoKGBp5LgVVDs4Rt9M8uJQ4B\r\ndr6RfM/h9m4KcCzx4DHemIPx/BFHg4kZaISqA2XygXSaWc6yEcV5JLRwiZa30TUxzXx8nqm5nzRr\r\neVyQXlbd0mwoZO2XdqYuFd3lq2DL6QL1dck/PZB7pz5eZUdgjqGrxTV7wqsQJJIzK7vlqrIUXMP7\r\nwYfLbA089NB08ZXue5nPSCxldwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkxLXN2Y4Ihc3FsbWkxLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTEtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQBa00cN6ni0PCXB3dOt3GsZwqv7uOSC/tMSTMogbz1QMfCwlJu8uBs5wAmAngNTvZ1x\r\njLW4KcF1P6YDcK1MVL94/smlT0Ate7oXAywJezDcRAlPMtZeN7tHM9d2bUXN3TbdS7x/tPQ2IMhS\r\nJi1XfLH2zaqEG1Q4MXVLkRfWjjnIMrBpMoV4xTPxM6V1iyK7ryzB4hM1fd/joUWpd5ms+EaKBUgt\r\n+9CNl6befxeTv5N9dvhVCZQVbythGhmdkgUvm6jwVPFA4AiNIGJs5XydoBu26QL1ybPiXgF3l6I/\r\n4h2tzrAOSxXJwJrRySPv1x7xNyEhQjlyFwJSp+aTHh0dSjQ+\n-----END + CERTIFICATE-----"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/merge-patch+json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: PATCH + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmi1 + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:21:04Z","generation":3,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T00:23:57Z"},{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:scheduling":{"f:default":{"f:resources":{"f:limits":{"f:memory":{}}}}},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:35:03Z"}],"name":"sqlmi1","namespace":"test","resourceVersion":"3185590","uid":"81758b51-8c38-4bd7-a8d5-e6218c60abd1"},"spec":{"backup":{"retentionPeriodInDays":35},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2","memory":"10Gi"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi1-0","mirroring":"10.91.136.162:21854","primary":"10.91.136.162,11835"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T00:23:24.587212Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJALbXpeV7ON8rMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjEwNVoXDTI3MTEyODAwMjEwNVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2O1pH3KZ4cuw\r\nDtpIFLCyJEVmotE6XNw5Rt1R5c6b44vbuQBRenLpliVF033BzZgd+x/YfV1hx15GLYBF5KjArDjn\r\nZ/pph5EvwU88LPIXo5PJ19DKo/1MVgIReqCEs67MLsUi5Bae3uzPuoKGBp5LgVVDs4Rt9M8uJQ4B\r\ndr6RfM/h9m4KcCzx4DHemIPx/BFHg4kZaISqA2XygXSaWc6yEcV5JLRwiZa30TUxzXx8nqm5nzRr\r\neVyQXlbd0mwoZO2XdqYuFd3lq2DL6QL1dck/PZB7pz5eZUdgjqGrxTV7wqsQJJIzK7vlqrIUXMP7\r\nwYfLbA089NB08ZXue5nPSCxldwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkxLXN2Y4Ihc3FsbWkxLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTEtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQBa00cN6ni0PCXB3dOt3GsZwqv7uOSC/tMSTMogbz1QMfCwlJu8uBs5wAmAngNTvZ1x\r\njLW4KcF1P6YDcK1MVL94/smlT0Ate7oXAywJezDcRAlPMtZeN7tHM9d2bUXN3TbdS7x/tPQ2IMhS\r\nJi1XfLH2zaqEG1Q4MXVLkRfWjjnIMrBpMoV4xTPxM6V1iyK7ryzB4hM1fd/joUWpd5ms+EaKBUgt\r\n+9CNl6befxeTv5N9dvhVCZQVbythGhmdkgUvm6jwVPFA4AiNIGJs5XydoBu26QL1ybPiXgF3l6I/\r\n4h2tzrAOSxXJwJrRySPv1x7xNyEhQjlyFwJSp+aTHh0dSjQ+\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi1-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T00:35:05.633688Z","observedGeneration":2,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-bilia","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T00:35:05.633686Z","readyReplicas":0,"replicas":1}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Updating"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:35:23 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_endpoint_list[expected0-local-storage].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_endpoint_list[expected0-local-storage].yaml new file mode 100644 index 00000000000..5faf6ee8880 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_endpoint_list[expected0-local-storage].yaml @@ -0,0 +1,334 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3183801"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:25:20 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/local-storage + response: + body: + string: '{"kind":"StorageClass","apiVersion":"storage.k8s.io/v1","metadata":{"name":"local-storage","uid":"940f3ac3-d1c1-4338-a2a3-2680fd8284b9","resourceVersion":"701","creationTimestamp":"2022-11-02T21:00:57Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"storage.k8s.io/v1\",\"kind\":\"StorageClass\",\"metadata\":{\"annotations\":{},\"name\":\"local-storage\"},\"provisioner\":\"kubernetes.io/no-provisioner\",\"volumeBindingMode\":\"WaitForFirstConsumer\"}\n","storageclass.kubernetes.io/is-default-class":"true"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:provisioner":{},"f:reclaimPolicy":{},"f:volumeBindingMode":{}}},{"manager":"kubectl-patch","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:storageclass.kubernetes.io/is-default-class":{}}}}}]},"provisioner":"kubernetes.io/no-provisioner","reclaimPolicy":"Delete","volumeBindingMode":"WaitForFirstConsumer"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1237' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:25:20 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/storage.k8s.io/v1/storageclasses/local-storage + response: + body: + string: '{"kind":"StorageClass","apiVersion":"storage.k8s.io/v1","metadata":{"name":"local-storage","uid":"940f3ac3-d1c1-4338-a2a3-2680fd8284b9","resourceVersion":"701","creationTimestamp":"2022-11-02T21:00:57Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"storage.k8s.io/v1\",\"kind\":\"StorageClass\",\"metadata\":{\"annotations\":{},\"name\":\"local-storage\"},\"provisioner\":\"kubernetes.io/no-provisioner\",\"volumeBindingMode\":\"WaitForFirstConsumer\"}\n","storageclass.kubernetes.io/is-default-class":"true"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:provisioner":{},"f:reclaimPolicy":{},"f:volumeBindingMode":{}}},{"manager":"kubectl-patch","operation":"Update","apiVersion":"storage.k8s.io/v1","time":"2022-11-02T21:00:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:storageclass.kubernetes.io/is-default-class":{}}}}}]},"provisioner":"kubernetes.io/no-provisioner","reclaimPolicy":"Delete","volumeBindingMode":"WaitForFirstConsumer"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '1237' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:25:20 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmi3 + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"sqlmanagedinstances.sql.arcdata.microsoft.com + \"sqlmi3\" not found","reason":"NotFound","details":{"name":"sqlmi3","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '272' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:25:20 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-28T21:35:31Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3183491","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_ubuntu2004-bilia","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-29T00:23:46.953742Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3183801"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:25:20 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/sqlmi3-login-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"sqlmi3-login-secret\" not found","reason":"NotFound","details":{"name":"sqlmi3-login-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '212' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:25:20 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "sqlmi3-login-secret"}, + "type": "Opaque", "data": {"username": "dXNlcm5hbWU=", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"sqlmi3-login-secret","namespace":"test","uid":"14e8bcdb-647d-4809-b95c-46051d2e786c","resourceVersion":"3183802","creationTimestamp":"2022-11-29T00:25:20Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-11-29T00:25:20Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '516' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:25:20 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "sql.arcdata.microsoft.com/v9", "kind": "SqlManagedInstance", + "spec": {"services": {"primary": {"type": "NodePort"}, "readableSecondaries": + {"type": "NodePort"}}, "storage": {"data": {"volumes": [{"size": "5Gi", "className": + "local-storage"}]}, "logs": {"volumes": [{"size": "5Gi", "className": "local-storage"}]}}, + "replicas": 1, "orchestratorReplicas": 1, "readableSecondaries": 0, "syncSecondaryToCommit": + -1, "security": {"adminLoginSecret": "sqlmi3-login-secret", "serviceCertificateSecret": + ""}, "preferredPrimaryReplicaSpec": {"preferredPrimaryReplica": "any", "primaryReplicaFailoverInterval": + 600}, "tier": "GeneralPurpose", "dev": false, "licenseType": "LicenseIncluded", + "backup": {"retentionPeriodInDays": 7}}, "metadata": {"name": "sqlmi3", "namespace": + "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:25:20Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:25:20Z"}],"name":"sqlmi3","namespace":"test","resourceVersion":"3183803","uid":"30becac2-c186-455a-a258-00ca9e51437b"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi3-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:25:20 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","items":[{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:21:04Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:21:04Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T00:23:57Z"}],"name":"sqlmi1","namespace":"test","resourceVersion":"3183722","uid":"81758b51-8c38-4bd7-a8d5-e6218c60abd1"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi1-0","mirroring":"10.91.136.162:21854","primary":"10.91.136.162,11835"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T00:23:24.587212Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJALbXpeV7ON8rMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjEwNVoXDTI3MTEyODAwMjEwNVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2O1pH3KZ4cuw\r\nDtpIFLCyJEVmotE6XNw5Rt1R5c6b44vbuQBRenLpliVF033BzZgd+x/YfV1hx15GLYBF5KjArDjn\r\nZ/pph5EvwU88LPIXo5PJ19DKo/1MVgIReqCEs67MLsUi5Bae3uzPuoKGBp5LgVVDs4Rt9M8uJQ4B\r\ndr6RfM/h9m4KcCzx4DHemIPx/BFHg4kZaISqA2XygXSaWc6yEcV5JLRwiZa30TUxzXx8nqm5nzRr\r\neVyQXlbd0mwoZO2XdqYuFd3lq2DL6QL1dck/PZB7pz5eZUdgjqGrxTV7wqsQJJIzK7vlqrIUXMP7\r\nwYfLbA089NB08ZXue5nPSCxldwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkxLXN2Y4Ihc3FsbWkxLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTEtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQBa00cN6ni0PCXB3dOt3GsZwqv7uOSC/tMSTMogbz1QMfCwlJu8uBs5wAmAngNTvZ1x\r\njLW4KcF1P6YDcK1MVL94/smlT0Ate7oXAywJezDcRAlPMtZeN7tHM9d2bUXN3TbdS7x/tPQ2IMhS\r\nJi1XfLH2zaqEG1Q4MXVLkRfWjjnIMrBpMoV4xTPxM6V1iyK7ryzB4hM1fd/joUWpd5ms+EaKBUgt\r\n+9CNl6befxeTv5N9dvhVCZQVbythGhmdkgUvm6jwVPFA4AiNIGJs5XydoBu26QL1ybPiXgF3l6I/\r\n4h2tzrAOSxXJwJrRySPv1x7xNyEhQjlyFwJSp+aTHh0dSjQ+\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi1-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T00:24:57.757588Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-bilia","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T00:22:57.958673Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:25:20Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:25:20Z"}],"name":"sqlmi3","namespace":"test","resourceVersion":"3183803","uid":"30becac2-c186-455a-a258-00ca9e51437b"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi3-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:22:25Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:22:25Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{},"f:secondary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T00:25:18Z"}],"name":"sqlmibc1","namespace":"test","resourceVersion":"3183801","uid":"c1a3a58b-87d7-46c9-8fac-d00d234892fe"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":1,"replicas":3,"scheduling":{"default":{"resources":{"limits":{"cpu":"4"},"requests":{"cpu":"4","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmibc1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"bc"},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmibc1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmibc1-0","mirroring":"10.91.136.162:3739","primary":"10.91.136.162,18872","secondary":"10.91.136.162,19183"},"highAvailability":{"healthState":"Error","lastUpdateTime":"2022-11-29T00:25:20.126096Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDRDCCAiygAwIBAgIJAK1+BLA8NR+/MA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjIyN1oXDTI3MTEyODAwMjIyN1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0Pyvnodl4PwI\r\nCNbT0ojRAVVmFAt82klQWr0HrStWeX1S2QJeDsT221PrIyg4J4c2n7d/hl3DUwYVRiI89Wp+h8Ba\r\nlL7CNGOre6scyOwG0CNN5ORaqAPGdAppueyH6UQGmER6cTdpYUxRRxm+IWuhy6lPqn6P3WWWIdOI\r\nd6NA+K0QgLTtiOZDgAiBqwmzGtugU9UaDIfohYMfbf7/mpM2xWfMxELIO3nLygshaF93o+BIwIPO\r\nk2c++krVfwcmp0m3kkeIZQKcYSRyCRKLL29H2XZFdGwCmX+7iUGxPhtOvi2HO9yITwTaYbqIAoW1\r\n7zDZHVt4RUBcyHCW+Z0x3RlkxwIDAQABo4GKMIGHMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwUwYDVR0RBEwwSoIMc3FsbWliYzEtc3ZjgiNzcWxtaWJj\r\nMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIVc3FsbWliYzEtc3ZjLnRlc3Quc3ZjMA0GCSqG\r\nSIb3DQEBCwUAA4IBAQCPkjNuCmYoVCEe3efP5N0C75pmLRzRXqCNGDKX5S11cIKxEncKVysvFYRy\r\nb1aZocdlo7CKal5Dw0eJ1MYslWSvk1Il+G8XA90Vi/kbthMs/wtuyn0owz28L+VsojqHqi/WpzVS\r\nRyLG5FWTwmfNOJ87iMwqimU5Y27wiu93mLjjCgmmPv5UtUxOws21Z0cNkRHUZ/SoIxB408q+39wf\r\n1+sv3L8Xz6sOQcjAEZaDaP20Xgkw0/kqIC/OxdT35TFy7FqVybnxBpWcH88Ix5TkLnDdcmPekWOU\r\n1O6lYmgwbm8JLCLkiFuPueK4uBbC6hLzeg3UVvirUeBvl0OeG3qkkf/s\n-----END + CERTIFICATE-----\n"},"lastUpdateTime":"2022-11-29T00:25:20.126097Z","observedGeneration":1,"roles":{"sql":{"lastUpdateTime":"2022-11-29T00:24:38.483623Z","readyReplicas":3,"replicas":3}},"state":"Creating"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:24:42Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:24:42Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:roles":{".":{},"f:sql":{".":{},"f:replicas":{}}},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T00:24:42Z"}],"name":"sqlmivalid1","namespace":"test","resourceVersion":"3183621","uid":"abdb9433-06fa-4543-8823-558edd4d5356"},"spec":{"backup":{"retentionPeriodInDays":1},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmivalid1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"},"status":{"lastUpdateTime":"2022-11-29T00:24:42.507633Z","observedGeneration":1,"roles":{"sql":{"replicas":1}},"state":"Creating"}}],"kind":"SqlManagedInstanceList","metadata":{"continue":"","resourceVersion":"3183803"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:25:20 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_invalid_edit[foobar-found].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_invalid_edit[foobar-found].yaml new file mode 100644 index 00000000000..b6e0c3939f2 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_invalid_edit[foobar-found].yaml @@ -0,0 +1,95 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3185606"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:35:26 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/foobar + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"sqlmanagedinstances.sql.arcdata.microsoft.com + \"foobar\" not found","reason":"NotFound","details":{"name":"foobar","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '272' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:35:26 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_list[sqlmi1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_list[sqlmi1].yaml new file mode 100644 index 00000000000..3065789cb45 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_list[sqlmi1].yaml @@ -0,0 +1,102 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3185272"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:33:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","items":[{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:21:04Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:21:04Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T00:23:57Z"}],"name":"sqlmi1","namespace":"test","resourceVersion":"3185250","uid":"81758b51-8c38-4bd7-a8d5-e6218c60abd1"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi1-0","mirroring":"10.91.136.162:21854","primary":"10.91.136.162,11835"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T00:23:24.587212Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJALbXpeV7ON8rMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjEwNVoXDTI3MTEyODAwMjEwNVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2O1pH3KZ4cuw\r\nDtpIFLCyJEVmotE6XNw5Rt1R5c6b44vbuQBRenLpliVF033BzZgd+x/YfV1hx15GLYBF5KjArDjn\r\nZ/pph5EvwU88LPIXo5PJ19DKo/1MVgIReqCEs67MLsUi5Bae3uzPuoKGBp5LgVVDs4Rt9M8uJQ4B\r\ndr6RfM/h9m4KcCzx4DHemIPx/BFHg4kZaISqA2XygXSaWc6yEcV5JLRwiZa30TUxzXx8nqm5nzRr\r\neVyQXlbd0mwoZO2XdqYuFd3lq2DL6QL1dck/PZB7pz5eZUdgjqGrxTV7wqsQJJIzK7vlqrIUXMP7\r\nwYfLbA089NB08ZXue5nPSCxldwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkxLXN2Y4Ihc3FsbWkxLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTEtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQBa00cN6ni0PCXB3dOt3GsZwqv7uOSC/tMSTMogbz1QMfCwlJu8uBs5wAmAngNTvZ1x\r\njLW4KcF1P6YDcK1MVL94/smlT0Ate7oXAywJezDcRAlPMtZeN7tHM9d2bUXN3TbdS7x/tPQ2IMhS\r\nJi1XfLH2zaqEG1Q4MXVLkRfWjjnIMrBpMoV4xTPxM6V1iyK7ryzB4hM1fd/joUWpd5ms+EaKBUgt\r\n+9CNl6befxeTv5N9dvhVCZQVbythGhmdkgUvm6jwVPFA4AiNIGJs5XydoBu26QL1ybPiXgF3l6I/\r\n4h2tzrAOSxXJwJrRySPv1x7xNyEhQjlyFwJSp+aTHh0dSjQ+\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi1-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T00:33:29.434001Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-bilia","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T00:22:57.958673Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:25:20Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:25:20Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T00:28:33Z"}],"name":"sqlmi3","namespace":"test","resourceVersion":"3185261","uid":"30becac2-c186-455a-a258-00ca9e51437b"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi3-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi3''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi3-0","mirroring":"10.91.136.162:28862","primary":"10.91.136.162,20200"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T00:27:50.639535Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJAJXxD6gtwu7DMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjUyMVoXDTI3MTEyODAwMjUyMVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwtmWV5W8ULyz\r\n0wODGFYDKj3UKurP2IHNtyjfd8tS9eTIiN94kM4z4AQFEAIEQKW9S+/788915r0XBmRJClgK/iF/\r\nRmiEL6efIBPtjzb110dao/QqCJ5U1/zyH4m58h0X5VMKD61xvxP7r3TzGBxz10bofYqZFDco/9m7\r\n32+14Lt73tq9VcUy7fUtioiexEqcKF1GUKjqf3/20lpSA9Z8usocomVG6Ew8UadNyXbo9tOV6TGr\r\nlJ4cugmOJMplJf1rq4Ywh1MD/v6KIoF+AY3Tr27HOfkuVn15TPuilu0iNd57l0LKCEvq80t9DsZo\r\n9k8PVlbh5RrbQRYUXdTwC/dzzwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkzLXN2Y4Ihc3FsbWkzLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTMtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQAJzrDs9TMyo8HwpQhVxi9z2iUdRByOVrqYuh+MjnkS9BVL/wNm5Q/h24QRBv7pVBMr\r\nGwMANZtOdJ2y7o3N09QLuvkvAhhkIWbOQn5BXH0Y0eqeOz+GolhMyLf1VG3Os/YDDlKSiuGXNaOk\r\n/p/fYWPS6IMaJsEg6+2DnP8Gr06xRbSFIBKkMSOcmC7Oi8/Vfw0QscUe/3jszLxMW9W3mQursItY\r\nTe6c5V+NFbiRPPTOrYsTIM5vgP8AsvFri1HN+WdET/hpwCNEUBVOhZIuY8Spk0jPIu7DNtfL+r8I\r\n34kFKMo43MIj7qxpbH41TfQub4K82abfbHFujB4/v6vJsDQd\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi3-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T00:33:34.240511Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-bilia","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T00:27:14.159616Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:22:25Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:22:25Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{},"f:secondary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T00:25:57Z"}],"name":"sqlmibc1","namespace":"test","resourceVersion":"3185249","uid":"c1a3a58b-87d7-46c9-8fac-d00d234892fe"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":1,"replicas":3,"scheduling":{"default":{"resources":{"limits":{"cpu":"4"},"requests":{"cpu":"4","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmibc1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"bc"},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmibc1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmibc1-0","mirroring":"10.91.136.162:3739","primary":"10.91.136.162,18872","secondary":"10.91.136.162,19183"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T00:25:30.237826Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDRDCCAiygAwIBAgIJAK1+BLA8NR+/MA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjIyN1oXDTI3MTEyODAwMjIyN1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0Pyvnodl4PwI\r\nCNbT0ojRAVVmFAt82klQWr0HrStWeX1S2QJeDsT221PrIyg4J4c2n7d/hl3DUwYVRiI89Wp+h8Ba\r\nlL7CNGOre6scyOwG0CNN5ORaqAPGdAppueyH6UQGmER6cTdpYUxRRxm+IWuhy6lPqn6P3WWWIdOI\r\nd6NA+K0QgLTtiOZDgAiBqwmzGtugU9UaDIfohYMfbf7/mpM2xWfMxELIO3nLygshaF93o+BIwIPO\r\nk2c++krVfwcmp0m3kkeIZQKcYSRyCRKLL29H2XZFdGwCmX+7iUGxPhtOvi2HO9yITwTaYbqIAoW1\r\n7zDZHVt4RUBcyHCW+Z0x3RlkxwIDAQABo4GKMIGHMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwUwYDVR0RBEwwSoIMc3FsbWliYzEtc3ZjgiNzcWxtaWJj\r\nMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIVc3FsbWliYzEtc3ZjLnRlc3Quc3ZjMA0GCSqG\r\nSIb3DQEBCwUAA4IBAQCPkjNuCmYoVCEe3efP5N0C75pmLRzRXqCNGDKX5S11cIKxEncKVysvFYRy\r\nb1aZocdlo7CKal5Dw0eJ1MYslWSvk1Il+G8XA90Vi/kbthMs/wtuyn0owz28L+VsojqHqi/WpzVS\r\nRyLG5FWTwmfNOJ87iMwqimU5Y27wiu93mLjjCgmmPv5UtUxOws21Z0cNkRHUZ/SoIxB408q+39wf\r\n1+sv3L8Xz6sOQcjAEZaDaP20Xgkw0/kqIC/OxdT35TFy7FqVybnxBpWcH88Ix5TkLnDdcmPekWOU\r\n1O6lYmgwbm8JLCLkiFuPueK4uBbC6hLzeg3UVvirUeBvl0OeG3qkkf/s\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-0","role":"PRIMARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-1","role":"SECONDARY","secondaryRoleAllowConnections":"ALL","synchronizationState":"HEALTHY"},{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmibc1-2","role":"SECONDARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T00:33:29.397027Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-bilia","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T00:24:38.483623Z","readyReplicas":3,"replicas":3}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}},{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:24:42Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:24:42Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T00:28:03Z"}],"name":"sqlmivalid1","namespace":"test","resourceVersion":"3185262","uid":"abdb9433-06fa-4543-8823-558edd4d5356"},"spec":{"backup":{"retentionPeriodInDays":1},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmivalid1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmivalid1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmivalid1-0","mirroring":"10.91.136.162:12486","primary":"10.91.136.162,29321"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T00:27:22.771657Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDTTCCAjWgAwIBAgIJAO6CjCY/WfkqMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjQ0M1oXDTI3MTEyODAwMjQ0M1ow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwHVnXMOeCQci\r\n5NomX6uwg+ENL3+6W3K0WLyj029cLGAnNHK5sXbwm2aBG9K7Tsum6jto4YWFLIlfY/WxKaY6rqXR\r\nmL6OzWvvcZHsPYXkhcPfNJjNHBKuHF3sSnaxpDjGjBbAiaZXMy7F6qnj7eCcEyk6PNlM7RFoMV8O\r\nrkZar5zRBMoc4U1Igbq/hbz1xcBe2s+wOPd4KEx60/T5MZBfLCZuwbJR+dAt5JRU3skCnhi2HICb\r\nA2w1rx0nP0yDZdCvyVvz7mxZNX7hhL9AqdJew8Wtm2DR3lXLngI61ZmhL3Y02qz5kBn/nEwT7x9f\r\nn6z9NPVIGdaOhgjW+rkpypY2swIDAQABo4GTMIGQMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwXAYDVR0RBFUwU4IPc3FsbWl2YWxpZDEtc3ZjgiZzcWxt\r\naXZhbGlkMS1zdmMudGVzdC5zdmMuY2x1c3Rlci5sb2NhbIIYc3FsbWl2YWxpZDEtc3ZjLnRlc3Qu\r\nc3ZjMA0GCSqGSIb3DQEBCwUAA4IBAQBH1LBdM7YC/Wn6Yv/kVKbreVeKFEZ1WJZl1LWvkK8pl8Tu\r\nWVv+R1Be4IDqFBA+dMgyf41cvjmq1YD8XPCs+SxiIEgyKvPlRBHhFbGFK9m/bzRgD00JqOBcf6ht\r\nFk+P0sj2hw4sG7AjJo2hXACBgAlseKv0yTswoUjmRlO9gz47IMbIu1yoytC6svleDNRXWv20dxkG\r\naRjwdjjgIwahSnUgfNdHmEr/I/NYOrFgEPNmrmnbgj0r5NRJ9gMyC6VHfc9m+PHA5Rm429pRHdOU\r\nvFt5Gm0ozfJxhCj2sN4wnTaJZUh75y7Pol2+VysbrKIeMZKwuXFVMVsBZo0pcfK0BvYn\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmivalid1-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T00:33:34.299923Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-bilia","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T00:26:56.226656Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"SqlManagedInstanceList","metadata":{"continue":"","resourceVersion":"3185272"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:33:39 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_list_instance[sqlmi1-sqlmi1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_list_instance[sqlmi1-sqlmi1].yaml new file mode 100644 index 00000000000..aaee7192372 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_list_instance[sqlmi1-sqlmi1].yaml @@ -0,0 +1,96 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3185279"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:33:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmi1 + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:21:04Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:21:04Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T00:23:57Z"}],"name":"sqlmi1","namespace":"test","resourceVersion":"3185250","uid":"81758b51-8c38-4bd7-a8d5-e6218c60abd1"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi1-0","mirroring":"10.91.136.162:21854","primary":"10.91.136.162,11835"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T00:23:24.587212Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJALbXpeV7ON8rMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjEwNVoXDTI3MTEyODAwMjEwNVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2O1pH3KZ4cuw\r\nDtpIFLCyJEVmotE6XNw5Rt1R5c6b44vbuQBRenLpliVF033BzZgd+x/YfV1hx15GLYBF5KjArDjn\r\nZ/pph5EvwU88LPIXo5PJ19DKo/1MVgIReqCEs67MLsUi5Bae3uzPuoKGBp5LgVVDs4Rt9M8uJQ4B\r\ndr6RfM/h9m4KcCzx4DHemIPx/BFHg4kZaISqA2XygXSaWc6yEcV5JLRwiZa30TUxzXx8nqm5nzRr\r\neVyQXlbd0mwoZO2XdqYuFd3lq2DL6QL1dck/PZB7pz5eZUdgjqGrxTV7wqsQJJIzK7vlqrIUXMP7\r\nwYfLbA089NB08ZXue5nPSCxldwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkxLXN2Y4Ihc3FsbWkxLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTEtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQBa00cN6ni0PCXB3dOt3GsZwqv7uOSC/tMSTMogbz1QMfCwlJu8uBs5wAmAngNTvZ1x\r\njLW4KcF1P6YDcK1MVL94/smlT0Ate7oXAywJezDcRAlPMtZeN7tHM9d2bUXN3TbdS7x/tPQ2IMhS\r\nJi1XfLH2zaqEG1Q4MXVLkRfWjjnIMrBpMoV4xTPxM6V1iyK7ryzB4hM1fd/joUWpd5ms+EaKBUgt\r\n+9CNl6befxeTv5N9dvhVCZQVbythGhmdkgUvm6jwVPFA4AiNIGJs5XydoBu26QL1ybPiXgF3l6I/\r\n4h2tzrAOSxXJwJrRySPv1x7xNyEhQjlyFwJSp+aTHh0dSjQ+\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi1-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T00:33:29.434001Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-bilia","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T00:22:57.958673Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:33:42 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_replicas_invalid[sync-sql-0-Error].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_replicas_invalid[sync-sql-0-Error].yaml new file mode 100644 index 00000000000..089180623ba --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_replicas_invalid[sync-sql-0-Error].yaml @@ -0,0 +1,59 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.28.1 + X-UserId: + - 9f15124681072b25f58819ced3d1c8747258e93742b4f4a5a22578705d369074 + method: GET + uri: https://mock-host/api/v1.0/suggestions + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/Ir73/f8H + KbtMDQIAAAA= + headers: + Cache-Control: + - no-store + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 29 Nov 2022 00:35:46 GMT + Request-Context: + - appId=cid-v1:31f03add-0a9e-4224-87e2-0c3eba4eda08 + Sml-CorrelationId: + - c54dcb0e-b629-41b5-9b7d-c79905e006c3 + Strict-Transport-Security: + - max-age=2592000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Rate-Limit-Limit: + - 10m + X-Rate-Limit-Remaining: + - '9999' + X-Rate-Limit-Reset: + - '2022-11-29T00:45:46.8328499Z' + api-supported-versions: + - '1.0' + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_replicas_invalid[sync-sql-4-Error].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_replicas_invalid[sync-sql-4-Error].yaml new file mode 100644 index 00000000000..3dcaee3125c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_replicas_invalid[sync-sql-4-Error].yaml @@ -0,0 +1,59 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.28.1 + X-UserId: + - 9f15124681072b25f58819ced3d1c8747258e93742b4f4a5a22578705d369074 + method: GET + uri: https://mock-host/api/v1.0/suggestions + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/Ir73/f8H + KbtMDQIAAAA= + headers: + Cache-Control: + - no-store + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 29 Nov 2022 00:35:46 GMT + Request-Context: + - appId=cid-v1:31f03add-0a9e-4224-87e2-0c3eba4eda08 + Sml-CorrelationId: + - 380ed3bb-0dd0-4d65-b941-67de2a4e293a + Strict-Transport-Security: + - max-age=2592000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Rate-Limit-Limit: + - 10m + X-Rate-Limit-Remaining: + - '9998' + X-Rate-Limit-Reset: + - '2022-11-29T00:45:46.9069001Z' + api-supported-versions: + - '1.0' + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_replicas_invalid[sync-sql-a-Error].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_replicas_invalid[sync-sql-a-Error].yaml new file mode 100644 index 00000000000..d781f87e91f --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_replicas_invalid[sync-sql-a-Error].yaml @@ -0,0 +1,59 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.28.1 + X-UserId: + - 9f15124681072b25f58819ced3d1c8747258e93742b4f4a5a22578705d369074 + method: GET + uri: https://mock-host/api/v1.0/suggestions + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/Ir73/f8H + KbtMDQIAAAA= + headers: + Cache-Control: + - no-store + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 29 Nov 2022 00:35:46 GMT + Request-Context: + - appId=cid-v1:31f03add-0a9e-4224-87e2-0c3eba4eda08 + Sml-CorrelationId: + - d1171ac8-1add-4b57-be5d-382106700223 + Strict-Transport-Security: + - max-age=2592000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Rate-Limit-Limit: + - 10m + X-Rate-Limit-Remaining: + - '9999' + X-Rate-Limit-Reset: + - '2022-11-29T00:45:46.9069001Z' + api-supported-versions: + - '1.0' + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_show[sqlmi1-sqlmi1].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_show[sqlmi1-sqlmi1].yaml new file mode 100644 index 00000000000..08e3daddc50 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_show[sqlmi1-sqlmi1].yaml @@ -0,0 +1,96 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3185343"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:34:06 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sqlmi1 + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:21:04Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:21:04Z"},{"apiVersion":"sql.arcdata.microsoft.com/v8","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:endpoints":{".":{},"f:logSearchDashboard":{},"f:metricsDashboard":{},"f:mirroring":{},"f:primary":{}},"f:highAvailability":{".":{},"f:healthState":{},"f:lastUpdateTime":{},"f:mirroringCertificate":{},"f:replicas":{}},"f:lastUpdateTime":{},"f:observedGeneration":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:previous":{}},"f:roles":{".":{},"f:sql":{".":{},"f:lastUpdateTime":{},"f:readyReplicas":{},"f:replicas":{}}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-29T00:23:57Z"}],"name":"sqlmi1","namespace":"test","resourceVersion":"3185326","uid":"81758b51-8c38-4bd7-a8d5-e6218c60abd1"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi1-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"},"status":{"endpoints":{"logSearchDashboard":"https://10.91.136.162:31053/app/kibana#/discover?_a=(query:(language:kuery,query:''custom_resource_name:sqlmi1''))","metricsDashboard":"https://10.91.136.162:31054/d/40q72HnGk/sql-managed-instance-metrics?var-hostname=sqlmi1-0","mirroring":"10.91.136.162:21854","primary":"10.91.136.162,11835"},"highAvailability":{"healthState":"OK","lastUpdateTime":"2022-11-29T00:23:24.587212Z","mirroringCertificate":"-----BEGIN + CERTIFICATE-----\nMIIDPjCCAiagAwIBAgIJALbXpeV7ON8rMA0GCSqGSIb3DQEBCwUAMCgxJjAkBgNVBAMTHUNsdXN0\r\nZXIgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIyMTEyOTAwMjEwNVoXDTI3MTEyODAwMjEwNVow\r\nDjEMMAoGA1UEAxMDZGJtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2O1pH3KZ4cuw\r\nDtpIFLCyJEVmotE6XNw5Rt1R5c6b44vbuQBRenLpliVF033BzZgd+x/YfV1hx15GLYBF5KjArDjn\r\nZ/pph5EvwU88LPIXo5PJ19DKo/1MVgIReqCEs67MLsUi5Bae3uzPuoKGBp5LgVVDs4Rt9M8uJQ4B\r\ndr6RfM/h9m4KcCzx4DHemIPx/BFHg4kZaISqA2XygXSaWc6yEcV5JLRwiZa30TUxzXx8nqm5nzRr\r\neVyQXlbd0mwoZO2XdqYuFd3lq2DL6QL1dck/PZB7pz5eZUdgjqGrxTV7wqsQJJIzK7vlqrIUXMP7\r\nwYfLbA089NB08ZXue5nPSCxldwIDAQABo4GEMIGBMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMCBggr\r\nBgEFBQcDATAOBgNVHQ8BAf8EBAMCBaAwTQYDVR0RBEYwRIIKc3FsbWkxLXN2Y4Ihc3FsbWkxLXN2\r\nYy50ZXN0LnN2Yy5jbHVzdGVyLmxvY2FsghNzcWxtaTEtc3ZjLnRlc3Quc3ZjMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQBa00cN6ni0PCXB3dOt3GsZwqv7uOSC/tMSTMogbz1QMfCwlJu8uBs5wAmAngNTvZ1x\r\njLW4KcF1P6YDcK1MVL94/smlT0Ate7oXAywJezDcRAlPMtZeN7tHM9d2bUXN3TbdS7x/tPQ2IMhS\r\nJi1XfLH2zaqEG1Q4MXVLkRfWjjnIMrBpMoV4xTPxM6V1iyK7ryzB4hM1fd/joUWpd5ms+EaKBUgt\r\n+9CNl6befxeTv5N9dvhVCZQVbythGhmdkgUvm6jwVPFA4AiNIGJs5XydoBu26QL1ybPiXgF3l6I/\r\n4h2tzrAOSxXJwJrRySPv1x7xNyEhQjlyFwJSp+aTHh0dSjQ+\n-----END + CERTIFICATE-----\n","replicas":[{"availabilityMode":"SYNCHRONOUS_COMMIT","connectedState":"CONNECTED","healthState":"OK","replicaName":"sqlmi1-0","role":"PRIMARY","secondaryRoleAllowConnections":"NO","synchronizationState":"HEALTHY"}]},"lastUpdateTime":"2022-11-29T00:33:59.548129Z","observedGeneration":1,"registryVersions":{"available":[],"behind":0,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-bilia","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"roles":{"sql":{"lastUpdateTime":"2022-11-29T00:22:57.958673Z","readyReplicas":1,"replicas":1}},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:34:07 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_replicas_valid[sync-sql-1-Deployed].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_replicas_valid[sync-sql-1-Deployed].yaml new file mode 100644 index 00000000000..c07c3c2bbc5 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_replicas_valid[sync-sql-1-Deployed].yaml @@ -0,0 +1,265 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3185717"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:36:04 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sync-sql + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"sqlmanagedinstances.sql.arcdata.microsoft.com + \"sync-sql\" not found","reason":"NotFound","details":{"name":"sync-sql","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '276' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:36:04 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-28T21:35:31Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3185623","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_ubuntu2004-bilia","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-29T00:35:32.864878Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3185717"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:36:04 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/sync-sql-login-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"sync-sql-login-secret\" not found","reason":"NotFound","details":{"name":"sync-sql-login-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '216' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:36:04 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "sync-sql-login-secret"}, + "type": "Opaque", "data": {"username": "dXNlcm5hbWU=", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"sync-sql-login-secret","namespace":"test","uid":"b79a8bb0-414f-4ce2-a9bc-5d461dd9aae1","resourceVersion":"3185718","creationTimestamp":"2022-11-29T00:36:04Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-11-29T00:36:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '518' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:36:04 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "sql.arcdata.microsoft.com/v9", "kind": "SqlManagedInstance", + "spec": {"services": {"primary": {"type": "NodePort"}, "readableSecondaries": + {"type": "NodePort"}}, "storage": {"data": {"volumes": [{"size": "5Gi"}]}, "logs": + {"volumes": [{"size": "5Gi"}]}}, "replicas": 1, "orchestratorReplicas": 1, "readableSecondaries": + 0, "syncSecondaryToCommit": -1, "security": {"adminLoginSecret": "sync-sql-login-secret", + "serviceCertificateSecret": ""}, "preferredPrimaryReplicaSpec": {"preferredPrimaryReplica": + "any", "primaryReplicaFailoverInterval": 600}, "tier": "GeneralPurpose", "dev": + true, "licenseType": "LicenseIncluded", "backup": {"retentionPeriodInDays": + 7}}, "metadata": {"name": "sync-sql", "namespace": "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:36:04Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:36:04Z"}],"name":"sync-sql","namespace":"test","resourceVersion":"3185719","uid":"cda1e8c0-b93e-41d8-89e1-24c57897cb53"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":true,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sync-sql-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:36:04 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sync-sql + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","details":{"name":"sync-sql","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances","uid":"cda1e8c0-b93e-41d8-89e1-24c57897cb53"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '209' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:36:04 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_replicas_valid[sync-sql-2-Deployed].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_replicas_valid[sync-sql-2-Deployed].yaml new file mode 100644 index 00000000000..faa50a9fd29 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_replicas_valid[sync-sql-2-Deployed].yaml @@ -0,0 +1,265 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3187869"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:48:51 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sync-sql + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"sqlmanagedinstances.sql.arcdata.microsoft.com + \"sync-sql\" not found","reason":"NotFound","details":{"name":"sync-sql","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '276' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:48:51 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-28T21:35:31Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3186415","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_ubuntu2004-bilia","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-29T00:39:37.819356Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3187869"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:48:51 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/sync-sql-login-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"sync-sql-login-secret\" not found","reason":"NotFound","details":{"name":"sync-sql-login-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '216' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:48:51 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "sync-sql-login-secret"}, + "type": "Opaque", "data": {"username": "dXNlcm5hbWU=", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"sync-sql-login-secret","namespace":"test","uid":"9b4e9222-9a91-4c9a-994e-8257761e9993","resourceVersion":"3187870","creationTimestamp":"2022-11-29T00:48:51Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-11-29T00:48:51Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '518' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:48:51 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "sql.arcdata.microsoft.com/v9", "kind": "SqlManagedInstance", + "spec": {"services": {"primary": {"type": "NodePort"}, "readableSecondaries": + {"type": "NodePort"}}, "storage": {"data": {"volumes": [{"size": "5Gi"}]}, "logs": + {"volumes": [{"size": "5Gi"}]}}, "replicas": 2, "orchestratorReplicas": 1, "readableSecondaries": + 1, "syncSecondaryToCommit": -1, "security": {"adminLoginSecret": "sync-sql-login-secret", + "serviceCertificateSecret": ""}, "preferredPrimaryReplicaSpec": {"preferredPrimaryReplica": + "any", "primaryReplicaFailoverInterval": 600}, "tier": "BusinessCritical", "dev": + true, "licenseType": "LicenseIncluded", "backup": {"retentionPeriodInDays": + 7}}, "metadata": {"name": "sync-sql", "namespace": "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:48:52Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:48:51Z"}],"name":"sync-sql","namespace":"test","resourceVersion":"3187871","uid":"1f1c8bd0-627c-4d5b-9eb4-a45264caf470"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":true,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":1,"replicas":2,"scheduling":{"default":{"resources":{"limits":{"cpu":"4"},"requests":{"cpu":"4","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sync-sql-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"BusinessCritical"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:48:52 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sync-sql + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","details":{"name":"sync-sql","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances","uid":"1f1c8bd0-627c-4d5b-9eb4-a45264caf470"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '209' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:48:52 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_replicas_valid[sync-sql-3-Deployed].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_replicas_valid[sync-sql-3-Deployed].yaml new file mode 100644 index 00000000000..b523e013067 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_replicas_valid[sync-sql-3-Deployed].yaml @@ -0,0 +1,265 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3187891"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:48:57 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sync-sql + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"sqlmanagedinstances.sql.arcdata.microsoft.com + \"sync-sql\" not found","reason":"NotFound","details":{"name":"sync-sql","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '276' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:48:57 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-28T21:35:31Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3186415","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_ubuntu2004-bilia","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-29T00:39:37.819356Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3187891"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:48:57 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/sync-sql-login-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"sync-sql-login-secret\" not found","reason":"NotFound","details":{"name":"sync-sql-login-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '216' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:48:57 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "sync-sql-login-secret"}, + "type": "Opaque", "data": {"username": "dXNlcm5hbWU=", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"sync-sql-login-secret","namespace":"test","uid":"a35b2c0c-a235-4f22-81aa-b6482e55bce8","resourceVersion":"3187892","creationTimestamp":"2022-11-29T00:48:57Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-11-29T00:48:57Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '518' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:48:57 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "sql.arcdata.microsoft.com/v9", "kind": "SqlManagedInstance", + "spec": {"services": {"primary": {"type": "NodePort"}, "readableSecondaries": + {"type": "NodePort"}}, "storage": {"data": {"volumes": [{"size": "5Gi"}]}, "logs": + {"volumes": [{"size": "5Gi"}]}}, "replicas": 3, "orchestratorReplicas": 1, "readableSecondaries": + 1, "syncSecondaryToCommit": -1, "security": {"adminLoginSecret": "sync-sql-login-secret", + "serviceCertificateSecret": ""}, "preferredPrimaryReplicaSpec": {"preferredPrimaryReplica": + "any", "primaryReplicaFailoverInterval": 600}, "tier": "BusinessCritical", "dev": + true, "licenseType": "LicenseIncluded", "backup": {"retentionPeriodInDays": + 7}}, "metadata": {"name": "sync-sql", "namespace": "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:48:57Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:48:57Z"}],"name":"sync-sql","namespace":"test","resourceVersion":"3187893","uid":"50212b4b-0241-4fe6-a5c3-692c8ad1b6db"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":true,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":1,"replicas":3,"scheduling":{"default":{"resources":{"limits":{"cpu":"4"},"requests":{"cpu":"4","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sync-sql-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"BusinessCritical"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:48:57 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sync-sql + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","details":{"name":"sync-sql","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances","uid":"50212b4b-0241-4fe6-a5c3-692c8ad1b6db"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '209' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:48:57 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_replicas_valid[sync-sql-None-Deployed].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_replicas_valid[sync-sql-None-Deployed].yaml new file mode 100644 index 00000000000..a003fc51d18 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_replicas_valid[sync-sql-None-Deployed].yaml @@ -0,0 +1,265 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3187906"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:49:01 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sync-sql + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"sqlmanagedinstances.sql.arcdata.microsoft.com + \"sync-sql\" not found","reason":"NotFound","details":{"name":"sync-sql","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '276' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:49:01 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-28T21:35:31Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3186415","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_ubuntu2004-bilia","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-29T00:39:37.819356Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3187906"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:49:01 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/sync-sql-login-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"sync-sql-login-secret\" not found","reason":"NotFound","details":{"name":"sync-sql-login-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '216' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:49:01 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "sync-sql-login-secret"}, + "type": "Opaque", "data": {"username": "dXNlcm5hbWU=", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"sync-sql-login-secret","namespace":"test","uid":"6c2a4098-a6aa-4660-83c6-35a90c80db4e","resourceVersion":"3187907","creationTimestamp":"2022-11-29T00:49:01Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-11-29T00:49:01Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '518' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:49:01 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "sql.arcdata.microsoft.com/v9", "kind": "SqlManagedInstance", + "spec": {"services": {"primary": {"type": "NodePort"}, "readableSecondaries": + {"type": "NodePort"}}, "storage": {"data": {"volumes": [{"size": "5Gi"}]}, "logs": + {"volumes": [{"size": "5Gi"}]}}, "replicas": 1, "orchestratorReplicas": 1, "readableSecondaries": + 0, "syncSecondaryToCommit": -1, "security": {"adminLoginSecret": "sync-sql-login-secret", + "serviceCertificateSecret": ""}, "preferredPrimaryReplicaSpec": {"preferredPrimaryReplica": + "any", "primaryReplicaFailoverInterval": 600}, "tier": "GeneralPurpose", "dev": + true, "licenseType": "LicenseIncluded", "backup": {"retentionPeriodInDays": + 7}}, "metadata": {"name": "sync-sql", "namespace": "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:49:01Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:49:01Z"}],"name":"sync-sql","namespace":"test","resourceVersion":"3187908","uid":"d63602ab-fa0b-4100-8c15-0ff0719058c3"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":true,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sync-sql-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:49:01 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sync-sql + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","details":{"name":"sync-sql","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances","uid":"d63602ab-fa0b-4100-8c15-0ff0719058c3"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '209' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:49:01 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_secondary_commit_invalid[sync-sql-1-a-Error].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_secondary_commit_invalid[sync-sql-1-a-Error].yaml new file mode 100644 index 00000000000..34e3aec1128 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_secondary_commit_invalid[sync-sql-1-a-Error].yaml @@ -0,0 +1,59 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.28.1 + X-UserId: + - 9f15124681072b25f58819ced3d1c8747258e93742b4f4a5a22578705d369074 + method: GET + uri: https://mock-host/api/v1.0/suggestions + response: + body: + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/Ir73/f8H + KbtMDQIAAAA= + headers: + Cache-Control: + - no-store + Content-Encoding: + - gzip + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 29 Nov 2022 00:53:44 GMT + Request-Context: + - appId=cid-v1:31f03add-0a9e-4224-87e2-0c3eba4eda08 + Sml-CorrelationId: + - 155a2a78-e84f-4a53-b856-36f89933fc8d + Strict-Transport-Security: + - max-age=2592000; includeSubDomains + Transfer-Encoding: + - chunked + Vary: + - Accept-Encoding + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Rate-Limit-Limit: + - 10m + X-Rate-Limit-Remaining: + - '9999' + X-Rate-Limit-Reset: + - '2022-11-29T01:03:44.9328922Z' + api-supported-versions: + - '1.0' + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_secondary_commit_valid[sync-sql-1--1-Deployed].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_secondary_commit_valid[sync-sql-1--1-Deployed].yaml new file mode 100644 index 00000000000..e35513371ea --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_secondary_commit_valid[sync-sql-1--1-Deployed].yaml @@ -0,0 +1,265 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3188713"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:16 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sync-sql + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"sqlmanagedinstances.sql.arcdata.microsoft.com + \"sync-sql\" not found","reason":"NotFound","details":{"name":"sync-sql","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '276' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:16 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-28T21:35:31Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3186415","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_ubuntu2004-bilia","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-29T00:39:37.819356Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3188714"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:16 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/sync-sql-login-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"sync-sql-login-secret\" not found","reason":"NotFound","details":{"name":"sync-sql-login-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '216' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:16 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "sync-sql-login-secret"}, + "type": "Opaque", "data": {"username": "dXNlcm5hbWU=", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"sync-sql-login-secret","namespace":"test","uid":"868138c4-f5e7-4c22-a6d6-6c7b3b24454b","resourceVersion":"3188715","creationTimestamp":"2022-11-29T00:54:16Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-11-29T00:54:16Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '518' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:16 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "sql.arcdata.microsoft.com/v9", "kind": "SqlManagedInstance", + "spec": {"services": {"primary": {"type": "NodePort"}, "readableSecondaries": + {"type": "NodePort"}}, "storage": {"data": {"volumes": [{"size": "5Gi"}]}, "logs": + {"volumes": [{"size": "5Gi"}]}}, "replicas": 1, "orchestratorReplicas": 1, "readableSecondaries": + 0, "syncSecondaryToCommit": -1, "security": {"adminLoginSecret": "sync-sql-login-secret", + "serviceCertificateSecret": ""}, "preferredPrimaryReplicaSpec": {"preferredPrimaryReplica": + "any", "primaryReplicaFailoverInterval": 600}, "tier": "GeneralPurpose", "dev": + true, "licenseType": "LicenseIncluded", "backup": {"retentionPeriodInDays": + 7}}, "metadata": {"name": "sync-sql", "namespace": "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:54:16Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:54:16Z"}],"name":"sync-sql","namespace":"test","resourceVersion":"3188717","uid":"11406a13-9080-4c7d-999f-fab0757b2e45"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":true,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sync-sql-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:16 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sync-sql + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","details":{"name":"sync-sql","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances","uid":"11406a13-9080-4c7d-999f-fab0757b2e45"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '209' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:16 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_secondary_commit_valid[sync-sql-2-1-Deployed].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_secondary_commit_valid[sync-sql-2-1-Deployed].yaml new file mode 100644 index 00000000000..a5349bdda8a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_secondary_commit_valid[sync-sql-2-1-Deployed].yaml @@ -0,0 +1,265 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3188743"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:24 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sync-sql + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"sqlmanagedinstances.sql.arcdata.microsoft.com + \"sync-sql\" not found","reason":"NotFound","details":{"name":"sync-sql","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '276' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:24 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-28T21:35:31Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3186415","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_ubuntu2004-bilia","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-29T00:39:37.819356Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3188743"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:24 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/sync-sql-login-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"sync-sql-login-secret\" not found","reason":"NotFound","details":{"name":"sync-sql-login-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '216' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:24 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "sync-sql-login-secret"}, + "type": "Opaque", "data": {"username": "dXNlcm5hbWU=", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"sync-sql-login-secret","namespace":"test","uid":"d54be2e5-0cf6-4afd-9bc6-49cef1f781c6","resourceVersion":"3188744","creationTimestamp":"2022-11-29T00:54:24Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-11-29T00:54:24Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '518' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:24 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "sql.arcdata.microsoft.com/v9", "kind": "SqlManagedInstance", + "spec": {"services": {"primary": {"type": "NodePort"}, "readableSecondaries": + {"type": "NodePort"}}, "storage": {"data": {"volumes": [{"size": "5Gi"}]}, "logs": + {"volumes": [{"size": "5Gi"}]}}, "replicas": 2, "orchestratorReplicas": 1, "readableSecondaries": + 1, "syncSecondaryToCommit": 1, "security": {"adminLoginSecret": "sync-sql-login-secret", + "serviceCertificateSecret": ""}, "preferredPrimaryReplicaSpec": {"preferredPrimaryReplica": + "any", "primaryReplicaFailoverInterval": 600}, "tier": "BusinessCritical", "dev": + true, "licenseType": "LicenseIncluded", "backup": {"retentionPeriodInDays": + 7}}, "metadata": {"name": "sync-sql", "namespace": "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:54:24Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:54:24Z"}],"name":"sync-sql","namespace":"test","resourceVersion":"3188745","uid":"69aff453-3da8-44d1-8895-5e7e4da8f4f7"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":true,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":1,"replicas":2,"scheduling":{"default":{"resources":{"limits":{"cpu":"4"},"requests":{"cpu":"4","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sync-sql-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":1,"tier":"BusinessCritical"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:24 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sync-sql + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","details":{"name":"sync-sql","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances","uid":"69aff453-3da8-44d1-8895-5e7e4da8f4f7"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '209' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:24 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_secondary_commit_valid[sync-sql-3-2-Deployed].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_secondary_commit_valid[sync-sql-3-2-Deployed].yaml new file mode 100644 index 00000000000..2c9000ca55b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/cassettes/TestSqlmi.test_arc_sql_mi_sync_secondary_commit_valid[sync-sql-3-2-Deployed].yaml @@ -0,0 +1,265 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"3188759"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"0bd557b6-9816-4f72-97d6-63e6ab4aae29","resourceVersion":"3164409","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"81dae074-80e9-4f85-9cde-7c87638c1895","resourceVersion":"3164414","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","shortNames":["arcdc"],"kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"3be2201c-780b-447e-9af6-deb326121c12","resourceVersion":"3164423","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"af95524a-4702-4370-a0e7-3a218efd2a20","resourceVersion":"3164430","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v2"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"ec4607ef-11b7-4943-9147-a66a0701ca01","resourceVersion":"3164433","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"34860542-a646-464e-8f1a-c2f501e56945","resourceVersion":"3164436","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"686b1695-25d5-4c10-8303-921ba0d0bf93","resourceVersion":"3164439","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta3"]}},{"metadata":{"name":"sqlmanagedinstancemonitoringprofiles.arcdata.microsoft.com","uid":"949642b1-e697-4a4b-b0f3-f8eba16de792","resourceVersion":"3164417","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancemonitoringprofiles","singular":"sqlmanagedinstancemonitoringprofile","shortNames":["monitoringprofile"],"kind":"SqlManagedInstanceMonitoringProfile","listKind":"SqlManagedInstanceMonitoringProfileList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancereprovisionreplicatasks.tasks.sql.arcdata.microsoft.com","uid":"35b8aa44-5837-49f9-8ceb-c86de78fbe9b","resourceVersion":"3164461","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"replicaName":{"type":"string"}}},"status":{"type":"object","properties":{"endpoints":{"type":"object","additionalProperties":{"type":"string"},"x-kubernetes-preserve-unknown-fields":true},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"percentComplete":{"type":"integer"},"reason":{"type":"string"},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancereprovisionreplicatasks","singular":"sqlmanagedinstancereprovisionreplicatask","shortNames":["sqlmireprovisionreplicatask"],"kind":"SqlManagedInstanceReprovisionReplicaTask","listKind":"SqlManagedInstanceReprovisionReplicaTaskList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"ba90cd40-48ac-4dc5-a1b4-f04866c05dfb","resourceVersion":"3164462","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"dfcdf293-2e95-4c3e-82e4-23e1abb15508","resourceVersion":"3164458","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v7","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v8","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"anyOf":[{"type":"integer"},{"type":"string"}],"x-kubernetes-int-or-string":true}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"logSearchDashboard":{"type":"string"},"message":{"type":"string"},"metricsDashboard":{"type":"string"},"observedGeneration":{"type":"integer"},"primaryEndpoint":{"type":"string"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Desired-Version","type":"string","jsonPath":".spec.update.desiredVersion"},{"name":"Running-Version","type":"string","jsonPath":".status.runningVersion"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v9","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"backup":{"type":"object","properties":{"retentionPeriodInDays":{"type":"integer"}}},"dev":{"type":"boolean"},"licenseType":{"type":"string"},"monitoringProfile":{"type":"string"},"orchestratorReplicas":{"type":"integer"},"parentResource":{"type":"object","properties":{"apiGroup":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"namespace":{"type":"string"}}},"preferredPrimaryReplicaSpec":{"type":"object","properties":{"preferredPrimaryReplica":{"type":"string"},"primaryReplicaFailoverInterval":{"type":"integer"}}},"readableSecondaries":{"type":"integer"},"replicas":{"type":"integer"},"scheduling":{"type":"object","properties":{"affinity":{"type":"object","properties":{"nodeAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"preference":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"object","properties":{"nodeSelectorTerms":{"type":"array","items":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}}}}}}}}},"podAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}},"podAntiAffinity":{"type":"object","properties":{"preferredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"podAffinityTerm":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}},"weight":{"type":"integer"}}}},"requiredDuringSchedulingIgnoredDuringExecution":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaceSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"namespaces":{"type":"array","items":{"type":"string"}},"topologyKey":{"type":"string"}}}}}}}},"default":{"type":"object","properties":{"resources":{"type":"object","properties":{"limits":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"requests":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}}}}}},"nodeSelector":{"type":"object","additionalProperties":{"type":"string"}},"topologySpreadConstraints":{"type":"array","items":{"type":"object","properties":{"labelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"maxSkew":{"type":"integer"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}}}}},"security":{"type":"object","properties":{"activeDirectory":{"type":"object","properties":{"accountName":{"type":"string"},"connector":{"type":"object","properties":{"name":{"type":"string"},"namespace":{"type":"string"}}},"encryptionTypes":{"type":"array","items":{"type":"string"}},"keytabSecret":{"type":"string"}}},"adminLoginSecret":{"type":"string"},"serviceCertificateSecret":{"type":"string"}}},"services":{"type":"object","properties":{"primary":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}},"readableSecondaries":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"dnsName":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"port":{"type":"integer"},"type":{"type":"string"}}}}},"settings":{"description":"Configure + SQL Server on Linux with the mssql-conf tool. All supported properties: https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-ver16","x-kubernetes-preserve-unknown-fields":true},"storage":{"type":"object","properties":{"backups":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"data":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"datalogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorData":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"haOrchestratorLogs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}},"logs":{"type":"object","properties":{"volumes":{"type":"array","items":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}}},"syncSecondaryToCommit":{"type":"integer"},"tier":{"type":"string"},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"highAvailability":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"mirroringCertificate":{"type":"string"},"reason":{"type":"string"},"replicas":{"type":"array","items":{"type":"object","properties":{"availabilityMode":{"type":"string"},"connectedState":{"type":"string"},"healthState":{"type":"string"},"replicaName":{"type":"string"},"role":{"type":"string"},"secondaryRoleAllowConnections":{"type":"string"},"synchronizationState":{"type":"string"}}}},"state":{"type":"string"}}},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"roles":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"reason":{"type":"string"},"sql":{"type":"object","properties":{"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"readyReplicas":{"type":"integer"},"reason":{"type":"string"},"replicas":{"type":"integer"},"runningVersion":{"type":"string"},"state":{"type":"string"}}},"state":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v9"]}},{"metadata":{"name":"telemetrycollectors.arcdata.microsoft.com","uid":"d87ee9e0-a2e4-40d2-8fe9-c657a4fb11f3","resourceVersion":"3164463","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetrycollectors","singular":"telemetrycollector","shortNames":["telemetrycollector"],"kind":"TelemetryCollector","listKind":"TelemetryCollectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"telemetryrouters.arcdata.microsoft.com","uid":"f1a207d4-3f37-4b55-abea-5cffd5e34f4f","resourceVersion":"3164464","generation":1,"creationTimestamp":"2022-11-28T21:31:04Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-11-28T21:31:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"x-kubernetes-preserve-unknown-fields":true},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"IsAutoUpgradeEnabled":{"type":"boolean"},"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta4","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"spec":{"type":"object","properties":{"credentials":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"object","properties":{"certificateName":{"type":"string"},"secretName":{"type":"string"},"secretNamespace":{"type":"string"}}}}}},"exporters":{"type":"object","properties":{"elasticsearch":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"index":{"type":"string"},"name":{"type":"string"}}}},"kafka":{"type":"array","items":{"type":"object","properties":{"brokers":{"type":"string"},"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"encoding":{"type":"string"},"name":{"type":"string"},"topic":{"type":"string"}}}},"otlp":{"type":"array","items":{"type":"object","properties":{"caCertificateName":{"type":"string"},"certificateName":{"type":"string"},"endpoint":{"type":"string"},"name":{"type":"string"}}}}}},"kafka":{"type":"object","properties":{"limits":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"requests":{"type":"object","properties":{"memory":{"type":"string"},"vcores":{"type":"integer"}}},"storage":{"type":"object","properties":{"data":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}},"logs":{"type":"object","properties":{"accessMode":{"type":"string"},"annotations":{"type":"object","additionalProperties":{"type":"string"}},"claimName":{"type":"string"},"className":{"type":"string"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"size":{"type":"string"}}}}}}},"pipelines":{"type":"object","additionalProperties":{"type":"object","properties":{"exporters":{"type":"array","items":{"type":"string"}}}}},"update":{"type":"object","properties":{"desiredVersion":{"type":"string"}}}}},"status":{"type":"object","properties":{"arcDataServicesK8sExtensionLatestVersion":{"type":"string"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}},"healthState":{"type":"string"},"lastUpdateTime":{"type":"string","format":"date-time"},"message":{"type":"string"},"observedGeneration":{"type":"integer"},"readyReplicas":{"type":"string"},"reason":{"type":"string"},"registryVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"releasedVersions":{"type":"object","properties":{"available":{"type":"array","items":{"type":"string"}},"behind":{"type":"integer"},"current":{"type":"string"},"latest":{"type":"string"},"next":{"type":"string"},"previous":{"type":"string"}}},"runningVersion":{"type":"string"},"state":{"type":"string"}}}}}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-11-28T21:31:04Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"telemetryrouters","singular":"telemetryrouter","shortNames":["telemetryrouter","arctr"],"kind":"TelemetryRouter","listKind":"TelemetryRouterList"},"storedVersions":["v1beta4"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:27 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sync-sql + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"sqlmanagedinstances.sql.arcdata.microsoft.com + \"sync-sql\" not found","reason":"NotFound","details":{"name":"sync-sql","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '276' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:28 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-11-28T21:31:22Z","generation":1,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-28T21:31:22Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:arcDataServicesK8sExtensionLatestVersion":{},"f:lastUpdateTime":{},"f:registryVersions":{".":{},"f:available":{},"f:behind":{},"f:current":{},"f:latest":{},"f:next":{},"f:previous":{}},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-11-28T21:35:31Z"}],"name":"datacontroller-bilia-957f720eff","namespace":"test","resourceVersion":"3186415","uid":"7d56055e-764b-444d-8852-b1173b871901"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.14.0_ubuntu2004-bilia","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-bilia-957f720eff","logs.rotation.days":"7","logs.rotation.size":"5000"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"arcDataServicesK8sExtensionLatestVersion":"v1.13.0","lastUpdateTime":"2022-11-29T00:39:37.819356Z","observedGeneration":1,"registryVersions":{"available":["v1.14.0_ubuntu2004-letung","v1.14.0_ubuntu2004-hasaniholder"],"behind":2,"current":"v1.14.0_ubuntu2004-bilia","latest":"v1.14.0_ubuntu2004-letung","next":"v1.14.0_ubuntu2004-hasaniholder","previous":"v1.14.0_2022-11-28_ha-chaos_4ff0819c5"},"runningVersion":"v1.14.0_ubuntu2004-bilia","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"3188759"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:28 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/sync-sql-login-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"sync-sql-login-secret\" not found","reason":"NotFound","details":{"name":"sync-sql-login-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '216' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:28 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "sync-sql-login-secret"}, + "type": "Opaque", "data": {"username": "dXNlcm5hbWU=", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"sync-sql-login-secret","namespace":"test","uid":"e7b4b5a1-320a-445f-88b6-ac59372adfc0","resourceVersion":"3188760","creationTimestamp":"2022-11-29T00:54:28Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-11-29T00:54:28Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '518' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:28 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "sql.arcdata.microsoft.com/v9", "kind": "SqlManagedInstance", + "spec": {"services": {"primary": {"type": "NodePort"}, "readableSecondaries": + {"type": "NodePort"}}, "storage": {"data": {"volumes": [{"size": "5Gi"}]}, "logs": + {"volumes": [{"size": "5Gi"}]}}, "replicas": 3, "orchestratorReplicas": 1, "readableSecondaries": + 1, "syncSecondaryToCommit": 2, "security": {"adminLoginSecret": "sync-sql-login-secret", + "serviceCertificateSecret": ""}, "preferredPrimaryReplicaSpec": {"preferredPrimaryReplica": + "any", "primaryReplicaFailoverInterval": 600}, "tier": "BusinessCritical", "dev": + true, "licenseType": "LicenseIncluded", "backup": {"retentionPeriodInDays": + 7}}, "metadata": {"name": "sync-sql", "namespace": "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v9","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-11-29T00:54:28Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v9","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:orchestratorReplicas":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-11-29T00:54:28Z"}],"name":"sync-sql","namespace":"test","resourceVersion":"3188761","uid":"7d2a633a-bc7d-407b-97c1-9c0d745815c5"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":true,"licenseType":"LicenseIncluded","orchestratorReplicas":1,"parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-bilia-957f720eff","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":1,"replicas":3,"scheduling":{"default":{"resources":{"limits":{"cpu":"4"},"requests":{"cpu":"4","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sync-sql-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]},"logs":{"volumes":[{"accessMode":"ReadWriteOnce","className":"local-storage","size":"5Gi"}]}},"syncSecondaryToCommit":2,"tier":"BusinessCritical"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:28 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v9/namespaces/test/sqlmanagedinstances/sync-sql + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","details":{"name":"sync-sql","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances","uid":"7d2a633a-bc7d-407b-97c1-9c0d745815c5"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '209' + Content-Type: + - application/json + Date: + - Tue, 29 Nov 2022 00:54:28 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 63b831e8-adb3-45ec-bc66-a77738bbf80b + X-Kubernetes-Pf-Prioritylevel-Uid: + - e00a3f30-91a1-4dbb-a7ea-77a59ff96080 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/test_sqlmi.py b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/test_sqlmi.py new file mode 100644 index 00000000000..9d1875b8e1c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/test_sqlmi.py @@ -0,0 +1,475 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import os +import time + +import pytest +from azext_arcdata.vendored_sdks.kubernetes_sdk.models.custom_resource import CustomResource +from azext_arcdata.vendored_sdks.kubernetes_sdk.models.kube_quantity import KubeQuantity +from azext_arcdata.vendored_sdks.kubernetes_sdk.models.volume_claim import VolumeClaim +from src.arcdata.arcdata.azext_arcdata.vendored_sdks.kubernetes_sdk.models.sqlmi_cr_model import SqlmiCustomResource + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord +NAMESPACE = "test" +STORAGE_CLASS = "local-storage" + + +@pytest.mark.skip(reason="Testing library is broken.") +@pytest.mark.usefixtures("setup") +class TestSqlmi(object): + @pytest.fixture + def setup(self): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "Placeholder001" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected, storage_class", + [("sqlmi1", "Deployed", STORAGE_CLASS)], + ) + def test_arc_sql_mi_create(self, name, expected, storage_class, az): + result = az( + "sql mi-arc create --storage-class-data {2} " + "--storage-class-logs {2} --no-wait -n {0} " + "--k8s-namespace {1} --use-k8s".format( + name, NAMESPACE, storage_class + ) + ) + print(result.out) + assert expected in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected, storage_class", + [("sqlmibc1", "Deployed", STORAGE_CLASS)], + ) + def test_arc_sql_mi_create_bc(self, name, expected, storage_class, az): + result = az( + "sql mi-arc create --storage-class-data {2} " + "--storage-class-logs {2} --no-wait -n {0} " + "--k8s-namespace {1} --tier bc --use-k8s".format( + name, NAMESPACE, storage_class + ) + ) + print(result.out) + assert expected in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected, time_zone", + [("sqlmi-tz", "Deployed", "America/New_York")], + ) + def test_arc_sql_mi_create_time_zone(self, name, expected, time_zone, az): + result = az( + "sql mi-arc create --time-zone {2} " + " --no-wait -n {0} --k8s-namespace {1} --use-k8s".format( + name, NAMESPACE, time_zone + ) + ) + print(result.out) + assert expected in result.out + + # Clean up after test + # + az( + "az sql mi-arc delete --use-k8s", + name=name, + k8s_namespace=NAMESPACE, + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected, storage_class", + [("sqlmi1", "exists", STORAGE_CLASS)], + ) + def test_arc_sql_mi_create_conflict( + self, name, expected, storage_class, az + ): + result = az( + "sql mi-arc create --storage-class-data {2} " + "--storage-class-logs {2} --no-wait -n {0} " + "--k8s-namespace {1} --use-k8s".format( + name, NAMESPACE, storage_class + ) + ) + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, exp", + [("sqlmi1", "Updated")], + ) + def test_arc_sql_mi_edit(self, name, exp, az): + time.sleep(10) + result = az( + "sql mi-arc update --memory-limit 10Gi --no-wait -n {0} " + "--k8s-namespace {1} --use-k8s".format(name, NAMESPACE) + ) + assert exp in result.out, str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, rd, expected", [("sqlmi1", "35", "Updated")] + ) + def test_arc_sql_mi_edit_valid(self, name, rd, expected, az): + time.sleep(10) + result = az( + "sql mi-arc update --no-wait -n {0} --k8s-namespace {1} --use-k8s" + " --retention-days {2}".format(name, NAMESPACE, rd) + ) + + assert expected in str(result.out) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, exp", + [("foobar", "found")], + ) + def test_arc_sql_mi_invalid_edit(self, name, exp, az): + result = az( + "sql mi-arc update --memory-limit 10Gi --no-wait -n {0} " + "--k8s-namespace {1} --use-k8s".format(name, NAMESPACE) + ) + assert exp in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, rd", + [("sqlmi1", "-1"), ("sqlmi1", "36")], + ) + def test_arc_sql_mi_edit_rd_invalid(self, name, rd, az): + try: + az( + "sql mi-arc update --no-wait -n {0} --k8s-namespace {1} --use-k8s --retention-days {2}".format( + name, NAMESPACE, rd + ) + ) + assert False, "Error was not thrown as expected" + except SystemExit: + pass + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", + [("sqlmi1", "sqlmi1")], + ) + def test_arc_sql_mi_show(self, name, expected, az): + result = az( + "sql mi-arc show -n {0} --k8s-namespace {1} --use-k8s".format( + name, NAMESPACE + ) + ) + assert expected in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", + [("sqlmi1", "sqlmi1")], + ) + def test_arc_sql_mi_list_instance(self, name, expected, az): + result = az( + "sql mi-arc endpoint list -n {0} --k8s-namespace {1}" + " --use-k8s".format(name, NAMESPACE) + ) + print(type(result)) + assert expected in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "expected", + ["sqlmi1"], + ) + def test_arc_sql_mi_list(self, expected, az): + result = az( + "sql mi-arc list --k8s-namespace {0} --use-k8s".format(NAMESPACE) + ) + print(result.out) + assert expected in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "expected, storage_class", + [(["sqlmi1", "sqlmi3"], STORAGE_CLASS)], + ) + def test_arc_sql_mi_endpoint_list(self, expected, storage_class, az): + result = az( + "sql mi-arc create --storage-class-data {2} " + "--storage-class-logs {2} --no-wait -n {0} " + "--k8s-namespace {1} --use-k8s".format( + expected[1], NAMESPACE, storage_class + ) + ) + result = az( + "sql mi-arc endpoint list --k8s-namespace {0} --use-k8s -o" + " json".format(NAMESPACE) + ) + for e in expected: + assert e in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", + [("sqlmi1", "Deleted")], + ) + def test_arc_sql_mi_delete(self, name, expected, az): + result = az( + "sql mi-arc delete -n {0} --k8s-namespace {1} --use-k8s".format( + name, NAMESPACE + ) + ) + print(result) + assert expected in result.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", + [("sqlmiinvalid", "not found")], + ) + def test_arc_sql_mi_delete_not_found(self, name, expected, az): + result = az( + "sql mi-arc delete -n {0} --k8s-namespace {1} --use-k8s".format( + name, NAMESPACE + ) + ) + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize("name, expected", [("sqlmi6", "does not exist")]) + def test_arc_sql_mi_create_storage_class_logs(self, name, expected, az): + result = az( + "sql mi-arc create --storage-class-logs DNE -n {0} " + "--k8s-namespace {1} --use-k8s".format(name, NAMESPACE) + ) + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize("name, expected", [("sqlmi6", "does not exist")]) + def test_arc_sql_mi_create_storage_class_data(self, name, expected, az): + result = az( + "sql mi-arc create --storage-class-data DNE -n {0} " + "--k8s-namespace {1} --use-k8s".format(name, NAMESPACE) + ) + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize("name, expected", [("sqlmi6", "does not exist")]) + def test_arc_sql_mi_create_storage_class_datalogs(self, name, expected, az): + result = az( + "sql mi-arc create --storage-class-data DNE -n {0} " + "--storage-class-logs DNE --k8s-namespace {1} --use-k8s".format( + name, NAMESPACE + ) + ) + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", + [("".join(["a"] * 61), "exceeds 60 character length limit")], + ) + def test_arc_sql_mi_create_name_length(self, name, expected, az): + result = az( + "sql mi-arc create -n {0} --k8s-namespace {1} --use-k8s".format( + name, NAMESPACE + ) + ) + assert name in str(result.err) + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, rd", + [("sqlmird", "36"), ("sqlmird", "-1")], + ) + def test_arc_sql_mi_create_rd_invalid(self, name, rd, az): + try: + az( + "sql mi-arc create -n {0} --k8s-namespace {1} --use-k8s --retention-days {2}".format( + name, NAMESPACE, rd + ) + ) + assert False, "Error was not thrown as expected" + except SystemExit: + pass + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, rd, expected", [("sqlmivalid1", "1", "Deployed")] + ) + def test_arc_sql_mi_create_valid(self, name, rd, expected, az): + result = az( + "sql mi-arc create --no-wait -n {0} --k8s-namespace {1} --use-k8s" + " --retention-days {2}".format(name, NAMESPACE, rd) + ) + + assert expected in str(result.out) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize("storage_class", [STORAGE_CLASS]) + def test_sql_mi_model(self, storage_class): + sq1 = SqlmiCustomResource() + # Custom Resource Fields + sq1.apiversion = "sqlmi/v1" + sq1.kind = "sqlmi" + sq1.metadata.name = "sqlmi-test" + sq1.metadata.namespace = "test" + sq1.metadata.resourceVersion = "11225500" + sq1.metadata.uid = "aaaaa-bbbbb-cccc-1234" + sq1.status.state = "Ready" + sq1.status.endpoints = SqlmiCustomResource.Status.EndpointsStatus() + sq1.status.endpoints.primary = "endpoint.notreal.com/sqlmi" + sq1.spec.dev = False + sq1.spec.services.primary.port = 25565 + sq1.spec.services.primary.serviceType = "endpoint" + sq1.spec.storage.data.volumes = [ + VolumeClaim(className=storage_class, size="50Gi") + ] + sq1.spec.storage.logs.volumes = [ + VolumeClaim(className=storage_class, size="50Gi") + ] + sq1.spec.storage.backups.volumes = [ + VolumeClaim(className=storage_class, size="50Gi") + ] + sq1.spec.docker.registry = "msft_test_reg.123" + sq1.spec.docker.repository = "msft.test.github.cloud.com" + sq1.spec.docker.imageTag = "ttttttaaagggg" + sq1.spec.docker.imagePullPolicy = "always" + sq1.spec.storage.volumeClaimMounts = [ + {"volumeClaimName": "test1", "volumeType": "type1"}, + {"volumeClaimName": "test2", "volumeType": "type2"}, + ] + + # Sqlmi + sq1.spec.type = "svc1-sqlmi" + sq1.spec.storage.datalogs.volumes = [ + VolumeClaim(className=storage_class, size="50Gi") + ] + sq1.spec.scheduling.default.resources.requests.memory = "2Gi" + sq1.spec.scheduling.default.resources.requests.cpu = "3" + sq1.spec.scheduling.default.resources.limits.memory = KubeQuantity( + "2Gi" + ) + sq1.spec.scheduling.default.resources.limits.cpu = KubeQuantity("5") + sq1.status.roles.sql.readyReplicas = 10 + sq1.status.endpoints.secondary = "secondary.service.endpoint" + sq1.spec.backup.retentionPeriodInDays = 4 + + # Do the test + sq1_encoding = sq1.encode() + sq2 = CustomResource.decode(SqlmiCustomResource, sq1_encoding) + sq2_encoding = sq2.encode() + + assert sq1_encoding == sq2_encoding + + sq1_str = sq1.encodes() + sq3 = CustomResource.decodes(SqlmiCustomResource, sq1_str) + sq3_encoding = sq3.encode() + + assert sq3_encoding == sq1_encoding + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, replicas, sync_secondary_commit, expected", + [ + ("sync-sql", "3", "2", "Deployed"), + ("sync-sql", "2", "1", "Deployed"), + ("sync-sql", "1", "-1", "Deployed"), + ], + ) + def test_arc_sql_mi_sync_secondary_commit_valid( + self, name, replicas, sync_secondary_commit, expected, az + ): + result = az( + "az sql mi-arc create --no-wait --dev --use-k8s", + name=name, + k8s_namespace=NAMESPACE, + sync_secondary_to_commit=sync_secondary_commit, + replicas=replicas, + ) + + print(result) + assert expected in result.out + + # Clean up after test + # + az( + "az sql mi-arc delete --use-k8s", + name=name, + k8s_namespace=NAMESPACE, + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, replicas, sync_secondary_commit, expected", + [ + ("sync-sql", "1", "2", "Error"), + ("sync-sql", "2", "2", "Error"), + ("sync-sql", "1", "a", "Error"), + ], + ) + def test_arc_sql_mi_sync_secondary_commit_invalid( + self, name, replicas, sync_secondary_commit, expected, az + ): + try: + az( + "az sql mi-arc create --no-wait --dev --use-k8s", + name=name, + k8s_namespace=NAMESPACE, + sync_secondary_to_commit=sync_secondary_commit, + replicas=replicas, + ) + assert False, "Error was not thrown as expected" + except SystemExit: + pass + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, replicas, expected", + [ + ("sync-sql", "1", "Deployed"), + ("sync-sql", "2", "Deployed"), + ("sync-sql", "3", "Deployed"), + ("sync-sql", None, "Deployed"), + ], + ) + def test_arc_sql_mi_sync_replicas_valid(self, name, replicas, expected, az): + result = az( + "az sql mi-arc create --no-wait --dev --use-k8s", + name=name, + k8s_namespace=NAMESPACE, + replicas=replicas, + ) + + print(result) + assert expected in result.out + + # Clean up after test + # + az( + "az sql mi-arc delete --use-k8s", + name=name, + k8s_namespace=NAMESPACE, + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, replicas, expected", + [ + ("sync-sql", "0", "Error"), + ("sync-sql", "a", "Error"), + ("sync-sql", "4", "Error"), + ], + ) + def test_arc_sql_mi_replicas_invalid(self, name, replicas, expected, az): + try: + az( + "az sql mi-arc create --no-wait --dev --use-k8s", + name=name, + k8s_namespace=NAMESPACE, + replicas=replicas, + ) + assert False, "Error was not thrown as expected" + except SystemExit: + pass diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/test_sqlmi_arm.py b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/test_sqlmi_arm.py new file mode 100644 index 00000000000..acf5ac9a6e6 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/test_sqlmi_arm.py @@ -0,0 +1,152 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +import json +import os +import pytest + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord + + +@pytest.mark.usefixtures("setup") +@pytest.mark.skip(reason="Long running") +class TestSqlmiARM(object): + @pytest.fixture + def setup( + self, + credentials, + resource_group, + custom_location, + location, + mi_name, + subscription, + ): + os.environ["AZDATA_USERNAME"] = credentials[0] + os.environ["AZDATA_PASSWORD"] = credentials[1] + self.resource_group = resource_group + self.custom_location = custom_location + self.location = location + self.mi_name = mi_name + self.mi_name_wait = f"{mi_name}w" + self.subscription = subscription + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.slow + def _test_sql_mi_arc_create(self, az): + result = az( + "az sql mi-arc create", + name=self.mi_name_wait, + resource_group=self.resource_group, + custom_location=self.custom_location, + location=self.location, + subscription=self.subscription, + ) + assert result.exit_code == 0 + mi = json.loads(result.out) + assert mi["name"] == self.mi_name_wait + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.slow + @pytest.mark.parametrize( + "cores_request, cores_limit", + [(1, 2)], + ) + def _test_sql_mi_arc_update(self, az, cores_request, cores_limit): + result = az( + "az sql mi-arc update", + name=self.mi_name_wait, + cores_request=cores_request, + cores_limit=cores_limit, + resource_group=self.resource_group, + subscription=self.subscription, + ) + assert result.exit_code == 0 + mi = json.loads(result.out) + assert mi["name"] == self.mi_name_wait + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_sql_mi_arc_list(self, az): + result = az( + "az sql mi-arc list", + resource_group=self.resource_group, + subscription=self.subscription, + ) + assert result.exit_code == 0 + result = json.loads(result.out) + assert len(result) > 0 + found = False + for mi in result: + if mi["name"] == self.mi_name: + found = True + assert mi["properties"]["k8SRaw"]["status"]["state"] == "Ready" + assert found + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_sql_mi_arc_show(self, az): + result = az( + "az sql mi-arc show", + name=self.mi_name, + resource_group=self.resource_group, + subscription=self.subscription, + ) + assert result.exit_code == 0 + mi = json.loads(result.out) + assert mi["properties"]["k8_s_raw"]["status"]["state"] == "Ready" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_sql_mi_arc_delete(self, az): + result = az( + "az sql mi-arc delete", + name=self.mi_name, + resource_group=self.resource_group, + subscription=self.subscription, + ) + assert result.exit_code == 0 + + # -------------------------------------------------------------------------- + # Faster running tests for gci with the `--no-wait` argument + # NOTE: + # Since `--no-wait` returns right away you will have to first wait until + # the state in `test_sql_mi_arc_create_no_wait` is "Ready" before recording: + # - test_sql_mi_arc_update_no_wait + # - test_sql_mi_arc_delete_no_wait + # -------------------------------------------------------------------------- + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_sql_mi_arc_create_no_wait(self, az): + result = az( + "az sql mi-arc create --no-wait", + name=self.mi_name, + resource_group=self.resource_group, + custom_location=self.custom_location, + location=self.location, + subscription=self.subscription, + ) + assert result.exit_code == 0 + assert ( + f"The managed instance '{self.mi_name}' " + f"is being created" in result.out + ), "Did not find output." + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "cores_request, cores_limit", + [(1, 2)], + ) + def test_sql_mi_arc_update_no_wait(self, az, cores_request, cores_limit): + result = az( + "az sql mi-arc update --no-wait", + name=self.mi_name, + cores_request=cores_request, + cores_limit=cores_limit, + resource_group=self.resource_group, + subscription=self.subscription, + ) + assert result.exit_code == 0 + assert ( + f"The managed instance '{self.mi_name}' " + f"is being updated" in result.out + ), "Did not find output." diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/test_sqlmi_upgrade.py b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/test_sqlmi_upgrade.py new file mode 100644 index 00000000000..0a2476d7f2d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/test_sqlmi_upgrade.py @@ -0,0 +1,139 @@ +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import KubernetesError +from azext_arcdata.vendored_sdks.kubernetes_sdk.errors.K8sAdmissionReviewError import ( + K8sAdmissionReviewError, +) +from azext_arcdata.sqlmi.sqlmi_utilities import upgrade_sqlmi_instances +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import KubernetesClient +import os +import pytest +from pytest_az import VCRState, RECORD_MODES + +import time + +# todo: these are integration tests used for debugging early, we need to create recordings and wire these up for unit testing. + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord +NAMESPACE = "test" +STORAGE_CLASS = "local-storage" +SQLMI_NAME = "sqlmi3" + + +@pytest.mark.skip(reason="Testing library is broken.") +@pytest.mark.usefixtures("setup") +class TestSqlMiUpgrade: + @pytest.fixture + def setup(self, az_vcr_cassette, mock_kube_config): + st = VCRState() + if st.record_mode != RECORD_MODES["rerecord"] and st.cassette_exists: + mock_kube_config() + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "namespace, name", + [(NAMESPACE, SQLMI_NAME)], + ) + def test_upgrade_dryrun(self, namespace, name): + upgrade_sqlmi_instances( + namespace, + name=name, + desired_version="v1.14.0_upgrade-test", + dry_run=True, + use_k8s=True, + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "namespace, expected_sql_instance", + [(NAMESPACE, SQLMI_NAME)], + ) + def test_upgrade_pre_dc_upgrade(self, namespace, expected_sql_instance, az): + results = az( + "az sql mi-arc upgrade --k8s-namespace {0} -n {1} --dry-run --use-k8s".format( + namespace, expected_sql_instance + ) + ) + assert expected_sql_instance in results.out + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "namespace, name, desired_version", + [(NAMESPACE, "sqlmi100", "v1.2.0_2021-12-15")], + ) + def test_upgrade_with_instance_not_exists( + self, namespace, name, desired_version + ): + with pytest.raises( + ValueError, match=r"Instance sqlmi100 does not exist." + ): + upgrade_sqlmi_instances( + namespace, + name=name, + desired_version=desired_version, + use_k8s=True, + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "namespace, name, desired_version", + [(NAMESPACE, SQLMI_NAME, "20211026.5_master")], + ) + def test_upgrade_to_unsupported_version( + self, namespace, name, desired_version + ): + with pytest.raises(ValueError): + upgrade_sqlmi_instances( + namespace, + name=name, + desired_version=desired_version, + use_k8s=True, + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "namespace, name, desired_version", + [(NAMESPACE, SQLMI_NAME, "v1.14.0_upgrade-test2")], + ) + def test_upgrade_with_name(self, namespace, name, desired_version): + upgraded_instances = upgrade_sqlmi_instances( + namespace, name=name, desired_version=desired_version, use_k8s=True + ) + assert len(upgraded_instances) == 1 + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "namespace, desired_version", + [(NAMESPACE, "v1.14.0_upgrade-test2")], + ) + def test_upgrade_with_name_wildcard(self, namespace, desired_version): + upgraded_instances = upgrade_sqlmi_instances( + namespace, + name="sqlmi*", + desired_version=desired_version, + use_k8s=True, + dry_run=True, + ) + assert len(upgraded_instances) == 3 + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "namespace, name", + [(NAMESPACE, SQLMI_NAME)], + ) + def test_upgrade(self, namespace, name): + upgrade_sqlmi_instances(namespace, use_k8s=True) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_upgrade_fails_beyond_dc_version(self, az): + results = az( + "az sql mi-arc upgrade -k {0} --use-k8s -v v13.7.0_test -d -n {1}".format( + NAMESPACE, SQLMI_NAME + ) + ) + + assert ( + results.exit_code == 1 + ), "Upgrade request beyond the dc version should have failed, but did not." + assert ( + "Arc-enabled SQL managed instance(s) cannot be upgraded beyond the data controller version" + in str(results.err) + ), "Upgrade was blocked, but improper exception text was returned." diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmi/test_util.py b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/test_util.py new file mode 100644 index 00000000000..605c2045a51 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmi/test_util.py @@ -0,0 +1,34 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +from azext_arcdata.sqlmi.util import is_valid_sql_password + + +class TestUtil(object): + def test_is_valid_sql_password(self): + test_cases = [ + {"pw": None, "expected": False}, + {"pw": "", "expected": False}, + {"pw": "abc123", "expected": False}, + {"pw": "abc123!", "expected": False}, + {"pw": "123!A", "expected": False}, + {"pw": "123@a", "expected": False}, + {"pw": "b123A", "expected": False}, + {"pw": "a123B", "expected": False}, + {"pw": "N0t$vn", "expected": False}, + {"pw": "aaAAbbCC1", "expected": True}, + {"pw": "AAABBCC1!", "expected": True}, + {"pw": "AAAbbCC1", "expected": True}, + {"pw": "@ABcabcabc", "expected": True}, + {"pw": "abc#ABCA", "expected": True}, + {"pw": "zyxwvuTA1", "expected": True}, + {"pw": "1234567%!a", "expected": True}, + {"pw": "1234567%!B", "expected": True}, + {"pw": "abcd==1234", "expected": True}, + {"pw": "abcd;;1234", "expected": True}, + {"pw": "abcd*XYZ", "expected": True}, + ] + + for case in test_cases: + assert is_valid_sql_password(case["pw"], "sa") == case["expected"] diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmidb/__init__.py b/src/arcdata/arcdata/azext_arcdata/test/sqlmidb/__init__.py new file mode 100644 index 00000000000..70445d31ba4 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmidb/__init__.py @@ -0,0 +1,3 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmidb/cassettes/TestSqlmidb.test_arc_sql_midb_restore_backup[sqlmi2-].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmidb/cassettes/TestSqlmidb.test_arc_sql_midb_restore_backup[sqlmi2-].yaml new file mode 100644 index 00000000000..692ce2c97ad --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmidb/cassettes/TestSqlmidb.test_arc_sql_midb_restore_backup[sqlmi2-].yaml @@ -0,0 +1,290 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/apiextensions.k8s.io/v1/customresourcedefinitions + response: + body: + string: '{"kind":"CustomResourceDefinitionList","apiVersion":"apiextensions.k8s.io/v1","metadata":{"resourceVersion":"12648"},"items":[{"metadata":{"name":"activedirectoryconnectors.arcdata.microsoft.com","uid":"dd7b84b1-a60f-443c-84d1-146a1e4a25fa","resourceVersion":"7985","generation":1,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"activedirectoryconnectors","singular":"activedirectoryconnector","shortNames":["adc","adcon","adconnector"],"kind":"ActiveDirectoryConnector","listKind":"ActiveDirectoryConnectorList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"datacontrollers.arcdata.microsoft.com","uid":"66a51dc2-91ca-43aa-b544-621ec7049c56","resourceVersion":"7993","generation":1,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]},{"name":"v5","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"datacontrollers","singular":"datacontroller","kind":"DataController","listKind":"DataControllerList"},"storedVersions":["v5"]}},{"metadata":{"name":"exporttasks.tasks.arcdata.microsoft.com","uid":"6cefb505-dcb4-4e7e-8c0d-9ef835125395","resourceVersion":"7999","generation":1,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.arcdata.microsoft.com","names":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"exporttasks","singular":"exporttask","shortNames":["export"],"kind":"ExportTask","listKind":"ExportTaskList"},"storedVersions":["v2"]}},{"metadata":{"name":"failovergroups.sql.arcdata.microsoft.com","uid":"0e56c673-3841-4cb9-93ab-4a46f425c25e","resourceVersion":"8005","generation":1,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Results","type":"string","jsonPath":".status.results"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"failovergroups","singular":"failovergroup","shortNames":["fog"],"kind":"FailoverGroup","listKind":"FailoverGroupList"},"storedVersions":["v1"]}},{"metadata":{"name":"kafkas.arcdata.microsoft.com","uid":"d3730141-b88e-4fbe-9719-d7436da85f68","resourceVersion":"8008","generation":1,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"kafkas","singular":"kafka","shortNames":["kafka"],"kind":"Kafka","listKind":"KafkaList"},"storedVersions":["v1beta1"]}},{"metadata":{"name":"monitors.arcdata.microsoft.com","uid":"adfee909-096b-454d-beef-77625056a014","resourceVersion":"8011","generation":1,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"monitors","singular":"monitor","shortNames":["monitor"],"kind":"Monitor","listKind":"MonitorList"},"storedVersions":["v2"]}},{"metadata":{"name":"postgresqls.arcdata.microsoft.com","uid":"1e735229-1fda-4a6f-ab9f-25ed70a5fd6d","resourceVersion":"8013","generation":1,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"arcdata.microsoft.com","names":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1beta2","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"State","type":"string","jsonPath":".status.state"},{"name":"Ready-Pods","type":"string","jsonPath":".status.readyPods"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"postgresqls","singular":"postgresql","shortNames":["postgres"],"kind":"PostgreSql","listKind":"PostgreSqlList"},"storedVersions":["v1beta2"]}},{"metadata":{"name":"sqlmanagedinstancerestoretasks.tasks.sql.arcdata.microsoft.com","uid":"8ec359c9-aeb3-435a-872b-e8720944ba93","resourceVersion":"8026","generation":1,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"tasks.sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstancerestoretasks","singular":"sqlmanagedinstancerestoretask","shortNames":["sqlmirestoretask"],"kind":"SqlManagedInstanceRestoreTask","listKind":"SqlManagedInstanceRestoreTaskList"},"storedVersions":["v1"]}},{"metadata":{"name":"sqlmanagedinstances.sql.arcdata.microsoft.com","uid":"ce47f963-8110-4de0-aa45-fb3ff2fb703e","resourceVersion":"8025","generation":1,"creationTimestamp":"2022-07-30T01:17:49Z","labels":{"app.kubernetes.io/managed-by":"Helm","helm.sh/chart":"arcdataservices-1.0.0"},"annotations":{"helm.sh/resource-policy":"keep","meta.helm.sh/release-name":"bootstrap","meta.helm.sh/release-namespace":"test"},"managedFields":[{"manager":"bootstrapper","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:helm.sh/resource-policy":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{},"f:helm.sh/chart":{}}},"f:spec":{"f:conversion":{".":{},"f:strategy":{}},"f:group":{},"f:names":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:scope":{},"f:versions":{}}}},{"manager":"kube-apiserver","operation":"Update","apiVersion":"apiextensions.k8s.io/v1","time":"2022-07-30T01:17:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:acceptedNames":{"f:kind":{},"f:listKind":{},"f:plural":{},"f:shortNames":{},"f:singular":{}},"f:conditions":{"k:{\"type\":\"Established\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamesAccepted\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"group":"sql.arcdata.microsoft.com","names":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"scope":"Namespaced","versions":[{"name":"v1beta1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v1","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v2","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v3","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.primaryEndpoint"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v4","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v5","served":true,"storage":false,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]},{"name":"v6","served":true,"storage":true,"schema":{"openAPIV3Schema":{"type":"object","x-kubernetes-preserve-unknown-fields":true}},"subresources":{"status":{}},"additionalPrinterColumns":[{"name":"Status","type":"string","jsonPath":".status.state"},{"name":"Replicas","type":"string","jsonPath":".status.roles.sql.readyReplicas"},{"name":"Primary-Endpoint","type":"string","jsonPath":".status.endpoints.primary"},{"name":"Age","type":"date","jsonPath":".metadata.creationTimestamp"}]}],"conversion":{"strategy":"None"}},"status":{"conditions":[{"type":"NamesAccepted","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"NoConflicts","message":"no + conflicts found"},{"type":"Established","status":"True","lastTransitionTime":"2022-07-30T01:17:49Z","reason":"InitialNamesAccepted","message":"the + initial names have been accepted"}],"acceptedNames":{"plural":"sqlmanagedinstances","singular":"sqlmanagedinstance","shortNames":["sqlmi"],"kind":"SqlManagedInstance","listKind":"SqlManagedInstanceList"},"storedVersions":["v6"]}}]} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:45:20 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v6/namespaces/test/sqlmanagedinstances/sqlmi2 + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"sqlmanagedinstances.sql.arcdata.microsoft.com + \"sqlmi2\" not found","reason":"NotFound","details":{"name":"sqlmi2","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '272' + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:45:20 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/apis/arcdata.microsoft.com/v5/namespaces/test/datacontrollers + response: + body: + string: '{"apiVersion":"arcdata.microsoft.com/v5","items":[{"apiVersion":"arcdata.microsoft.com/v5","kind":"DataController","metadata":{"creationTimestamp":"2022-07-30T01:17:58Z","generation":2,"managedFields":[{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:observedGeneration":{}}},"manager":"Go-http-client","operation":"Update","time":"2022-07-30T01:36:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:credentials":{".":{},"f:dockerRegistry":{},"f:domainServiceAccount":{},"f:serviceAccount":{}},"f:docker":{".":{},"f:imagePullPolicy":{},"f:imageTag":{},"f:registry":{},"f:repository":{}},"f:infrastructure":{},"f:security":{".":{},"f:allowDumps":{},"f:allowNodeMetricsCollection":{},"f:allowPodMetricsCollection":{}},"f:services":{},"f:settings":{".":{},"f:ElasticSearch":{".":{},"f:vm.max_map_count":{}},"f:azure":{".":{},"f:connectionMode":{},"f:location":{},"f:resourceGroup":{},"f:subscription":{}},"f:controller":{".":{},"f:displayName":{},"f:logs.rotation.days":{},"f:logs.rotation.size":{}},"f:maintenance":{".":{},"f:duration":{},"f:recurrence":{},"f:start":{},"f:timeZone":{}}},"f:storage":{".":{},"f:data":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}},"f:logs":{".":{},"f:accessMode":{},"f:className":{},"f:size":{}}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-07-30T01:36:09Z"},{"apiVersion":"arcdata.microsoft.com/v5","fieldsType":"FieldsV1","fieldsV1":{"f:IsValid":{},"f:status":{"f:lastUpdateTime":{},"f:runningVersion":{},"f:state":{}}},"manager":"unknown","operation":"Update","time":"2022-07-30T01:36:47Z"}],"name":"datacontroller-sachaga-3528e2572","namespace":"test","resourceVersion":"9969","uid":"fd74b3a5-ac52-402c-ba5e-a02f7a617af1"},"spec":{"credentials":{"dockerRegistry":"arc-private-registry","domainServiceAccount":"domain-service-account-secret","serviceAccount":"sa-arc-controller"},"docker":{"imagePullPolicy":"IfNotPresent","imageTag":"v1.10.0_ubuntu2004-sachaga","registry":"arcdatadev.azurecr.io","repository":"arcdata-dev"},"infrastructure":"onpremises","security":{"allowDumps":true,"allowNodeMetricsCollection":true,"allowPodMetricsCollection":true},"services":[{"name":"controller","port":30080,"serviceType":"NodePort"}],"settings":{"ElasticSearch":{"vm.max_map_count":"-1"},"azure":{"connectionMode":"indirect","location":"eastasia","resourceGroup":"GCI","subscription":"a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39"},"controller":{"displayName":"datacontroller-sachaga-3528e2572","logs.rotation.days":"7","logs.rotation.size":"5000"},"maintenance":{"duration":"3:00","recurrence":"Saturday","start":"2022-01-01T23:00","timeZone":"US/Pacific"}},"storage":{"data":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"15Gi"},"logs":{"accessMode":"ReadWriteOnce","className":"local-storage","size":"10Gi"}}},"status":{"lastUpdateTime":"2022-07-30T01:36:59.328825Z","observedGeneration":2,"runningVersion":"v1.10.0_ubuntu2004-sachaga","state":"Ready"}}],"kind":"DataControllerList","metadata":{"continue":"","resourceVersion":"12648"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:45:20 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: GET + uri: https://mock-host/api/v1/namespaces/test/secrets/sqlmi2-login-secret + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets + \"sqlmi2-login-secret\" not found","reason":"NotFound","details":{"name":"sqlmi2-login-secret","kind":"secrets"},"code":404} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '212' + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:45:20 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 404 + message: Not Found +- request: + body: '{"apiVersion": "v1", "kind": "Secret", "metadata": {"name": "sqlmi2-login-secret"}, + "type": "Opaque", "data": {"username": "dXNlcm5hbWU=", "password": "Placeholder001"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/api/v1/namespaces/test/secrets + response: + body: + string: '{"kind":"Secret","apiVersion":"v1","metadata":{"name":"sqlmi2-login-secret","namespace":"test","uid":"b10c59fd-c5e8-4c22-b1c6-481fc317beb6","resourceVersion":"12649","creationTimestamp":"2022-07-30T01:45:20Z","managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2022-07-30T01:45:20Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:password":{},"f:username":{}},"f:type":{}}}]},"data":{"password":"Placeholder001","username":"dXNlcm5hbWU="},"type":"Opaque"} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '514' + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:45:20 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "sql.arcdata.microsoft.com/v6", "kind": "SqlManagedInstance", + "spec": {"services": {"primary": {"type": "NodePort"}, "readableSecondaries": + {"type": "NodePort"}}, "storage": {"data": {"volumes": [{"size": "5Gi"}]}, "logs": + {"volumes": [{"size": "5Gi"}]}}, "replicas": 1, "readableSecondaries": 0, "syncSecondaryToCommit": + -1, "security": {"adminLoginSecret": "sqlmi2-login-secret", "serviceCertificateSecret": + ""}, "preferredPrimaryReplicaSpec": {"preferredPrimaryReplica": "any", "primaryReplicaFailoverInterval": + 600}, "tier": "GeneralPurpose", "dev": false, "licenseType": "LicenseIncluded", + "backup": {"retentionPeriodInDays": 7}}, "metadata": {"name": "sqlmi2", "namespace": + "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v6/namespaces/test/sqlmanagedinstances + response: + body: + string: '{"apiVersion":"sql.arcdata.microsoft.com/v6","kind":"SqlManagedInstance","metadata":{"creationTimestamp":"2022-07-30T01:45:20Z","generation":1,"labels":{"management.azure.com/resourceProvider":"Microsoft.AzureArcData"},"managedFields":[{"apiVersion":"sql.arcdata.microsoft.com/v6","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:backup":{".":{},"f:retentionPeriodInDays":{}},"f:dev":{},"f:licenseType":{},"f:preferredPrimaryReplicaSpec":{".":{},"f:preferredPrimaryReplica":{},"f:primaryReplicaFailoverInterval":{}},"f:readableSecondaries":{},"f:replicas":{},"f:security":{".":{},"f:adminLoginSecret":{},"f:serviceCertificateSecret":{}},"f:services":{".":{},"f:primary":{".":{},"f:type":{}},"f:readableSecondaries":{".":{},"f:type":{}}},"f:storage":{".":{},"f:data":{".":{},"f:volumes":{}},"f:logs":{".":{},"f:volumes":{}}},"f:syncSecondaryToCommit":{},"f:tier":{}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-07-30T01:45:20Z"}],"name":"sqlmi2","namespace":"test","resourceVersion":"12650","uid":"4fbabfdb-358a-41f4-810f-69f19aa46363"},"spec":{"backup":{"retentionPeriodInDays":7},"dev":false,"licenseType":"LicenseIncluded","parentResource":{"apiGroup":"arcdata.microsoft.com","kind":"DataController","name":"datacontroller-sachaga-3528e2572","namespace":"test"},"preferredPrimaryReplicaSpec":{"preferredPrimaryReplica":"any","primaryReplicaFailoverInterval":600},"readableSecondaries":0,"replicas":1,"scheduling":{"default":{"resources":{"limits":{"cpu":"2"},"requests":{"cpu":"2","memory":"4Gi"}}}},"security":{"adminLoginSecret":"sqlmi2-login-secret"},"services":{"primary":{"type":"NodePort"},"readableSecondaries":{"type":"NodePort"}},"settings":{"collation":"SQL_Latin1_General_CP1_CI_AS","language":{"lcid":1033},"network":{"forceencryption":0,"tlsciphers":"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384","tlsprotocols":"1.2"},"sqlagent":{"enabled":false},"timezone":"UTC"},"storage":{"data":{"volumes":[{"size":"5Gi"}]},"logs":{"volumes":[{"size":"5Gi"}]}},"syncSecondaryToCommit":-1,"tier":"GeneralPurpose"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:45:20 GMT + Transfer-Encoding: + - chunked + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 201 + message: Created +- request: + body: '{"apiVersion": "tasks.sql.arcdata.microsoft.com/v1", "kind": "SqlManagedInstanceRestoreTask", + "spec": {"source": {"name": "sqlmi2", "database": "test_database"}, "destination": + {"name": "sqlmi2", "database": "dest_database"}, "restorePoint": "2022-07-30T01:45:20.555914+00:00"}, + "metadata": {"name": "sql-restore-1659145520.556193", "namespace": "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/tasks.sql.arcdata.microsoft.com/v1/namespaces/test/sqlmanagedinstancerestoretasks + response: + body: + string: '{"apiVersion":"tasks.sql.arcdata.microsoft.com/v1","kind":"SqlManagedInstanceRestoreTask","metadata":{"creationTimestamp":"2022-07-30T01:45:20Z","generation":1,"managedFields":[{"apiVersion":"tasks.sql.arcdata.microsoft.com/v1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:destination":{".":{},"f:database":{},"f:name":{}},"f:restorePoint":{},"f:source":{".":{},"f:database":{},"f:name":{}}}},"manager":"OpenAPI-Generator","operation":"Update","time":"2022-07-30T01:45:20Z"}],"name":"sql-restore-1659145520.556193","namespace":"test","resourceVersion":"12651","uid":"b5a4e855-6f61-4a3c-8b7c-029b3ef5736f"},"spec":{"destination":{"database":"dest_database","name":"sqlmi2"},"restorePoint":"2022-07-30T01:45:20.555914+00:00","source":{"database":"test_database","name":"sqlmi2"}}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '790' + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:45:20 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 201 + message: Created +- request: + body: '{}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: DELETE + uri: https://mock-host/apis/sql.arcdata.microsoft.com/v6/namespaces/test/sqlmanagedinstances/sqlmi2 + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","details":{"name":"sqlmi2","group":"sql.arcdata.microsoft.com","kind":"sqlmanagedinstances","uid":"4fbabfdb-358a-41f4-810f-69f19aa46363"}} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '207' + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:45:20 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 200 + message: OK +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmidb/cassettes/TestSqlmidb.test_arc_sql_midb_restore_time[sqlmi1-'restorePoint' has invalid value].yaml b/src/arcdata/arcdata/azext_arcdata/test/sqlmidb/cassettes/TestSqlmidb.test_arc_sql_midb_restore_time[sqlmi1-'restorePoint' has invalid value].yaml new file mode 100644 index 00000000000..0abdbdab04e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmidb/cassettes/TestSqlmidb.test_arc_sql_midb_restore_time[sqlmi1-'restorePoint' has invalid value].yaml @@ -0,0 +1,43 @@ +interactions: +- request: + body: '{"apiVersion": "tasks.sql.arcdata.microsoft.com/v1", "kind": "SqlManagedInstanceRestoreTask", + "spec": {"source": {"name": "sqlmi1", "database": "test_database"}, "destination": + {"name": "sqlmi1", "database": "dest_database"}, "restorePoint": "Fri Jul 29 + 18:45:20 2022"}, "metadata": {"name": "sql-restore-1659145520.78179", "namespace": + "test"}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/23.3.0/python + method: POST + uri: https://mock-host/apis/tasks.sql.arcdata.microsoft.com/v1/namespaces/test/sqlmanagedinstancerestoretasks + response: + body: + string: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"admission + webhook \"arc-webhook-svc.test.svc\" denied the request: \nField ''restorePoint'' + has invalid value ''Fri Jul 29 18:45:20 2022'' as value should be a date time + in ISO 8601 formats.","details":{"causes":[{"message":"Field ''restorePoint'' + has invalid value ''Fri Jul 29 18:45:20 2022'' as value should be a date time + in ISO 8601 formats.","field":"restorePoint"}]},"code":403} + + ' + headers: + Cache-Control: + - no-cache, private + Content-Length: + - '457' + Content-Type: + - application/json + Date: + - Sat, 30 Jul 2022 01:45:20 GMT + X-Kubernetes-Pf-Flowschema-Uid: + - 50b7cd71-3074-4f60-b8c1-d9f7e26aafb7 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 0a5a0dbc-a4af-4dfd-8e48-3d4d403457c3 + status: + code: 403 + message: Forbidden +version: 1 diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmidb/conftest.py b/src/arcdata/arcdata/azext_arcdata/test/sqlmidb/conftest.py new file mode 100644 index 00000000000..d637b522f69 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmidb/conftest.py @@ -0,0 +1,22 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import os + +import pytest + +base = os.path.dirname(__file__) + + +@pytest.fixture +def assets_path(): + return os.path.join(os.sep, base, "assets") + + +def pytest_configure(config): + """ + Called after command line options have been parsed and all plugins and + initial conftest files been loaded. + """ + pass diff --git a/src/arcdata/arcdata/azext_arcdata/test/sqlmidb/test_sqlmidb.py b/src/arcdata/arcdata/azext_arcdata/test/sqlmidb/test_sqlmidb.py new file mode 100644 index 00000000000..5dde0cb277b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/test/sqlmidb/test_sqlmidb.py @@ -0,0 +1,96 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import datetime +import os +import time + +import pytest +from azext_arcdata.vendored_sdks.kubernetes_sdk.models.custom_resource import CustomResource +from azext_arcdata.sqlmidb.constants import TASK_API_VERSION +from src.arcdata.arcdata.azext_arcdata.vendored_sdks.kubernetes_sdk.models.restore_cr_model import ( + SqlmiRestoreTaskCustomResource, +) + +VCR_RECORD_MODE = "once" # options: None, once, all, rerecord +NAMESPACE = "test" + + +@pytest.mark.usefixtures("setup") +class TestSqlmidb(object): + @pytest.fixture + def setup(self): + os.environ["AZDATA_USERNAME"] = "username" + os.environ["AZDATA_PASSWORD"] = "Placeholder001" + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", + [("sqlmi2", "")], + ) + def test_arc_sql_midb_restore_backup(self, name, expected, az): + az( + "sql mi-arc create -n {0} --k8s-namespace {1} --use-k8s " + "--no-wait".format(name, NAMESPACE) + ) + result = az( + "sql midb-arc restore --name {0} --managed-instance {1} " + "--dest-name {2} --k8s-namespace {3} --use-k8s --no-wait".format( + "test_database", name, "dest_database", NAMESPACE + ) + ) + assert expected in str(result.out) + az( + "sql mi-arc delete -n {0} --k8s-namespace {1} --use-k8s".format( + name, NAMESPACE + ) + ) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + @pytest.mark.parametrize( + "name, expected", + [("sqlmi1", "'restorePoint' has invalid value")], + ) + def test_arc_sql_midb_restore_time(self, name, expected, az): + result = az( + "sql midb-arc restore --name {0} --managed-instance {1}" + " --dest-name {2} --k8s-namespace {3} --use-k8s --time '{4}'".format( + "test_database", + name, + "dest_database", + NAMESPACE, + datetime.datetime.now().ctime(), + ) + ) + assert expected in str(result.err) + + @pytest.mark.az_vcr(record_mode=VCR_RECORD_MODE) + def test_sql_mi_restore_task_model(self): + sq1 = SqlmiRestoreTaskCustomResource() + # Custom Resource Fields + sq1.apiversion = "tasks.sql.arcdata.microsoft.com/" + TASK_API_VERSION + sq1.kind = "SqlManagedInstanceRestoreTask" + sq1.metadata.name = "sql01-restore-test" + sq1.metadata.namespace = "test" + sq1.spec.dev = False + sq1.spec.source.name = "from-server" + sq1.spec.source.database = "from-db" + sq1.spec.destination.name = "to-server" + sq1.spec.destination.database = "to-db" + sq1.spec.restorePoint = "2021-08-24T019:00:00Z" + sq1.spec.services.primary.serviceType = "endpoint" + + # Do the test + sq1_encoding = sq1.encode() + sq2 = CustomResource.decode( + SqlmiRestoreTaskCustomResource, sq1_encoding + ) + sq2_encoding = sq2.encode() + + assert sq1_encoding == sq2_encoding + sq1_str = sq1.encodes() + sq3 = CustomResource.decodes(SqlmiRestoreTaskCustomResource, sq1_str) + sq3_encoding = sq3.encode() + + assert sq3_encoding == sq1_encoding diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/__init__.py new file mode 100644 index 00000000000..3c1acf71e5b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/_arm_client.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/_arm_client.py new file mode 100644 index 00000000000..42241ff5dc5 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/_arm_client.py @@ -0,0 +1,1191 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.vendored_sdks.arm_sdk.azure.constants import ( + API_VERSION, + ARC_DATA_SERVICES_EXTENSION_API_VERSION, + ARC_DATASERVICES_EXTENSION_RELEASE_TRAIN, + ARC_DATASERVICES_EXTENSION_VERSION, + CONNECTED_CLUSTER_API_VERSION, + CUSTOM_LOCATION_API_VERSION, + EXT_VERSION_ARM_API_VERSION_MAP, + IMAGE_TAG_EXT_VERSION_MAP, + INSTANCE_TYPE_DATA_CONTROLLER, + RESOURCE_HYDRATION_API_VERSION, + RESOURCE_PROVIDER_NAMESPACE, + RESOURCE_TYPE_EXT_VERSION_MAP, + ROLE_ASSIGNMENTS_API_VERSION, +) +from azext_arcdata.core.constants import ( + DEFAULT_IMAGE_POLICY, + DEFAULT_IMAGE_TAG, + DEFAULT_REGISTRY, + DEFAULT_REPOSITORY, +) +from .swagger.swagger_1_2_0 import AzureArcDataManagementClient +from .swagger.swagger_1_2_0.models import ( + DataControllerResource, + DataControllerProperties, + ExtendedLocation, + BasicLoginInformation, + LogAnalyticsWorkspaceConfig, +) +from ._util import ( + conditional_retry, + dict_to_dot_notation, + wait, + wait_for_error, + wait_for_upgrade, + retry, + poll_provisioning_state, +) +from knack.log import get_logger +from collections import namedtuple +from requests.adapters import HTTPAdapter + +import azure.core.exceptions as exceptions +import json +import time +import packaging +import requests +import os +import urllib3 + +__all__ = ["arm_clients"] + +logger = get_logger(__name__) + + +def arm_clients(subscription, credential): + c = {"dc": DataControllerClient(subscription, credential)} + + return namedtuple("CommandValueObject", " ".join(list(c.keys())))(**c) + + +# ============================================================================ # +# ============================================================================ # +# ============================================================================ # + + +class BaseClient(object): + _RETRY_ATTEMPTS = 12 + _RETRY_BACKOFF = 0.1 + _RETRY_STATUS = [414, 429, 500, 502, 503, 504] + + def __init__(self, subscription, credential): + self._subscription = subscription + self._mgmt_client = AzureArcDataManagementClient( + subscription_id=subscription, + ) + self._session = requests.Session() + self._session.mount( + "https://", + HTTPAdapter( + max_retries=urllib3.util.Retry( + total=self._RETRY_ATTEMPTS, + backoff_factor=self._RETRY_BACKOFF, + status_forcelist=self._RETRY_STATUS, + ) + ), + ) + + self._session.headers.update( + { + "Authorization": "Bearer {}".format( + credential.get_token().token + ), + "Content-Type": "application/json", + } + ) + self.MGMT_URL = ( + f"https://management.azure.com/subscriptions/{self._subscription}" + ) + + @property + def subscription(self): + return self._subscription + + +# ============================================================================ # +# ============================================================================ # +# ============================================================================ # + + +class DataControllerClient(BaseClient): + def __init__(self, subscription, credential): + super(DataControllerClient, self).__init__(subscription, credential) + + def create(self, name, resource_group, arm_tmpl, polling=True): + url = ( + f"{self.MGMT_URL}" + f"/resourceGroups/{resource_group}" + f"/providers/Microsoft.Resources" + f"/deployments/{name}?api-version=2020-06-01" + ) + + logger.debug(url) + response = self._session.put(url=url, json=arm_tmpl) + logger.debug(response.text) + logger.debug(response.status_code) + + if not response.ok: + raise Exception(response.reason) + + return self._deployment_wait(name, resource_group) if polling else {} + + def get(self, name, resource_group): + try: + result = self._mgmt_client.data_controllers.get_data_controller( + resource_group_name=resource_group, + data_controller_name=name, + headers=self._session.headers, + ) + + logger.debug(json.dumps(result.as_dict(), indent=4)) + + return result + except exceptions.HttpResponseError as e: + logger.debug(e) + message = e.message.split("Message: ")[-1] + raise exceptions.HttpResponseError(message) + except Exception as e: + raise e + + def check_if_dc_exists(self, name, resource_group): + try: + result = self._mgmt_client.data_controllers.get_data_controller( + resource_group_name=resource_group, + data_controller_name=name, + headers=self._session.headers, + ) + + logger.debug(json.dumps(result.as_dict(), indent=4)) + + return result + except exceptions.HttpResponseError as e: + logger.debug(e) + return + + def get_status(self, name, resource_group): + result = retry( + self.get, + name, + resource_group, + max_tries=2000, + e=exceptions.HttpResponseError, + ) + + if ( + result + and result.properties + and result.properties.k8_s_raw + and "status" in result.properties.k8_s_raw + and "state" in result.properties.k8_s_raw["status"] + ): + return result.properties.k8_s_raw["status"] + else: + # Status is unknown, so we we continue to wait. + return None + + def delete(self, name, resource_group, polling=True): + def is_data_controller_deleted_in_arm(): + return not self.check_if_dc_exists(name, resource_group) + + try: + custom_location = self.get_custom_location_name( + name, resource_group + ) + + conditional_retry( + condition_func=is_data_controller_deleted_in_arm, + func=self._mgmt_client.data_controllers.begin_delete_data_controller, + resource_group_name=resource_group, + data_controller_name=name, + headers=self._session.headers, + polling=polling, + exception_type=exceptions.HttpResponseError, + ) + + # Delete resource hydration + if self.has_hydration(resource_group, custom_location): + self.disable_hydration(resource_group, custom_location) + + if polling: + wait_for_error( + self.get, + name, + resource_group, + e=exceptions.HttpResponseError, + ) + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def list(self, resource_group=None, cl_name=None): + try: + if resource_group: + result = self._mgmt_client.data_controllers.list_in_group( + resource_group, headers=self._session.headers + ) + else: + result = ( + self._mgmt_client.data_controllers.list_in_subscription( + headers=self._session.headers + ) + ) + + # Iterate over the list of data controllers and convert to a list + result = [dc for dc in result] + + # Filter by custom location if provided + if cl_name: + cl_resource_id = self.get_custom_location( + custom_location=cl_name, resource_group=resource_group + )["id"] + + result = [ + dc + for dc in result + if dc.extended_location + and dc.extended_location.name + and dc.extended_location.name.lower() + == cl_resource_id.lower() + ] + + return result + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def patch( + self, name, resource_group, properties: dict, api_version=API_VERSION + ): + try: + result = ( + self._mgmt_client.data_controllers.begin_patch_data_controller( + resource_group_name=resource_group, + data_controller_name=name, + data_controller_resource=properties, + headers=self._session.headers, + api_version=api_version, + ) + ) + + return result + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def upgrade( + self, + name, + resource_group, + target, + dry_run=False, + polling=True, + ): + try: + + def _upgrade_completed(): + status = self.get_status(name, resource_group) + return status["runningVersion"] if status else None + + dc = self.get(name, resource_group) + + # Get latest API version supported by extension + custom_location = dc.extended_location.name.split("/")[-1] + api_version = self.resolve_api_version( + INSTANCE_TYPE_DATA_CONTROLLER, custom_location, resource_group + ) + + dc_docker = dc.properties.k8_s_raw["spec"]["docker"] + current_registry = dc_docker.get("registry") + + if current_registry == "mcr.microsoft.com": + current_image_tag = dc_docker.get("imageTag") + + # Sorted in descending order (latest version first) + sorted_image_tags = list(IMAGE_TAG_EXT_VERSION_MAP.keys()) + + if current_image_tag == sorted_image_tags[0]: + # Already at the latest version + print( + "Data controller is already running the latest image " + "released with the current version of the arcdata CLI extension." + ) + print( + "Please see https://aka.ms/arc-data-services-version-log for more details." + ) + return + + # Get the next image tag + next_image_tag = sorted_image_tags[ + sorted_image_tags.index(current_image_tag) - 1 + ] + + if target: + if target not in sorted_image_tags: + raise Exception( + "Invalid desired image version provided {0} \n".format( + target + ) + + "Please see https://aka.ms/arc-data-services-version-log to view released image versions." + ) + + if target != next_image_tag: + raise Exception( + "Invalid desired image version provided. " + "You must upgrade to the next image version in the sequence: {0}\n".format( + next_image_tag + ) + + "Please see https://aka.ms/arc-data-services-version-log to view released image versions." + ) + + # Use the next image tag in the sequence + target = next_image_tag + + else: + # Private registry + # We do not know the next image tag in the private registry + # Use latest image if not provided + target = target or DEFAULT_IMAGE_TAG + + # We cannot initiate a new PUT request if a previous request is + # still in the Accepted state. + # + if dc.properties.provisioning_state == "Accepted": + raise Exception( + "An existing operation is in progress. Please check your " + "data controller's status in the Azure Portal." + ) + + # if dry_run is specified, we will simply print and return. + if dry_run: + print("****Dry Run****") + print( + "The Arc data controller would be upgraded to the following image version: {0}".format( + target + ) + ) + return + + cluster_name = self.get_cluster_name(name, resource_group) + custom_location = self.get_custom_location_name( + name, resource_group + ) + extension = self.get_extension(cluster_name, resource_group) + + # Enable resource hydration + if not self.has_hydration(resource_group, custom_location): + self.enable_hydration(resource_group, custom_location) + + # Upgrade boostrapper extension + self.upgrade_bootstrapper_extension( + cluster_name, extension, resource_group, dc, target, polling + ) + + # - Patch DC resource with new image tag + patch_payload = { + "properties": { + "k8sRaw": {"spec": {"docker": {"imageTag": target}}} + } + } + + print("Upgrading data controller to version {0}...".format(target)) + try: + self.patch( + name, + resource_group, + properties=patch_payload, + api_version=api_version, + ) + except: + # AzureArcData API 2021-11-01 doesn't support patch + dc.properties.k8s_raw["spec"]["docker"]["imageTag"] = target + self._mgmt_client.data_controllers.begin_put_data_controller( + resource_group_name=resource_group, + data_controller_name=name, + data_controller_resource=dc, + polling=polling, + headers=self._session.headers, + api_version=api_version, + ) + + if polling: + wait_for_upgrade(target, self.get_status, name, resource_group) + if _upgrade_completed() != target: + raise Exception( + "Data controller upgrade failed. Please check your data controller's status in " + "the Azure Portal or restart the upgrade process." + ) + + print( + "Data controller {0} has been successfully upgraded.".format( + name + ) + ) + return self.get(name, resource_group) + else: + print( + "Data controller {} is being upgraded. Please check your " + "data controller's status in the Azure Portal.".format(name) + ) + + except exceptions.HttpResponseError as e: + logger.debug(e) + message = e.message.split("Message: ")[-1] + raise exceptions.HttpResponseError(message) + + def get_connected_cluster_location(self, cluster_name, resource_group): + cluster = self.get_connected_cluster(cluster_name, resource_group) + return cluster["location"] + + def get_connected_cluster(self, cluster_name, resource_group): + try: + url = ( + f"{self.MGMT_URL}/resourceGroups/{resource_group}" + f"/providers/Microsoft.Kubernetes" + f"/connectedClusters" + f"?api-version={CONNECTED_CLUSTER_API_VERSION}" + ) + + logger.debug(url) + response = self._session.get(url=url) + + if ( + response.status_code == 404 + or len(response.json()["value"]) == 0 + ): + raise Exception( + f"No connected cluster was found under the resource group " + f"{resource_group}. Please create a connected cluster first." + ) + else: + connected_clusters = response.json() + for resource in connected_clusters["value"]: + if cluster_name == resource["name"]: + # log cluster properties + for key, value in resource["properties"].items(): + if key != "agentPublicKeyCertificate": + logger.debug(f"{key} = {value}") + logger.debug(f"location = {resource['location']}") + return resource + + raise Exception( + f"The cluster {cluster_name} was not found in the resource " + f"group {resource_group}." + ) + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def get_cluster_name( + self, dc_name, resource_group, custom_location_name=None + ): + if not custom_location_name: + custom_location_name = self.get_custom_location_name( + dc_name, resource_group + ) + cl = self.get_custom_location(custom_location_name, resource_group) + _, cluster_name = os.path.split(cl["properties"]["hostResourceId"]) + + return cluster_name + + def get_custom_location_name(self, dc_name, resource_group): + try: + dc = self.get(dc_name, resource_group) + _, custom_location_name = os.path.split(dc.extended_location.name) + return custom_location_name + except exceptions.HttpResponseError as e: + return + + def get_custom_location(self, custom_location, resource_group): + try: + url = ( + f"{self.MGMT_URL}/resourceGroups/{resource_group}" + f"/providers/Microsoft.ExtendedLocation" + f"/customLocations/{custom_location}" + f"?api-version={CUSTOM_LOCATION_API_VERSION}" + ) + + logger.debug(url) + response = self._session.get(url=url) + + if response.status_code == 404: + raise Exception( + f"Custom location '{custom_location}' was not found under the resource group " + f"'{resource_group}'" + ) + + custom_location = response.json() + logger.debug(json.dumps(custom_location, indent=4)) + + return custom_location + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def get_extension(self, cluster_name, resource_group): + try: + url = ( + "{url}/resourceGroups/{resource_group}/providers" + "/Microsoft.Kubernetes/connectedClusters/{cluster_name}" + "/providers/Microsoft.KubernetesConfiguration/extensions" + "?api-version={version}".format( + url=self.MGMT_URL, + resource_group=resource_group, + cluster_name=cluster_name, + version=ARC_DATA_SERVICES_EXTENSION_API_VERSION, + ) + ) + + logger.debug(url) + res = self._session.get(url=url) + if res.status_code == 404: + raise exceptions.HttpResponseError( + "404 error while calling: {}".format(url) + ) + + res = res.json() + for extension in [] if len(res["value"]) == 0 else res["value"]: + logger.debug(json.dumps(extension, indent=4)) + properties = extension["properties"] + if properties["extensionType"] == "microsoft.arcdataservices": + return extension + + return None + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + + def _get_extension_state(self, cluster_name, resource_group): + extension = self.get_extension(cluster_name, resource_group) + if extension: + return extension["properties"]["provisioningState"] + else: + # Will never hit this since a DC by definition has an extension + raise Exception( + f"No extension found in cluster '{cluster_name}' " + f"under the resource group '{resource_group}'." + ) + + def get_docker_details_from_extension(self, cluster_name, resource_group): + try: + extension = self.get_extension(cluster_name, resource_group) + if not extension: + logger.debug("No Arc data services extension found") + return {} + + properties = extension["properties"] + configuration_settings = properties["configurationSettings"] + + version = properties.get( + "version", ARC_DATASERVICES_EXTENSION_VERSION + ) + image_full_path = configuration_settings.get( + "systemDefaultValues.image", None + ) + image_pull_policy = configuration_settings.get( + "systemDefaultValues.imagePullPolicy", DEFAULT_IMAGE_POLICY + ) + + # Often image_full_path is not set, so we need to use defaults + if not image_full_path: + registry = DEFAULT_REGISTRY + repository = DEFAULT_REPOSITORY + + # Reverse lookup image tag by current extension version + # This ensures that the DC and helm chart are aligned + image_tag = { + version: image_tag + for image_tag, version in IMAGE_TAG_EXT_VERSION_MAP.items() + }.get(version, DEFAULT_IMAGE_TAG) + else: + # -- image_full_path is of the form //: + # -- note: repository can have multiple levels of nesting, e.g arcdata/preview + tokens = image_full_path.split("/") + registry, repository, image_tag = ( + tokens[0], + "/".join(tokens[1:-1]), + tokens[-1].split(":")[-1], + ) + + return { + "registry": registry, + "repository": repository, + "imageTag": image_tag, + "imagePullPolicy": image_pull_policy, + } + except Exception as e: + logger.debug(e) + return {} + + def upgrade_bootstrapper_extension( + self, + cluster_name, + extension, + resource_group, + data_controller, + image_tag, + polling=True, + ): + if not extension: + raise Exception("The Arc data services extension was not found.") + + url = ( + "{url}/resourceGroups/{resource_group}/providers" + "/Microsoft.Kubernetes/connectedClusters/{cluster_name}" + "/providers/Microsoft.KubernetesConfiguration/extensions/{ext_name}" + "?api-version={version}".format( + url=self.MGMT_URL, + resource_group=resource_group, + cluster_name=cluster_name, + ext_name=extension["name"], + version=ARC_DATA_SERVICES_EXTENSION_API_VERSION, + ) + ) + data_controller_cr = dict_to_dot_notation( + data_controller.properties.k8_s_raw + ) + registry = data_controller_cr.spec.docker.registry + repository = data_controller_cr.spec.docker.repository + full_image_path = ( + f"{registry}/{repository}/arc-bootstrapper:{image_tag}" + ) + + if registry and registry != "mcr.microsoft.com": + # Private registry + ext_train = ( + os.getenv("ARC_DATASERVICES_EXTENSION_RELEASE_TRAIN") + or ARC_DATASERVICES_EXTENSION_RELEASE_TRAIN + ) + ext_tag = ( + os.getenv("ARC_DATASERVICES_EXTENSION_VERSION_TAG") + or ARC_DATASERVICES_EXTENSION_VERSION + ) + else: + # MCR registry + ext_train = extension["properties"].get( + "releaseTrain", ARC_DATASERVICES_EXTENSION_RELEASE_TRAIN + ) + ext_tag = ( + IMAGE_TAG_EXT_VERSION_MAP[image_tag] + if image_tag in IMAGE_TAG_EXT_VERSION_MAP + else ARC_DATASERVICES_EXTENSION_VERSION + ) + + print( + "Using release train '{0}' and extension version '{1}'".format( + ext_train, ext_tag + ) + ) + + payload = { + "properties": { + "releaseTrain": ext_train, + "version": ext_tag, + "configurationSettings": { + "systemDefaultValues.image": full_image_path + }, + } + } + + print("Upgrading the arcdataservices extension...") + + res = self._session.patch(url=url, data=json.dumps(payload)) + logger.debug(res.status_code) + logger.debug(res.text) + res.raise_for_status() + + if polling: + state = self._get_extension_state(cluster_name, resource_group) + cnt = 0 + timeout = 300 # 5 minutes + while state != "Succeeded": + if state == "Failed": + raise Exception( + "Failed to upgrade bootstrapper extension. Please retry this upgrade operation." + ) + if cnt < timeout: + time.sleep(5) + cnt += 5 + else: + raise Exception( + "Arcdataservices extension upgrade has timed out. " + "Please check the status of " + "the bootstrapper pod in your cluster." + ) + state = self._get_extension_state(cluster_name, resource_group) + + print("Successfully upgraded bootstrapper extension.") + return self.get_extension(cluster_name, resource_group) + + else: + print( + "Initiated extension upgrade. Please check the status of " + "the bootstrapper pod in your cluster." + ) + + def get_role_assignments(self, cluster_name, resource_group): + try: + extension = self.get_extension(cluster_name, resource_group) + url = ( + "{url}/resourceGroups/{resource_group}/providers/" + "Microsoft.Authorization/roleAssignments?" + "api-version={version}&%24filter=assignedTo(%27{id}%27)".format( + url=self.MGMT_URL, + resource_group=resource_group, + version=ROLE_ASSIGNMENTS_API_VERSION, + id=extension["identity"]["principalId"], + ) + ) + + logger.debug(url) + response = self._session.get(url=url) + if response.status_code == 404: + raise exceptions.HttpResponseError( + "404 error while calling: {}".format(url) + ) + else: + return response.json() + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def resolve_namespace( + self, namespace, custom_location, cluster_name, resource_group + ): + ext = self.get_extension(cluster_name, resource_group) + + if not ext: + # No CL yet so just make namespace == CL or use the one provided + namespace = namespace or custom_location + else: + # use the namespace defined in the existing CL + logger.debug(json.dumps(ext, indent=4)) + ext = dict_to_dot_notation(ext) + ext_namespace = ext.properties.scope.cluster.releaseNamespace + + if namespace and namespace != ext_namespace: + raise ValueError( + f"The namespace provided {namespace} " + f"does not match the namespace {ext_namespace}" + f" in the existing custom location " + f"{custom_location}." + ) + else: + namespace = ext_namespace + + return namespace + + def get_custom_location_namespace(self, custom_location, resource_group): + custom_location_resource = self.get_custom_location( + custom_location, resource_group + ) + try: + return custom_location_resource["properties"]["namespace"] + except: + raise ValueError( + "Unable to retrieve Kubernetes namespace from custom location" + ) + + def get_custom_location_region(self, custom_location, resource_group): + custom_location_resource = self.get_custom_location( + custom_location, resource_group + ) + try: + return custom_location_resource["location"] + except: + raise ValueError( + "Unable to retrieve Azure region from custom location" + ) + + def get_resource_graph(self, cluster_name, resource_group, namespace): + try: + url = ( + "https://management.azure.com/providers/Microsoft." + "ResourceGraph/resources?api-version=2021-03-01" + ) + + logger.debug(url) + query = "\ + resources\ + | where subscriptionId =~ '{subscriptionId}'\ + | where resourceGroup == '{resourceGroup}'\ + | where type =~ 'microsoft.kubernetes/connectedclusters'\ + | where properties.provisioningState =~ 'succeeded'\ + | where name == '{cluster}'\ + | project clusterId=id, subscriptionId, clusterName=name\ + | join kind=leftouter (kubernetesconfigurationresources\ + | where subscriptionId =~ '{subscriptionId}'\ + | where resourceGroup == '{resourceGroup}'\ + | where type =~ 'microsoft.kubernetesconfiguration/extensions'\ + | where properties.ExtensionType =~ 'microsoft.arcdataservices'\ + | where (properties.ProvisioningState =~ 'succeeded' or properties.InstallState =~ 'installed')\ + | project extensionId=id, subscriptionId, namespace=properties.Scope.cluster.ReleaseNamespace)\ + on $left.subscriptionId == $right.subscriptionId\ + | where extensionId contains clusterId\ + | extend namespace=tostring(namespace)\ + | where namespace =~ '{namespace}'\ + | join (resources\ + | where subscriptionId =~ '{subscriptionId}'\ + | where resourceGroup == '{resourceGroup}'\ + | where type =~ 'microsoft.extendedLocation/customLocations'\ + | where properties.provisioningState =~ 'succeeded'\ + | extend hostClusterId = tostring(properties.hostResourceId)\ + | extend namespace = tostring(properties.namespace)\ + | project hostClusterId, customLocationName=name, namespace)\ + on $left.clusterId == $right.hostClusterId and $left.namespace == $right.namespace\ + | project clusterName, namespace, customLocationName\ + ".format( + subscriptionId=self.subscription, + resourceGroup=resource_group, + cluster=cluster_name, + namespace=namespace, + ) + + payload = {"subscriptions": [self.subscription], "query": query} + payload = json.dumps(payload, indent=4) + + response = self._session.post(url=url, data=payload).json() + logger.debug(json.dumps(response, indent=4)) + return response + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def _deployment_wait(self, name, resource_group): + def _dc_provisioning_completed(name, resource_group): + try: + result = self.get(name, resource_group) + except exceptions.HttpResponseError as e: + result = None + + if ( + result + and result.properties + and result.properties.provisioning_state + ): + return result.properties.provisioning_state + else: + # Status is unknown, so we we continue to wait. + return "Accepted" + + def _dc_deployment_completed(): + result = retry( + self.get, + name, + resource_group, + max_tries=200, + e=exceptions.HttpResponseError, + ) + + if ( + result + and result.properties + and result.properties.k8_s_raw + and "status" in result.properties.k8_s_raw + and "state" in result.properties.k8_s_raw["status"] + ): + return result.properties.k8_s_raw["status"]["state"] + else: + # Status is unknown, so we we continue to wait. + return None + + # Verify that DC ARM resource has provisioned + poll_provisioning_state( + _dc_provisioning_completed, + name, + resource_group, + wait_time=300, + ) + + # Setting a total wait time of 1800 sec with a step of 5 sec + wait(_dc_deployment_completed) + if _dc_deployment_completed() != "Ready": + raise Exception( + "Arc data controller deployment failed. Please check your data controller's status in the Azure Portal \ + or restart this create process." + ) + return self.get(name, resource_group) + + def __create_depreciated_dc__( + self, + control, + resource_group, + custom_location, + cred, + log_analytics, + polling=True, + api_version=API_VERSION, + ): + try: + spec = control.spec + name = spec.settings.controller.displayName + + # -- extended-location -- + extended_location = ExtendedLocation( + name=( + "/subscriptions/" + + self._subscription + + "/resourcegroups/" + + resource_group + + "/providers/microsoft.extendedlocation/customlocations/" + + custom_location + ), + type="CustomLocation", + ) + + # -- properties -- + metrics_dashboard_credential = BasicLoginInformation( + username=cred.metrics_username, password=cred.metrics_password + ) + logs_dashboard_credential = BasicLoginInformation( + username=cred.log_username, password=cred.log_password + ) + log_analytics_workspace_config = None + if log_analytics: + log_analytics_workspace_config = LogAnalyticsWorkspaceConfig( + workspace_id=log_analytics["workspace_id"], + primary_key=log_analytics["primary_key"], + ) + k8sRaw = control.to_dict + properties = DataControllerProperties( + infrastructure=spec.infrastructure, + k8_s_raw=k8sRaw, + metrics_dashboard_credential=metrics_dashboard_credential, + logs_dashboard_credential=logs_dashboard_credential, + log_analytics_workspace_config=log_analytics_workspace_config, + ) + data_controller_resource = DataControllerResource( + location=spec.settings.azure.location, + extended_location=extended_location, + properties=properties, + ) + + # -- log -- + d = data_controller_resource.as_dict().copy() + d["properties"]["metrics_dashboard_credential"]["password"] = "*" + d["properties"]["logs_dashboard_credential"]["password"] = "*" + + logger.debug("") + logger.debug(json.dumps(d, indent=4)) + + self._mgmt_client.data_controllers.begin_put_data_controller( + resource_group_name=resource_group, + data_controller_name=name, + data_controller_resource=data_controller_resource, + polling=polling, + headers=self._session.headers, + api_version=api_version, + ) + + if polling: + return self._deployment_wait(name, resource_group) + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def get_sync_rules(self, resource_group, custom_location): + """ + Gets all resource sync rules of a custom location + """ + try: + url = ( + f"{self.MGMT_URL}" + f"/resourceGroups/{resource_group}" + f"/providers/Microsoft.ExtendedLocation" + f"/customLocations/{custom_location}" + f"/resourceSyncRules" + f"?api-version={RESOURCE_HYDRATION_API_VERSION}" + ) + res = self._session.get(url=url) + logger.debug(res.status_code) + logger.debug(res.text) + res = res.json().get("value") or [] + return res + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + + def has_hydration(self, resource_group, custom_location): + """ + Returns the Arc data services resource hydration rule if enabled on the + provided `custom_location`. + """ + + def _is_valid_priority(properties): + priority = properties.priority + return priority == 100 + + def _is_valid_match_labels(properties): + deprecated_label = properties.selector.matchLabels.to_dict.get( + "management.azure.com/resourceProvider" + ) + new_label = properties.selector.matchLabels.to_dict.get( + "management.azure.com/provider-name" + ) + label = new_label or deprecated_label + return label and label == RESOURCE_PROVIDER_NAMESPACE + + def _is_valid_target_resource_group(properties): + return ( + properties.targetResourceGroup + == f"/subscriptions/{self.subscription}" + f"/resourceGroups/{resource_group}" + ) + + for rule in self.get_sync_rules(resource_group, custom_location): + p = dict_to_dot_notation(rule).properties + if ( + _is_valid_priority(p) + and _is_valid_match_labels(p) + and _is_valid_target_resource_group(p) + ): + logger.debug("Hydration rule exists.") + return rule + + return False + + def enable_hydration(self, resource_group, custom_location): + """ + Adds the resource sync rule to the given custom location + """ + + try: + url = ( + f"{self.MGMT_URL}" + f"/resourceGroups/{resource_group}" + f"/providers/Microsoft.ExtendedLocation" + f"/customLocations/{custom_location}" + f"/resourceSyncRules/defaultResourceSyncRule" + f"?api-version={RESOURCE_HYDRATION_API_VERSION}" + ) + + location = self.get_custom_location_region( + custom_location, resource_group + ) + + target_resource_group = f"/subscriptions/{self.subscription}/resourceGroups/{resource_group}" + + payload = { + "location": location, + "type": "Microsoft.ExtendedLocation/customLocations/resourceSyncRules", + "properties": { + "priority": 100, + "targetResourceGroup": target_resource_group, + "selector": { + "matchLabels": { + "management.azure.com/provider-name": RESOURCE_PROVIDER_NAMESPACE + } + }, + }, + } + + res = self._session.put(url, data=json.dumps(payload)) + logger.debug(res.status_code) + logger.debug(res.text) + res.raise_for_status() + return res + except requests.exceptions.HTTPError as e: + logger.debug(e) + + def disable_hydration(self, resource_group, custom_location): + """ + Deletes the Arc data services resource sync rule in the given custom location + """ + try: + rule = self.has_hydration(resource_group, custom_location) + if rule and "name" in rule: + name = rule["name"] + url = ( + f"{self.MGMT_URL}" + f"/resourceGroups/{resource_group}" + f"/providers/Microsoft.ExtendedLocation" + f"/customLocations/{custom_location}" + f"/resourceSyncRules/{name}" + f"?api-version={RESOURCE_HYDRATION_API_VERSION}" + ) + + res = self._session.delete(url) + logger.debug(res.status_code) + logger.debug(res.text) + res.raise_for_status() + return res + except requests.exceptions.HTTPError as e: + logger.debug(e) + + def resolve_api_version( + self, resource_type, custom_location_name, resource_group + ): + """ + Resolves the API version for the given resource type and helm chart extension + """ + + # Get current extension + custom_location_resource = self.get_custom_location( + custom_location_name, resource_group + ) + cluster_name = ( + custom_location_resource["properties"] + .get("hostResourceId") + .split("/")[-1] + ) + extension = self.get_extension(cluster_name, resource_group) + + if not extension: + raise Exception( + "Unable to retrieve Arc data services extension associated with custom location {0}".format( + custom_location_name + ) + ) + + current_version = extension["properties"].get( + "version", ARC_DATASERVICES_EXTENSION_VERSION + ) + + # Helm tags are often in the form of 1.13.0-2022-11-08-master-426b7484e + # Only the part before the first dash follows semantic versioning + current_version = current_version.split("-")[0] + + # Check that resource CRUD is supported by the current extension version + earliest_supported_version = RESOURCE_TYPE_EXT_VERSION_MAP[ + resource_type + ] + + if not ( + packaging.version.parse(current_version) + >= packaging.version.parse(earliest_supported_version) + ): + raise ValueError( + "This cluster's Arc data services extension must be updated to " + "version {0} or later in order to create or update {1}.".format( + earliest_supported_version, resource_type + ) + ) + + # Get latest ARM API supported by current extension + api_version = EXT_VERSION_ARM_API_VERSION_MAP.get( + current_version, API_VERSION + ) + logger.debug("Resolved API version: " + api_version) + return api_version diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/_arm_template.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/_arm_template.py new file mode 100644 index 00000000000..1abb3eaca26 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/_arm_template.py @@ -0,0 +1,255 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from datetime import datetime +from ._util import dict_to_dot_notation +from jinja2 import Environment, FileSystemLoader +from knack.log import get_logger +import azure.core.exceptions as exceptions + +import os +import json +import uuid + +__all__ = ["ARMTemplate"] + +logger = get_logger(__name__) + + +class ARMTemplate(object): + def __init__(self, dc_client=None): + self._dc_client = dc_client + + env = Environment( + loader=FileSystemLoader( + searchpath=os.path.join(os.path.dirname(__file__), "templates") + ) + ) + env.filters["jsonify"] = json.dumps + self._template = env.get_template("arm-template.tmpl") + + def render_dc_upgrade(self, cluster_name, extension_name, dc): + env_var_overrides = self._environment_variable_overrides() + resource_matrix = self.resource_matrix_factory( + include_extension=True, include_resource_hydration=True + ) + k8s = dict_to_dot_notation(dc.properties.k8_s_raw) + _, custom_location = os.path.split(dc.extended_location.name) + + arm = json.loads( + self._template.render( + resources=self.resources(resource_matrix), + control=dc.properties.k8_s_raw, + credentials={}, + log_analytics={}, + extensions=env_var_overrides.extensions, + docker_username=env_var_overrides.docker_username, + docker_password=env_var_overrides.docker_password, + cluster=cluster_name, + namespace=k8s.metadata.namespace, + custom_location=custom_location, + resource_name=extension_name, + ) + ) + + # -- log -- + d = dict_to_dot_notation(arm.copy()) + d.properties.parameters.metricsAndLogsDashboardPassword_4 = "*" + d.properties.parameters.logAnalyticsPrimaryKey_4 = "*" + d.properties.parameters.imagePassword = "*" + logger.debug(json.dumps(d.to_dict, indent=4)) + + return arm + + def render_dc(self, control, properties): + env_var_overrides = self._environment_variable_overrides() + cluster_name = properties.get("cluster_name") + custom_location = properties.get("custom_location") + namespace = properties.get("namespace") + resource_group = properties.get("resource_group") + resource_matrix = self._build_included_resource_matrix( + namespace, custom_location, cluster_name, resource_group + ) + dc_name = properties.get("dc_name") + + arm = json.loads( + self._template.render( + resources=self.resources(resource_matrix), + control=control, + credentials=properties.get("metrics_credentials"), + log_analytics=properties.get("log_analytics"), + docker_username=env_var_overrides.docker_username, + docker_password=env_var_overrides.docker_password, + cluster=cluster_name, + namespace=namespace, + resource_name=properties.get("extension_name"), + extension_train=properties.get("extension_train"), + extension_version=properties.get("extension_version"), + # Role assignment resource names are generated from DC name + timestamp + random UUID + # To avoid collisions with other role assignments in the past + future + resource_name_1=uuid.uuid5( + uuid.uuid4(), name=str(dc_name + str(datetime.now())) + ), # role1 name + resource_name_2=uuid.uuid5( + uuid.uuid4(), name=str(dc_name + str(datetime.now())) + ), # role2 name + custom_location=custom_location, + is_least_privilege=properties.get("is_least_privilege"), + arcdata_api_version=properties.get("api_version"), + ) + ) + + # -- log -- + d = dict_to_dot_notation(arm.copy()) + d.properties.parameters.metricsAndLogsDashboardPassword_4 = "*" + d.properties.parameters.logAnalyticsPrimaryKey_4 = "*" + d.properties.parameters.imagePassword = "*" + logger.debug(json.dumps(d.to_dict, indent=4)) + + return arm + + @staticmethod + def resource_matrix_factory( + include_extension=False, + include_roles_1=False, + include_roles_2=False, + include_custom_location=False, + include_resource_hydration=False, + ): + """ + Assume all resources exist hence do not include + """ + return dict_to_dot_notation( + { + "include_extension": include_extension, + "include_roles_1": include_roles_1, + "include_roles_2": include_roles_2, + "include_custom_location": include_custom_location, + "include_resource_hydration": include_resource_hydration, + } + ) + + @staticmethod + def resources(resource_matrix): + """ + :return: Dynamic list of ordered arm template resources. + """ + + # -- Build needed resources -- + resources = [] # Note: insert order matters + depends_on = None + + if resource_matrix.include_extension: + resources.append( + {"dependsOn": depends_on, "tmpl": "extensions.tmpl"} + ) + depends_on = "resourceName" + + if resource_matrix.include_roles_1: + resources.append( + {"dependsOn": depends_on, "tmpl": "roles-assignments-1.tmpl"} + ) + depends_on = "resourceName_1" + + if resource_matrix.include_roles_2: + resources.append( + {"dependsOn": depends_on, "tmpl": "roles-assignments-2.tmpl"} + ) + depends_on = "resourceName_2" + + if resource_matrix.include_custom_location: + resources.append( + {"dependsOn": depends_on, "tmpl": "custom-locations.tmpl"} + ) + depends_on = "resourceName_3" + + if resource_matrix.include_resource_hydration: + resources.append( + {"dependsOn": depends_on, "tmpl": "resource-hydration.tmpl"} + ) + depends_on = "resourceSyncRuleName" + + # -- data-controller always created -- + resources.append( + {"dependsOn": depends_on, "tmpl": "datacontroller.tmpl"} + ) + + return resources + + def _environment_variable_overrides(self): + # -- docker env overrides -- + docker_username = os.getenv("DOCKER_USERNAME", "") + docker_password = os.getenv("DOCKER_PASSWORD", "") + docker_username = docker_username or os.getenv("REGISTRY_USERNAME", "") + docker_password = docker_password or os.getenv("REGISTRY_PASSWORD", "") + + return dict_to_dot_notation( + { + "docker_username": docker_username, + "docker_password": docker_password, + } + ) + + def _build_included_resource_matrix( + self, namespace, custom_location, cluster_name, resource_group + ): + try: + # Assume all resources exist hence do not include + resource_matrix = self.resource_matrix_factory() + + # -- verify extension and role info -- + if not self._dc_client.get_extension(cluster_name, resource_group): + resource_matrix.include_extension = True + resource_matrix.include_roles_1 = True + resource_matrix.include_roles_2 = True + else: + # contributor role and monitoring publisher role + roles = self._dc_client.get_role_assignments( + cluster_name, resource_group + ) + if len(roles["value"]) == 0: + resource_matrix.include_roles_1 = True + resource_matrix.include_roles_2 = True + + resource_graph = self._dc_client.get_resource_graph( + cluster_name, resource_group, namespace + ) + count = resource_graph["count"] + + if count == 0: # Include CL + resource_matrix.include_custom_location = True + elif count == 1: + # check if provided CL match existing CL, if not error + cl_name = resource_graph["data"][0]["customLocationName"] + if custom_location != cl_name: + raise Exception( + f"An existing custom location name " + f"{cl_name} has been found in the cluster " + f"{cluster_name}. A cluster can only " + f"have one custom location." + ) + else: + raise Exception( + f"Multiple custom location or namespace have been found " + f"under cluster {cluster_name}. A " + f"cluster can only have one custom location with one " + f"namespace." + ) + + # -- default to False + if not self._dc_client.has_hydration( + resource_group, custom_location + ): + resource_matrix.include_resource_hydration = True + + logger.debug(resource_matrix) + + return resource_matrix + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/_util.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/_util.py new file mode 100644 index 00000000000..d6a50f2eb02 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/_util.py @@ -0,0 +1,133 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from types import SimpleNamespace +from typing import Callable +from json import JSONEncoder, dumps, loads + +import time +import pydash as _ + + +def dict_to_dot_notation(d: dict): + class _Namespace(SimpleNamespace): + @property + def to_dict(self): + class _Encoder(JSONEncoder): + def default(self, o): + return o.__dict__ + + return loads(dumps(self, indent=4, cls=_Encoder)) + + return loads(dumps(d), object_hook=lambda item: _Namespace(**item)) + + +def wait_for_error( + func: Callable, *func_args, retry_tol=1800, retry_delay=5, e=Exception +): + for _ in range(0, retry_tol, retry_delay): + try: + func(*func_args) + time.sleep(retry_delay) + except e: + break + + +def wait(func: Callable, *func_args, retry_tol=1800, retry_delay=5): + try: + current_status = None + for _ in range(0, retry_tol, retry_delay): + status = func(*func_args) + if status == "Ready" or status == "Succeeded": + break + elif status and "Error" in status: + raise Exception( + f"An error happened while waiting. The " + f"deployment state is: {status}" + ) + else: + if current_status != status: + if current_status: + print( + f"Deployment state '{current_status}' " + f"has completed." + ) + + current_status = status + print(f"Current deployment state is '{current_status}'") + + time.sleep(retry_delay) + # Return last observed status from our polling + return status + except Exception as e: + raise e + + +def wait_for_upgrade( + target, func: Callable, *func_args, retry_tol=10000, retry_delay=5 +): + try: + for _ in range(0, retry_tol, retry_delay): + status = func(*func_args) + if status and status["runningVersion"] == target: + break + time.sleep(retry_delay) + except Exception as e: + raise e + + +def retry(func: Callable, *func_args, max_tries=10, retry_delay=5, e=Exception): + result = None + for i in range(max_tries): + try: + time.sleep(retry_delay) + result = func(*func_args) + break + except e: + continue + return result + + +def conditional_retry( + func: Callable, + condition_func: Callable, + max_tries=5, + exception_type=Exception, + **kwargs, +): + """ + Apply func until condition_func returns True or until max_tries attempts have been made. + """ + result = None + tries = 0 + while not condition_func() and tries < max_tries: + try: + result = func(**kwargs) + except exception_type: + pass + tries += 1 + + return result + + +def poll_provisioning_state(func: Callable, *func_args, wait_time=300): + cnt = 0 + while True: + status = func(*func_args) + if status == "Succeeded": + break + elif status == "Failed": + raise Exception("This operation has failed.") + elif status == "Accepted": + if cnt < wait_time: # total wait time in seconds + time.sleep(5) + cnt += 5 + else: + raise Exception("This operation has timed out.") + else: + break + + return status diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/__init__.py new file mode 100644 index 00000000000..77350c40ee9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/__init__.py @@ -0,0 +1,5 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/ad_auth_util.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/ad_auth_util.py new file mode 100644 index 00000000000..e143f36e3b9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/ad_auth_util.py @@ -0,0 +1,179 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.vendored_sdks.arm_sdk.azure.models.spn import Spn +from azext_arcdata.dc.util import get_config_file_path +from azext_arcdata.core.util import display +from azext_arcdata.core.prompt import prompt_for_input +from . import constants as azure_constants +from knack.log import get_logger + +import atexit +import os +import msal + +log = get_logger(__name__) + +# ############################################################################# +# -- AAD related functions -- +# ############################################################################# + + +def acquire_token(scopes): + """ + Obtains AAD bearer token for given scope + """ + spn = _check_for_spn() + + token = None + while not token: + try: + token = _get_token_using_msal(spn, scopes) + except BaseException: + display( + 'Service principal "{}" failed to authenticate with Azure. ' + "Please try again\n".format(spn.client_id) + ) + + # If we did not get a token, prompt for spn + if not token: + spn = _prompt_for_spn() + + _store_spn_in_env(spn) + return token + + +def _check_for_spn(): + """ + Checks if service principal is stored in the environment + or contained in config_file. Returns spn if found, prompts + user for spn otherwise + """ + spn = Spn() + + # Check if spn in environment + get_spn_from_env = True + for spn_env in azure_constants.SPN_ENV_KEYS.values(): + if spn_env not in os.environ or not os.environ[spn_env]: + get_spn_from_env = False + break + if get_spn_from_env: + spn.authority = os.environ[azure_constants.SPN_ENV_KEYS["authority"]] + spn.tenant_id = os.environ[azure_constants.SPN_ENV_KEYS["tenant_id"]] + spn.client_id = os.environ[azure_constants.SPN_ENV_KEYS["client_id"]] + spn.client_secret = os.environ[ + azure_constants.SPN_ENV_KEYS["client_secret"] + ] + return spn + else: + # Prompt the user + return _prompt_for_spn() + + +def _store_spn_in_env(spn: Spn): + """ + Stores service principal object in environment + :param spn: Service Principal object + """ + if spn.authority and spn.client_id and spn.tenant_id and spn.client_secret: + os.environ[azure_constants.SPN_ENV_KEYS["authority"]] = spn.authority + os.environ[azure_constants.SPN_ENV_KEYS["tenant_id"]] = spn.tenant_id + os.environ[azure_constants.SPN_ENV_KEYS["client_id"]] = spn.client_id + os.environ[azure_constants.SPN_ENV_KEYS["client_secret"]] = ( + spn.client_secret + ) + else: + missing_keys = [] + for spn_env in azure_constants.SPN_ENV_KEYS.values(): + if spn_env not in os.environ or not os.environ[spn_env]: + missing_keys.append(spn_env) + raise ValueError( + "The following service principal values are missing: {}".format( + ", ".join(missing_keys) + ) + ) + + +def _prompt_for_spn(): + """ + Prompts the user to enter the service principal info + """ + spn = Spn() + + display("Please provide the service principal information for upload:") + # public cloud we can use the default login url + spn.authority = azure_constants.PUBLIC_CLOUD_LOGIN_URL + spn.tenant_id = prompt_for_input("Service principal tenant id: ") + spn.client_id = prompt_for_input("Service principal client id: ") + spn.client_secret = prompt_for_input("Service principal secret: ") + + return spn + + +def _get_token_using_msal(spn, scopes): + """ + Uses the MSAL library to obtain AAD auth token for + the given service principal and scope(s) + + :param spn: service principal object + :param scopes: list containing scopes requested to + access a protected API + + :return: auth token string, None if auth fails + """ + cache = msal.SerializableTokenCache() + cache_file = _get_cache_file() + if os.path.exists(cache_file): + cache.deserialize(open(cache_file, "r").read()) + atexit.register( + lambda: ( + open(cache_file, "w").write(cache.serialize()) + if cache.has_state_changed + else None + ) + ) + + app = msal.ConfidentialClientApplication( + spn.client_id, + spn.client_secret, + azure_constants.AAD_LOGIN_URL + spn.tenant_id, + token_cache=cache, + ) + + # First look up a token from cache, since we are looking for token for the + # current app, NOT for an end user. Notice we give account parameter as + # None. + result = app.acquire_token_silent(scopes, account=None) + if result: + log.info("Get AAD token from cache.") + else: + log.info("No suitable token exists in cache. Get a new one from AAD.") + result = app.acquire_token_for_client(scopes) + if "access_token" in result: + return result["access_token"] + else: + log.error( + "Failed to get access token from AAD with the following error" + ) + log.error('Error: "{}"'.format(result.get("error"))) + log.error( + 'Error description: "{}"'.format(result.get("error_description")) + ) + log.error('Correlation Id: "{}"'.format(result.get("correlation_id"))) + + +def _get_cache_file(): + """ + Get token cache file + """ + cache_file = get_config_file_path(azure_constants.AAD_PROFILE_FILENAME) + + if not os.path.exists(cache_file): + log.info("Create AAD token cache file.") + f = open(cache_file, "w+") + f.close() + + return cache_file diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/azure_resource_client.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/azure_resource_client.py new file mode 100644 index 00000000000..8ee145d7bf5 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/azure_resource_client.py @@ -0,0 +1,1362 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azure.mgmt.authorization import AuthorizationManagementClient +from azure.common.credentials import get_cli_profile +from azure.core.exceptions import HttpResponseError +from azure.mgmt.core.tools import is_valid_resource_id, parse_resource_id + +from azext_arcdata.vendored_sdks.arm_sdk.azure.constants import ( + API_VERSION, + INSTANCE_TYPE_DATA_CONTROLLER, + MONITORING_METRICS_PUBLISHER_ROLE_ID, + RESOURCE_PROVIDER_NAMESPACE, + ROLE_DESCRIPTIONS, +) + +from azure.cli.core.azclierror import ( + AzureResponseError, + ResourceNotFoundError, + ValidationError, +) +from azext_arcdata.core.identity import ArcDataCliCredential +from azure.mgmt.resource import ResourceManagementClient +from azure.mgmt.extendedlocation import CustomLocations +from . import constants as azure_constants +from azext_arcdata.vendored_sdks.arm_sdk.azure.ad_auth_util import acquire_token +from azext_arcdata.vendored_sdks.arm_sdk.azure.constants import ( + ARC_DATA_SERVICES_EXTENSION_API_VERSION, + INSTANCE_TYPE_POSTGRES, + INSTANCE_TYPE_SQL, +) +from azext_arcdata.vendored_sdks.arm_sdk.azure.export_util import ( + format_sqlmi_license_type_for_azure, + format_sqlmi_tier_for_azure, + get_log_workspace_credentials_from_env, +) +from azext_arcdata.sqlmi.constants import SQL_MI_SKU_NAME_VCORE +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import http_status_codes +from azext_arcdata.dc.exceptions import ( + ServerError, + RequestTimeoutError, +) +from azext_arcdata.core.output import OutputStream +from azext_arcdata.core.util import retry +from urllib3.exceptions import NewConnectionError, MaxRetryError, TimeoutError +from knack.log import get_logger +from requests.exceptions import HTTPError + +import json +import os +import uuid +import pydash as _ +import requests + +CONNECTION_RETRY_ATTEMPTS = 12 +RETRY_INTERVAL = 5 + +log = get_logger(__name__) + +err_msg = '\tFailed to {} resource: "{}" with error: "{}"' + +__all__ = ["AzureResourceClient"] + + +class AzureResourceClient(object): + """ + Azure Resource Client + """ + + def __init__(self, subscription): + self._subscription = subscription + + @property + def stderr(self): + return OutputStream().stderr.write + + @property + def stdout(self): + return OutputStream().stdout.write + + def update_dc_resource( + self, + name, + resource_group_name, + auto_upload_logs=None, + auto_upload_metrics=None, + polling=True, + api_version=API_VERSION, + ): + """ + Update data controller properties. + """ + + # get dc resource from Azure + dc_resource = self.get_generic_azure_resource( + resource_group_name=resource_group_name, + resource_provider_namespace=RESOURCE_PROVIDER_NAMESPACE, + resource_type=INSTANCE_TYPE_DATA_CONTROLLER, + resource_name=name, + api_version=API_VERSION, + ) + + is_dc_directly_connected = self._is_dc_directly_connected(dc_resource) + + if auto_upload_logs is not None: + if not is_dc_directly_connected: + raise ValidationError( + "Automatic upload of logs is only supported for data " + "controllers in direct connectivity mode" + ) + + self._update_auto_upload_logs(dc_resource, auto_upload_logs) + + if auto_upload_metrics is not None: + if not is_dc_directly_connected: + raise ValidationError( + "Automatic upload of metrics is only supported for data " + "controllers in direct connectivity mode" + ) + + self._update_auto_upload_metrics( + dc_resource, resource_group_name, auto_upload_metrics + ) + + # update dc Azure resource + response = self.create_or_update_generic_azure_resource( + resource_group_name=resource_group_name, + resource_provider_namespace=RESOURCE_PROVIDER_NAMESPACE, + resource_type=INSTANCE_TYPE_DATA_CONTROLLER, + resource_name=name, + api_version=api_version, + parameters=dc_resource, + wait_for_response=polling, + ) + + self.stdout("Updated Arc Data Controller {}.".format(name)) + return response + + def create_azure_resource( + self, + instance_type, + data_controller_name, + resource_name, + subscription_id, + resource_group_name, + location, + extended_properties=None, + ): + """ + Create Azure resource by instance + :param location: Azure location + :param resource_group_name: resource group name + :param subscription_id: Azure subscription ID + :param resource_name: resource name + :param data_controller_name: data controller name + :param instance_type: Azure resource type + :param extended_properties: Dict or object containing addional + properties to be included in the properties bag. + :return: + """ + + data_controller_id = azure_constants.RESOURCE_URI.format( + subscription_id, + resource_group_name, + "dataControllers", + data_controller_name, + ) + + params = { + "location": location, + "properties": {"dataControllerId": data_controller_id}, + } + + if extended_properties: + params["properties"].update(extended_properties) + if instance_type == INSTANCE_TYPE_SQL: + self.populate_sql_properties(params, extended_properties) + + url, resource_uri = self._get_request_url( + subscription_id, resource_group_name, instance_type, resource_name + ) + try: + response = requests.put( + url, + headers=self._get_header(resource_uri), + data=json.dumps(params), + ) + response.raise_for_status() + print( + '\t"{}" has been uploaded to Azure "{}".'.format( + resource_name, resource_uri + ) + ) + log.info( + "Create Azure resource {} response header: {}".format( + resource_uri, response.headers + ) + ) + except requests.exceptions.HTTPError as e: + response_json_string = json.loads(response.text) + if ( + "error" in response_json_string + and "message" in response_json_string["error"] + ): + self.stderr(response_json_string["error"]["message"]) + log.error(err_msg.format("Create", resource_name, e.response.text)) + + def _get_azure_resource( + self, resource_name, instance_type, subscription_id, resource_group_name + ): + url, resource_uri = self._get_request_url( + subscription_id, resource_group_name, instance_type, resource_name + ) + try: + response = requests.get(url, headers=self._get_header(resource_uri)) + response.raise_for_status() + except requests.exceptions.HTTPError as e: + log.error(err_msg.format("Get", resource_name, e.response.text)) + + def get_azure_resource( + self, resource_name, instance_type, subscription_id, resource_group_name + ): + """ + Get an azure resource + :return: The resource, if found, None if not found (http 404). Raise an + error otherwise. + """ + url, resource_uri = self._get_request_url( + subscription_id, resource_group_name, instance_type, resource_name + ) + try: + response = requests.get(url, headers=self._get_header(resource_uri)) + response.raise_for_status() + except requests.exceptions.HTTPError as e: + if response.status_code == 404: + return None + + log.error(err_msg.format("Get", resource_name, e.response.text)) + + if response.ok: + return response.json() + + raise Exception( + "Failed getting Azure resource. Resource name: " + "'{resource_name}', type: '{instance_type}', " + "subscription id: '{subscription_id}', " + "resource group: '{resource_group_name}'. Http response: " + "({status_code}) {text}".format( + resource_name=resource_name, + instance_type=instance_type, + subscription_id=subscription_id, + resource_group_name=resource_group_name, + status_code=response.status_code, + text=response.text, + ) + ) + + def delete_azure_resource( + self, resource_name, instance_type, subscription_id, resource_group_name + ): + """ + Delete Azure resource + :param resource_name: + :param instance_type: + :param subscription_id: + :param resource_group_name: + :return: + """ + try: + url, resource_uri = self._get_request_url( + subscription_id, + resource_group_name, + instance_type, + resource_name, + ) + + response = requests.delete( + url, headers=self._get_header(resource_uri) + ) + response.raise_for_status() + + if response.status_code != requests.codes["no_content"]: + print( + '\t"{}" has been deleted from Azure "{}".'.format( + resource_name, resource_uri + ) + ) + log.info( + "Delete Azure resource {} response header: {}".format( + resource_uri, response.headers + ) + ) + + except requests.exceptions.HTTPError as e: + log.error(err_msg.format("Delete", resource_name, e.response.text)) + + def create_azure_data_controller( + self, + uid, + resource_name, + subscription_id, + resource_group_name, + location, + public_key, + extended_properties=None, + ): + """ + Create Azure resource by instance + :param public_key: + :param uid: uid + :param resource_name: resource name + :param location: Azure location + :param subscription_id: Azure subscription ID + :param resource_group_name: resource group name + :param extended_properties: Dict or object containing additional + properties to be included in properties bag. + :return: + """ + + params = { + "location": location, + "properties": { + "onPremiseProperty": {"id": uid, "publicSigningKey": public_key} + }, + } + + if extended_properties: + params["properties"].update(extended_properties) + + url, resource_uri = self._get_request_url( + subscription_id, + resource_group_name, + azure_constants.INSTANCE_TYPE_DATA_CONTROLLER, + resource_name, + ) + + response = requests.put( + url, headers=self._get_header(resource_uri), data=json.dumps(params) + ) + try: + response.raise_for_status() + except requests.exceptions.HTTPError as e: + response_json_string = json.loads(response.text) + if ( + "error" in response_json_string + and "message" in response_json_string["error"] + ): + self.stderr(response_json_string["error"]["message"]) + log.error(err_msg.format("Create", resource_name, e.response.text)) + raise + print( + '\t"{}" is uploaded to Azure "{}"'.format( + resource_name, resource_uri + ) + ) + log.info( + "Create data controller {} response header: {}".format( + resource_uri, response.headers + ) + ) + + @staticmethod + def _get_rp_endpoint(): + endpoint = azure_constants.AZURE_ARM_URL + if "RP_TEST_ENDPOINT" in os.environ: + endpoint = os.environ["RP_TEST_ENDPOINT"] + return endpoint + + def _build_dps_header(self, correlation_vector): + access_token = acquire_token(azure_constants.AZURE_AF_SCOPE) + + request_id = str(uuid.uuid4()) + headers = { + "Authorization": "Bearer " + access_token, + "Content-Type": "application/json", + "Content-Encoding": "gzip", + "X-Request-Id": request_id, + "X-Correlation-Vector": correlation_vector, + } + log.info( + "Usage upload correlation_vector: {}, request_id: {}".format( + correlation_vector, request_id + ) + ) + return headers + + def _get_header(self, resource_uri): + request_id = str(uuid.uuid4()) + log.info( + "Resource uri: {}, request_id: {}".format(resource_uri, request_id) + ) + return { + "Authorization": "Bearer " + + acquire_token(azure_constants.AZURE_ARM_SCOPE), + "Content-Type": "application/json", + "x-ms-client-request-id": request_id, + "x-ms-return-client-request-id": "true", + } + + def _get_request_url( + self, subscription_id, resource_group_name, instance_type, resource_name + ): + resource_uri = azure_constants.RESOURCE_URI.format( + subscription_id, resource_group_name, instance_type, resource_name + ) + + api_version = azure_constants.API_VERSION + + if instance_type == INSTANCE_TYPE_SQL: + api_version = azure_constants.API_VERSION + elif instance_type == INSTANCE_TYPE_POSTGRES: + api_version = azure_constants.PG_API_VERSION + + return ( + self._get_rp_endpoint() + + resource_uri + + azure_constants.AZURE_ARM_API_VERSION_STR + + api_version + ), resource_uri + + @staticmethod + def _post(url, body, headers): + response = requests.post(url, data=body, headers=headers) + + try: + response.raise_for_status() + except HTTPError as ex: + if response.status_code == http_status_codes.request_timeout: + raise RequestTimeoutError(ex) + elif response.status_code >= 500: + raise ServerError(ex) + else: + raise + + return response + + def upload_usages_dps( + self, + cluster_id, + correlation_vector, + name, + subscription_id, + resource_group_name, + location, + connection_mode, + infrastructure, + timestamp, + usages, + signature, + ): + import base64 + + blob = { + "requestType": "usageUpload", + "clusterId": cluster_id, + "name": name, + "subscriptionId": subscription_id, + "resourceGroup": resource_group_name, + "location": location, + "connectivityMode": connection_mode, + "infrastructure": infrastructure, + "uploadRequest": { + "exportType": "usages", + "dataTimestamp": timestamp, + # Sort by keys to retain the same order as originally signed. + "data": json.dumps(usages, sort_keys=True).replace(" ", ""), + "signature": signature, + }, + } + + data_base64 = base64.b64encode(json.dumps(blob).encode("utf-8")) + headers = self._build_dps_header(correlation_vector) + url = ( + "https://dataprocessingservice.{}.arcdataservices.com/api/subscriptions" + "/{}/resourcegroups/{}/providers" + "/Microsoft.AzureArcData/dataControllers" + "/{}?api-version=2022-05-25".format( + location, subscription_id, resource_group_name, name + ) + ) + + body = ( + b'{"$schema": "https://microsoft.azuredata.com/azurearc/pipeline' + b'/usagerecordsrequest.03-2022.schema.json","blob": "' + + data_base64 + + b'"}' + ) + + log.info("Usage upload request_url: {}".format(url)) + + response = retry( + lambda: self._post(url, body, headers), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="upload usages dps", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + TimeoutError, + RequestTimeoutError, + ServerError, + ), + ) + + if response.ok: + success_msg = "Uploaded {} usage records to Azure {}.".format( + len(usages), url + ) + print("\t" + success_msg) + log.info(success_msg) + if response.headers: + log.info( + "Usage upload response header: {}".format(response.headers) + ) + return True + else: + # Re-try upload with fallback URI + # TODO: Remove this fallback logic in the future + # PBI: https://msdata.visualstudio.com/Tina/_workitems/edit/2988226 + url = ( + "https://san-af-{}-prod.azurewebsites.net/api/subscriptions" + "/{}/resourcegroups/{}/providers" + "/Microsoft.AzureArcData/dataControllers" + "/{}?api-version=2022-05-25".format( + location, subscription_id, resource_group_name, name + ) + ) + + response = retry( + lambda: self._post(url, body, headers), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="upload usages dps", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + TimeoutError, + RequestTimeoutError, + ServerError, + ), + ) + + if response.ok: + success_msg = "Uploaded {} usage records using fallback DPS URI {}.".format( + len(usages), url + ) + + print("\t" + success_msg) + log.info(success_msg) + if response.headers: + log.info( + "Fallback URI usage upload response header: {}".format( + response.headers + ) + ) + return True + + return False + + def populate_sql_properties(self, params, extended_properties): + """ + Populate sql instance properties. + :param params: Add sql specific properties here. + :param extended_properties: Extract sql specific properties from this. + """ + tier = _.get(extended_properties, "k8sRaw.spec.tier") + license_type = _.get(extended_properties, "k8sRaw.spec.licenseType") + skuName = SQL_MI_SKU_NAME_VCORE + + sku = {"name": skuName, "tier": format_sqlmi_tier_for_azure(tier)} + + params["sku"] = sku + params["properties"]["licenseType"] = ( + format_sqlmi_license_type_for_azure(license_type) + ) + + def get_generic_azure_resource( + self, + resource_provider_namespace, + resource_type, + resource_group_name, + resource_name, + api_version, + ): + """ + Get a generic azure resource using ArcDataCliCredential and + ResourceManagementClient + """ + + subscription = self._subscription + + arm_id = ( + f"/subscriptions/{subscription}" + f"/resourcegroups/{resource_group_name}" + f"/providers/{resource_provider_namespace}" + f"/{resource_type}/{resource_name}" + ) + resource = self.get_generic_azure_resource_by_id(arm_id, api_version) + + return resource + + def get_generic_azure_resource_by_id( + self, + resource_id, + api_version, + ): + """ + Get a generic azure resource using ArcDataCliCredential and + ResourceManagementClient + """ + + if not is_valid_resource_id(resource_id): + raise ValidationError( + f"Unable to get Azure resource. Invalid resource id: " + f"'{resource_id}'" + ) + + parsed_id = parse_resource_id(resource_id) + + credential = ArcDataCliCredential() + + resource_client = ResourceManagementClient( + credential, parsed_id["subscription"] + ) + + log.debug( + f"Getting Azure resource: '{resource_id}', api version: " + f"'{api_version}'" + ) + + resource = resource_client.resources.get_by_id( + resource_id, api_version=api_version + ) + + return resource + + @staticmethod + def get_first_extension_id_from_custom_location( + custom_location_id, + extension_type, + ): + """ + Get the first extension id match (given an extension type) from the + custom location. + + :param custom_location_id: The custom location ARM id. + :param extension_type: The extension type + (e.g 'microsoft.arcdataservices'). + :returns: The first extension id matching the extension type. + """ + + arm_id = parse_resource_id(custom_location_id) + resource_group_name = arm_id["resource_group"] + resource_name = arm_id["resource_name"] + subscription = arm_id["subscription"] + + credential = ArcDataCliCredential() + client = CustomLocations(credential, subscription) + enabled_resource_types = ( + client.custom_locations.list_enabled_resource_types( + resource_group_name=resource_group_name, + resource_name=resource_name, + ) + ) + + log.debug( + f"Getting extension of type '{extension_type}' from custom " + f"location '{custom_location_id}'" + ) + + for enabled_resource_type in enabled_resource_types: + et = enabled_resource_type.extension_type + if et.lower() == extension_type.lower(): + log.debug( + f"Found extension id " + f"({enabled_resource_type.cluster_extension_id}) for " + f"custom location ({custom_location_id})." + ) + return enabled_resource_type.cluster_extension_id + + log.warning( + f"Extension of type '{extension_type}'' not found in custom " + f"location '{custom_location_id}'" + ) + + def get_bootstrapper_extension_id_from_custom_location( + self, custom_location_id + ): + """ + Get the first bootstrapper extension id from the custom location. + + :param custom_location_id: The custom location ARM id. + :returns: The first extension id matching the extension type. + """ + + if not is_valid_resource_id(custom_location_id): + raise ValidationError( + f"Found invalid custom location ARM id: '{custom_location_id}'" + ) + + extension_id = self.get_first_extension_id_from_custom_location( + custom_location_id=custom_location_id, + extension_type="microsoft.arcdataservices", + ) + + if not extension_id: + raise ResourceNotFoundError( + "Unable to find bootstrapper extension resource for custom " + "location '{custom_location_id}'" + ) + + return extension_id + + def get_extension_resource(self, extension_resource_id): + """ + Given an extension resource id, return the generic azure resource. + """ + + log.debug(f"Getting bootstrapper extension Azure resource") + + resource = self.get_generic_azure_resource_by_id( + resource_id=extension_resource_id, + api_version=ARC_DATA_SERVICES_EXTENSION_API_VERSION, + ) + + return resource + + def get_extension_identity(self, custom_location_id): + """ + Given a custom location id, get the principal id of the bootstrapper's + identity. + """ + + log.debug(f"Data controller's custom location id: {custom_location_id}") + + extension_resource_id = ( + self.get_bootstrapper_extension_id_from_custom_location( + custom_location_id + ) + ) + extension = self.get_extension_resource(extension_resource_id) + extension_identity_principal_id = extension.identity.principal_id + + return extension_identity_principal_id + + def create_or_update_generic_azure_resource( + self, + resource_provider_namespace, + resource_type, + resource_group_name, + resource_name, + api_version, + parameters, + wait_for_response=True, + timeout=None, + ): + """ + Create or update a generic azure resource using ArcDataCliCredential and + ResourceManagementClient + """ + subscription = self._subscription + + credential = ArcDataCliCredential() + resource_client = ResourceManagementClient(credential, subscription) + arm_id = ( + f"/subscriptions/{subscription}" + f"/resourcegroups/{resource_group_name}" + f"/providers/{resource_provider_namespace}" + f"/{resource_type}/{resource_name}" + ) + + log.debug(f"Create or update azure resource: {arm_id}") + + try: + response = resource_client.resources.begin_create_or_update( + resource_group_name=resource_group_name, + resource_provider_namespace=resource_provider_namespace, + resource_type=resource_type, + resource_name=resource_name, + api_version=api_version, + parameters=parameters, + parent_resource_path="", + polling=wait_for_response, + ) + + if not wait_for_response: + return response + + response.wait(timeout) + + if not response.done(): + raise AzureResponseError( + f"Create or update Azure resource request timed out ({arm_id})." + ) + + return response.result() + + except HttpResponseError as ex: + raise AzureResponseError( + f"Failed creating or updating Azure resource " + f"({arm_id}).{os.linesep}{ex.message}" + ) from ex + except Exception as ex: + raise AzureResponseError( + f"Failed creating or updating Azure resource " + f"({arm_id}).{os.linesep}{ex}" + ) from ex + + def _update_auto_upload_metrics( + self, dc, resource_group_name, auto_upload_metrics + ): + """ + Update auto upload metrics property. This includes creating the necessary + role assignments if needed. + :param dc: The data controller. The updated property is changed on this + object. + :param resource_group_name: The data controller's resource group name. + :param auto_upload_metrics: "true"/"false" (string, not boolean) indicating + whether or not to enable auto upload. + """ + + if auto_upload_metrics == "true": + self.assign_metrics_role_if_missing( + dc.extended_location.name, + resource_group_name, + ) + + dc.properties["k8sRaw"]["spec"]["settings"]["azure"][ + "autoUploadMetrics" + ] = auto_upload_metrics + + def assign_metrics_role_if_missing( + self, + custom_location_id, + resource_group_name, + ): + """ + Assign metrics publisher role to the extension identity. + :param custom_location_id: Assign the role to the bootstrapper extension + on this custom location. + :param resource_group_name: The resource group name. + + """ + metrics_role_description = ROLE_DESCRIPTIONS[ + MONITORING_METRICS_PUBLISHER_ROLE_ID + ] + + extension_identity_principal_id = self.get_extension_identity( + custom_location_id + ) + + log.debug( + f"Bootstrapper extension identity (principal id): " + f"'{extension_identity_principal_id}'" + ) + + if self.has_role_assignment( + extension_identity_principal_id, + resource_group_name, + MONITORING_METRICS_PUBLISHER_ROLE_ID, + metrics_role_description, + ): + log.debug( + "Bootstrapper extension identity already has metrics publisher " + "role." + ) + else: + log.debug( + f"Assigning '{metrics_role_description}' role to bootstrapper " + f"extension identity..." + ) + + self.create_role_assignment( + extension_identity_principal_id, + resource_group_name, + MONITORING_METRICS_PUBLISHER_ROLE_ID, + metrics_role_description, + ) + + @staticmethod + def has_role_assignment( + identity_principal_id, + resource_group_name, + role_id, + role_description, + ): + """ + Check if a role (role_id) is assigned to identity_principal_id with + resource group scope. + """ + ( + login_credentials, + subscription_id, + tenant_id, + ) = get_cli_profile().get_login_credentials() + + authorization_client = AuthorizationManagementClient( + login_credentials, subscription_id + ) + + log.debug( + f"Checking if role id '{role_id}' ({role_description}) is " + f"assigned to principal id {identity_principal_id} at resource " + f"group ({resource_group_name}) scope" + ) + + role_assignments = ( + authorization_client.role_assignments.list_for_resource_group( + resource_group_name, + filter=f"assignedTo('{identity_principal_id}')", + ) + ) + + for role_assignment in role_assignments: + role_definition_id = role_assignment.role_definition_id + + if role_definition_id.lower().endswith(role_id): + log.debug( + f"Role assignment found. Role id '{role_id}' " + f"({role_description}) is assigned to principal id " + f"{identity_principal_id} at resource group " + f"({resource_group_name}) scope" + ) + return True + + log.debug( + f"Role assignment NOT found. Role id '{role_id}' " + f"({role_description}) is NOT assigned to principal id " + f"{identity_principal_id} at resource group " + f"({resource_group_name}) scope" + ) + + return False + + @staticmethod + def create_role_assignment( + identity_principal_id, + resource_group_name, + role_id, + role_description, + ): + """ + Create a role assignment. + :param identity_principal_id: The identity principal we are assigning + the role to. + :param resource_group_name: The resource group to scope the assignment + to. + :param role_id: The role id to assign. + :param role_description: The role description. + :raises: AzureResponseError: If there is an error creating the role + assignment. + """ + + ( + login_credentials, + subscription, + tenant_id, + ) = get_cli_profile().get_login_credentials() + + authorization_client = AuthorizationManagementClient( + login_credentials, subscription + ) + + scope = ( + f"/subscriptions/{subscription}" + f"/resourceGroups/{resource_group_name}" + ) + role_assignment_name = uuid.uuid4() + + params = { + "properties": { + "roleDefinitionId": f"/subscriptions" + f"/{subscription}" + f"/providers/Microsoft.Authorization" + f"/roleDefinitions/{role_id}", + "principalId": identity_principal_id, + } + } + + log.debug( + f"Creating role assignment. Role assignment name: " + f"'{role_assignment_name}'', scope: '{scope}', role id: " + f"'{role_id}' ({role_description})" + ) + + try: + authorization_client.role_assignments.create( + scope, role_assignment_name, params + ) + except HttpResponseError as ex: + error_msg = ( + f"Failed to create role assignment. Role id: " + f"'{role_id}' ({role_description}), scope: '{scope}', " + f"identity principal: {identity_principal_id}. " + f"Error: {ex}" + ) + raise AzureResponseError(error_msg) from ex + + @staticmethod + def _update_auto_upload_logs(dc, auto_upload_logs): + """ + Update auto upload logs properties. This includes asking for the + log analytics workspace id/key if needed. + :param dc: The data controller. The updated properties are changed on + this object. + :param auto_upload_logs: "true"/"false" (string, not boolean) indicating + whether or not to enable auto upload. + """ + + dc.properties["k8sRaw"]["spec"]["settings"]["azure"][ + "autoUploadLogs" + ] = auto_upload_logs + + if auto_upload_logs == "false": + dc.properties["logAnalyticsWorkspaceConfig"] = None + return + + if ( + "logAnalyticsWorkspaceConfig" not in dc.properties + or dc.properties["logAnalyticsWorkspaceConfig"] is None + ): + dc.properties["logAnalyticsWorkspaceConfig"] = dict() + + ( + workspace_id, + workspace_shared_key, + ) = get_log_workspace_credentials_from_env() + + dc.properties["logAnalyticsWorkspaceConfig"][ + "workspaceId" + ] = workspace_id + dc.properties["logAnalyticsWorkspaceConfig"][ + "primaryKey" + ] = workspace_shared_key + + @staticmethod + def _is_dc_directly_connected(dc): + """ + Return True if dc is directly connected mode. False otherwise. + (this is determined by checking at the extended_location, + "ConnectionMode" property is ignored, this is the same logic performed + in the RP) + """ + + if dc.extended_location is None: + return False + + if dc.extended_location.type.lower() != "customlocation": + return False + + return True + + def upload_dc_resource(self, path): + """ + Upload data file exported from a data controller to Azure. + """ + + import uuid + from datetime import datetime + from jsonschema import validate + from azext_arcdata.core.serialization import Sanitizer + from azext_arcdata.dc.constants import LAST_USAGE_UPLOAD_FLAG + from azext_arcdata.vendored_sdks.arm_sdk.azure.export_util import ( + ExportType, + logs_upload, + metrics_upload, + EXPORT_DATA_JSON_SCHEMA, + EXPORT_FILE_DICT_KEY, + EXPORT_SANITIZERS, + get_export_timestamp_from_file, + set_azure_upload_status, + update_upload_status_file, + update_azure_upload_status, + ) + + log.debug("Uploading file: '%s'", path) + with open(path, encoding="utf-8") as input_file: + data = json.load(input_file) + data = Sanitizer.sanitize_object(data, EXPORT_SANITIZERS) + validate(data, EXPORT_DATA_JSON_SCHEMA) + + # Check expected properties + # + for expected_key in EXPORT_FILE_DICT_KEY: + if expected_key not in data: + raise ValueError( + '"{}" is not found in the input file "{}".'.format( + expected_key, path + ) + ) + + export_type = data["exportType"] + + if not ExportType.has_value(export_type): + raise ValueError( + '"{}" is not a supported type. Please check your input file ' + '"{}".'.format(export_type, path) + ) + + # Create/Update shadow resource for data controller + # + data_controller = data["dataController"] + + try: + data_controller_azure = self._get_dc_azure_resource(data_controller) + except Exception as e: + raise Exception( + "Upload failed. Unable to read data controller resource from " + "Azure" + ) + + set_azure_upload_status(data_controller, data_controller_azure) + self._create_dc_azure_resource(data_controller) + + # Delete shadow resources for resource instances deleted from the + # cluster in k8s + # + deleted = dict() + + for instance in data["deletedInstances"]: + instance_key = "{}/{}.{}".format( + instance["kind"], + instance["instanceName"], + instance["instanceNamespace"], + ) + + if instance_key not in deleted.keys(): + try: + self._delete_azure_resource(instance, data_controller) + deleted[instance_key] = True + except Exception as e: + self.stdout( + 'Failed to delete Azure resource for "{}" in "{}".'.format( + instance["instanceName"], + instance["instanceNamespace"], + ) + ) + self.stderr(e) + continue + + # Create/Update shadow resources for resource instances still active in + # the cluster in k8s + # + for instance in data["instances"]: + self._create_azure_resource(instance, data_controller) + + data_timestamp = datetime.strptime( + data["dataTimestamp"], "%Y-%m-%dT%H:%M:%S.%fZ" + ) + + # Upload metrics, logs or usage + # + try: + if export_type == ExportType.metrics.value: + metrics_upload(data["data"]) + elif export_type == ExportType.logs.value: + ( + customer_id, + shared_key, + ) = get_log_workspace_credentials_from_env() + self.stdout('Log Analytics workspace: "{}"'.format(customer_id)) + for file in data["data"]: + with open(file, encoding="utf-8") as input_file: + data = json.load(input_file) + logs_upload(data["data"], customer_id, shared_key) + elif export_type == "usage": + if data_controller: + self.stdout("\n") + self.stdout("Start uploading usage...") + correlation_vector = str(uuid.uuid4()) + for usage in data["data"]: + self._upload_usages_dps( + data_controller, + usage, + data["dataTimestamp"], + correlation_vector, + ) + + if ( + LAST_USAGE_UPLOAD_FLAG in data + and data[LAST_USAGE_UPLOAD_FLAG] + ): + # Delete DC shadow resource to close out billing + # + self._delete_azure_resource( + resource=data_controller, + data_controller=data_controller, + ) + + self.stdout("Usage upload is done.") + else: + self.stdout( + "No usage has been reported. Please wait for 24 hours " + "if you just deployed the Azure Arc enabled data " + "services." + ) + else: + raise ValueError( + '"{}" is not a supported type. Please check your input' + ' file "{}".'.format(export_type, path) + ) + except Exception as ex: + update_azure_upload_status( + data_controller, export_type, datetime.utcnow(), ex + ) + self._create_dc_azure_resource(data_controller) + raise + + update_azure_upload_status( + data_controller, export_type, datetime.utcnow(), None + ) + self._create_dc_azure_resource(data_controller) + + # Update watermark after upload succeed for all three types of data + timestamp_from_status_file = get_export_timestamp_from_file(export_type) + timestamp_from_export_file = data_timestamp + + if timestamp_from_status_file < timestamp_from_export_file: + update_upload_status_file( + export_type, + data_timestamp=timestamp_from_export_file.isoformat( + sep=" ", timespec="milliseconds" + ), + ) + + def _get_dc_azure_resource(self, data_controller): + """ + Get a shadow resource for the data controller. + """ + response = retry( + lambda: self.get_azure_resource( + resource_name=data_controller["instanceName"], + instance_type="dataControllers", + subscription_id=data_controller["subscriptionId"], + resource_group_name=data_controller["resourceGroupName"], + ), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="get Azure data controller", + retry_on_exceptions=( + ConnectionError, + NewConnectionError, + MaxRetryError, + ), + ) + + # no data controller was returned + if response is True: + return None + + return response + + def _create_dc_azure_resource(self, data_controller): + """ + Create a shadow resource for the data controller. + """ + retry( + lambda: self.create_azure_data_controller( + uid=data_controller["k8sRaw"]["metadata"]["uid"], + resource_name=data_controller["instanceName"], + subscription_id=data_controller["subscriptionId"], + resource_group_name=data_controller["resourceGroupName"], + location=data_controller["location"], + public_key=data_controller["publicKey"], + extended_properties={ + "k8sRaw": _.get(data_controller, "k8sRaw"), + "infrastructure": _.get(data_controller, "infrastructure"), + }, + ), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="create Azure data controller", + retry_on_exceptions=( + ConnectionError, + NewConnectionError, + MaxRetryError, + ), + ) + + def _create_azure_resource(self, resource, data_controller): + """ + Create a shadow resource for custom resource. + """ + retry( + lambda: self.create_azure_resource( + instance_type=azure_constants.RESOURCE_TYPE_FOR_KIND[ + resource["kind"] + ], + data_controller_name=data_controller["instanceName"], + resource_name=resource["instanceName"], + subscription_id=data_controller["subscriptionId"], + resource_group_name=data_controller["resourceGroupName"], + location=data_controller["location"], + extended_properties={"k8sRaw": _.get(resource, "k8sRaw")}, + ), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="create Azure resource", + retry_on_exceptions=( + ConnectionError, + NewConnectionError, + MaxRetryError, + ), + ) + + def _delete_azure_resource(self, resource, data_controller): + """ + Delete the shadow resource for custom resource. + """ + resource_name = resource["instanceName"] + instance_type = azure_constants.RESOURCE_TYPE_FOR_KIND[resource["kind"]] + subscription_id = data_controller["subscriptionId"] + resource_group_name = data_controller["resourceGroupName"] + + retry( + self.delete_azure_resource, + resource_name, + instance_type, + subscription_id, + resource_group_name, + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="delete Azure resource", + retry_on_exceptions=( + ConnectionError, + NewConnectionError, + MaxRetryError, + ), + ) + + def _upload_usages_dps( + self, data_controller, usage, timestamp, correlation_vector + ): + import zlib + import base64 + import json + + uncompressed_usage = json.loads( + str( + zlib.decompress( + base64.b64decode(usage["usages"]), -zlib.MAX_WBITS + ), + "utf-8", + ) + ) + + return self.upload_usages_dps( + cluster_id=data_controller["k8sRaw"]["metadata"]["uid"], + correlation_vector=correlation_vector, + name=data_controller["instanceName"], + subscription_id=data_controller["subscriptionId"], + resource_group_name=data_controller["resourceGroupName"], + location=data_controller["location"], + connection_mode=data_controller["connectionMode"], + infrastructure=data_controller["infrastructure"], + timestamp=timestamp, + usages=uncompressed_usage, + signature=usage["signature"], + ) diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/constants.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/constants.py new file mode 100644 index 00000000000..a15cc81920a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/constants.py @@ -0,0 +1,362 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +from collections import OrderedDict + + +RESOURCE_PROVIDER_NAMESPACE = "Microsoft.AzureArcData" +""" +Resource provider namespace +""" + +API_VERSION = "2023-01-15-preview" +""" +Microsoft.AzureArcData API version +NOTE: This needs to be updated if the API version changes +""" + +PG_API_VERSION = API_VERSION +""" +Postgres Resource provider API version +""" + +RESOURCE_URI = ( + "/subscriptions/{}/resourcegroups/{}/providers/Microsoft.AzureArcData/{}/{}" +) +""" +Azure Resource URI +""" + +RESOURCE_TYPE_POSTGRES = "Microsoft.AzureArcData/postgresInstances" +""" +Postgres resource type +""" + +RESOURCE_TYPE_SQL = "Microsoft.AzureArcData/sqlManagedInstances" +""" +SQL instance resource type +""" + +RESOURCE_TYPE_DATA_CONTROLLER = "Microsoft.AzureArcData/dataControllers" +""" +Data controller Azure resource type +""" + +INSTANCE_TYPE_POSTGRES = "postgresInstances" +""" +Postgres instance type +""" + +INSTANCE_TYPE_SQL = "sqlManagedInstances" +""" +SQL instance type +""" + +INSTANCE_TYPE_DATA_CONTROLLER = "dataControllers" +""" +Arc data controller type +""" + +INSTANCE_TYPE_AD_CONNECTOR = "activeDirectoryConnectors" +""" +Active Directory connector type +""" + +INSTANCE_TYPE_FAILOVER_GROUP = "failoverGroups" +""" +Arc-enabled failover group type +""" + +RESOURCE_KIND_DATA_CONTROLLER = "dataController" +""" +Resource kind for Arc data controller +""" + +RESOURCE_KIND_POSTGRES = "PostgreSql" +""" +Resource kind for Postgres +""" + +RESOURCE_KIND_SQL = "SqlManagedInstance" +""" +SQL instance resource kind +""" + +METRICS_SQL_NAMESPACE = "SQL Server" +""" +SQL instance metrics namespace in Azure monitoring +""" + +METRICS_POSTGRES_NAMESPACE = "Postgres" +""" +Postgres instance metrics namespace in Azure monitoring +""" + +DEFAULT_NAMESPACE = "default" +""" +The default namespace in k8s +""" + +DIRECT_CONNECTIVITY_MODE = "direct" +""" +The direct connectivity mode +""" + +INDIRECT_CONNECTIVITY_MODE = "indirect" +""" +The indirect connectivity mode +""" + +RESOURCE_TYPE_FOR_KIND = { + RESOURCE_KIND_DATA_CONTROLLER: INSTANCE_TYPE_DATA_CONTROLLER, + RESOURCE_KIND_SQL: INSTANCE_TYPE_SQL, + RESOURCE_KIND_POSTGRES: INSTANCE_TYPE_POSTGRES, +} +""" +Instance type to resource type lookup +""" + +RESOURCE_TYPES_OF_DATA_SERVICES = { + INSTANCE_TYPE_SQL: RESOURCE_TYPE_SQL, + INSTANCE_TYPE_POSTGRES: RESOURCE_TYPE_POSTGRES, +} +""" +Instance type of data service +""" + +PATCH_PAYLOAD_LIMIT = 1024 * 1000 +""" +Azure patch payload limit +""" + +BILLING_MODEL_COMSUMPTION = "consumption" +""" +Consumption based billing model +""" + +BILLING_MODEL_CAPCITY = "capacity" +""" +Capacity based billing model +""" + +CLUSTER_CONNECTION_MODE_CONNECTED = "connected" +""" +Connected cluster +""" + +CLUSTER_CONNECTION_MODE_DISCONNECTED = "disconnected" +""" +Disconnected cluster +""" + +DEFAULT_DATA_CONTROLLER_NAME = "DataController" +""" +Default data controller name +""" + +AZURE_ARM_URL = "https://management.azure.com" +""" +Azure ARM URL +""" + +AZURE_ARM_API_VERSION_STR = "?api-version=" +""" +Azure ARM API version string in header +""" + +AAD_LOGIN_URL = "https://login.microsoftonline.com/" +""" +AAD login URL +""" + +AZURE_ARM_SCOPE = ["https://management.azure.com/.default"] +""" +Azure ARM SCOPE +""" + +AAD_PROFILE_FILENAME = "aad-profile.json" +""" +AAD token cache file name +""" + +AZURE_AF_SCOPE = ["https://azurearcdata.billing.publiccloudapi.net/.default"] +""" +Azure ARM SCOPE +""" + +SPN_ENV_KEYS = { + "authority": "SPN_AUTHORITY", + "tenant_id": "SPN_TENANT_ID", + "client_id": "SPN_CLIENT_ID", + "client_secret": "SPN_CLIENT_SECRET", +} +""" +Environment variables' name of SPN for metric upload +""" + +METRICS_CONFIG_FILENAME = "metrics-config.json" +""" +Metric config file name +""" + +AZURE_METRICS_SCOPE = ["https://monitoring.azure.com//.default"] +""" +Azure Custom Metrics url +""" + +PUBLIC_CLOUD_LOGIN_URL = "https://login.microsoftonline.com" +""" +Azure public cloud AAD login url +""" + +API_LOG = "/api/logs" +""" +Log upload api resource value +""" + +MONITORING_METRICS_PUBLISHER_ROLE_ID = "3913510d-42f4-4e42-8a64-420c390055eb" +ROLE_DESCRIPTIONS = { + MONITORING_METRICS_PUBLISHER_ROLE_ID: "Monitoring Metrics Publisher" +} + +ARC_DATA_SERVICES_EXTENSION_API_VERSION = "2021-09-01" + +RESOURCE_HYDRATION_API_VERSION = "2021-08-31-preview" + +ROLE_ASSIGNMENTS_API_VERSION = "2022-04-01" + +CUSTOM_LOCATION_API_VERSION = "2021-08-15" + +CONNECTED_CLUSTER_API_VERSION = "2021-10-01" + +ARC_DATASERVICES_EXTENSION_RELEASE_TRAIN = "stable" + +ARC_DATASERVICES_EXTENSION_VERSION = "1.33.0" +""" +The latest Arc data services extension helm chart version +NOTE: This needs to be updated before every release +""" + + +############################################################## +# The following is a mapping of the Arc data services release +# image tag to the corresponding extension helm chart version. +# NOTE: This needs to be updated before every release +############################################################### +IMAGE_TAG_EXT_VERSION_MAP = OrderedDict( + [ + ("v1.42.0_2025-10-14", "1.42.0"), + ("v1.41.0_2025-09-09", "1.41.0"), + ("v1.40.0_2025-08-12", "1.40.0"), + ("v1.39.0_2025-05-13", "1.39.0"), + ("v1.38.0_2025-04-08", "1.38.0"), + ("v1.37.0_2025-03-11", "1.37.0"), + ("v1.36.0_2025-02-11", "1.36.0"), + ("v1.35.0_2024-11-12", "1.35.0"), + ("v1.34.0_2024-10-08", "1.34.0"), + ("v1.33.0_2024-09-10", "1.33.0"), + ("v1.32.0_2024-08-13", "1.32.0"), + ("v1.31.0_2024-07-09", "1.31.0"), + ("v1.30.0_2024-06-11", "1.30.0"), + ("v1.29.0_2024-04-09", "1.29.0"), + ("v1.28.0_2024-03-12", "1.28.0"), + ("v1.27.0_2024-02-13", "1.27.0"), + ("v1.26.0_2023-12-12", "1.26.0"), + ("v1.25.0_2023-11-14", "1.25.0"), + ("v1.24.0_2023-10-10", "1.24.0"), + ("v1.23.0_2023-09-12", "1.23.0"), + ("v1.22.0_2023-08-08", "1.22.0"), + ("v1.21.0_2023-07-11", "1.21.0"), + ("v1.20.0_2023-06-13", "1.20.0"), + ("v1.19.0_2023-05-09", "1.19.0"), + ("v1.18.0_2023-04-11", "1.18.0"), + ("v1.17.0_2023-03-14", "1.17.0"), + ("v1.16.0_2023-02-14", "1.16.0"), + ("v1.15.0_2023-01-10", "1.15.0"), + ("v1.14.0_2022-12-13", "1.14.0"), + ("v1.13.0_2022-11-08", "1.13.0"), + ("v1.12.0_2022-10-11", "1.12.0"), + ("v1.11.0_2022-09-13", "1.11.0"), + ("v1.10.0_2022-08-09", "1.2.20381002"), + ("v1.9.0_2022-07-12", "1.2.20031002"), + ("v1.8.0_2022-06-14", "1.2.19831003"), + ("v1.7.0_2022-05-24", "1.2.19581002"), + ("v1.6.0_2022-05-02", "1.2.19481002"), + ("v1.5.0_2022-04-05", "1.1.19211001"), + ("v1.4.1_2022-03-08", "1.1.18911000"), + ("v1.4.0_2022-02-25", "1.1.18791000"), + ("v1.3.0_2022-01-27", "1.1.18501004"), + ("v1.2.0_2021-12-15", "1.1.18031001"), + ("v1.1.0_2021-11-02", "1.1.17561007"), + ] +) + +############################################################## +# The following is a mapping of the Arc data services extension +# version to the latest ARM API version it supports. +# This is used to determine the ARM API version to use when +# deploying a new resource. +# NOTE: This needs to be updated before every release +############################################################### +EXT_VERSION_ARM_API_VERSION_MAP = OrderedDict( + [ + ("1.42.0", "2023-01-15-preview"), + ("1.41.0", "2023-01-15-preview"), + ("1.40.0", "2023-01-15-preview"), + ("1.39.0", "2023-01-15-preview"), + ("1.38.0", "2023-01-15-preview"), + ("1.37.0", "2023-01-15-preview"), + ("1.36.0", "2023-01-15-preview"), + ("1.35.0", "2023-01-15-preview"), + ("1.34.0", "2023-01-15-preview"), + ("1.33.0", "2023-01-15-preview"), + ("1.32.0", "2023-01-15-preview"), + ("1.31.0", "2023-01-15-preview"), + ("1.30.0", "2023-01-15-preview"), + ("1.29.0", "2023-01-15-preview"), + ("1.28.0", "2023-01-15-preview"), + ("1.27.0", "2023-01-15-preview"), + ("1.26.0", "2023-01-15-preview"), + ("1.25.0", "2023-01-15-preview"), + ("1.24.0", "2023-01-15-preview"), + ("1.23.0", "2023-01-15-preview"), + ("1.22.0", "2023-01-15-preview"), + ("1.21.0", "2023-01-15-preview"), + ("1.20.0", "2023-01-15-preview"), + ("1.19.0", "2023-01-15-preview"), + ("1.18.0", "2023-01-15-preview"), + ("1.17.0", "2022-03-01-preview"), + ("1.16.0", "2022-03-01-preview"), + ("1.15.0", "2022-03-01-preview"), + ("1.14.0", "2022-03-01-preview"), + ("1.13.0", "2022-03-01-preview"), + ("1.12.0", "2022-03-01-preview"), + ("1.11.0", "2022-03-01-preview"), + ("1.2.20381002", "2022-03-01-preview"), + ("1.2.20031002", "2022-03-01-preview"), + ("1.2.19831003", "2022-03-01-preview"), + ("1.2.19581002", "2022-03-01-preview"), + ("1.2.19481002", "2022-03-01-preview"), + ("1.1.19211001", "2021-11-01"), + ("1.1.18911000", "2021-11-01"), + ("1.1.18791000", "2021-11-01"), + ("1.1.18501004", "2021-11-01"), + ("1.1.18031001", "2021-11-01"), + ("1.1.17561007", "2021-11-01"), + ] +) + +############################################################## +# The following is a mapping of each Arc data services resource +# type to the earliest extension version that can be used to +# deploy it. +# NOTE: This needs to be updated only if we add a new resource type +############################################################### +RESOURCE_TYPE_EXT_VERSION_MAP = { + INSTANCE_TYPE_DATA_CONTROLLER: "1.1.17561007", + INSTANCE_TYPE_POSTGRES: "1.1.17561007", + INSTANCE_TYPE_SQL: "1.1.17561007", + INSTANCE_TYPE_AD_CONNECTOR: "1.2.19481002", + INSTANCE_TYPE_FAILOVER_GROUP: "1.18.0", +} diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/export_util.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/export_util.py new file mode 100644 index 00000000000..e5caf4de0bc --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/export_util.py @@ -0,0 +1,1116 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +import base64 +import datetime +import hashlib +import hmac +import json +import os +from enum import Enum +from http import HTTPStatus + +import ndjson +import requests +from azext_arcdata.core.http_codes import http_status_codes +from azext_arcdata.core.prompt import prompt_for_input, prompt_y_n +from azext_arcdata.core.util import display, retry +from azext_arcdata.vendored_sdks.arm_sdk.azure import constants as azure_constants +from azext_arcdata.vendored_sdks.arm_sdk.azure.ad_auth_util import acquire_token +from azext_arcdata.dc.constants import ( + DEFAULT_LOG_QUERY_WINDOW_IN_MINUTE, + DEFAULT_METRIC_QUERY_WINDOW_IN_MINUTE, + DEFAULT_QUERY_WINDOW, + DEFAULT_USAGE_QUERY_WINDOW_IN_MINUTE, + LAST_USAGE_UPLOAD_FLAG, +) +from azext_arcdata.dc.exceptions import RequestTimeoutError, ServerError +from azext_arcdata.dc.util import get_config_file_path +from azext_arcdata.sqlmi.constants import ( + SQLMI_LICENSE_TYPE_BASE_PRICE, + SQLMI_LICENSE_TYPE_BASE_PRICE_AZURE, + SQLMI_LICENSE_TYPE_LICENSE_INCLUDED, + SQLMI_LICENSE_TYPE_LICENSE_INCLUDED_AZURE, + SQLMI_LICENSE_TYPE_DISASTER_RECOVERY, + SQLMI_LICENSE_TYPE_DISASTER_RECOVERY_AZURE, + SQLMI_TIER_BUSINESS_CRITICAL_ALL, + SQLMI_TIER_BUSINESS_CRITICAL_AZURE, + SQLMI_TIER_GENERAL_PURPOSE_ALL, + SQLMI_TIER_GENERAL_PURPOSE_AZURE, +) +from jsonschema import validate +from knack.cli import CLIError +from knack.log import get_logger +from knack.prompting import NoTTYException, prompt +from requests.adapters import HTTPAdapter +from requests.exceptions import HTTPError +from urllib3.exceptions import MaxRetryError, NewConnectionError, TimeoutError +from urllib3.util.retry import Retry + +CONNECTION_RETRY_ATTEMPTS = 12 +RETRY_INTERVAL = 5 + +log = get_logger(__name__) + +################################################################################ +# Export Types +################################################################################ + + +class ExportType(Enum): + metrics = "metrics" + logs = "logs" + usage = "usage" + + @classmethod + def has_value(cls, value): + return value in cls._value2member_map_ + + @staticmethod + def list(): + return list(map(lambda c: c.value, ExportType)) + + +# ############################################################################# +# Metric +# ############################################################################# + + +class MetricsDataStructure(Enum): + region_key = "region" + resource_id_key = "resource_id" + metrics_key = "metrics" + + +class AzureResource(object): + hostname = "" + location = "" + resource_id = "" + instance_type = "" + + def __init__(self, **entries): + self.__dict__.update(entries) + + +class AzureMetrics(object): + location = "" + resource_id = "" + metrics = "" + + def __init__(self, **entries): + self.__dict__.update(entries) + + +class MetricsQuery(object): + def __init__(self, instance_type, metric, db, query): + self.instance_type = instance_type + self.metric = metric + self.db = db + self.query = query + + +# ############################################################################## +# Metric export/upload functions -- +# ############################################################################## + +ERROR_IGNORE = ( + "should not be older than 30 minutes and not more than 4 " + "minutes in the future" +) +""" +Metric error msg could be ignored +""" + + +def _post_metrics(url, body, headers): + response = requests.post(url, data=body, headers=headers) + + log.info("Metrics upload reponse header: {}".format(response.headers)) + try: + response.raise_for_status() + except HTTPError as ex: + if response.status_code == http_status_codes.request_timeout: + raise RequestTimeoutError(ex) + elif response.status_code >= 500: + raise ServerError(ex) + else: + raise + + return response + + +def metrics_upload(metrics): + + if metrics is None: + display("No metrics need to upload.") + else: + display("\n") + for data in metrics: + resource_id_value = data[MetricsDataStructure.resource_id_key.value] + region_value = data[MetricsDataStructure.region_key.value] + metrics = data["metrics"] + if not resource_id_value or not metrics or not region_value: + CLIError( + "{} is not valid. Please check the file contains {} and " + "metrics fields. Or export the data to file and try again." + ) + + current_time = datetime.datetime.utcnow() + + filtered_metrics = list( + filter( + lambda metric: ( + current_time + - datetime.datetime.strptime( + metric["time"], "%Y-%m-%dT%H:%M:%SZ" + ) + ).total_seconds() + / 60 + <= 30, + metrics, + ) + ) + if filtered_metrics is None or not filtered_metrics: + print( + "The metrics data are older than 30 minutes for {}, please" + " export and upload again.".format(resource_id_value) + ) + continue + log.info( + "Metrics data in file has {} records. {} are in last 30 mins".format( + len(metrics), len(filtered_metrics) + ) + ) + display("Azure resource_id: {}".format(resource_id_value)) + + # Setup request header and url + headers = _set_header() + url = _set_url(region_value, resource_id_value) + retry( + lambda: _post_metrics( + url, body=ndjson.dumps(filtered_metrics), headers=headers + ), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="post metrics data", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + TimeoutError, + RequestTimeoutError, + ServerError, + ), + ) + + display( + "Metrics upload pushed {} data points successfully.\n".format( + len(filtered_metrics) + ) + ) + + +""" +# Given a resource registered in Azure, returns the k8s namespace and name. +def _parse_resource(resource): + name = resource[INSTANCE_NAME] + namespace = resource[NAMESPACE] + + # Resources deployed outside the controller's namespace are named in the + # format 'namespace_name' + parts = name.split("_") + if len(parts) == 2: + name = parts[1] + elif len(parts) > 2: + raise Exception( + "Cannot parse resource '{}'. Acceptable formats are '" + "namespace_name' or 'name'.".format(name) + ) + return namespace, name + +""" + + +def _set_header(): + """ + Authenticate using service principal w/ key. + """ + + headers = { + "Authorization": "Bearer " + + acquire_token(azure_constants.AZURE_METRICS_SCOPE), + "Content-Type": "application/x-ndjson", + } + return headers + + +def _set_url(location, resource_id): + url = "https://{}.monitoring.azure.com{}/metrics".format( + location, resource_id + ) + return url + + +# ############################################################################## +# Log export/upload functions +# ############################################################################## + +LOGS_CONFIG_FILENAME = "logs-config.json" +""" +Log config file name +""" + +LOGS_DEFAULT_DURATION = 14 +""" +Default log export duration +""" + +LOGS_FILE_PATH = "/var/opt/mssql/log/errorlog" +""" +filepath of sql error logs +""" + +SQL_MI_CONTAINER_NAME = "arc-sqlmi" +""" +container name of SQL MI +""" + +LOGS_MAXIMUM_POST_SIZE = 25 * 1024 * 1024 +""" +Maximum post size to logs analytics workspace is 30M bytes. 5M for buffer +""" + +LOGS_FILE_SIZE = 512 * 1024 * 1024 +""" +Maximum log export file size +""" + +LOGS_COLLECTION_COUNT_FROM_SERVER = 20 +""" +Maximum logs collection count returned from server +""" + +LOGS_BACKOFF_FACTOR = 1 +""" +Upload backoff factor +""" + +LOGS_POST_RETRY_CAP = 16 +""" +Retry cap is 16 times for log analytics post request +""" + +WORKSPACE_ENV_KEYS = { + "customer_id": "WORKSPACE_ID", + "shared_key": "WORKSPACE_SHARED_KEY", +} +""" +Environment variables' name of workspace for log upload +""" + + +def generate_export_file_name(file_path, index): + file_name_with_ext = os.path.basename(file_path) # eds_report.csv + dir_name = os.path.dirname(file_path) + file_name = os.path.splitext(file_name_with_ext)[0] + filename_suffix = os.path.splitext(file_name_with_ext)[1] + base_filename = file_name + "-" + str(index) + + export_file_name = os.path.join(dir_name, base_filename + filename_suffix) + return export_file_name + + +""" +def _write_logs(data_controller, logs, file_name, resource, timestamp): + + resource_uri = get_resource_uri(resource, data_controller) + if resource_uri is not None: + content = [] + for log in logs: + result = _convert_to_logs_format( + log, + resource[INSTANCE_NAME], + azure_constants.RESOURCE_TYPE_FOR_KIND[resource[KIND]], + resource_uri, + ) + content.append(result) + + write_file(file_name, content, ExportType.logs.value, timestamp) +""" + + +def logs_upload(logs, customer_id, shared_key): + import base64 + import zlib + + for log in logs: + unzip = str( + zlib.decompress(base64.b64decode(log["logs"]), -zlib.MAX_WBITS), + "utf-8", + ) + + _post_logs_to_logs_analytics( + customer_id, + shared_key, + log["instance_name"], + unzip, + log["log_type"], + log["instance_type"], + log["resource_id"], + ) + + +def _convert_to_logs_format(logs, instance, instance_type, resource_uri): + result = "" + if logs and instance and instance_type: + result = { + "instance_name": instance, + "instance_type": instance_type, + "resource_uri": resource_uri, + "logs": logs, + } + return result + + +# ############################################################################## +# Log workspace functions +# ############################################################################## + + +def get_log_workspace_credentials_from_env(): + """ + Get the shared key and customer id for the given + client's log workspace + """ + customer_id = None + shared_key = None + get_workspace_from_env = True + + # First try to get workspace info from ENV + for workspace_env in WORKSPACE_ENV_KEYS.values(): + if workspace_env not in os.environ or os.environ[workspace_env] is None: + get_workspace_from_env = False + break + if get_workspace_from_env: + customer_id = os.environ[WORKSPACE_ENV_KEYS["customer_id"]] + shared_key = os.environ[WORKSPACE_ENV_KEYS["shared_key"]] + else: + # Prompt user to provide workspace info + succeed = False + while not succeed: + print("Please provide Azure Log Analytics workspace information") + customer_id = prompt("Workspace ID: ") + shared_key = prompt("Primary Key: ") + try: + succeed = _test_log_workspace_key(customer_id, shared_key) + except Exception as e: + from azext_arcdata.core.text import Text + + Text.red( + 'Can\'t upload to the workspace: "{} Exception: {}". ' + "Please try again".format(customer_id, e) + ) + display("\n") + + _store_log_workspace_credentials_in_env(customer_id, shared_key) + return customer_id, shared_key + + +def _store_log_workspace_credentials_in_env(customer_id, shared_key): + """ + Stores logs workspace credentials in environment + :param customer_id: string + :param shared_key: string + """ + if customer_id and shared_key: + os.environ[WORKSPACE_ENV_KEYS["customer_id"]] = customer_id + os.environ[WORKSPACE_ENV_KEYS["shared_key"]] = shared_key + else: + raise ValueError( + "Failed to store one or more of the following: {}".format( + list(WORKSPACE_ENV_KEYS) + ) + ) + + +def _build_log_request_header( + customer_id, shared_key, content_length, log_type, resource_uri +): + rfc1123date = datetime.datetime.utcnow().strftime( + "%a, %d %b %Y %H:%M:%S GMT" + ) + method = "POST" + content_type = "application/json" + + signature = _build_log_request_signature( + customer_id, + shared_key, + rfc1123date, + content_length, + method, + content_type, + azure_constants.API_LOG, + ) + headers = { + "content-type": content_type, + "Authorization": signature, + "Log-Type": log_type, + "x-ms-date": rfc1123date, + "x-ms-AzureResourceId": resource_uri, + } + return headers + + +def _build_log_request_uri(customer_id): + return ( + "https://" + + customer_id + + ".ods.opinsights.azure.com" + + azure_constants.API_LOG + + "?api-version=2016-04-01" + ) + + +# Build the API signature +def _build_log_request_signature( + customer_id, + shared_key, + date, + content_length, + method, + content_type, + resource, +): + x_headers = "x-ms-date:" + date + string_to_hash = ( + method + + "\n" + + str(content_length) + + "\n" + + content_type + + "\n" + + x_headers + + "\n" + + resource + ) + bytes_to_hash = bytes(string_to_hash, "UTF-8") + decoded_key = base64.b64decode(shared_key) + encoded_hash = base64.b64encode( + hmac.new(decoded_key, bytes_to_hash, digestmod=hashlib.sha256).digest() + ) + encoded_hash = encoded_hash.decode("utf-8") + authorization = "SharedKey {}:{}".format(customer_id, encoded_hash) + return authorization + + +def _test_log_workspace_key(customer_id, shared_key): + uri = _build_log_request_uri(customer_id) + body = '[{"Property 1": "test1"}]' + table_name = "test_workspace_logs" + headers = _build_log_request_header( + customer_id, shared_key, len(body), table_name, uri + ) + succeed = False + try: + response = requests.post(uri, data=body, headers=headers) + if 200 <= response.status_code <= 299: + succeed = True + finally: + return succeed + + +def _post_logs_to_logs_analytics( + customer_id, + shared_key, + instance_name, + body, + log_type, + instance_type, + resource_uri, +): + uri = _build_log_request_uri(customer_id) + body = body.encode("utf-8") + headers = _build_log_request_header( + customer_id, shared_key, len(body), log_type, resource_uri + ) + + response = _requests_retry_session().post(uri, data=body, headers=headers) + if 200 <= response.status_code <= 299: + display( + '\tSuccessfully upload "{}" records for resource type "{}", ' + 'instance: "{}\'s" log to table: "{}" '.format( + len(json.loads(body)), instance_type, instance_name, log_type + ) + ) + else: + raise Exception( + '\tFail to upload "{}" to table: "{}" with status code: "{}" and ' + 'error msg: "{}"'.format( + instance_name, log_type, response.status_code, response.text + ) + ) + + +# https://urllib3.readthedocs.io/en/latest/reference/urllib3.util.html +# Explains how retry works +def _requests_retry_session( + retries=LOGS_POST_RETRY_CAP, + backoff_factor=LOGS_BACKOFF_FACTOR, + session=None, +): + """ + Get a retry request session + :arg: + - retries: number of retries + - backoff_factor: for exponential backoff + - status_forcelist: server error code list + Now retry on three cases based on the following doc: + https://docs.microsoft.com/en-us/azure/azure-monitor/platform/ + data-collector-api#return-codes + - session: https request retry session + :return: retry session + """ + session = session or requests.Session() + max_retries = Retry( + total=retries, + read=retries, + connect=retries, + backoff_factor=backoff_factor, + status_forcelist=( + HTTPStatus.TOO_MANY_REQUESTS, + HTTPStatus.INTERNAL_SERVER_ERROR, + HTTPStatus.SERVICE_UNAVAILABLE, + ), + allowed_methods=frozenset(["POST"]), + ) + adapter = HTTPAdapter(max_retries=max_retries) + session.mount("https://", adapter) + return session + + +# ############################################################################## +# Export data JSON schema +# ############################################################################## + + +EXPORT_DATA_JSON_SCHEMA = { + "type": "object", + "properties": { + "exportType": {"type": "string"}, + "dataTimestamp": {"type": "string"}, + "dataController": { + "type": "object", + "properties": { + "instanceName": {"type": "string"}, + "subscriptionId": {"type": "string"}, + "resourceGroupName": {"type": "string"}, + "location": {"type": "string"}, + "publicKey": {"type": "string"}, + "k8sRaw": {"type": "object"}, + }, + "required": [ + "instanceName", + "subscriptionId", + "resourceGroupName", + "location", + "publicKey", + "k8sRaw", + ], + }, + "deletedInstances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "uid": {"type": "string"}, + "instanceName": {"type": "string"}, + "instanceNamespace": {"type": "string"}, + "kind": {"type": "string"}, + }, + "required": [ + "uid", + "instanceName", + "instanceNamespace", + "kind", + ], + }, + }, + "instances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "instanceName": {"type": "string"}, + "instanceNamespace": {"type": "string"}, + "kind": {"type": "string"}, + "creationTimestamp": {"type": "string"}, + "k8sRaw": {"type": "object"}, + }, + "required": [ + "instanceName", + "instanceNamespace", + "kind", + "creationTimestamp", + "k8sRaw", + ], + }, + }, + "data": {"type": "array"}, + }, + "required": [ + "exportType", + "dataTimestamp", + "dataController", + "deletedInstances", + "instances", + ], +} + +EXPORT_FILE_DICT_KEY = {"exportType", "data", "dataTimestamp"} +""" +Export file dictionary keys +""" + +EXPORT_SANITIZERS = [] +""" +Export file sanitizer rules. +example: SanitizerRule(".*externalEndpoint") +""" + + +# ############################################################################# +# Upload status functions +# ############################################################################# + +UPLOAD_STATUS_FILENAME = "upload-status.json" +""" +Upload status file name +""" + + +def get_export_timestamp_from_file(export_type): + """ + :param export_type: export type + Returns the specified value from the upload status file and schema_valid, + which represents whether or not the file schema was valid when checked. + """ + try: + upload_status_file_path = _get_upload_status_file_path( + UPLOAD_STATUS_FILENAME + ) + with open( + upload_status_file_path, encoding="utf-8" + ) as upload_status_file: + upload_status_json = json.load(upload_status_file) + + if upload_status_json: + str_timestamp = upload_status_json.get(export_type).get( + "data_timestamp" + ) + stamp = datetime.datetime.strptime( + str_timestamp, "%Y-%m-%d %H:%M:%S.%f" + ) + log.debug("Export timestamp from file: %s", stamp) + return stamp + # return datetime.datetime.fromisoformat(str_timestamp) + + except BaseException as e: + log.info(e) + print(e) + raise ValueError("Could not retrieve data from the upload status file.") + + +def get_export_timestamp(export_type): + start_time_from_status_file = get_export_timestamp_from_file(export_type) + + default_start_time = datetime.datetime.utcnow() - datetime.timedelta( + minutes=DEFAULT_QUERY_WINDOW[export_type] + ) + + # Choose later time as start time to avoid export and upload dup records + if start_time_from_status_file > default_start_time: + return start_time_from_status_file + else: + return default_start_time + + +def update_upload_status_file(export_type, data_timestamp): + """ + Update the status file with data timestamp uploaded. + :param data_timestamp: string + """ + try: + upload_status_file_path = _get_upload_status_file_path( + UPLOAD_STATUS_FILENAME + ) + with open( + upload_status_file_path, "r+", encoding="utf-8" + ) as upload_status_file: + upload_status_json = json.load(upload_status_file) + + if data_timestamp: + upload_status_json[export_type][ + "data_timestamp" + ] = data_timestamp + upload_status_json[export_type][ + "upload_timestamp" + ] = datetime.datetime.utcnow().isoformat( + sep=" ", timespec="milliseconds" + ) + + upload_status_file.seek(0) + json.dump(upload_status_json, upload_status_file, indent=4) + upload_status_file.truncate + print( + "Update status file {0} data_timestamp to {1}".format( + export_type, data_timestamp + ) + ) + + except BaseException: + raise ValueError("Upload status file was not able to be updated.") + + +def _get_upload_status_file_path(filename): + """ + Returns the upload status file's path and schema_valid, which represents + whether or not the input file was valid. If the input file did not follow + the expected schema, then the file will be rewritten with default values. + """ + from datetime import datetime, timedelta + + status_file = get_config_file_path(filename) + status_file_exists = os.path.exists(status_file) + schema_valid = False + + if status_file_exists: + schema_valid = validate_upload_status_file(status_file) + + log.info( + "Upload status file={0} status_file_exists={1}, schema_valid={2}".format( + status_file, status_file_exists, schema_valid + ) + ) + + if not status_file_exists or not schema_valid: + upload_timestamp = datetime.utcnow() + + new_upload_status_file_content = { + "metrics": { + "upload_timestamp": upload_timestamp.isoformat( + sep=" ", timespec="milliseconds" + ), + "data_timestamp": ( + upload_timestamp + - timedelta(minutes=DEFAULT_METRIC_QUERY_WINDOW_IN_MINUTE) + ).isoformat(sep=" ", timespec="milliseconds"), + }, + "logs": { + "upload_timestamp": upload_timestamp.isoformat( + sep=" ", timespec="milliseconds" + ), + "data_timestamp": ( + upload_timestamp + - timedelta(minutes=DEFAULT_LOG_QUERY_WINDOW_IN_MINUTE) + ).isoformat(sep=" ", timespec="milliseconds"), + }, + "usage": { + "upload_timestamp": upload_timestamp.isoformat( + sep=" ", timespec="milliseconds" + ), + "data_timestamp": ( + upload_timestamp + - timedelta(minutes=DEFAULT_USAGE_QUERY_WINDOW_IN_MINUTE) + ).isoformat(sep=" ", timespec="milliseconds"), + }, + } + + with open( + status_file, mode="w", encoding="utf-8" + ) as new_upload_status_file: + json.dump( + new_upload_status_file_content, new_upload_status_file, indent=4 + ) + print("Upload status file: {0} is saved.".format(status_file)) + + return status_file + + +def validate_upload_status_file(path): + """ + :param path: string value path of the upload status file + Returns whether or not the input upload status file follows the expected + JSON schema. + """ + try: + with open(path, encoding="utf-8") as input_file: + data = json.load(input_file) + validate(data, UPLOAD_STATUS_FILE_SCHEMA) + return True + except Exception as e: + print(e) + return False + + +UPLOAD_STATUS_FILE_SCHEMA = { + "type": "object", + "properties": { + "metrics": { + "type": "object", + "properties": { + "upload_timestamp": { + "type": "string", + "maxLength": 23, + "minLength": 23, + }, + "data_timestamp": { + "type": "string", + "maxLength": 23, + "minLength": 23, + }, + }, + "required": ["upload_timestamp", "data_timestamp"], + }, + "logs": { + "type": "object", + "properties": { + "upload_timestamp": { + "type": "string", + "maxLength": 23, + "minLength": 23, + }, + "data_timestamp": { + "type": "string", + "maxLength": 23, + "minLength": 23, + }, + }, + "required": ["upload_timestamp", "data_timestamp"], + }, + "usage": { + "type": "object", + "properties": { + "upload_timestamp": { + "type": "string", + "maxLength": 23, + "minLength": 23, + }, + "data_timestamp": { + "type": "string", + "maxLength": 23, + "minLength": 23, + }, + }, + "required": ["upload_timestamp", "data_timestamp"], + }, + }, + "required": ["metrics", "logs", "usage"], +} + + +def add_last_upload_flag(path): + """ + Updates the usage file at path with a flag to indicate last usage upload + :param path: string value path of the usage file + Returns: None, modifies usage file at path + """ + try: + if not os.path.exists(path): + log.info("Unable to find usage file '{}'.".format(path)) + return + + with open(path, encoding="utf-8") as usage_file: + data = json.load(usage_file) + + data[LAST_USAGE_UPLOAD_FLAG] = 1 + + with open(path, "w") as usage_file: + json.dump(data, usage_file) + except BaseException: + log.info("Failed to add last usage flag.") + + +def format_sqlmi_tier_for_azure(tier): + """ + Given a tier, return it in a format expected by Azure (e.g: translate + 'bc' to 'BusinessCritical') + """ + + if tier.lower() in (t.lower() for t in SQLMI_TIER_GENERAL_PURPOSE_ALL): + return SQLMI_TIER_GENERAL_PURPOSE_AZURE + + if tier.lower() in (t.lower() for t in SQLMI_TIER_BUSINESS_CRITICAL_ALL): + return SQLMI_TIER_BUSINESS_CRITICAL_AZURE + + return tier + + +def format_sqlmi_license_type_for_azure(license_type): + """ + Given a license type, return it in a format expected by Azure (e.g: + translate 'licenseincluded' to 'LicenseIncluded') + """ + + if license_type.lower() == SQLMI_LICENSE_TYPE_BASE_PRICE.lower(): + return SQLMI_LICENSE_TYPE_BASE_PRICE_AZURE + + if license_type.lower() == SQLMI_LICENSE_TYPE_LICENSE_INCLUDED.lower(): + return SQLMI_LICENSE_TYPE_LICENSE_INCLUDED_AZURE + + if license_type.lower() == SQLMI_LICENSE_TYPE_DISASTER_RECOVERY.lower(): + return SQLMI_LICENSE_TYPE_DISASTER_RECOVERY_AZURE + + return license_type + + +def set_azure_upload_status(data_controller, data_controller_azure): + """ + Set azure upload status in data_controller + ("ksRaw.status.azure.upload_status"). Copy it from the azure resource, if + any. Otherwise set it empty. + """ + + create_azure_status_key_if_missing(data_controller) + + if data_controller_azure is None: + return + + try: + azure_status = data_controller_azure["properties"]["k8sRaw"]["status"][ + "azure" + ]["uploadStatus"] + except KeyError: + return + + data_controller["k8sRaw"]["status"]["azure"]["uploadStatus"] = azure_status + + +def update_azure_upload_status( + data_controller, export_type, last_upload_time, ex +): + """ + Update the "uploadStatus" on the Azure resource. + :param client: The client used to create/update the Azure resource. + :param data_controller: The data_controller from the export file. + :param export_type: The export type (e.g "usage", "logs", "metrics"). + :param last_upload_time: If upload was successful (no exception), this + will be the "lastUploadTime" in Azure. + :param ex: The exception for the upload, if any. + """ + + create_azure_status_key_if_missing(data_controller) + msg = "Success" + if ex is not None: + previousSuccessTimestamp = data_controller["k8sRaw"]["status"]["azure"][ + "uploadStatus" + ]["{export_type}".format(export_type=export_type)]["lastUploadTime"] + msg = ex + upload_status = { + "lastUploadTime": previousSuccessTimestamp, + "message": str(msg) + + " " + + last_upload_time.strftime("%Y-%m-%dT%H:%M:%SZ"), + } + else: + upload_status = { + "lastUploadTime": last_upload_time.strftime("%Y-%m-%dT%H:%M:%SZ"), + "message": str(msg), + } + + data_controller["k8sRaw"]["status"]["azure"]["uploadStatus"][ + "{export_type}".format(export_type=export_type) + ] = upload_status + + # client.create_dc_azure_resource(data_controller) + + +def create_azure_status_key_if_missing(data_controller): + """ + Create "k8sRaw.status.azure" keys if missing. + """ + + if "k8sRaw" not in data_controller: + data_controller["k8sRaw"] = {} + + if "status" not in data_controller["k8sRaw"]: + data_controller["k8sRaw"]["status"] = {} + + if "azure" not in data_controller["k8sRaw"]["status"]: + data_controller["k8sRaw"]["status"]["azure"] = {} + + if "uploadStatus" not in data_controller["k8sRaw"]["status"]["azure"]: + data_controller["k8sRaw"]["status"]["azure"]["uploadStatus"] = {} + + # Default to the minimum date possible, and empty message/state + default_upload_status = { + "lastUploadTime": datetime.date.min.strftime("%Y-%m-%d %H:%M:%S"), + "message": "", + } + + if ( + "metrics" + not in data_controller["k8sRaw"]["status"]["azure"]["uploadStatus"] + ): + data_controller["k8sRaw"]["status"]["azure"]["uploadStatus"][ + "metrics" + ] = default_upload_status + + if ( + "usage" + not in data_controller["k8sRaw"]["status"]["azure"]["uploadStatus"] + ): + data_controller["k8sRaw"]["status"]["azure"]["uploadStatus"][ + "usage" + ] = default_upload_status + + if ( + "logs" + not in data_controller["k8sRaw"]["status"]["azure"]["uploadStatus"] + ): + data_controller["k8sRaw"]["status"]["azure"]["uploadStatus"][ + "logs" + ] = default_upload_status + + +def check_prompt_export_output_file(file_path, force): + """ + Checks if export output file exists, and prompt if necessary. + """ + # Check if file exists + export_file_exists = True + overwritten = False + + while export_file_exists and not overwritten: + export_file_exists = os.path.exists(file_path) + if not force and export_file_exists: + try: + yes = prompt_y_n( + "{} exists already, do you want to overwrite it?".format( + file_path + ) + ) + except NoTTYException as e: + raise NoTTYException( + "{} Please make sure the file does not exist in a" + " non-interactive environment".format(e) + ) + + overwritten = True if yes else False + + if overwritten: + os.remove(file_path) + else: + file_path = prompt_for_input( + "Please provide a file name with the path: " + ) + export_file_exists = True + overwritten = False + + elif force: + overwritten = True + if export_file_exists: + os.remove(file_path) + + return file_path diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/models/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/models/__init__.py new file mode 100644 index 00000000000..77350c40ee9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/models/__init__.py @@ -0,0 +1,5 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/models/spn.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/models/spn.py new file mode 100644 index 00000000000..e8a61dbda81 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/azure/models/spn.py @@ -0,0 +1,15 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + + +class Spn(object): + authority = "" + tenant_id = "" + client_id = "" + client_secret = "" + + def __init__(self, **entries): + self.__dict__.update(entries) diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/client.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/client.py new file mode 100644 index 00000000000..6e047af6e3c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/client.py @@ -0,0 +1,2744 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +from azext_arcdata.ad_connector.constants import ( + ACCOUNT_PROVISIONING_MODE_AUTOMATIC, +) +from azext_arcdata.ad_connector.util import ( + _parse_nameserver_addresses, + _parse_num_replicas, + _parse_prefer_k8s_dns, +) +from azext_arcdata.core.constants import ( + DEFAULT_IMAGE_POLICY, + DEFAULT_IMAGE_TAG, + DEFAULT_REGISTRY, + DEFAULT_REPOSITORY, + INDIRECT, +) +from azext_arcdata.core.util import BOOLEAN_STATES +from azext_arcdata.vendored_sdks.arm_sdk.azure.constants import ( + API_VERSION, + ARC_DATASERVICES_EXTENSION_RELEASE_TRAIN, + ARC_DATASERVICES_EXTENSION_VERSION, + EXT_VERSION_ARM_API_VERSION_MAP, + IMAGE_TAG_EXT_VERSION_MAP, + INSTANCE_TYPE_AD_CONNECTOR, + INSTANCE_TYPE_DATA_CONTROLLER, + INSTANCE_TYPE_FAILOVER_GROUP, + INSTANCE_TYPE_SQL, +) +from azext_arcdata.sqlmi.constants import ( + SQLMI_BC_DEFAULT_REPLICAS, + SQLMI_GP_DEFAULT_REPLICAS, + SQLMI_TIER_BUSINESS_CRITICAL, + SQLMI_TIER_BUSINESS_CRITICAL_SHORT, + SQLMI_TIER_GENERAL_PURPOSE, + SQLMI_TIERS_MAP, + SQLMI_TIMEZONE, + SQLMI_TRACEFLAGS, + SQLMI_MEMORYLIMIT, +) +from azext_arcdata.sqlmi.settings import ( + parse_traceflags, + parse_dataGitoIntInMb, +) +from azext_arcdata.sqlmi.util import _parse_supported_ad_encryption_types +from ._util import ( + conditional_retry, + dict_to_dot_notation, + wait, + poll_provisioning_state, +) +from ._arm_template import ARMTemplate +from .azure.azure_resource_client import AzureResourceClient +from ._arm_client import arm_clients +from .swagger.swagger_1_2_0 import AzureArcDataManagementClient +from .swagger.swagger_1_2_0.models import ( + ActiveDirectoryConnectorResource, + ActiveDirectoryConnectorProperties, + ActiveDirectoryConnectorSpec, + ActiveDirectoryConnectorDomainDetails, + ActiveDirectoryConnectorDNSDetails, + ActiveDirectoryDomainControllers, + ActiveDirectoryDomainController, + DataControllerResource, + FailoverGroupResource, + FailoverGroupProperties, + FailoverGroupSpec, + SqlManagedInstance, + ExtendedLocation, + SqlManagedInstanceProperties, + SqlManagedInstanceSku, + BasicLoginInformation, + SqlManagedInstanceK8SRaw, + SqlManagedInstanceK8SSpec, + K8SScheduling, + K8SSchedulingOptions, + K8SResourceRequirements, +) + +from azext_arcdata.core.env import Env +from azext_arcdata.core.prompt import prompt_assert +from knack.log import get_logger + +import azure.core.exceptions as exceptions +import os +import json +import requests +import pydash as _ +import time + +__all__ = ["ArmClient"] + +logger = get_logger(__name__) + + +class ArmClient(object): + def __init__(self, azure_credential, subscription): + self._arm_clients = arm_clients(subscription, azure_credential) + self._azure_credential = azure_credential + self._bearer = azure_credential.get_token().token + self._subscription_id = subscription + self._mgmt_client = AzureArcDataManagementClient( + subscription_id=self._subscription_id, + ) + self._resource_client = AzureResourceClient(self._subscription_id) + self._headers = { + "Authorization": "Bearer {}".format(self._bearer), + "Content-Type": "application/json", + } + + # ======================================================================== # + # == DC ================================================================== # + # ======================================================================== # + + def create_dc( + self, + resource_group, + name, + custom_location, + connectivity_mode, + cluster_name, + namespace, + path, + storage_class=None, + infrastructure=None, + image_tag=None, + auto_upload_metrics=None, + auto_upload_logs=None, + polling=True, + least_privilege=None, + ): + dc_client = self._arm_clients.dc + try: + # -- check existing dc to avoid dc recreate -- + result = dc_client.check_if_dc_exists(name, resource_group) + if result: + raise Exception( + f"A Data Controller {name} has already been created." + ) + + config_file = os.path.join(path, "control.json") + logger.debug("Configuration profile: %s", config_file) + + with open(config_file, encoding="utf-8") as input_file: + control = dict_to_dot_notation(json.load(input_file)) + + # -- high order control.json, merge in input to control.json -- + spec = control.spec + spec.settings.controller.displayName = name + spec.credentials.controllerAdmin = "controller-login-secret" + + # -- docker -- + + # Set to null initially if not specified anywhere + image_tag = ( + image_tag + or Env.get("DOCKER_IMAGE_TAG") + or (spec.docker.imageTag if hasattr(spec, "docker") else None) + ) + + extension = dc_client.get_extension(cluster_name, resource_group) + if extension: + # Extension exists + + extension_name = extension["name"] + train = extension["properties"].get( + "releaseTrain", ARC_DATASERVICES_EXTENSION_RELEASE_TRAIN + ) + + # NOTE: We disregard the EXTENSION_VERSION env var if the extension exists + version = extension["properties"].get("version") + + extension_docker_spec: dict = ( + dc_client.get_docker_details_from_extension( + cluster_name, resource_group + ) + ) + + # These settings may not be in the extension ARM resource so use defaults + registry = extension_docker_spec.get( + "registry", DEFAULT_REGISTRY + ) + repository = extension_docker_spec.get( + "repository", DEFAULT_REPOSITORY + ) + image_pull_policy = extension_docker_spec.get( + "imagePullPolicy", DEFAULT_IMAGE_POLICY + ) + + if image_tag: + # User specified a docker image tag via either CLI arg or env var or control.json + + # MCR + if registry == DEFAULT_REGISTRY: + # Check if the image tag is supported + if image_tag not in IMAGE_TAG_EXT_VERSION_MAP.keys(): + raise Exception( + f"Image tag {image_tag} is not supported by this version of the arcdata extension." + ) + + # Check if the extension version is aligned with the docker image tag + if version != IMAGE_TAG_EXT_VERSION_MAP.get(image_tag): + raise Exception( + f"The currently installed Arc data services extension is using version {version} " + f"The docker image tag needs to be aligned to this version." + f"Please use the corresponding docker image tag for this extension version: {self._get_image_tag_from_extension_version(version)}.\n " + f"See https://aka.ms/arc-data-services-version-log for more information." + ) + else: + # Get the extension's docker image tag + extension_image_tag = extension_docker_spec.get( + "imageTag" + ) + + # Make sure the user specified docker image tag is aligned with the extension's docker image tag + if image_tag != extension_image_tag: + raise Exception( + f"The currently installed Arc data services extension is using image tag {extension_image_tag} \n" + f"The specified Arc data controller image tag needs to be the same. " + ) + else: + # User did not specify a docker image tag via either CLI arg or env var + + extension_image_tag = extension_docker_spec.get( + "imageTag", None + ) + + if extension_image_tag: + # Use the extension's docker image tag to deploy the DC if it exists + image_tag = extension_image_tag + else: + # Find a docker image tag that is supported by the extension + image_tag = self._get_image_tag_from_extension_version( + version + ) + + else: + # Extension does not exist + + registry = ( + Env.get("DOCKER_REGISTRY") + or ( + spec.docker.registry + if hasattr(spec, "docker") + else None + ) + or DEFAULT_REGISTRY + ) + repository = ( + Env.get("DOCKER_REPOSITORY") + or ( + spec.docker.repository + if hasattr(spec, "docker") + else None + ) + or DEFAULT_REPOSITORY + ) + image_pull_policy = ( + Env.get("DOCKER_IMAGE_POLICY") + or ( + spec.docker.imagePullPolicy + if hasattr(spec, "docker") + else None + ) + or DEFAULT_IMAGE_POLICY + ) + + extension_name = f"{custom_location}-ext" + train = os.getenv( + "ARC_DATASERVICES_EXTENSION_RELEASE_TRAIN", + ARC_DATASERVICES_EXTENSION_RELEASE_TRAIN, + ) + + if image_tag: + # User specified a docker image tag via either CLI arg or env var or control.json + + if registry == DEFAULT_REGISTRY: + # User is using MCR + + # Check if the image tag is supported + if image_tag not in IMAGE_TAG_EXT_VERSION_MAP.keys(): + raise Exception( + f"Image tag {image_tag} is not supported by this version of the arcdata extension." + ) + + # Get extension version if specified via env var + version = os.getenv( + "ARC_DATASERVICES_EXTENSION_VERSION_TAG" + ) + + # Check if the extension version is aligned with the docker image tag + if ( + version + and version + != IMAGE_TAG_EXT_VERSION_MAP.get(image_tag) + ): + raise Exception( + f"The specified Arc data controller image tag {image_tag} is not aligned " + f"to the given Arc data services extension version {version} \n" + f"Please see https://aka.ms/arc-data-services-version-log for more information." + ) + else: + # If not specified, we get the corresponding extension version from the docker image tag + version = IMAGE_TAG_EXT_VERSION_MAP.get( + image_tag, ARC_DATASERVICES_EXTENSION_VERSION + ) + else: + # User is using a private registry + # Extension doesn't exist + + # Get extension version if specified via env var + version = os.getenv( + "ARC_DATASERVICES_EXTENSION_VERSION_TAG", None + ) + + if not version: + # If not specified, we try to get the corresponding extension version from the docker image tag + version = IMAGE_TAG_EXT_VERSION_MAP.get( + image_tag, ARC_DATASERVICES_EXTENSION_VERSION + ) + + else: + # User did not specify a docker image tag via either CLI arg or env var + # Nor could we find the Arc data services extension in the cluster + + # Get extension version if specified via env var + version = os.getenv( + "ARC_DATASERVICES_EXTENSION_VERSION_TAG", + ARC_DATASERVICES_EXTENSION_VERSION, + ) + + # Try to the corresponding image tag so that the DC and helm chart are aligned + image_tag = self._get_image_tag_from_extension_version( + version + ) + + spec.docker = dict_to_dot_notation( + { + "registry": registry, + "repository": repository, + "imageTag": image_tag, + "imagePullPolicy": image_pull_policy, + } + ) + + # -- azure -- + azure = spec.settings.azure + azure.connectionMode = connectivity_mode + azure.location = dc_client.get_connected_cluster_location( + cluster_name, resource_group + ) + azure.resourceGroup = resource_group + azure.subscription = self._subscription_id + + # -- log analytics -- + log_analytics = {"workspace_id": "", "primary_key": ""} + + if auto_upload_metrics is not None: + azure.autoUploadMetrics = auto_upload_metrics + if auto_upload_logs is not None: + azure.autoUploadLogs = auto_upload_logs + + if BOOLEAN_STATES(auto_upload_logs): + w_id = Env.get("WORKSPACE_ID") + w_key = Env.get("WORKSPACE_SHARED_KEY") + if not w_id: + w_id = prompt_assert("Log Analytics workspace ID: ") + if not w_key: + w_key = prompt_assert("Log Analytics primary key: ") + + log_analytics["workspace_id"] = w_id + log_analytics["primary_key"] = w_key + + # -- infrastructure -- + spec.infrastructure = infrastructure or spec.infrastructure + spec.infrastructure = spec.infrastructure or "onpremises" + + # -- storage -- + storage = spec.storage + storage.data.className = storage_class or storage.data.className + storage.logs.className = storage_class or storage.logs.className + + if not storage.data.className or not storage.logs.className: + storage_class = prompt_assert("Storage class: ") + storage.data.className = storage_class + storage.logs.className = storage_class + + # -- least privilege -- + is_least_privilege = str(least_privilege).lower() == "true" + if is_least_privilege: + print( + "Onboarding in least privileges mode, please ensure you have " + "pre-created the kubernetes \nservice accounts with the access " + "control pre-requisites.\n" + "More details:\n" + "https://aka.ms/arcdata_least_privilege" + ) + + # -- set api version -- + api_version = EXT_VERSION_ARM_API_VERSION_MAP.get( + version, API_VERSION + ) + + properties = { + "metrics_credentials": Env.get_log_and_metrics_credentials(), + "custom_location": custom_location, + "cluster_name": cluster_name, + "extension_name": extension_name, + "extension_train": train, + "extension_version": version, + "is_least_privilege": is_least_privilege, + "resource_group": resource_group, + "api_version": api_version, + "log_analytics": log_analytics, + "namespace": dc_client.resolve_namespace( + namespace, + custom_location, + cluster_name, + resource_group, + ), + "dc_name": name, + } + + # -- attempt to create cluster -- + print("") + print("Deploying data controller") + print("") + print( + "NOTE: Data controller creation can take a significant " + "amount of time depending \non configuration, network " + "speed, and the number of nodes in the cluster." + ) + print("") + + # -- make dc create request via ARM -- + tmpl = ARMTemplate(dc_client).render_dc(control.to_dict, properties) + + return dc_client.create(name, resource_group, tmpl, polling=polling) + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def __create_depreciated_dc__( + self, + resource_group, + name, + location, + custom_location, + connectivity_mode, + path, + storage_class=None, + infrastructure=None, + image_tag=None, + auto_upload_metrics=None, + auto_upload_logs=None, + polling=True, + ): + """ + This is the original dc create that expected the following to already + be created: + - extensions + - roll assignments + - custom-location + + This will eventually be removed. + """ + dc_client = self._arm_clients.dc + try: + # -- check existing dc to avoid dc recreate -- + result = dc_client.check_if_dc_exists(name, resource_group) + if result: + raise Exception( + f"A Data Controller {name} has already been created." + ) + + # -- check that the extension is installed and get supported ARM API version-- + api_version = dc_client.resolve_api_version( + INSTANCE_TYPE_DATA_CONTROLLER, custom_location, resource_group + ) + + config_file = os.path.join(path, "control.json") + logger.debug("Configuration profile: %s", config_file) + + with open(config_file, encoding="utf-8") as input_file: + control = dict_to_dot_notation(json.load(input_file)) + + # -- high order control.json, merge in input to control.json -- + spec = control.spec + spec.settings.controller.displayName = name + spec.credentials.controllerAdmin = "controller-login-secret" + + # -- docker -- + user_specified_image_tag = ( + image_tag + or Env.get("DOCKER_IMAGE_TAG") + or (spec.docker.imageTag if hasattr(spec, "docker") else None) + ) + + cluster_name = dc_client.get_cluster_name( + name, resource_group, custom_location + ) + extension_docker_spec: dict = ( + dc_client.get_docker_details_from_extension( + cluster_name, resource_group + ) + ) + extension_image_tag = extension_docker_spec.get("imageTag") + + # Check if the user specified image tag is aligned with the extension image tag + if ( + user_specified_image_tag + and user_specified_image_tag != extension_image_tag + ): + raise Exception( + f"The specified Arc data controller image tag {user_specified_image_tag} does not match the Arc data services extension image tag {extension_image_tag}" + ) + + spec.docker = dict_to_dot_notation(extension_docker_spec) + + # -- azure -- + azure = spec.settings.azure + azure.connectionMode = connectivity_mode + azure.location = location + azure.resourceGroup = resource_group + azure.subscription = self._subscription_id + + # -- log analytics -- + log_analytics = None + if auto_upload_metrics is not None: + azure.autoUploadMetrics = auto_upload_metrics + if auto_upload_logs is not None: + azure.autoUploadLogs = auto_upload_logs + + if BOOLEAN_STATES(auto_upload_logs): + w_id = Env.get("WORKSPACE_ID") + w_key = Env.get("WORKSPACE_SHARED_KEY") + if not w_id: + w_id = prompt_assert("Log Analytics workspace ID: ") + if not w_key: + w_key = prompt_assert("Log Analytics primary key: ") + log_analytics = {"workspace_id": w_id, "primary_key": w_key} + + # -- infrastructure -- + spec.infrastructure = infrastructure or spec.infrastructure + spec.infrastructure = spec.infrastructure or "onpremises" + + # -- storage -- + storage = spec.storage + storage.data.className = storage_class or storage.data.className + storage.logs.className = storage_class or storage.logs.className + + if not storage.data.className or not storage.logs.className: + storage_class = prompt_assert("Storage class: ") + storage.data.className = storage_class + storage.logs.className = storage_class + + # -- attempt to create cluster -- + print("") + print("Deploying data controller") + print("") + print( + "NOTE: Data controller creation can take a significant " + "amount of time depending \non configuration, network " + "speed, and the number of nodes in the cluster." + ) + print("") + + return dc_client.__create_depreciated_dc__( + control, + resource_group, + custom_location, + Env.get_log_and_metrics_credentials(), + log_analytics, + polling=polling, + api_version=api_version, + ) + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def get_dc(self, resource_group, name): + return self._arm_clients.dc.get(name, resource_group) + + def list_dc(self, resource_group=None, custom_location=None): + return self._arm_clients.dc.list(resource_group, custom_location) + + def update_dc( + self, + resource_group, + name, + polling=True, + auto_upload_logs=None, + auto_upload_metrics=None, + desired_version=None, + ): + dc_client = self._arm_clients.dc + + # Apply the upgrade first if specified + if desired_version: + self.upgrade_dc( + name=name, + resource_group=resource_group, + target=desired_version, + polling=polling, + ) + + # Get the API version for the DC resource + dc = self.get_dc(name=name, resource_group=resource_group) + + # Get latest API version supported by extension + custom_location = dc.extended_location.name.split("/")[-1] + api_version = dc_client.resolve_api_version( + INSTANCE_TYPE_DATA_CONTROLLER, custom_location, resource_group + ) + + return self._resource_client.update_dc_resource( + name, + resource_group, + auto_upload_logs=auto_upload_logs, + auto_upload_metrics=auto_upload_metrics, + polling=polling, + api_version=api_version, + ) + + def delete_dc(self, resource_group, name, polling=True): + return self._arm_clients.dc.delete( + name, resource_group, polling=polling + ) + + def upgrade_dc( + self, + resource_group, + name, + target, + dry_run=False, + polling=True, + ): + self._validate_dc_child_mi_versions(resource_group, name) + + return self._arm_clients.dc.upgrade( + name, + resource_group, + target, + dry_run=dry_run, + polling=polling, + ) + + def export_upload_log_and_metrics_dc(self, path): + self._resource_client.upload_dc_resource(path) + + def _get_image_tag_from_extension_version(self, version): + # Reverse lookup image tag by given extension version + return { + version: image_tag + for image_tag, version in IMAGE_TAG_EXT_VERSION_MAP.items() + }.get(version, DEFAULT_IMAGE_TAG) + + def _validate_dc_child_mi_versions(self, resource_group, name): + """ + Validates that all Arc-enabled SQL Managed Instances in the cluster + are aligned to the same image version as the data controller. + """ + + dc = self.get_dc(name=name, resource_group=resource_group) + dc_image_version = dc.properties.k8_s_raw["spec"]["docker"]["imageTag"] + + custom_location = dc.extended_location.name.split("/")[-1] + + sqls = self.list_sqlmi(resource_group, custom_location) + for sql in sqls: + sql_version = sql.properties.k8_s_raw.additional_properties.get( + "status", [] + ).get("runningVersion") + + if sql_version and sql_version != dc_image_version: + raise Exception( + "All Arc-enabled SQL Managed Instances in the cluster must first be " + "aligned to the same image version as the data controller ({0}) " + "before the data controller can be upgraded.".format( + dc_image_version + ) + ) + + # ======================================================================== # + # == SQL MI ============================================================== # + # ======================================================================== # + + def get_mi_resource_url( + self, resource_group, resource_name, api_version=API_VERSION + ): + return ( + "https://management.azure.com/subscriptions/{}/resourceGroups" + "/{}/providers/Microsoft.AzureArcData/sqlManagedInstances/{}" + "?api-version={}".format( + self._subscription_id, + resource_group, + resource_name, + api_version, + ) + ) + + def create_sqlmi( + self, + name, + location, + custom_location, + resource_group, + path=None, + replicas=None, + orchestrator_replicas=None, + readable_secondaries=None, + sync_secondary_to_commit=None, + cores_limit=None, + cores_request=None, + memory_limit=None, + memory_request=None, + storage_class_data=None, + storage_class_logs=None, + storage_class_datalogs=None, + storage_class_backups=None, + storage_class_orchestrator_logs=None, + volume_size_data=None, + volume_size_logs=None, + volume_size_datalogs=None, + volume_size_backups=None, + volume_size_orchestrator_logs=None, + license_type=None, + tier=None, + dev=None, + ad_connector_name=None, + ad_connector_namespace=None, + ad_account_name=None, + keytab_secret=None, + ad_encryption_types=None, + tde_mode=None, + tde_protector_secret=None, + primary_dns_name=None, + primary_port_number=None, + secondary_dns_name=None, + secondary_port_number=None, + polling=True, + retention_days=None, + time_zone=None, + service_type=None, + trace_flags=None, + private_key_file=None, + # -- Not Support for now -- + # tde_protector_public_key_file=None, + # tde_protector_private_key_file=None, + # noexternal_endpoint=None, + # certificate_public_key_file=None, + # certificate_private_key_file=None, + # service_certificate_secret=None, + # admin_login_secret=None, + # collation=None, + # language=None, + # agent_enabled=None, + # labels=None, + # annotations=None, + # service_labels=None, + # service_annotations=None, + # storage_labels=None, + # storage_annotations=None, + ): + dc_client = self._arm_clients.dc + try: + # -- check existing sqlmi's to avoid duplicate sqlmi create -- + sqlmi_names = [] + for mi in self.list_sqlmi(resource_group): + sqlmi_names.append(mi.as_dict()["name"]) + if name in sqlmi_names: + raise ValueError( + "A Managed SQL Instance {name} has already been " + "created.".format(name=name) + ) + + # -- acquire sqlmi username/password -- + cred = Env.get_sqlmi_credentials() + + # Get latest API version supported by extension + api_version = dc_client.resolve_api_version( + INSTANCE_TYPE_SQL, custom_location, resource_group + ) + + # -- properties -- + # + BASE = os.path.dirname(os.path.realpath(__file__)) + TEMPLATE_DIR = os.path.join(BASE, "templates") + SQLMI_SPEC_MERGE = os.path.join( + TEMPLATE_DIR, "sqlmi-create-properties.json" + ) + with open(path or SQLMI_SPEC_MERGE, encoding="utf-8") as input_file: + all_prop = json.load(input_file) + logger.debug(json.dumps(all_prop, indent=4)) + k8s = all_prop["properties"]["k8sRaw"] + + # -- storage -- + if storage_class_data: + k8s["spec"]["storage"]["data"]["volumes"][0][ + "className" + ] = storage_class_data + if storage_class_logs: + k8s["spec"]["storage"]["logs"]["volumes"][0][ + "className" + ] = storage_class_logs + if storage_class_datalogs: + k8s["spec"]["storage"]["datalogs"]["volumes"][0][ + "className" + ] = storage_class_datalogs + if storage_class_backups: + k8s["spec"]["storage"]["backups"]["volumes"][0][ + "className" + ] = storage_class_backups + if storage_class_orchestrator_logs: + k8s["spec"]["storage"]["haOrchestratorLogs"]["volumes"][0][ + "className" + ] = storage_class_orchestrator_logs + if volume_size_data: + k8s["spec"]["storage"]["data"]["volumes"][0][ + "size" + ] = volume_size_data + if volume_size_logs: + k8s["spec"]["storage"]["logs"]["volumes"][0][ + "size" + ] = volume_size_logs + if volume_size_datalogs: + k8s["spec"]["storage"]["datalogs"]["volumes"][0][ + "size" + ] = volume_size_datalogs + if volume_size_backups: + k8s["spec"]["storage"]["backups"]["volumes"][0][ + "size" + ] = volume_size_backups + if volume_size_orchestrator_logs: + k8s["spec"]["storage"]["haOrchestratorLogs"]["volumes"][0][ + "size" + ] = volume_size_orchestrator_logs + + # ==== Billing ==================================================== + + # -- dev -- + if dev: + k8s["spec"]["dev"] = True + + # -- scheduling -- + if cores_limit: + k8s["spec"]["scheduling"]["default"]["resources"]["limits"][ + "cpu" + ] = cores_limit + if cores_request: + k8s["spec"]["scheduling"]["default"]["resources"]["requests"][ + "cpu" + ] = cores_request + if memory_limit: + k8s["spec"]["scheduling"]["default"]["resources"]["limits"][ + "memory" + ] = memory_limit + if memory_request: + k8s["spec"]["scheduling"]["default"]["resources"]["requests"][ + "memory" + ] = memory_request + + # -- tier & replicas -- + if tier and tier in [ + SQLMI_TIER_BUSINESS_CRITICAL, + SQLMI_TIER_BUSINESS_CRITICAL_SHORT, + ]: + tier = SQLMI_TIER_BUSINESS_CRITICAL + replicas = int(replicas or SQLMI_BC_DEFAULT_REPLICAS) + else: + tier = SQLMI_TIER_GENERAL_PURPOSE + replicas = SQLMI_GP_DEFAULT_REPLICAS + + k8s["spec"]["replicas"] = replicas + all_prop["sku"]["tier"] = tier + + if orchestrator_replicas: + k8s["spec"]["orchestratorReplicas"] = int(orchestrator_replicas) + # -- readable secondaries -- + if readable_secondaries: + k8s["spec"]["readableSecondaries"] = int(readable_secondaries) + + # -- synchronized secondary to commit -- + if sync_secondary_to_commit: + k8s["spec"]["syncSecondaryToCommit"] = int( + sync_secondary_to_commit + ) + + # -- license type -- + if license_type: + all_prop["properties"]["licenseType"] = license_type + + if retention_days is not None: + k8s["spec"]["backup"]["retentionPeriodInDays"] = int( + retention_days + ) + + # -- administrative -- + if time_zone: + k8s["spec"]["settings"][SQLMI_TIMEZONE] = time_zone + + if memory_limit: + k8s["spec"]["settings"][SQLMI_MEMORYLIMIT] = ( + parse_dataGitoIntInMb(memory_limit) + ) + if trace_flags: + k8s["spec"]["settings"][SQLMI_TRACEFLAGS] = parse_traceflags( + trace_flags + ) + + # -- Allow user to set DNS names and port numbers -- + if primary_port_number: + k8s["spec"]["services"]["primary"]["port"] = int( + primary_port_number + ) + if primary_dns_name: + k8s["spec"]["services"]["primary"]["dnsName"] = primary_dns_name + + if secondary_dns_name: + k8s["spec"]["services"]["readableSecondaries"][ + "dnsName" + ] = secondary_dns_name + if secondary_port_number: + k8s["spec"]["services"]["readableSecondaries"]["port"] = int( + secondary_port_number + ) + + # ===================== Active Directory ======================= # + if ad_connector_name: + k8s["spec"]["security"] = { + "activeDirectory": { + "accountName": ad_account_name, + "connector": { + "name": ad_connector_name, + "namespace": ad_connector_namespace, + }, + } + } + + if keytab_secret: + k8s["spec"]["security"]["activeDirectory"][ + "keytabSecret" + ] = keytab_secret + + if ad_encryption_types: + k8s["spec"]["security"]["activeDirectory"][ + "encryptionTypes" + ] = _parse_supported_ad_encryption_types( + ad_encryption_types + ) + + # ================== Transparent Data Encryption ================= # + if tde_mode: + k8s["spec"]["security"] = { + "transparentDataEncryption": { + "mode": tde_mode, + } + } + + if tde_protector_secret: + k8s["spec"]["security"]["transparentDataEncryption"] = { + "protectorSecret": tde_protector_secret, + } + + all_dcs = self.list_dc( + resource_group=resource_group, custom_location=custom_location + ) + dc_name_list = [] + dc_in_rg = {} + for curr_dc in all_dcs: + dc_name_list.append(curr_dc.as_dict()["name"]) + if not dc_name_list: + raise Exception( + "No data controller was found in the resource group." + ) + else: + dc_in_rg = self.get_dc(resource_group, dc_name_list[0]) + if not service_type: + service_type = dc_in_rg.properties.k8_s_raw["spec"][ + "services" + ][0]["serviceType"] + + k8s["spec"]["services"]["primary"]["type"] = service_type + k8s["spec"]["services"]["readableSecondaries"][ + "type" + ] = service_type + + # Force the namespace to be aligned with dc + # + if ( + dc_in_rg + and dc_in_rg.properties + and dc_in_rg.properties.k8_s_raw + and "metadata" in dc_in_rg.properties.k8_s_raw + and "namespace" in dc_in_rg.properties.k8_s_raw["metadata"] + ): + k8s["spec"]["metadata"]["namespace"] = ( + dc_in_rg.properties.k8_s_raw["metadata"]["namespace"] + ) + + # -- TODO: Remove Validation check -- + # + self._is_valid_sqlmi_create( + cores_limit=k8s["spec"]["scheduling"]["default"]["resources"][ + "limits" + ]["cpu"], + cores_request=k8s["spec"]["scheduling"]["default"]["resources"][ + "requests" + ]["cpu"], + memory_limit=k8s["spec"]["scheduling"]["default"]["resources"][ + "limits" + ]["memory"], + memory_request=k8s["spec"]["scheduling"]["default"][ + "resources" + ]["requests"]["memory"], + storage=k8s["spec"]["storage"], + license_type=all_prop["properties"]["licenseType"], + tier=all_prop["sku"]["tier"], + ) + + # TODO: Remove Compose additional properties. Values have been + # verified in the set + # + safe_set = { + "dev", + "storage", + "license_type", + "services", + "backup", + "settings", + "metadata", + "dev", + "readableSecondaries", + "syncSecondaryToCommit", + "security", + } + additional_properties = {} + for key in k8s["spec"]: + if key in safe_set: + additional_properties[key] = k8s["spec"][key] + + resources = k8s["spec"]["scheduling"]["default"]["resources"] + + # -- Build properties -- + properties = SqlManagedInstanceProperties( + data_controller_id=dc_in_rg.name, + admin=cred.username, + basic_login_information=BasicLoginInformation( + username=cred.username, + password=cred.password, + ), + license_type=all_prop["properties"]["licenseType"], + k8_s_raw=SqlManagedInstanceK8SRaw( + spec=SqlManagedInstanceK8SSpec( + additional_properties=additional_properties, + replicas=k8s["spec"]["replicas"], + scheduling=K8SScheduling( + default=K8SSchedulingOptions( + resources=K8SResourceRequirements( + limits={ + "cpu": resources["limits"]["cpu"], + "memory": resources["limits"]["memory"], + }, + requests={ + "cpu": resources["requests"]["cpu"], + "memory": resources["requests"][ + "memory" + ], + }, + ) + ) + ), + ) + ), + ) + + # -- Build final mi request model -- + sql_managed_instance = SqlManagedInstance( + location=location, + properties=properties, + extended_location=ExtendedLocation( + name=( + "/subscriptions/" + + self._subscription_id + + "/resourcegroups/" + + resource_group + + "/providers/microsoft.extendedlocation/" + "customlocations/" + custom_location + ), + type="CustomLocation", + ), + sku=SqlManagedInstanceSku( + tier=all_prop["sku"]["tier"], dev=None + ), + tags=all_prop["tags"], + ) + + print( + "Creating Arc-enabled SQL Managed Instance {}...".format(name) + ) + + self._mgmt_client.sql_managed_instances.begin_create( + resource_group_name=resource_group, + sql_managed_instance_name=name, + sql_managed_instance=sql_managed_instance, + polling=polling, + headers=self._headers, + api_version=api_version, + ) + + if polling: + poll_provisioning_state( + self.sqlmi_provisioning_completed, + resource_group, + name, + wait_time=300, + ) + + result = wait( + self.sqlmi_deployment_completed, + resource_group, + name, + ) + + if result != "Ready": + raise Exception("Deployment has timed out.") + + print( + "Successfully deployed Arc-enabled SQL Managed Instance {}".format( + name + ) + ) + return self.get_sqlmi(resource_group, name) + else: + print( + "Arc-enabled SQL Managed Instance {0} is being created. " + "Use `az sql mi-arc show -n {0} -g {1}` or the Azure Portal " + "to monitor the status of this instance.".format( + name, resource_group + ) + ) + + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise Exception( + "Arc-enabled SQL Managed Instance deployment failed. " + "Please check the status of this instance " + "in the Azure portal or restart this create process." + "\nError: {}".format(str(e)) + ) + + def sqlmi_deployment_completed(self, resource_group, name): + get_result = self.get_sqlmi(resource_group, name) + if ( + get_result + and get_result["properties"] + and get_result["properties"]["k8_s_raw"] + and "status" in get_result["properties"]["k8_s_raw"] + and "state" in get_result["properties"]["k8_s_raw"]["status"] + ): + return get_result["properties"]["k8_s_raw"]["status"]["state"] + else: + # Status is unknow, so we set it to "Wait" for now. + return "Wait" + + def sqlmi_provisioning_completed(self, resource_group, name): + get_result = self.get_sqlmi(resource_group, name) + if ( + get_result + and "properties" in get_result + and "provisioning_state" in get_result["properties"] + ): + return get_result["properties"]["provisioning_state"] + else: + # Default status + return "Accepted" + + def delete_sqlmi(self, rg_name, sqlmi_name, polling=True): + def is_sqlmi_deleted_in_arm(): + try: + return not self.get_sqlmi(rg_name, sqlmi_name) + except exceptions.HttpResponseError as e: + return True + + try: + print("Deleting Arc-enabled SQL Managed Instance...") + + result = conditional_retry( + condition_func=is_sqlmi_deleted_in_arm, + func=self._mgmt_client.sql_managed_instances.begin_delete, + resource_group_name=rg_name, + sql_managed_instance_name=sqlmi_name, + headers=self._headers, + polling=polling, + exception_type=exceptions.HttpResponseError, + ) + + if not result: + # Delete immediately succeeded + print( + f"Arc-enabled SQL Managed Instance {sqlmi_name} deleted successfully." + ) + return + + if polling: + # Polling + cnt = 0 + while not is_sqlmi_deleted_in_arm() and cnt < 300: + time.sleep(5) + cnt += 5 + + if not is_sqlmi_deleted_in_arm(): + raise Exception( + "Failed to delete the given Arc-enabled SQL Managed Instance. " + "Please check the status of this resource " + "in the Azure Portal or retry this operation." + ) + else: + print( + f"Arc-enabled SQL Managed Instance {sqlmi_name} deleted successfully." + ) + else: + print( + "Arc-enabled SQL Managed Instance {} is being deleted. " + "Use `az sql mi-arc show` or the Azure Portal " + "to monitor the status of the resource.".format(sqlmi_name) + ) + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def get_sqlmi(self, rg_name, sqlmi_name): + try: + result = self._mgmt_client.sql_managed_instances.get( + resource_group_name=rg_name, + sql_managed_instance_name=sqlmi_name, + headers=self._headers, + ).as_dict() + + logger.debug(json.dumps(result, indent=4)) + + return result + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def get_sqlmi_as_obj(self, rg_name, sqlmi_name): + try: + result = self._mgmt_client.sql_managed_instances.get( + resource_group_name=rg_name, + sql_managed_instance_name=sqlmi_name, + headers=self._headers, + ) + + logger.debug(json.dumps(result.as_dict(), indent=4)) + + return result + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def get_arc_datacontroller(self, resource_group): + """ + TODO: It is possible to have more than one data controller in a resource group. + This should be updated to query Azure once workitem #1316334 has been completed + """ + all_dcs = self.list_dc(resource_group=resource_group) + for curr_dc in all_dcs: + dc = curr_dc.as_dict() + dc_spec = dc["properties"]["k8_s_raw"] + if "status" in dc_spec and "state" in dc_spec["status"]: + if dc_spec["status"]["state"].lower() != "duplicateerror": + return dc_spec + + def upgrade_sqlmi( + self, + resource_group, + name, + desired_version, + dry_run=False, + no_wait=True, + ): + dc_client = self._arm_clients.dc + try: + if not desired_version: + dc = self.get_arc_datacontroller(resource_group) + desired_version = dc["spec"]["docker"]["imageTag"] + + # if dry_run is specified, we will simply print and return. + if dry_run: + if desired_version == "auto": + print("****Dry Run****\n") + print( + f"{name} would continually be upgraded automatically to the latest valid version.\n" + ) + else: + print("****Dry Run****\n") + print(f"{name} would be upgraded to {desired_version}.\n") + return + + url = self.get_mi_resource_url(resource_group, name) + + headers = { + "Authorization": "Bearer {}".format(self._bearer), + "Content-Type": "application/json", + } + + response = requests.get(url=url, headers=headers) + + if response.status_code == 404: + logger.debug(response.text) + raise Exception( + "Error while retrieving SQL MI instance with name '{}' in resource group '{}'".format( + name, resource_group + ) + ) + + sqlmi = response.json() + + # Get latest API version supported by extension + custom_location = ( + sqlmi.get("extendedLocation").get("name").split("/")[-1] + ) + api_version = dc_client.resolve_api_version( + INSTANCE_TYPE_SQL, custom_location, resource_group + ) + + url = self.get_mi_resource_url( + resource_group, name, api_version=api_version + ) + + # We cannot initiate a new PUT request if a previous request is still + # in the Accepted state. + # + if sqlmi["properties"]["provisioningState"] == "Accepted": + raise Exception( + "An existing operation is in progress. Please check your SQL MI's status in the Azure Portal." + ) + + if "update" not in sqlmi["properties"]["k8sRaw"]["spec"]: + sqlmi["properties"]["k8sRaw"]["spec"]["update"] = {} + + sqlmi["properties"]["k8sRaw"]["spec"]["update"][ + "desiredVersion" + ] = desired_version + + template = {} + template["location"] = sqlmi["location"] + template["extendedLocation"] = sqlmi["extendedLocation"] + template["properties"] = sqlmi["properties"] + template["sku"] = sqlmi["sku"] + + payload = json.dumps(template) + + # The mgmt library will currently strip away most of the spec when it converts the json payload to a ManagementInstance object. + # This not only removes the update section, but most of the rest of the spec as well. For now we will need to manually submit the ARM request. + # + response = requests.put(url=url, headers=headers, data=payload) + if response.status_code != 201: + logger.debug(response.text) + raise Exception("Error while upgrading SQL MI instance.") + + # Wait for the operation to be accepted + # + for _ in range(0, 60, 5): + mi = self.get_sqlmi(resource_group, name) + if mi["properties"]["provisioning_state"] != "Accepted": + break + else: + time.sleep(5) + + if mi["properties"]["provisioning_state"] == "Failed": + raise Exception( + "The ARM request to upgrade the SQL MI instance failed. Please check your SQL MI's status in the Azure Portal for more information." + ) + + if not no_wait: + # Wait for SQL MI status change to sync to Azure + time.sleep(15) + + # Setting a total wait time of 600 sec with a step of 5 sec + for _ in range(0, 600, 5): + if self.sqlmi_upgrade_completed(resource_group, name): + break + else: + time.sleep(5) + + if not self.sqlmi_upgrade_completed(resource_group, name): + raise Exception( + "SQLMI upgrade failed. Please check your SQL MI's status in the Azure Portal for more information." + ) + + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def sqlmi_upgrade_completed(self, resource_group, name): + url = self.get_mi_resource_url(resource_group, name) + + headers = { + "Authorization": "Bearer {}".format(self._bearer), + "Content-Type": "application/json", + } + + get_result = requests.get(url=url, headers=headers).json() + + return ( + _.get(get_result, "properties.k8sRaw.status.state", False) + == "Ready" + ) + + def update_sqlmi( + self, + name, + replicas=None, + orchestrator_replicas=None, + readable_secondaries=None, + sync_secondary_to_commit=None, + cores_limit=None, + cores_request=None, + memory_limit=None, + memory_request=None, + license_type=None, + tier=None, + polling=True, + labels=None, + annotations=None, + service_labels=None, + service_annotations=None, + agent_enabled=None, + trace_flags=None, + retention_days=None, + resource_group=None, + keytab_secret=None, + ad_encryption_types=None, + tde_mode=None, + tde_protector_secret=None, + ): + dc_client = self._arm_clients.dc + try: + # get_sqmlmi then mixin properties + response = self.get_sqlmi_as_obj(resource_group, name) + resources = ( + response.properties.k8_s_raw.spec.scheduling.default.resources + ) + additional_properties = ( + response.properties.k8_s_raw.spec.additional_properties + ) + if ( + response.properties.provisioning_state == "Accepted" + or response.properties.provisioning_state == "Deleting" + ): + raise Exception( + "An existing operation is in progress. Please check your " + "sqlmi's status in the Azure Portal." + ) + if cores_limit and cores_limit != resources.limits["cpu"]: + resources.limits["cpu"] = cores_limit + if cores_request and cores_request != resources.requests["cpu"]: + resources.requests["cpu"] = cores_request + if memory_limit and memory_limit != resources.limits["memory"]: + resources.limits["memory"] = memory_limit + if ( + memory_request + and memory_request != resources.requests["memory"] + ): + resources.requests["memory"] = memory_request + if ( + agent_enabled + and agent_enabled + != additional_properties["settings"]["sqlagent"]["enabled"] + ): + additional_properties["settings"]["sqlagent"][ + "enabled" + ] = agent_enabled + if ( + retention_days is not None + and retention_days + != additional_properties["backup"]["retentionPeriodInDays"] + ): + additional_properties["backup"]["retentionPeriodInDays"] = int( + retention_days + ) + if labels: + additional_properties["metadata"]["labels"] = labels + if annotations: + additional_properties["metadata"]["annotations"] = annotations + if service_labels: + additional_properties["services"]["primary"][ + "labels" + ] = service_labels + if service_annotations: + additional_properties["services"]["primary"][ + "annotations" + ] = service_annotations + if replicas: + if response.sku.tier == SQLMI_TIER_GENERAL_PURPOSE: + raise ValueError( + "Cannot update replica count. This Arc-enabled SQL Managed Instance is under the General Purpose pricing tier." + ) + + replicas = int(replicas) + prev_replicas = int(response.properties.k8_s_raw.spec.replicas) + if not ( + max(1, prev_replicas - 1) + <= replicas + <= min(3, prev_replicas + 1) + ): + raise ValueError( + "New replicas value must be +1 or -1 previous value" + ) + response.properties.k8_s_raw.spec.replicas = replicas + if orchestrator_replicas: + additional_properties["orchestratorReplicas"] = int( + orchestrator_replicas + ) + if readable_secondaries: + additional_properties["readableSecondaries"] = int( + readable_secondaries + ) + if sync_secondary_to_commit: + additional_properties["syncSecondaryToCommit"] = int( + sync_secondary_to_commit + ) + if license_type: + additional_properties["licenseType"] = license_type + response.properties.license_type = license_type + if tier: + if response.sku.tier == SQLMI_TIER_BUSINESS_CRITICAL: + raise ValueError( + "Cannot change SKU tier from Business Critical. " + "Changing tier is only supported from General Purpose " + "to Business Critical and when the number of replicas = 1" + ) + else: + tier = SQLMI_TIERS_MAP[tier] + additional_properties["tier"] = tier + response.sku.tier = tier + if keytab_secret: + additional_properties["security"]["activeDirectory"][ + "keytabSecret" + ] = keytab_secret + + if ad_encryption_types: + additional_properties["security"]["activeDirectory"][ + "encryptionTypes" + ] = _parse_supported_ad_encryption_types(ad_encryption_types) + + if tde_mode: + additional_properties["security"]["transparentDataEncryption"][ + "mode" + ] = tde_mode + + if tde_protector_secret: + additional_properties["security"]["transparentDataEncryption"][ + "protectorSecret" + ] = tde_protector_secret + + # -- Validation check -- provisioning is very slow so we check here + # + self._is_valid_sqlmi_create( + cores_limit=resources.limits.get("cpu", 4), + cores_request=resources.requests.get("cpu", 2), + memory_limit=resources.limits.get("memory", "8Gi"), + memory_request=resources.requests.get("memory", "4Gi"), + storage=additional_properties["storage"], + license_type=response.properties.license_type, + tier=response.sku.tier, + ) + + # Get latest API version supported by extension for PUT + custom_location = response.extended_location.name.split("/")[-1] + api_version = dc_client.resolve_api_version( + INSTANCE_TYPE_SQL, custom_location, resource_group + ) + + print( + "Updating Arc-enabled SQL Managed Instance {}...".format(name) + ) + + self._mgmt_client.sql_managed_instances.begin_create( + resource_group_name=resource_group, + sql_managed_instance_name=name, + sql_managed_instance=response, + headers=self._headers, + polling=polling, + api_version=api_version, + ) + + if polling: + # Poll K8s CR state + poll_provisioning_state( + self.sqlmi_provisioning_completed, + resource_group, + name, + wait_time=300, + ) + + # Wait for SQL MI status change to sync to Azure + time.sleep(15) + + result = wait( + self.sqlmi_deployment_completed, + resource_group, + name, + ) + + if result != "Ready": + raise Exception("Update operation has timed out.") + + print( + "Successfully updated Arc-enabled SQL Managed Instance {}".format( + name + ) + ) + return self.get_sqlmi(resource_group, name) + else: + print( + "Arc-enabled SQL Managed Instance {0} is being updated. " + "Use `az sql mi-arc show -n {0} -g {1}` or the Azure Portal " + "to monitor the status of your instance.".format( + name, resource_group + ) + ) + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise Exception( + "Arc-enabled SQL Managed Instance update failed. " + "Please check the instance's status " + "in the Azure portal or restart this update process." + "\nError: {}".format(str(e)) + ) + + def list_sqlmi(self, rg_name, cl_name=None): + try: + result = ( + self._mgmt_client.sql_managed_instances.list_by_resource_group( + rg_name, headers=self._headers + ) + ) + + # Filter by custom location if provided + if cl_name: + cl_resource_id = self._arm_clients.dc.get_custom_location( + custom_location=cl_name, resource_group=rg_name + )["id"] + + result = [ + sql + for sql in result + if sql.extended_location is not None + and sql.extended_location.name.lower() + == cl_resource_id.lower() + ] + + return result + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def _is_valid_sqlmi_create( + self, + cores_limit, + cores_request, + memory_limit, + memory_request, + storage, + license_type, + tier, + ): + tier_set = {"gp", "GeneralPurpose", "bc", "BusinessCritical"} + license_type_set = {"BasePrice", "LicenseIncluded", "DisasterRecovery"} + try: + if tier not in tier_set: + raise Exception( + "Tier {0} is not a supported input.".format(tier) + ) + + if license_type not in license_type_set: + raise Exception( + "License type {0} is not a supported input.".format( + license_type + ) + ) + + # Check the input end with Gi + # + Gi_val_list = [memory_limit, memory_request] + + Gi_name_list = ["Memory limit", "Memory request"] + + for storage_name, storage_type in [ + ("Volume size data", "data"), + ("Volume size logs", "logs"), + ("Volume size datalogs", "datalogs"), + ("Volume size backups", "backups"), + ]: + if storage_type in storage: + Gi_val_list.append( + storage[storage_type]["volumes"][0]["size"] + ) + Gi_name_list.append(storage_name) + + for i in range(len(Gi_val_list)): + if "Gi" not in str(Gi_val_list[i]): + raise ValueError( + "{0} {1} is invalid. Unit Gi must be part of this input.".format( + Gi_name_list[i], Gi_val_list[i] + ) + ) + + # Check the number in the input + # + if not (str(Gi_val_list[i]).replace("Gi", "")).isdigit(): + raise ValueError( + "{0} {1} is invalid. A number must be part of this input.".format( + Gi_name_list[i], Gi_val_list[i] + ) + ) + else: + Gi_val_list[i] = int(str(Gi_val_list[i]).replace("Gi", "")) + + # Check the input which should be digits. + # + digit_val_list = [cores_limit, cores_request] + digit_name_list = ["Cores limit", "Cores request"] + for i in range(len(digit_val_list)): + if not str(digit_val_list[i]).isdigit(): + raise ValueError( + "{0} {1} is invalid. Only a number can be part of this input.".format( + digit_name_list[i], digit_val_list[i] + ) + ) + else: + digit_val_list[i] = int(str(digit_val_list[i])) + + # Check the resource scheduling config + # + if Gi_val_list[0] < Gi_val_list[1]: + raise ValueError( + "Memory request cannot be larger than memory limit." + ) + if digit_val_list[0] < digit_val_list[1]: + raise ValueError( + "Cores request cannot be larger than cores limit." + ) + + # Check the scheduling per tier + # + gp_tiers = {"gp", "GeneralPurpose"} + if tier in gp_tiers: + if Gi_val_list[0] > 128 or Gi_val_list[0] < 2: + raise ValueError( + "Invalid {0}. Tier {1} can only support an input in the range from 2 to 128Gi.".format( + Gi_name_list[0], tier + ) + ) + if Gi_val_list[1] > 128 or Gi_val_list[1] < 2: + raise ValueError( + "Invalid {0}. Tier {1} can only support an input in the range from 2 to 128Gi.".format( + Gi_name_list[1], tier + ) + ) + if digit_val_list[0] > 24 or digit_val_list[0] < 1: + raise ValueError( + "Invalid {0}. Tier {1} can only support an input in the range from 1 to 24.".format( + digit_name_list[0], tier + ) + ) + if digit_val_list[1] > 24 or digit_val_list[1] < 1: + raise ValueError( + "Invalid {0}. Tier {1} can only support an input in the range from 1 to 24.".format( + digit_name_list[1], tier + ) + ) + else: + if Gi_val_list[0] < 2: + raise ValueError( + "Invalid {0}. Tier {1} can only support an input in the range >= 2Gi".format( + Gi_name_list[0], tier + ) + ) + if Gi_val_list[1] < 2: + raise ValueError( + "Invalid {0}. Tier {1} can only support an input in the range >= 2Gi.".format( + Gi_name_list[1], tier + ) + ) + if digit_val_list[0] < 1: + raise ValueError( + "Invalid {0}. Tier {1} can only support an input in the range >=1.".format( + digit_name_list[0], tier + ) + ) + if digit_val_list[1] < 1: + raise ValueError( + "Invalid {0}. Tier {1} can only support an input in the range >=1.".format( + digit_name_list[1], tier + ) + ) + + except Exception as e: + raise e + + # ======================================================================== # + # == AD Connector ======================================================== # + # ======================================================================== # + + def create_ad_connector( + self, + name, + realm, + nameserver_addresses, + account_provisioning, + data_controller_name, + resource_group, + primary_domain_controller=None, + secondary_domain_controllers=None, + netbios_domain_name=None, + dns_domain_name=None, + num_dns_replicas=None, + prefer_k8s_dns=None, + ou_distinguished_name=None, + no_wait=False, + ): + dc_client = self._arm_clients.dc + try: + # Check that the deployed extension supports AD connector creation + # + dc_resource: DataControllerResource = self.get_dc( + resource_group, data_controller_name + ) + custom_location = dc_resource.extended_location.name.split("/")[-1] + api_version = dc_client.resolve_api_version( + INSTANCE_TYPE_AD_CONNECTOR, custom_location, resource_group + ) + + # -- check existing AD connectors to avoid duplicate creation -- + # + result = self._get_ad_connector_resource( + name, data_controller_name, resource_group + ) + if result: + raise ValueError( + "Active Directory connector '{name}' has already been created.".format( + name=name + ) + ) + + domain_account = None + if account_provisioning == ACCOUNT_PROVISIONING_MODE_AUTOMATIC: + # -- acquire AD domain service account username/password -- + cred = Env.get_active_directory_domain_account_credentials() + + domain_account = BasicLoginInformation( + username=cred.username, + password=cred.password, + ) + + primary_dc = None + if primary_domain_controller: + primary_dc = ActiveDirectoryDomainController( + hostname=primary_domain_controller + ) + + secondary_dcs = [] + if secondary_domain_controllers: + for dc in secondary_domain_controllers.replace(" ", "").split( + "," + ): + if dc: + secondary_dcs.append( + ActiveDirectoryDomainController(hostname=dc) + ) + + domain_controllers = ActiveDirectoryDomainControllers( + primary_domain_controller=primary_dc, + secondary_domain_controllers=secondary_dcs, + ) + + domain_details = ActiveDirectoryConnectorDomainDetails( + realm=realm, + domain_controllers=domain_controllers, + netbios_domain_name=netbios_domain_name, + service_account_provisioning=account_provisioning, + ou_distinguished_name=ou_distinguished_name, + ) + + dns_details = ActiveDirectoryConnectorDNSDetails( + nameserver_ip_addresses=_parse_nameserver_addresses( + nameserver_addresses + ), + domain_name=dns_domain_name, + replicas=_parse_num_replicas(num_dns_replicas), + prefer_k8_s_dns_for_ptr_lookups=_parse_prefer_k8s_dns( + prefer_k8s_dns + ), + ) + + spec = ActiveDirectoryConnectorSpec( + active_directory=domain_details, dns=dns_details + ) + + properties = ActiveDirectoryConnectorProperties( + domain_service_account_login_information=domain_account, + spec=spec, + ) + + # -- final request model -- + ad_connector_resource = ActiveDirectoryConnectorResource( + properties=properties, + ) + # -- send create PUT request + self._mgmt_client.active_directory_connectors.begin_create( + resource_group_name=resource_group, + active_directory_connector_resource=ad_connector_resource, + data_controller_name=data_controller_name, + active_directory_connector_name=name, + headers=self._headers, + polling=(not no_wait), + api_version=api_version, + ) + + if not no_wait: + poll_provisioning_state( + self.ad_connector_provisioning_completed, + name, + data_controller_name, + resource_group, + wait_time=300, + ) + + wait( + self._get_ad_connector_status, + name, + data_controller_name, + resource_group, + retry_tol=300, + ) + if ( + self._get_ad_connector_status( + name, data_controller_name, resource_group + ) + != "Ready" + ): + raise Exception( + "Active Directory connector deployment failed. Please check your AD connector status " + "in the Azure portal or restart this create process." + ) + return self._get_ad_connector_resource( + name, data_controller_name, resource_group + ) + else: + print( + "Active Directory connector {} is being created. " + "Use `az arcdata ad-connector show` or the Azure Portal " + "to monitor the status of your AD connector.".format(name) + ) + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def list_ad_connectors(self, data_controller_name, resource_group): + try: + result = [] + connectors = self._mgmt_client.active_directory_connectors.list( + resource_group_name=resource_group, + data_controller_name=data_controller_name, + headers=self._headers, + ) + + for connector in connectors: + result.append(connector) + + print("Found {} Active Directory connector(s).".format(len(result))) + + return result if result else None + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def update_ad_connector( + self, + name, + data_controller_name, + resource_group, + nameserver_addresses=None, + primary_domain_controller=None, + secondary_domain_controllers=None, + num_dns_replicas=None, + prefer_k8s_dns=None, + domain_service_account_secret=None, + no_wait=False, + ): + dc_client = self._arm_clients.dc + try: + response: ActiveDirectoryConnectorResource = ( + self._mgmt_client.active_directory_connectors.get( + resource_group_name=resource_group, + data_controller_name=data_controller_name, + active_directory_connector_name=name, + headers=self._headers, + ) + ) + + if ( + response.properties.provisioning_state == "Accepted" + or response.properties.provisioning_state == "Deleting" + ): + raise Exception("An existing operation is in progress.") + + # -- get api version -- + dc_resource: DataControllerResource = self.get_dc( + resource_group, data_controller_name + ) + custom_location = dc_resource.extended_location.name.split("/")[-1] + api_version = dc_client.resolve_api_version( + INSTANCE_TYPE_AD_CONNECTOR, custom_location, resource_group + ) + + # Updating the AD connector in ARM is essentially re-creating it + # + new_resource: ActiveDirectoryConnectorResource = response + + account_provisioning = ( + response.properties.spec.active_directory.service_account_provisioning + ) + domain_account = None + if ( + domain_service_account_secret + and account_provisioning == ACCOUNT_PROVISIONING_MODE_AUTOMATIC + ): + # -- acquire AD domain service account username/password -- + cred = Env.get_active_directory_domain_account_credentials() + + domain_account = BasicLoginInformation( + username=cred.username, + password=cred.password, + ) + + if domain_account: + new_resource.properties.domain_service_account_login_information = ( + domain_account + ) + + if nameserver_addresses: + new_resource.properties.spec.dns.nameserver_ip_addresses = ( + _parse_nameserver_addresses(nameserver_addresses) + ) + + if primary_domain_controller: + new_resource.properties.spec.active_directory.domain_controllers.primary_domain_controller = ActiveDirectoryDomainController( + hostname=primary_domain_controller + ) + + if secondary_domain_controllers: + secondary_dcs = [] + for dc in secondary_domain_controllers.replace(" ", "").split( + "," + ): + if dc: + secondary_dcs.append( + ActiveDirectoryDomainController(hostname=dc) + ) + new_resource.properties.spec.active_directory.domain_controllers.secondary_domain_controllers = ( + secondary_dcs + ) + + if num_dns_replicas: + new_resource.properties.spec.dns.replicas = _parse_num_replicas( + num_dns_replicas + ) + + if prefer_k8s_dns: + new_resource.properties.spec.dns.prefer_k8_s_dns_for_ptr_lookups = _parse_prefer_k8s_dns( + prefer_k8s_dns + ) + + # -- final request model -- + properties = ActiveDirectoryConnectorProperties( + domain_service_account_login_information=domain_account, + spec=new_resource.properties.spec, + ) + + updated_ad_connector_resource = ActiveDirectoryConnectorResource( + properties=properties, + ) + + self._mgmt_client.active_directory_connectors.begin_create( + resource_group_name=resource_group, + active_directory_connector_resource=updated_ad_connector_resource, + data_controller_name=data_controller_name, + active_directory_connector_name=name, + headers=self._headers, + polling=(not no_wait), + api_version=api_version, + ) + + if not no_wait: + poll_provisioning_state( + self.ad_connector_provisioning_completed, + name, + data_controller_name, + resource_group, + wait_time=300, + ) + + wait( + self._get_ad_connector_status, + name, + data_controller_name, + resource_group, + retry_tol=300, + ) + if ( + self._get_ad_connector_status( + name, data_controller_name, resource_group + ) + != "Ready" + ): + raise Exception( + "Active Directory connector update failed. Please check your AD connector status " + "in the Azure portal or restart this update." + ) + return self._get_ad_connector_resource( + name, data_controller_name, resource_group + ) + else: + print( + "Active Directory connector {} is being updated. " + "Use `az arcdata ad-connector show` or the Azure Portal " + "to monitor the status of your AD connector.".format(name) + ) + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def _get_ad_connector_resource( + self, name, data_controller_name, resource_group + ): + try: + result = self._mgmt_client.active_directory_connectors.get( + resource_group_name=resource_group, + data_controller_name=data_controller_name, + active_directory_connector_name=name, + headers=self._headers, + ) + + logger.debug(json.dumps(result.as_dict(), indent=4)) + + return result + except exceptions.HttpResponseError as e: + logger.debug(e) + return + except Exception as e: + raise e + + def get_ad_connector(self, name, data_controller_name, resource_group): + result = self._get_ad_connector_resource( + name, data_controller_name, resource_group + ) + if result: + return result + else: + raise Exception( + "The Active Directory connector {} could not be found in Azure.".format( + name + ) + ) + + def _get_ad_connector_status( + self, name, data_controller_name, resource_group + ): + response: ActiveDirectoryConnectorResource = ( + self._get_ad_connector_resource( + name, data_controller_name, resource_group + ) + ) + if ( + response + and response.properties + and response.properties.status + and response.properties.status.state + ): + return response.properties.status.state + else: + # Status is unknown, so we set it to "Pending" for now. + return "Pending" + + def ad_connector_provisioning_completed( + self, name, data_controller_name, resource_group + ): + response: ActiveDirectoryConnectorResource = ( + self._get_ad_connector_resource( + name, data_controller_name, resource_group + ) + ) + if ( + response + and response.properties + and response.properties.provisioning_state + ): + return response.properties.provisioning_state + else: + # Default status + return "Accepted" + + def delete_ad_connector( + self, name, data_controller_name, resource_group, no_wait=False + ): + def is_ad_connector_deleted_in_arm(): + resource = self._get_ad_connector_resource( + name, data_controller_name, resource_group + ) + return not resource + + try: + print("Deleting Active Directory connector...") + + result = conditional_retry( + condition_func=is_ad_connector_deleted_in_arm, + func=self._mgmt_client.active_directory_connectors.begin_delete, + resource_group_name=resource_group, + data_controller_name=data_controller_name, + active_directory_connector_name=name, + headers=self._headers, + polling=(not no_wait), + exception_type=exceptions.HttpResponseError, + ) + + if not result: + # Delete immediately succeeded + print("Active Directory connector deleted successfully.") + return + + if not no_wait: + # Polling + cnt = 0 + while not is_ad_connector_deleted_in_arm() and cnt < 300: + time.sleep(5) + cnt += 5 + + if not is_ad_connector_deleted_in_arm(): + raise Exception( + "Failed to delete Active Directory connector. " + "Please check your AD connector status " + "in the Azure Portal or retry this operation." + ) + else: + print("Active Directory connector deleted successfully.") + else: + print( + "Active Directory connector {} is being deleted. " + "Use `az arcdata ad-connector show` or the Azure Portal " + "to monitor the status of the given AD connector.".format( + name + ) + ) + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def _validate_connectivity_mode(self, data_controller_name, resource_group): + dc_resource: DataControllerResource = self.get_dc( + resource_group, data_controller_name + ) + if ( + dc_resource.properties.k8_s_raw["spec"]["settings"]["azure"][ + "connectionMode" + ] + == INDIRECT + ): + raise ValueError( + "This cluster's data controller is in indirect connectivity " + "mode. Please use the --use-k8s parameter to perform this " + "action." + ) + + # ======================================================================== # + # == Failover Group ====================================================== # + # ======================================================================== # + + def create_failover_group( + self, + name, + mi, + resource_group, + primary_mirroring_url, + partner_mirroring_url, + partner_mi, + partner_resource_group, + partner_sync_mode=None, + role=None, + no_wait=False, + ): + dc_client = self._arm_clients.dc + try: + partner_sync_mode = partner_sync_mode or "async" + + # Check if the failover group already exists + if self._get_failover_group_resource(name, mi, resource_group): + raise Exception( + "Failover group {} already exists.".format(name) + ) + + # Check that primary SQL MI-AA exists + try: + primary_sql_resource = ( + self._mgmt_client.sql_managed_instances.get( + resource_group_name=resource_group, + sql_managed_instance_name=mi, + headers=self._headers, + ) + ) + except exceptions.HttpResponseError as e: + raise Exception( + "Primary Arc-enabled SQL Managed Instance {} does not exist in resource group {}.".format( + mi, resource_group + ) + ) + + # Check that secondary SQL MI-AA exists + try: + partner_sql_resource = ( + self._mgmt_client.sql_managed_instances.get( + resource_group_name=partner_resource_group, + sql_managed_instance_name=partner_mi, + headers=self._headers, + ) + ) + except exceptions.HttpResponseError as e: + raise Exception( + "Partner Arc-enabled SQL Managed Instance {} does not exist in resource group {}.".format( + partner_mi, partner_resource_group + ) + ) + + # Check that the deployed extensions both support failover group creation + # + primary_custom_location = ( + primary_sql_resource.extended_location.name.split("/")[-1] + ) + api_version = dc_client.resolve_api_version( + INSTANCE_TYPE_FAILOVER_GROUP, + primary_custom_location, + resource_group, + ) + + partner_custom_location = ( + partner_sql_resource.extended_location.name.split("/")[-1] + ) + dc_client.resolve_api_version( + INSTANCE_TYPE_FAILOVER_GROUP, + partner_custom_location, + partner_resource_group, + ) + + primary_failover_group_resource = FailoverGroupResource( + properties=FailoverGroupProperties( + partner_managed_instance_id="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.AzureArcData/sqlManagedInstances/{}".format( + self._subscription_id, + partner_resource_group, + partner_mi, + ), + spec=FailoverGroupSpec( + partner_sync_mode=partner_sync_mode, + role="primary", + partner_mirroring_url=partner_mirroring_url, + ), + ), + ) + logger.debug( + "Primary failover group resource: \n" + + json.dumps( + primary_failover_group_resource.as_dict(), indent=4 + ) + ) + + secondary_failover_group_resource = FailoverGroupResource( + properties=FailoverGroupProperties( + partner_managed_instance_id="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.AzureArcData/sqlManagedInstances/{}".format( + self._subscription_id, + resource_group, + mi, + ), + spec=FailoverGroupSpec( + partner_sync_mode=partner_sync_mode, + role="secondary", + partner_mirroring_url=primary_mirroring_url, + ), + ), + ) + logger.debug( + "Secondary failover group resource: \n" + + json.dumps( + secondary_failover_group_resource.as_dict(), indent=4 + ) + ) + + print("Creating failover group...") + + # Failover Group on primary SQL MI-AA + self._mgmt_client.failover_groups.begin_create( + resource_group_name=resource_group, + sql_managed_instance_name=mi, + failover_group_name=name, + failover_group_resource=primary_failover_group_resource, + headers=self._headers, + polling=(not no_wait), + api_version=api_version, + ) + + # Failover Group on secondary SQL MI-AA + self._mgmt_client.failover_groups.begin_create( + resource_group_name=partner_resource_group, + sql_managed_instance_name=partner_mi, + failover_group_name=name, + failover_group_resource=secondary_failover_group_resource, + headers=self._headers, + polling=(not no_wait), + api_version=api_version, + ) + + if not no_wait: + for instance_info in [ + (mi, resource_group, "primary"), + (partner_mi, partner_resource_group, "secondary"), + ]: + (instance_name, rg, role) = instance_info + + poll_provisioning_state( + self.failover_group_provisioning_completed, + name, + instance_name, + rg, + wait_time=300, + ) + + wait( + self._get_failover_group_status, + name, + instance_name, + rg, + retry_tol=300, + ) + + if ( + self._get_failover_group_status(name, instance_name, rg) + != "Succeeded" + ): + raise Exception( + "Failed to create {0} failover group associated with Arc-enabled SQL managed instance {1}." + "Please check your failover group status " + "in the Azure Portal or retry this operation.".format( + role, instance_name + ) + ) + + return self._get_failover_group_resource( + name, mi, resource_group + ) + else: + print( + "Failover group {} is being created. " + "Use `az sql instance-failover-group-arc show` or the Azure Portal " + "to monitor the status of this resource.".format(name) + ) + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def update_failover_group( + self, + name, + mi, + resource_group, + partner_sync_mode=None, + role=None, + no_wait=False, + ): + dc_client = self._arm_clients.dc + try: + response: FailoverGroupResource = ( + self._mgmt_client.failover_groups.get( + resource_group_name=resource_group, + sql_managed_instance_name=mi, + failover_group_name=name, + headers=self._headers, + ) + ) + + if ( + response.properties.provisioning_state == "Accepted" + or response.properties.provisioning_state == "Deleting" + ): + raise Exception("An existing operation is in progress.") + + parent_sql_resource = self._mgmt_client.sql_managed_instances.get( + resource_group_name=resource_group, + sql_managed_instance_name=mi, + headers=self._headers, + ) + + custom_location = parent_sql_resource.extended_location.name.split( + "/" + )[-1] + api_version = dc_client.resolve_api_version( + INSTANCE_TYPE_FAILOVER_GROUP, + custom_location, + resource_group, + ) + + # Updating the AD connector in ARM is essentially re-creating it + # + new_resource: FailoverGroupResource = response + if partner_sync_mode: + new_resource.properties.spec.partner_sync_mode = ( + partner_sync_mode + ) + if role: + new_resource.properties.spec.role = role + + print("Updating failover group...") + + self._mgmt_client.failover_groups.begin_create( + resource_group_name=resource_group, + sql_managed_instance_name=mi, + failover_group_name=name, + failover_group_resource=new_resource, + headers=self._headers, + polling=(not no_wait), + api_version=api_version, + ) + + if not no_wait: + poll_provisioning_state( + self.failover_group_provisioning_completed, + name, + mi, + resource_group, + wait_time=300, + ) + + # Wait for the failover group status to update + time.sleep(10) + + wait( + self._get_failover_group_status, + name, + mi, + resource_group, + retry_tol=600, + ) + if ( + self._get_failover_group_status(name, mi, resource_group) + != "Succeeded" + ): + raise Exception( + "Failed to update failover group {}. " + "Please check your failover group status " + "in the Azure Portal or retry this operation.".format( + name + ) + ) + return self._get_failover_group_resource( + name, mi, resource_group + ) + else: + print( + "Failover group {} is being updated. " + "Use `az sql instance-failover-group-arc show` or the Azure Portal " + "to monitor the status of this resource.".format(name) + ) + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def delete_failover_group(self, name, mi, resource_group, no_wait=False): + def is_failover_group_deleted_in_arm(): + resource = self._get_failover_group_resource( + name, mi, resource_group + ) + return not resource + + try: + print("Deleting failover group...") + + result = conditional_retry( + condition_func=is_failover_group_deleted_in_arm, + func=self._mgmt_client.failover_groups.begin_delete, + resource_group_name=resource_group, + sql_managed_instance_name=mi, + failover_group_name=name, + headers=self._headers, + polling=(not no_wait), + exception_type=exceptions.HttpResponseError, + ) + + if not result: + # Delete immediately succeeded + print("Failover group deleted successfully.") + return + + if not no_wait: + # Polling + cnt = 0 + while not is_failover_group_deleted_in_arm() and cnt < 300: + time.sleep(5) + cnt += 5 + + if not is_failover_group_deleted_in_arm(): + raise Exception( + "Failed to delete failover group. " + "Please check your failover group status " + "in the Azure Portal or retry this operation." + ) + else: + print("Failover group deleted successfully.") + else: + print( + "Failover group {} is being deleted. " + "Use `az arcdata failover-group show` or the Azure Portal " + "to monitor the status of the given failover group.".format( + name + ) + ) + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e + + def _get_failover_group_resource(self, name, mi, resource_group): + try: + result = self._mgmt_client.failover_groups.get( + resource_group_name=resource_group, + sql_managed_instance_name=mi, + failover_group_name=name, + headers=self._headers, + ) + + logger.debug(json.dumps(result.as_dict(), indent=4)) + return result + + except exceptions.HttpResponseError as e: + logger.debug(e) + return + except Exception as e: + raise e + + def get_failover_group(self, name, mi, resource_group): + result = self._get_failover_group_resource(name, mi, resource_group) + if result: + return result + else: + raise Exception( + "Failover group {0} associated with Arc-enabled SQL Managed Instance {1} does not exist in resource group {2}.".format( + name, mi, resource_group + ) + ) + + def failover_group_provisioning_completed(self, name, mi, resource_group): + response: FailoverGroupResource = self._get_failover_group_resource( + name, mi, resource_group + ) + if ( + response + and response.properties + and response.properties.provisioning_state + ): + return response.properties.provisioning_state + else: + # Default status + return "Accepted" + + def _get_failover_group_status(self, name, mi, resource_group): + response: FailoverGroupResource = self._get_failover_group_resource( + name, mi, resource_group + ) + if ( + response + and response.properties + and response.properties.status + and response.properties.status.state + ): + return response.properties.status.state + else: + # Default state + return "Waiting" + + def list_failover_groups(self, mi, resource_group): + try: + result = [] + failover_groups = self._mgmt_client.failover_groups.list( + resource_group_name=resource_group, + sql_managed_instance_name=mi, + headers=self._headers, + ) + + for fog in failover_groups: + result.append(fog) + + print("Found {} failover group(s).".format(len(result))) + return result if result else None + + except exceptions.HttpResponseError as e: + logger.debug(e) + raise exceptions.HttpResponseError(e.message) + except Exception as e: + raise e diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/__init__.py new file mode 100644 index 00000000000..ad11b3c4a59 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/__init__.py @@ -0,0 +1,20 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._azure_arc_data_management_client import AzureArcDataManagementClient +from ._version import VERSION + +__version__ = VERSION +__all__ = ["AzureArcDataManagementClient"] + +try: + from ._patch import patch_sdk # type: ignore + + patch_sdk() +except ImportError: + pass diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/_azure_arc_data_management_client.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/_azure_arc_data_management_client.py new file mode 100644 index 00000000000..c0948c618f9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/_azure_arc_data_management_client.py @@ -0,0 +1,121 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.mgmt.core import ARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Optional + + from azure.core.pipeline.transport import HttpRequest, HttpResponse + +from ._configuration import AzureArcDataManagementClientConfiguration +from .operations import Operations +from .operations import SqlManagedInstancesOperations +from .operations import SqlServerInstancesOperations +from .operations import DataControllersOperations +from . import models + + +class AzureArcDataManagementClient(object): + """The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources. + + :ivar operations: Operations operations + :vartype operations: azure_arc_data_management_client.operations.Operations + :ivar sql_managed_instances: SqlManagedInstancesOperations operations + :vartype sql_managed_instances: azure_arc_data_management_client.operations.SqlManagedInstancesOperations + :ivar sql_server_instances: SqlServerInstancesOperations operations + :vartype sql_server_instances: azure_arc_data_management_client.operations.SqlServerInstancesOperations + :ivar data_controllers: DataControllersOperations operations + :vartype data_controllers: azure_arc_data_management_client.operations.DataControllersOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The ID of the Azure subscription. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + base_url=None, # type: Optional[str] + **kwargs, # type: Any + ): + # type: (...) -> None + if not base_url: + base_url = "https://management.azure.com" + self._config = AzureArcDataManagementClientConfiguration( + credential, subscription_id, **kwargs + ) + self._client = ARMPipelineClient( + base_url=base_url, config=self._config, **kwargs + ) + + client_models = { + k: v for k, v in models.__dict__.items() if isinstance(v, type) + } + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize + ) + self.sql_managed_instances = SqlManagedInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.sql_server_instances = SqlServerInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.data_controllers = DataControllersOperations( + self._client, self._config, self._serialize, self._deserialize + ) + + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + } + http_request.url = self._client.format_url( + http_request.url, **path_format_arguments + ) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run( + http_request, stream=stream, **kwargs + ) + return pipeline_response.http_response + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> AzureArcDataManagementClient + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/_configuration.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/_configuration.py new file mode 100644 index 00000000000..712834c06fc --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/_configuration.py @@ -0,0 +1,92 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +from ._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.credentials import TokenCredential + + +class AzureArcDataManagementClientConfiguration(Configuration): + """Configuration for AzureArcDataManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The ID of the Azure subscription. + :type subscription_id: str + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(AzureArcDataManagementClientConfiguration, self).__init__( + **kwargs + ) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2021-11-01" + self.credential_scopes = kwargs.pop( + "credential_scopes", ["https://management.azure.com/.default"] + ) + kwargs.setdefault("sdk_moniker", "mgmt-azurearcdata/{}".format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get( + "user_agent_policy" + ) or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get( + "headers_policy" + ) or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get("proxy_policy") or policies.ProxyPolicy( + **kwargs + ) + self.logging_policy = kwargs.get( + "logging_policy" + ) or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get( + "http_logging_policy" + ) or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get("retry_policy") or policies.RetryPolicy( + **kwargs + ) + self.custom_hook_policy = kwargs.get( + "custom_hook_policy" + ) or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get( + "redirect_policy" + ) or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get("authentication_policy") + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.BearerTokenCredentialPolicy( + self.credential, *self.credential_scopes, **kwargs + ) diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/_version.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/_version.py new file mode 100644 index 00000000000..c47f66669f1 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/_version.py @@ -0,0 +1,9 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +VERSION = "1.0.0" diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/__init__.py new file mode 100644 index 00000000000..2609171a34c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/__init__.py @@ -0,0 +1,11 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._azure_arc_data_management_client import AzureArcDataManagementClient + +__all__ = ["AzureArcDataManagementClient"] diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/_azure_arc_data_management_client.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/_azure_arc_data_management_client.py new file mode 100644 index 00000000000..c5a2c74101c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/_azure_arc_data_management_client.py @@ -0,0 +1,117 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, Optional, TYPE_CHECKING + +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core import AsyncARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +from ._configuration import AzureArcDataManagementClientConfiguration +from .operations import Operations +from .operations import SqlManagedInstancesOperations +from .operations import SqlServerInstancesOperations +from .operations import DataControllersOperations +from .. import models + + +class AzureArcDataManagementClient(object): + """The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources. + + :ivar operations: Operations operations + :vartype operations: azure_arc_data_management_client.aio.operations.Operations + :ivar sql_managed_instances: SqlManagedInstancesOperations operations + :vartype sql_managed_instances: azure_arc_data_management_client.aio.operations.SqlManagedInstancesOperations + :ivar sql_server_instances: SqlServerInstancesOperations operations + :vartype sql_server_instances: azure_arc_data_management_client.aio.operations.SqlServerInstancesOperations + :ivar data_controllers: DataControllersOperations operations + :vartype data_controllers: azure_arc_data_management_client.aio.operations.DataControllersOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the Azure subscription. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: Optional[str] = None, + **kwargs: Any, + ) -> None: + if not base_url: + base_url = "https://management.azure.com" + self._config = AzureArcDataManagementClientConfiguration( + credential, subscription_id, **kwargs + ) + self._client = AsyncARMPipelineClient( + base_url=base_url, config=self._config, **kwargs + ) + + client_models = { + k: v for k, v in models.__dict__.items() if isinstance(v, type) + } + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize + ) + self.sql_managed_instances = SqlManagedInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.sql_server_instances = SqlServerInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.data_controllers = DataControllersOperations( + self._client, self._config, self._serialize, self._deserialize + ) + + async def _send_request( + self, http_request: HttpRequest, **kwargs: Any + ) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + } + http_request.url = self._client.format_url( + http_request.url, **path_format_arguments + ) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run( + http_request, stream=stream, **kwargs + ) + return pipeline_response.http_response + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "AzureArcDataManagementClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/_configuration.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/_configuration.py new file mode 100644 index 00000000000..8942bc59067 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/_configuration.py @@ -0,0 +1,88 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +from .._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + + +class AzureArcDataManagementClientConfiguration(Configuration): + """Configuration for AzureArcDataManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the Azure subscription. + :type subscription_id: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any, + ) -> None: + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(AzureArcDataManagementClientConfiguration, self).__init__( + **kwargs + ) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2021-11-01" + self.credential_scopes = kwargs.pop( + "credential_scopes", ["https://management.azure.com/.default"] + ) + kwargs.setdefault("sdk_moniker", "mgmt-azurearcdata/{}".format(VERSION)) + self._configure(**kwargs) + + def _configure(self, **kwargs: Any) -> None: + self.user_agent_policy = kwargs.get( + "user_agent_policy" + ) or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get( + "headers_policy" + ) or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get("proxy_policy") or policies.ProxyPolicy( + **kwargs + ) + self.logging_policy = kwargs.get( + "logging_policy" + ) or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get( + "http_logging_policy" + ) or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get( + "retry_policy" + ) or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get( + "custom_hook_policy" + ) or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get( + "redirect_policy" + ) or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get("authentication_policy") + if self.credential and not self.authentication_policy: + self.authentication_policy = ( + policies.AsyncBearerTokenCredentialPolicy( + self.credential, *self.credential_scopes, **kwargs + ) + ) diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/operations/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/operations/__init__.py new file mode 100644 index 00000000000..91c6a62c9c5 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/operations/__init__.py @@ -0,0 +1,19 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._sql_managed_instances_operations import SqlManagedInstancesOperations +from ._sql_server_instances_operations import SqlServerInstancesOperations +from ._data_controllers_operations import DataControllersOperations + +__all__ = [ + "Operations", + "SqlManagedInstancesOperations", + "SqlServerInstancesOperations", + "DataControllersOperations", +] diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/operations/_data_controllers_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/operations/_data_controllers_operations.py new file mode 100644 index 00000000000..0870f3de9c7 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/operations/_data_controllers_operations.py @@ -0,0 +1,795 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import ( + Any, + AsyncIterable, + Callable, + Dict, + Generic, + Optional, + TypeVar, + Union, +) +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class DataControllersOperations: + """DataControllersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_in_subscription( + self, **kwargs: Any + ) -> AsyncIterable["_models.PageOfDataControllerResource"]: + """List dataController resources in the subscription. + + List dataController resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PageOfDataControllerResource or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.PageOfDataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PageOfDataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + if not next_link: + # Construct URL + url = self.list_in_subscription.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + request = self._client.get( + url, query_parameters, header_parameters + ) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get( + url, query_parameters, header_parameters + ) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "PageOfDataControllerResource", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_in_subscription.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/dataControllers"} # type: ignore + + def list_in_group( + self, resource_group_name: str, **kwargs: Any + ) -> AsyncIterable["_models.PageOfDataControllerResource"]: + """List dataController resources in the resource group. + + List dataController resources in the resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PageOfDataControllerResource or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.PageOfDataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PageOfDataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + if not next_link: + # Construct URL + url = self.list_in_group.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + request = self._client.get( + url, query_parameters, header_parameters + ) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get( + url, query_parameters, header_parameters + ) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "PageOfDataControllerResource", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_in_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers"} # type: ignore + + async def _put_data_controller_initial( + self, + resource_group_name: str, + data_controller_name: str, + data_controller_resource: "_models.DataControllerResource", + **kwargs: Any, + ) -> "_models.DataControllerResource": + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._put_data_controller_initial.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "dataControllerName": self._serialize.url( + "data_controller_name", data_controller_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Content-Type"] = self._serialize.header( + "content_type", content_type, "str" + ) + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body( + data_controller_resource, "DataControllerResource" + ) + body_content_kwargs["content"] = body_content + request = self._client.put( + url, query_parameters, header_parameters, **body_content_kwargs + ) + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _put_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + async def begin_put_data_controller( + self, + resource_group_name: str, + data_controller_name: str, + data_controller_resource: "_models.DataControllerResource", + **kwargs: Any, + ) -> AsyncLROPoller["_models.DataControllerResource"]: + """Creates or replaces a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: + :type data_controller_name: str + :param data_controller_resource: desc. + :type data_controller_resource: ~azure_arc_data_management_client.models.DataControllerResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either DataControllerResource or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure_arc_data_management_client.models.DataControllerResource] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._put_data_controller_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + data_controller_resource=data_controller_resource, + cls=lambda x, y, z: x, + **kwargs, + ) + + kwargs.pop("error_map", None) + kwargs.pop("content_type", None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "dataControllerName": self._serialize.url( + "data_controller_name", data_controller_name, "str" + ), + } + + if polling is True: + polling_method = AsyncARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=path_format_arguments, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + else: + return AsyncLROPoller( + self._client, + raw_result, + get_long_running_output, + polling_method, + ) + + begin_put_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + async def _delete_data_controller_initial( + self, resource_group_name: str, data_controller_name: str, **kwargs: Any + ) -> None: + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + # Construct URL + url = self._delete_data_controller_initial.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "dataControllerName": self._serialize.url( + "data_controller_name", data_controller_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + async def begin_delete_data_controller( + self, resource_group_name: str, data_controller_name: str, **kwargs: Any + ) -> AsyncLROPoller[None]: + """Deletes a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_data_controller_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + cls=lambda x, y, z: x, + **kwargs, + ) + + kwargs.pop("error_map", None) + kwargs.pop("content_type", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "dataControllerName": self._serialize.url( + "data_controller_name", data_controller_name, "str" + ), + } + + if polling is True: + polling_method = AsyncARMPolling( + lro_delay, path_format_arguments=path_format_arguments, **kwargs + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + else: + return AsyncLROPoller( + self._client, + raw_result, + get_long_running_output, + polling_method, + ) + + begin_delete_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + async def get_data_controller( + self, resource_group_name: str, data_controller_name: str, **kwargs: Any + ) -> "_models.DataControllerResource": + """Retrieves a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataControllerResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.DataControllerResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + # Construct URL + url = self.get_data_controller.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "dataControllerName": self._serialize.url( + "data_controller_name", data_controller_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + async def patch_data_controller( + self, + resource_group_name: str, + data_controller_name: str, + data_controller_resource: "_models.DataControllerUpdate", + **kwargs: Any, + ) -> "_models.DataControllerResource": + """Updates a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: + :type data_controller_name: str + :param data_controller_resource: The update data controller resource. + :type data_controller_resource: ~azure_arc_data_management_client.models.DataControllerUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataControllerResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.DataControllerResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.patch_data_controller.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "dataControllerName": self._serialize.url( + "data_controller_name", data_controller_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Content-Type"] = self._serialize.header( + "content_type", content_type, "str" + ) + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body( + data_controller_resource, "DataControllerUpdate" + ) + body_content_kwargs["content"] = body_content + request = self._client.patch( + url, query_parameters, header_parameters, **body_content_kwargs + ) + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + patch_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/operations/_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/operations/_operations.py new file mode 100644 index 00000000000..15e545e65af --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/operations/_operations.py @@ -0,0 +1,147 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import ( + Any, + AsyncIterable, + Callable, + Dict, + Generic, + Optional, + TypeVar, +) +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class Operations: + """Operations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, **kwargs: Any + ) -> AsyncIterable["_models.OperationListResult"]: + """Lists all of the available Azure Data Services on Azure Arc API operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.OperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.OperationListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + if not next_link: + # Construct URL + url = self.list.metadata["url"] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + request = self._client.get( + url, query_parameters, header_parameters + ) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get( + url, query_parameters, header_parameters + ) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "OperationListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/providers/Microsoft.AzureArcData/operations"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/operations/_sql_managed_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/operations/_sql_managed_instances_operations.py new file mode 100644 index 00000000000..cdc8371e9b9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/operations/_sql_managed_instances_operations.py @@ -0,0 +1,804 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import ( + Any, + AsyncIterable, + Callable, + Dict, + Generic, + Optional, + TypeVar, + Union, +) +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class SqlManagedInstancesOperations: + """SqlManagedInstancesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, **kwargs: Any + ) -> AsyncIterable["_models.SqlManagedInstanceListResult"]: + """List sqlManagedInstance resources in the subscription. + + List sqlManagedInstance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlManagedInstanceListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.SqlManagedInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + if not next_link: + # Construct URL + url = self.list.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + request = self._client.get( + url, query_parameters, header_parameters + ) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get( + url, query_parameters, header_parameters + ) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlManagedInstances"} # type: ignore + + def list_by_resource_group( + self, resource_group_name: str, **kwargs: Any + ) -> AsyncIterable["_models.SqlManagedInstanceListResult"]: + """List sqlManagedInstance resources in the resource group. + + Gets all sqlManagedInstances in a resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlManagedInstanceListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.SqlManagedInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + request = self._client.get( + url, query_parameters, header_parameters + ) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get( + url, query_parameters, header_parameters + ) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances"} # type: ignore + + async def get( + self, + resource_group_name: str, + sql_managed_instance_name: str, + **kwargs: Any, + ) -> "_models.SqlManagedInstance": + """Retrieves a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlManagedInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlManagedInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlManagedInstanceName": self._serialize.url( + "sql_managed_instance_name", sql_managed_instance_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + sql_managed_instance_name: str, + sql_managed_instance: "_models.SqlManagedInstance", + **kwargs: Any, + ) -> "_models.SqlManagedInstance": + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_initial.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlManagedInstanceName": self._serialize.url( + "sql_managed_instance_name", sql_managed_instance_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Content-Type"] = self._serialize.header( + "content_type", content_type, "str" + ) + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body( + sql_managed_instance, "SqlManagedInstance" + ) + body_content_kwargs["content"] = body_content + request = self._client.put( + url, query_parameters, header_parameters, **body_content_kwargs + ) + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + async def begin_create( + self, + resource_group_name: str, + sql_managed_instance_name: str, + sql_managed_instance: "_models.SqlManagedInstance", + **kwargs: Any, + ) -> AsyncLROPoller["_models.SqlManagedInstance"]: + """Creates or replaces a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: The name of SQL Managed Instances. + :type sql_managed_instance_name: str + :param sql_managed_instance: The SQL Managed Instance to be created or updated. + :type sql_managed_instance: ~azure_arc_data_management_client.models.SqlManagedInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either SqlManagedInstance or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure_arc_data_management_client.models.SqlManagedInstance] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + sql_managed_instance=sql_managed_instance, + cls=lambda x, y, z: x, + **kwargs, + ) + + kwargs.pop("error_map", None) + kwargs.pop("content_type", None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlManagedInstanceName": self._serialize.url( + "sql_managed_instance_name", sql_managed_instance_name, "str" + ), + } + + if polling is True: + polling_method = AsyncARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=path_format_arguments, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + else: + return AsyncLROPoller( + self._client, + raw_result, + get_long_running_output, + polling_method, + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + sql_managed_instance_name: str, + **kwargs: Any, + ) -> None: + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlManagedInstanceName": self._serialize.url( + "sql_managed_instance_name", sql_managed_instance_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + sql_managed_instance_name: str, + **kwargs: Any, + ) -> AsyncLROPoller[None]: + """Deletes a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: The name of Sql Managed Instances. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + cls=lambda x, y, z: x, + **kwargs, + ) + + kwargs.pop("error_map", None) + kwargs.pop("content_type", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlManagedInstanceName": self._serialize.url( + "sql_managed_instance_name", sql_managed_instance_name, "str" + ), + } + + if polling is True: + polling_method = AsyncARMPolling( + lro_delay, path_format_arguments=path_format_arguments, **kwargs + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + else: + return AsyncLROPoller( + self._client, + raw_result, + get_long_running_output, + polling_method, + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + async def update( + self, + resource_group_name: str, + sql_managed_instance_name: str, + parameters: "_models.SqlManagedInstanceUpdate", + **kwargs: Any, + ) -> "_models.SqlManagedInstance": + """Updates a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of sqlManagedInstance. + :type sql_managed_instance_name: str + :param parameters: The SQL Managed Instance. + :type parameters: ~azure_arc_data_management_client.models.SqlManagedInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlManagedInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlManagedInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlManagedInstanceName": self._serialize.url( + "sql_managed_instance_name", sql_managed_instance_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Content-Type"] = self._serialize.header( + "content_type", content_type, "str" + ) + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body( + parameters, "SqlManagedInstanceUpdate" + ) + body_content_kwargs["content"] = body_content + request = self._client.patch( + url, query_parameters, header_parameters, **body_content_kwargs + ) + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/operations/_sql_server_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/operations/_sql_server_instances_operations.py new file mode 100644 index 00000000000..9e5c726bd7e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/aio/operations/_sql_server_instances_operations.py @@ -0,0 +1,800 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import ( + Any, + AsyncIterable, + Callable, + Dict, + Generic, + Optional, + TypeVar, + Union, +) +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class SqlServerInstancesOperations: + """SqlServerInstancesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, **kwargs: Any + ) -> AsyncIterable["_models.SqlServerInstanceListResult"]: + """List sqlServerInstance resources in the subscription. + + List sqlServerInstance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerInstanceListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.SqlServerInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + if not next_link: + # Construct URL + url = self.list.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + request = self._client.get( + url, query_parameters, header_parameters + ) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get( + url, query_parameters, header_parameters + ) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerInstances"} # type: ignore + + def list_by_resource_group( + self, resource_group_name: str, **kwargs: Any + ) -> AsyncIterable["_models.SqlServerInstanceListResult"]: + """List sqlServerInstance resources in the resource group. + + Gets all sqlServerInstances in a resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerInstanceListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.SqlServerInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + request = self._client.get( + url, query_parameters, header_parameters + ) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get( + url, query_parameters, header_parameters + ) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances"} # type: ignore + + async def get( + self, + resource_group_name: str, + sql_server_instance_name: str, + **kwargs: Any, + ) -> "_models.SqlServerInstance": + """Retrieves a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlServerInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlServerInstanceName": self._serialize.url( + "sql_server_instance_name", sql_server_instance_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize("SqlServerInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + sql_server_instance_name: str, + sql_server_instance: "_models.SqlServerInstance", + **kwargs: Any, + ) -> "_models.SqlServerInstance": + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_initial.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlServerInstanceName": self._serialize.url( + "sql_server_instance_name", sql_server_instance_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Content-Type"] = self._serialize.header( + "content_type", content_type, "str" + ) + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body( + sql_server_instance, "SqlServerInstance" + ) + body_content_kwargs["content"] = body_content + request = self._client.put( + url, query_parameters, header_parameters, **body_content_kwargs + ) + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + async def begin_create( + self, + resource_group_name: str, + sql_server_instance_name: str, + sql_server_instance: "_models.SqlServerInstance", + **kwargs: Any, + ) -> AsyncLROPoller["_models.SqlServerInstance"]: + """Creates or replaces a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: The name of SQL Server Instance. + :type sql_server_instance_name: str + :param sql_server_instance: The SQL Server Instance to be created or updated. + :type sql_server_instance: ~azure_arc_data_management_client.models.SqlServerInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either SqlServerInstance or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure_arc_data_management_client.models.SqlServerInstance] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + sql_server_instance=sql_server_instance, + cls=lambda x, y, z: x, + **kwargs, + ) + + kwargs.pop("error_map", None) + kwargs.pop("content_type", None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlServerInstanceName": self._serialize.url( + "sql_server_instance_name", sql_server_instance_name, "str" + ), + } + + if polling is True: + polling_method = AsyncARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=path_format_arguments, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + else: + return AsyncLROPoller( + self._client, + raw_result, + get_long_running_output, + polling_method, + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + sql_server_instance_name: str, + **kwargs: Any, + ) -> None: + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlServerInstanceName": self._serialize.url( + "sql_server_instance_name", sql_server_instance_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + sql_server_instance_name: str, + **kwargs: Any, + ) -> AsyncLROPoller[None]: + """Deletes a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: The name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + cls=lambda x, y, z: x, + **kwargs, + ) + + kwargs.pop("error_map", None) + kwargs.pop("content_type", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlServerInstanceName": self._serialize.url( + "sql_server_instance_name", sql_server_instance_name, "str" + ), + } + + if polling is True: + polling_method = AsyncARMPolling( + lro_delay, path_format_arguments=path_format_arguments, **kwargs + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + else: + return AsyncLROPoller( + self._client, + raw_result, + get_long_running_output, + polling_method, + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + async def update( + self, + resource_group_name: str, + sql_server_instance_name: str, + parameters: "_models.SqlServerInstanceUpdate", + **kwargs: Any, + ) -> "_models.SqlServerInstance": + """Updates a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of sqlServerInstance. + :type sql_server_instance_name: str + :param parameters: The SQL Server Instance. + :type parameters: ~azure_arc_data_management_client.models.SqlServerInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlServerInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlServerInstanceName": self._serialize.url( + "sql_server_instance_name", sql_server_instance_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Content-Type"] = self._serialize.header( + "content_type", content_type, "str" + ) + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body( + parameters, "SqlServerInstanceUpdate" + ) + body_content_kwargs["content"] = body_content + request = self._client.patch( + url, query_parameters, header_parameters, **body_content_kwargs + ) + pipeline_response = await self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize("SqlServerInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/models/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/models/__init__.py new file mode 100644 index 00000000000..5f20bb5ace0 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/models/__init__.py @@ -0,0 +1,152 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import BasicLoginInformation + from ._models_py3 import CommonSku + from ._models_py3 import DataControllerProperties + from ._models_py3 import DataControllerResource + from ._models_py3 import DataControllerUpdate + from ._models_py3 import ErrorResponse + from ._models_py3 import ErrorResponseBody + from ._models_py3 import ExtendedLocation + from ._models_py3 import Identity + from ._models_py3 import K8SResourceRequirements + from ._models_py3 import K8SScheduling + from ._models_py3 import K8SSchedulingOptions + from ._models_py3 import LogAnalyticsWorkspaceConfig + from ._models_py3 import ODataError + from ._models_py3 import OnPremiseProperty + from ._models_py3 import Operation + from ._models_py3 import OperationDisplay + from ._models_py3 import OperationListResult + from ._models_py3 import PageOfDataControllerResource + from ._models_py3 import Plan + from ._models_py3 import ProxyResource + from ._models_py3 import Resource + from ._models_py3 import ResourceSku + from ._models_py3 import SqlManagedInstance + from ._models_py3 import SqlManagedInstanceK8SRaw + from ._models_py3 import SqlManagedInstanceK8SSpec + from ._models_py3 import SqlManagedInstanceListResult + from ._models_py3 import SqlManagedInstanceProperties + from ._models_py3 import SqlManagedInstanceSku + from ._models_py3 import SqlManagedInstanceUpdate + from ._models_py3 import SqlServerInstance + from ._models_py3 import SqlServerInstanceListResult + from ._models_py3 import SqlServerInstanceProperties + from ._models_py3 import SqlServerInstanceUpdate + from ._models_py3 import SystemData + from ._models_py3 import TrackedResource + from ._models_py3 import UploadServicePrincipal + from ._models_py3 import UploadWatermark +except (SyntaxError, ImportError): + from ._models import BasicLoginInformation # type: ignore + from ._models import CommonSku # type: ignore + from ._models import DataControllerProperties # type: ignore + from ._models import DataControllerResource # type: ignore + from ._models import DataControllerUpdate # type: ignore + from ._models import ErrorResponse # type: ignore + from ._models import ErrorResponseBody # type: ignore + from ._models import ExtendedLocation # type: ignore + from ._models import Identity # type: ignore + from ._models import K8SResourceRequirements # type: ignore + from ._models import K8SScheduling # type: ignore + from ._models import K8SSchedulingOptions # type: ignore + from ._models import LogAnalyticsWorkspaceConfig # type: ignore + from ._models import ODataError # type: ignore + from ._models import OnPremiseProperty # type: ignore + from ._models import Operation # type: ignore + from ._models import OperationDisplay # type: ignore + from ._models import OperationListResult # type: ignore + from ._models import PageOfDataControllerResource # type: ignore + from ._models import Plan # type: ignore + from ._models import ProxyResource # type: ignore + from ._models import Resource # type: ignore + from ._models import ResourceSku # type: ignore + from ._models import SqlManagedInstance # type: ignore + from ._models import SqlManagedInstanceK8SRaw # type: ignore + from ._models import SqlManagedInstanceK8SSpec # type: ignore + from ._models import SqlManagedInstanceListResult # type: ignore + from ._models import SqlManagedInstanceProperties # type: ignore + from ._models import SqlManagedInstanceSku # type: ignore + from ._models import SqlManagedInstanceUpdate # type: ignore + from ._models import SqlServerInstance # type: ignore + from ._models import SqlServerInstanceListResult # type: ignore + from ._models import SqlServerInstanceProperties # type: ignore + from ._models import SqlServerInstanceUpdate # type: ignore + from ._models import SystemData # type: ignore + from ._models import TrackedResource # type: ignore + from ._models import UploadServicePrincipal # type: ignore + from ._models import UploadWatermark # type: ignore + +from ._azure_arc_data_management_client_enums import ( + ArcSqlManagedInstanceLicenseType, + ArcSqlServerLicenseType, + ConnectionStatus, + DefenderStatus, + EditionType, + ExtendedLocationTypes, + IdentityType, + Infrastructure, + OperationOrigin, + SqlManagedInstanceSkuTier, + SqlVersion, +) + +__all__ = [ + "BasicLoginInformation", + "CommonSku", + "DataControllerProperties", + "DataControllerResource", + "DataControllerUpdate", + "ErrorResponse", + "ErrorResponseBody", + "ExtendedLocation", + "Identity", + "K8SResourceRequirements", + "K8SScheduling", + "K8SSchedulingOptions", + "LogAnalyticsWorkspaceConfig", + "ODataError", + "OnPremiseProperty", + "Operation", + "OperationDisplay", + "OperationListResult", + "PageOfDataControllerResource", + "Plan", + "ProxyResource", + "Resource", + "ResourceSku", + "SqlManagedInstance", + "SqlManagedInstanceK8SRaw", + "SqlManagedInstanceK8SSpec", + "SqlManagedInstanceListResult", + "SqlManagedInstanceProperties", + "SqlManagedInstanceSku", + "SqlManagedInstanceUpdate", + "SqlServerInstance", + "SqlServerInstanceListResult", + "SqlServerInstanceProperties", + "SqlServerInstanceUpdate", + "SystemData", + "TrackedResource", + "UploadServicePrincipal", + "UploadWatermark", + "ArcSqlManagedInstanceLicenseType", + "ArcSqlServerLicenseType", + "ConnectionStatus", + "DefenderStatus", + "EditionType", + "ExtendedLocationTypes", + "IdentityType", + "Infrastructure", + "OperationOrigin", + "SqlManagedInstanceSkuTier", + "SqlVersion", +] diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/models/_azure_arc_data_management_client_enums.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/models/_azure_arc_data_management_client_enums.py new file mode 100644 index 00000000000..c75c31ea34d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/models/_azure_arc_data_management_client_enums.py @@ -0,0 +1,127 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum, EnumMeta +from six import with_metaclass + + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class ArcSqlManagedInstanceLicenseType( + with_metaclass(_CaseInsensitiveEnumMeta, str, Enum) +): + """The license type to apply for this managed instance.""" + + BASE_PRICE = "BasePrice" + LICENSE_INCLUDED = "LicenseIncluded" + DISASTER_RECOVERY = "DisasterRecovery" + + +class ArcSqlServerLicenseType( + with_metaclass(_CaseInsensitiveEnumMeta, str, Enum) +): + """SQL Server license type.""" + + PAID = "Paid" + FREE = "Free" + HADR = "HADR" + UNDEFINED = "Undefined" + + +class ConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The cloud connectivity status.""" + + CONNECTED = "Connected" + DISCONNECTED = "Disconnected" + UNKNOWN = "Unknown" + + +class DefenderStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Status of Azure Defender.""" + + PROTECTED = "Protected" + UNPROTECTED = "Unprotected" + UNKNOWN = "Unknown" + + +class EditionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """SQL Server edition.""" + + EVALUATION = "Evaluation" + ENTERPRISE = "Enterprise" + STANDARD = "Standard" + WEB = "Web" + DEVELOPER = "Developer" + EXPRESS = "Express" + + +class ExtendedLocationTypes( + with_metaclass(_CaseInsensitiveEnumMeta, str, Enum) +): + """The type of extendedLocation.""" + + CUSTOM_LOCATION = "CustomLocation" + + +class IdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity that creates/modifies resources""" + + USER = "User" + APPLICATION = "Application" + MANAGED_IDENTITY = "ManagedIdentity" + KEY = "Key" + + +class Infrastructure(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The infrastructure the data controller is running on.""" + + AZURE = "azure" + GCP = "gcp" + AWS = "aws" + ALIBABA = "alibaba" + ONPREMISES = "onpremises" + OTHER = "other" + + +class OperationOrigin(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The intended executor of the operation.""" + + USER = "user" + SYSTEM = "system" + + +class SqlManagedInstanceSkuTier( + with_metaclass(_CaseInsensitiveEnumMeta, str, Enum) +): + """The pricing tier for the instance.""" + + GENERAL_PURPOSE = "GeneralPurpose" + BUSINESS_CRITICAL = "BusinessCritical" + + +class SqlVersion(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """SQL Server version.""" + + SQL_SERVER2019 = "SQL Server 2019" + SQL_SERVER2017 = "SQL Server 2017" + SQL_SERVER2016 = "SQL Server 2016" diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/models/_models.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/models/_models.py new file mode 100644 index 00000000000..0a7166c6531 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/models/_models.py @@ -0,0 +1,1399 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + + +class BasicLoginInformation(msrest.serialization.Model): + """Username and password for basic login authentication. + + :param username: Login username. + :type username: str + :param password: Login password. + :type password: str + """ + + _attribute_map = { + "username": {"key": "username", "type": "str"}, + "password": {"key": "password", "type": "str"}, + } + + def __init__(self, **kwargs): + super(BasicLoginInformation, self).__init__(**kwargs) + self.username = kwargs.get("username", None) + self.password = kwargs.get("password", None) + + +class CommonSku(msrest.serialization.Model): + """The resource model definition representing SKU for ARM resources. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the SKU. It is typically a letter+number code. + :type name: str + :param dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :type dev: bool + :param size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :type size: str + :param family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :type family: str + :param capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :type capacity: int + """ + + _validation = { + "name": {"required": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + } + + def __init__(self, **kwargs): + super(CommonSku, self).__init__(**kwargs) + self.name = kwargs["name"] + self.dev = kwargs.get("dev", True) + self.size = kwargs.get("size", None) + self.family = kwargs.get("family", None) + self.capacity = kwargs.get("capacity", None) + + +class DataControllerProperties(msrest.serialization.Model): + """The data controller properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param infrastructure: The infrastructure the data controller is running on. Possible values + include: "azure", "gcp", "aws", "alibaba", "onpremises", "other". Default value: "other". + :type infrastructure: str or ~azure_arc_data_management_client.models.Infrastructure + :param on_premise_property: Properties from the Kubernetes data controller. + :type on_premise_property: ~azure_arc_data_management_client.models.OnPremiseProperty + :param k8_s_raw: The raw kubernetes information. + :type k8_s_raw: any + :param upload_watermark: Properties on upload watermark. Mostly timestamp for each upload data + type. + :type upload_watermark: ~azure_arc_data_management_client.models.UploadWatermark + :param last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :type last_uploaded_date: ~datetime.datetime + :param basic_login_information: Deprecated. Azure Arc Data Services data controller no longer + expose any endpoint. All traffic are exposed through Kubernetes native API. + :type basic_login_information: ~azure_arc_data_management_client.models.BasicLoginInformation + :param metrics_dashboard_credential: Login credential for metrics dashboard on the Kubernetes + cluster. + :type metrics_dashboard_credential: + ~azure_arc_data_management_client.models.BasicLoginInformation + :param logs_dashboard_credential: Login credential for logs dashboard on the Kubernetes + cluster. + :type logs_dashboard_credential: ~azure_arc_data_management_client.models.BasicLoginInformation + :param log_analytics_workspace_config: Log analytics workspace id and primary key. + :type log_analytics_workspace_config: + ~azure_arc_data_management_client.models.LogAnalyticsWorkspaceConfig + :param upload_service_principal: Deprecated. Service principal is deprecated in favor of Arc + Kubernetes service extension managed identity. + :type upload_service_principal: ~azure_arc_data_management_client.models.UploadServicePrincipal + :ivar provisioning_state: + :vartype provisioning_state: str + :param cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :type cluster_id: str + :param extension_id: If a CustomLocation is provided, this contains the ARM id of the extension + the custom location belongs to. + :type extension_id: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "infrastructure": {"key": "infrastructure", "type": "str"}, + "on_premise_property": { + "key": "onPremiseProperty", + "type": "OnPremiseProperty", + }, + "k8_s_raw": {"key": "k8sRaw", "type": "object"}, + "upload_watermark": { + "key": "uploadWatermark", + "type": "UploadWatermark", + }, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "metrics_dashboard_credential": { + "key": "metricsDashboardCredential", + "type": "BasicLoginInformation", + }, + "logs_dashboard_credential": { + "key": "logsDashboardCredential", + "type": "BasicLoginInformation", + }, + "log_analytics_workspace_config": { + "key": "logAnalyticsWorkspaceConfig", + "type": "LogAnalyticsWorkspaceConfig", + }, + "upload_service_principal": { + "key": "uploadServicePrincipal", + "type": "UploadServicePrincipal", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "cluster_id": {"key": "clusterId", "type": "str"}, + "extension_id": {"key": "extensionId", "type": "str"}, + } + + def __init__(self, **kwargs): + super(DataControllerProperties, self).__init__(**kwargs) + self.infrastructure = kwargs.get("infrastructure", "other") + self.on_premise_property = kwargs.get("on_premise_property", None) + self.k8_s_raw = kwargs.get("k8_s_raw", None) + self.upload_watermark = kwargs.get("upload_watermark", None) + self.last_uploaded_date = kwargs.get("last_uploaded_date", None) + self.basic_login_information = kwargs.get( + "basic_login_information", None + ) + self.metrics_dashboard_credential = kwargs.get( + "metrics_dashboard_credential", None + ) + self.logs_dashboard_credential = kwargs.get( + "logs_dashboard_credential", None + ) + self.log_analytics_workspace_config = kwargs.get( + "log_analytics_workspace_config", None + ) + self.upload_service_principal = kwargs.get( + "upload_service_principal", None + ) + self.provisioning_state = None + self.cluster_id = kwargs.get("cluster_id", None) + self.extension_id = kwargs.get("extension_id", None) + + +class Resource(msrest.serialization.Model): + """Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + } + + def __init__(self, **kwargs): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class TrackedResource(Resource): + """The resource model definition for a ARM tracked top level resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :ivar system_data: Read only system data. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "location": {"required": True}, + "system_data": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + } + + def __init__(self, **kwargs): + super(TrackedResource, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + self.location = kwargs["location"] + self.system_data = None + + +class DataControllerResource(TrackedResource): + """Data controller resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :ivar system_data: Read only system data. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :param extended_location: The extendedLocation of the resource. + :type extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :param properties: Required. The data controller's properties. + :type properties: ~azure_arc_data_management_client.models.DataControllerProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "location": {"required": True}, + "system_data": {"readonly": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "properties": {"key": "properties", "type": "DataControllerProperties"}, + } + + def __init__(self, **kwargs): + super(DataControllerResource, self).__init__(**kwargs) + self.extended_location = kwargs.get("extended_location", None) + self.properties = kwargs["properties"] + + +class DataControllerUpdate(msrest.serialization.Model): + """Used for updating a data controller resource. + + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + } + + def __init__(self, **kwargs): + super(DataControllerUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + + +class ErrorResponse(msrest.serialization.Model): + """An error response from the Azure Data on Azure Arc service. + + :param error: null. + :type error: ~azure_arc_data_management_client.models.ErrorResponseBody + """ + + _attribute_map = { + "error": {"key": "error", "type": "ErrorResponseBody"}, + } + + def __init__(self, **kwargs): + super(ErrorResponse, self).__init__(**kwargs) + self.error = kwargs.get("error", None) + + +class ErrorResponseBody(msrest.serialization.Model): + """An error response from the Batch service. + + :param code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :type code: str + :param message: A message describing the error, intended to be suitable for display in a user + interface. + :type message: str + :param target: The target of the particular error. For example, the name of the property in + error. + :type target: str + :param details: A list of additional details about the error. + :type details: list[~azure_arc_data_management_client.models.ErrorResponseBody] + """ + + _attribute_map = { + "code": {"key": "code", "type": "str"}, + "message": {"key": "message", "type": "str"}, + "target": {"key": "target", "type": "str"}, + "details": {"key": "details", "type": "[ErrorResponseBody]"}, + } + + def __init__(self, **kwargs): + super(ErrorResponseBody, self).__init__(**kwargs) + self.code = kwargs.get("code", None) + self.message = kwargs.get("message", None) + self.target = kwargs.get("target", None) + self.details = kwargs.get("details", None) + + +class ExtendedLocation(msrest.serialization.Model): + """The complex type of the extended location. + + :param name: The name of the extended location. + :type name: str + :param type: The type of the extended location. Possible values include: "CustomLocation". + :type type: str or ~azure_arc_data_management_client.models.ExtendedLocationTypes + """ + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + } + + def __init__(self, **kwargs): + super(ExtendedLocation, self).__init__(**kwargs) + self.name = kwargs.get("name", None) + self.type = kwargs.get("type", None) + + +class Identity(msrest.serialization.Model): + """Identity for the resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar principal_id: The principal ID of resource identity. + :vartype principal_id: str + :ivar tenant_id: The tenant ID of resource. + :vartype tenant_id: str + :param type: The identity type. The only acceptable values to pass in are None and + "SystemAssigned". The default value is None. + :type type: str + """ + + _validation = { + "principal_id": {"readonly": True}, + "tenant_id": {"readonly": True}, + } + + _attribute_map = { + "principal_id": {"key": "principalId", "type": "str"}, + "tenant_id": {"key": "tenantId", "type": "str"}, + "type": {"key": "type", "type": "str"}, + } + + def __init__(self, **kwargs): + super(Identity, self).__init__(**kwargs) + self.principal_id = None + self.tenant_id = None + self.type = kwargs.get("type", None) + + +class K8SResourceRequirements(msrest.serialization.Model): + """The kubernetes resource limits and requests used to restrict or reserve resource usage. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, any] + :param requests: Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' + request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default + 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and + maximum 'memory' is '128Gi'. + :type requests: dict[str, str] + :param limits: Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request + must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' + is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum + 'memory' is '128Gi'. + :type limits: dict[str, str] + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "requests": {"key": "requests", "type": "{str}"}, + "limits": {"key": "limits", "type": "{str}"}, + } + + def __init__(self, **kwargs): + super(K8SResourceRequirements, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.requests = kwargs.get("requests", None) + self.limits = kwargs.get("limits", None) + + +class K8SScheduling(msrest.serialization.Model): + """The kubernetes scheduling information. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, any] + :param default: The kubernetes scheduling options. It describes restrictions used to help + Kubernetes select appropriate nodes to host the database service. + :type default: ~azure_arc_data_management_client.models.K8SSchedulingOptions + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "default": {"key": "default", "type": "K8SSchedulingOptions"}, + } + + def __init__(self, **kwargs): + super(K8SScheduling, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.default = kwargs.get("default", None) + + +class K8SSchedulingOptions(msrest.serialization.Model): + """The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, any] + :param resources: The kubernetes resource limits and requests used to restrict or reserve + resource usage. + :type resources: ~azure_arc_data_management_client.models.K8SResourceRequirements + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "resources": {"key": "resources", "type": "K8SResourceRequirements"}, + } + + def __init__(self, **kwargs): + super(K8SSchedulingOptions, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.resources = kwargs.get("resources", None) + + +class LogAnalyticsWorkspaceConfig(msrest.serialization.Model): + """Log analytics workspace id and primary key. + + :param workspace_id: Azure Log Analytics workspace ID. + :type workspace_id: str + :param primary_key: Primary key of the workspace. + :type primary_key: str + """ + + _attribute_map = { + "workspace_id": {"key": "workspaceId", "type": "str"}, + "primary_key": {"key": "primaryKey", "type": "str"}, + } + + def __init__(self, **kwargs): + super(LogAnalyticsWorkspaceConfig, self).__init__(**kwargs) + self.workspace_id = kwargs.get("workspace_id", None) + self.primary_key = kwargs.get("primary_key", None) + + +class ODataError(msrest.serialization.Model): + """Information about an error. + + :param code: A language-independent error name. + :type code: str + :param message: The error message. + :type message: str + :param target: The target of the error (for example, the name of the property in error). + :type target: str + :param details: The error details. + :type details: list[~azure_arc_data_management_client.models.ODataError] + """ + + _attribute_map = { + "code": {"key": "code", "type": "str"}, + "message": {"key": "message", "type": "str"}, + "target": {"key": "target", "type": "str"}, + "details": {"key": "details", "type": "[ODataError]"}, + } + + def __init__(self, **kwargs): + super(ODataError, self).__init__(**kwargs) + self.code = kwargs.get("code", None) + self.message = kwargs.get("message", None) + self.target = kwargs.get("target", None) + self.details = kwargs.get("details", None) + + +class OnPremiseProperty(msrest.serialization.Model): + """Properties from the Kubernetes data controller. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. A globally unique ID identifying the associated Kubernetes cluster. + :type id: str + :param public_signing_key: Required. Certificate that contains the Kubernetes cluster public + key used to verify signing. + :type public_signing_key: str + :param signing_certificate_thumbprint: Unique thumbprint returned to customer to verify the + certificate being uploaded. + :type signing_certificate_thumbprint: str + """ + + _validation = { + "id": {"required": True}, + "public_signing_key": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "public_signing_key": {"key": "publicSigningKey", "type": "str"}, + "signing_certificate_thumbprint": { + "key": "signingCertificateThumbprint", + "type": "str", + }, + } + + def __init__(self, **kwargs): + super(OnPremiseProperty, self).__init__(**kwargs) + self.id = kwargs["id"] + self.public_signing_key = kwargs["public_signing_key"] + self.signing_certificate_thumbprint = kwargs.get( + "signing_certificate_thumbprint", None + ) + + +class Operation(msrest.serialization.Model): + """Azure Data Services on Azure Arc operation definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the operation being performed on this particular object. + :type name: str + :param display: Required. The localized display information for this particular operation / + action. + :type display: ~azure_arc_data_management_client.models.OperationDisplay + :ivar origin: The intended executor of the operation. Possible values include: "user", + "system". + :vartype origin: str or ~azure_arc_data_management_client.models.OperationOrigin + :param is_data_action: Required. Indicates whether the operation is a data action. + :type is_data_action: bool + :ivar properties: Additional descriptions for the operation. + :vartype properties: dict[str, any] + """ + + _validation = { + "name": {"required": True}, + "display": {"required": True}, + "origin": {"readonly": True}, + "is_data_action": {"required": True}, + "properties": {"readonly": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "display": {"key": "display", "type": "OperationDisplay"}, + "origin": {"key": "origin", "type": "str"}, + "is_data_action": {"key": "isDataAction", "type": "bool"}, + "properties": {"key": "properties", "type": "{object}"}, + } + + def __init__(self, **kwargs): + super(Operation, self).__init__(**kwargs) + self.name = kwargs["name"] + self.display = kwargs["display"] + self.origin = None + self.is_data_action = kwargs["is_data_action"] + self.properties = None + + +class OperationDisplay(msrest.serialization.Model): + """Display metadata associated with the operation. + + All required parameters must be populated in order to send to Azure. + + :param provider: Required. The localized friendly form of the resource provider name. + :type provider: str + :param resource: Required. The localized friendly form of the resource type related to this + action/operation. + :type resource: str + :param operation: Required. The localized friendly name for the operation. + :type operation: str + :param description: Required. The localized friendly description for the operation. + :type description: str + """ + + _validation = { + "provider": {"required": True}, + "resource": {"required": True}, + "operation": {"required": True}, + "description": {"required": True}, + } + + _attribute_map = { + "provider": {"key": "provider", "type": "str"}, + "resource": {"key": "resource", "type": "str"}, + "operation": {"key": "operation", "type": "str"}, + "description": {"key": "description", "type": "str"}, + } + + def __init__(self, **kwargs): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = kwargs["provider"] + self.resource = kwargs["resource"] + self.operation = kwargs["operation"] + self.description = kwargs["description"] + + +class OperationListResult(msrest.serialization.Model): + """Result of the request to list Azure Data Services on Azure Arc operations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.Operation] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[Operation]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + super(OperationListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class PageOfDataControllerResource(msrest.serialization.Model): + """PageOfDataControllerResource. + + :param value: + :type value: list[~azure_arc_data_management_client.models.DataControllerResource] + :param next_link: Link to retrieve next page of results. + :type next_link: str + """ + + _attribute_map = { + "value": {"key": "value", "type": "[DataControllerResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + super(PageOfDataControllerResource, self).__init__(**kwargs) + self.value = kwargs.get("value", None) + self.next_link = kwargs.get("next_link", None) + + +class Plan(msrest.serialization.Model): + """Plan for the resource. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. A user defined name of the 3rd Party Artifact that is being procured. + :type name: str + :param publisher: Required. The publisher of the 3rd Party Artifact that is being bought. E.g. + NewRelic. + :type publisher: str + :param product: Required. The 3rd Party artifact that is being procured. E.g. NewRelic. Product + maps to the OfferID specified for the artifact at the time of Data Market onboarding. + :type product: str + :param promotion_code: A publisher provided promotion code as provisioned in Data Market for + the said product/artifact. + :type promotion_code: str + :param version: The version of the desired product/artifact. + :type version: str + """ + + _validation = { + "name": {"required": True}, + "publisher": {"required": True}, + "product": {"required": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "publisher": {"key": "publisher", "type": "str"}, + "product": {"key": "product", "type": "str"}, + "promotion_code": {"key": "promotionCode", "type": "str"}, + "version": {"key": "version", "type": "str"}, + } + + def __init__(self, **kwargs): + super(Plan, self).__init__(**kwargs) + self.name = kwargs["name"] + self.publisher = kwargs["publisher"] + self.product = kwargs["product"] + self.promotion_code = kwargs.get("promotion_code", None) + self.version = kwargs.get("version", None) + + +class ProxyResource(Resource): + """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + } + + def __init__(self, **kwargs): + super(ProxyResource, self).__init__(**kwargs) + + +class ResourceSku(msrest.serialization.Model): + """ResourceSku. + + :param capacity: + :type capacity: int + :param family: + :type family: str + :param name: + :type name: str + :param size: + :type size: str + :param tier: + :type tier: str + """ + + _attribute_map = { + "capacity": {"key": "capacity", "type": "int"}, + "family": {"key": "family", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "size": {"key": "size", "type": "str"}, + "tier": {"key": "tier", "type": "str"}, + } + + def __init__(self, **kwargs): + super(ResourceSku, self).__init__(**kwargs) + self.capacity = kwargs.get("capacity", None) + self.family = kwargs.get("family", None) + self.name = kwargs.get("name", None) + self.size = kwargs.get("size", None) + self.tier = kwargs.get("tier", None) + + +class SqlManagedInstance(TrackedResource): + """A SqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :ivar system_data: Read only system data. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :param properties: Required. null. + :type properties: ~azure_arc_data_management_client.models.SqlManagedInstanceProperties + :param extended_location: The extendedLocation of the resource. + :type extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :param sku: Resource sku. + :type sku: ~azure_arc_data_management_client.models.SqlManagedInstanceSku + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "location": {"required": True}, + "system_data": {"readonly": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "properties": { + "key": "properties", + "type": "SqlManagedInstanceProperties", + }, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "sku": {"key": "sku", "type": "SqlManagedInstanceSku"}, + } + + def __init__(self, **kwargs): + super(SqlManagedInstance, self).__init__(**kwargs) + self.properties = kwargs["properties"] + self.extended_location = kwargs.get("extended_location", None) + self.sku = kwargs.get("sku", None) + + +class SqlManagedInstanceK8SRaw(msrest.serialization.Model): + """The raw kubernetes information. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, any] + :param spec: The kubernetes spec information. + :type spec: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SSpec + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "spec": {"key": "spec", "type": "SqlManagedInstanceK8SSpec"}, + } + + def __init__(self, **kwargs): + super(SqlManagedInstanceK8SRaw, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.spec = kwargs.get("spec", None) + + +class SqlManagedInstanceK8SSpec(msrest.serialization.Model): + """The kubernetes spec information. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, any] + :param scheduling: The kubernetes scheduling information. + :type scheduling: ~azure_arc_data_management_client.models.K8SScheduling + :param replicas: This option specifies the number of SQL Managed Instance replicas that will be + deployed in your Kubernetes cluster for high availability purposes. If sku.tier is + BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is + GeneralPurpose, replicas must be '1'. + :type replicas: int + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "scheduling": {"key": "scheduling", "type": "K8SScheduling"}, + "replicas": {"key": "replicas", "type": "int"}, + } + + def __init__(self, **kwargs): + super(SqlManagedInstanceK8SSpec, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.scheduling = kwargs.get("scheduling", None) + self.replicas = kwargs.get("replicas", None) + + +class SqlManagedInstanceListResult(msrest.serialization.Model): + """A list of SqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.SqlManagedInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlManagedInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + super(SqlManagedInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SqlManagedInstanceProperties(msrest.serialization.Model): + """Properties of sqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param data_controller_id: null. + :type data_controller_id: str + :param admin: The instance admin user. + :type admin: str + :param start_time: The instance start time. + :type start_time: str + :param end_time: The instance end time. + :type end_time: str + :param k8_s_raw: The raw kubernetes information. + :type k8_s_raw: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SRaw + :param basic_login_information: Username and password for basic authentication. + :type basic_login_information: ~azure_arc_data_management_client.models.BasicLoginInformation + :param last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :type last_uploaded_date: ~datetime.datetime + :ivar provisioning_state: + :vartype provisioning_state: str + :param license_type: The license type to apply for this managed instance. Possible values + include: "BasePrice", "LicenseIncluded", "DisasterRecovery". Default value: "BasePrice". + :type license_type: str or + ~azure_arc_data_management_client.models.ArcSqlManagedInstanceLicenseType + :param cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :type cluster_id: str + :param extension_id: If a CustomLocation is provided, this contains the ARM id of the extension + the custom location belongs to. + :type extension_id: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "data_controller_id": {"key": "dataControllerId", "type": "str"}, + "admin": {"key": "admin", "type": "str"}, + "start_time": {"key": "startTime", "type": "str"}, + "end_time": {"key": "endTime", "type": "str"}, + "k8_s_raw": {"key": "k8sRaw", "type": "SqlManagedInstanceK8SRaw"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "license_type": {"key": "licenseType", "type": "str"}, + "cluster_id": {"key": "clusterId", "type": "str"}, + "extension_id": {"key": "extensionId", "type": "str"}, + } + + def __init__(self, **kwargs): + super(SqlManagedInstanceProperties, self).__init__(**kwargs) + self.data_controller_id = kwargs.get("data_controller_id", None) + self.admin = kwargs.get("admin", None) + self.start_time = kwargs.get("start_time", None) + self.end_time = kwargs.get("end_time", None) + self.k8_s_raw = kwargs.get("k8_s_raw", None) + self.basic_login_information = kwargs.get( + "basic_login_information", None + ) + self.last_uploaded_date = kwargs.get("last_uploaded_date", None) + self.provisioning_state = None + self.license_type = kwargs.get("license_type", "BasePrice") + self.cluster_id = kwargs.get("cluster_id", None) + self.extension_id = kwargs.get("extension_id", None) + + +class SqlManagedInstanceSku(msrest.serialization.Model): + """The resource model definition representing SKU for Azure Managed Instance - Azure Arc. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar name: The name of the SKU. Has constant value: "vCore". + :vartype name: str + :param tier: The pricing tier for the instance. Possible values include: "GeneralPurpose", + "BusinessCritical". Default value: "GeneralPurpose". + :type tier: str or ~azure_arc_data_management_client.models.SqlManagedInstanceSkuTier + :param dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :type dev: bool + :param size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :type size: str + :param family: + :type family: str + :param capacity: + :type capacity: int + """ + + _validation = { + "name": {"required": True, "constant": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "tier": {"key": "tier", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + } + + name = "vCore" + + def __init__(self, **kwargs): + super(SqlManagedInstanceSku, self).__init__(**kwargs) + self.tier = kwargs.get("tier", "GeneralPurpose") + self.dev = kwargs.get("dev", True) + self.size = kwargs.get("size", None) + self.family = kwargs.get("family", None) + self.capacity = kwargs.get("capacity", None) + + +class SqlManagedInstanceUpdate(msrest.serialization.Model): + """An update to a SQL Managed Instance. + + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + } + + def __init__(self, **kwargs): + super(SqlManagedInstanceUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + + +class SqlServerInstance(TrackedResource): + """A SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :ivar system_data: Read only system data. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :param properties: null. + :type properties: ~azure_arc_data_management_client.models.SqlServerInstanceProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "location": {"required": True}, + "system_data": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "properties": { + "key": "properties", + "type": "SqlServerInstanceProperties", + }, + } + + def __init__(self, **kwargs): + super(SqlServerInstance, self).__init__(**kwargs) + self.properties = kwargs.get("properties", None) + + +class SqlServerInstanceListResult(msrest.serialization.Model): + """A list of SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.SqlServerInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlServerInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + super(SqlServerInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SqlServerInstanceProperties(msrest.serialization.Model): + """Properties of SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param version: SQL Server version. Possible values include: "SQL Server 2019", "SQL Server + 2017", "SQL Server 2016". + :type version: str or ~azure_arc_data_management_client.models.SqlVersion + :param edition: SQL Server edition. Possible values include: "Evaluation", "Enterprise", + "Standard", "Web", "Developer", "Express". + :type edition: str or ~azure_arc_data_management_client.models.EditionType + :param container_resource_id: Required. ARM Resource id of the container resource (Azure Arc + for Servers). + :type container_resource_id: str + :ivar create_time: The time when the resource was created. + :vartype create_time: str + :param v_core: The number of logical processors used by the SQL Server instance. + :type v_core: str + :param status: Required. The cloud connectivity status. Possible values include: "Connected", + "Disconnected", "Unknown". + :type status: str or ~azure_arc_data_management_client.models.ConnectionStatus + :param patch_level: SQL Server update level. + :type patch_level: str + :param collation: SQL Server collation. + :type collation: str + :param current_version: SQL Server current version. + :type current_version: str + :param instance_name: SQL Server instance name. + :type instance_name: str + :param tcp_dynamic_ports: Dynamic TCP ports used by SQL Server. + :type tcp_dynamic_ports: str + :param tcp_static_ports: Static TCP ports used by SQL Server. + :type tcp_static_ports: str + :param product_id: SQL Server product ID. + :type product_id: str + :param license_type: SQL Server license type. Possible values include: "Paid", "Free", "HADR", + "Undefined". + :type license_type: str or ~azure_arc_data_management_client.models.ArcSqlServerLicenseType + :param azure_defender_status_last_updated: Timestamp of last Azure Defender status update. + :type azure_defender_status_last_updated: ~datetime.datetime + :param azure_defender_status: Status of Azure Defender. Possible values include: "Protected", + "Unprotected", "Unknown". + :type azure_defender_status: str or ~azure_arc_data_management_client.models.DefenderStatus + :ivar provisioning_state: + :vartype provisioning_state: str + """ + + _validation = { + "container_resource_id": {"required": True}, + "create_time": {"readonly": True}, + "status": {"required": True}, + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "version": {"key": "version", "type": "str"}, + "edition": {"key": "edition", "type": "str"}, + "container_resource_id": {"key": "containerResourceId", "type": "str"}, + "create_time": {"key": "createTime", "type": "str"}, + "v_core": {"key": "vCore", "type": "str"}, + "status": {"key": "status", "type": "str"}, + "patch_level": {"key": "patchLevel", "type": "str"}, + "collation": {"key": "collation", "type": "str"}, + "current_version": {"key": "currentVersion", "type": "str"}, + "instance_name": {"key": "instanceName", "type": "str"}, + "tcp_dynamic_ports": {"key": "tcpDynamicPorts", "type": "str"}, + "tcp_static_ports": {"key": "tcpStaticPorts", "type": "str"}, + "product_id": {"key": "productId", "type": "str"}, + "license_type": {"key": "licenseType", "type": "str"}, + "azure_defender_status_last_updated": { + "key": "azureDefenderStatusLastUpdated", + "type": "iso-8601", + }, + "azure_defender_status": {"key": "azureDefenderStatus", "type": "str"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + } + + def __init__(self, **kwargs): + super(SqlServerInstanceProperties, self).__init__(**kwargs) + self.version = kwargs.get("version", None) + self.edition = kwargs.get("edition", None) + self.container_resource_id = kwargs["container_resource_id"] + self.create_time = None + self.v_core = kwargs.get("v_core", None) + self.status = kwargs["status"] + self.patch_level = kwargs.get("patch_level", None) + self.collation = kwargs.get("collation", None) + self.current_version = kwargs.get("current_version", None) + self.instance_name = kwargs.get("instance_name", None) + self.tcp_dynamic_ports = kwargs.get("tcp_dynamic_ports", None) + self.tcp_static_ports = kwargs.get("tcp_static_ports", None) + self.product_id = kwargs.get("product_id", None) + self.license_type = kwargs.get("license_type", None) + self.azure_defender_status_last_updated = kwargs.get( + "azure_defender_status_last_updated", None + ) + self.azure_defender_status = kwargs.get("azure_defender_status", None) + self.provisioning_state = None + + +class SqlServerInstanceUpdate(msrest.serialization.Model): + """An update to a SQL Server Instance. + + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + } + + def __init__(self, **kwargs): + super(SqlServerInstanceUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + + +class SystemData(msrest.serialization.Model): + """Read only system data. + + :param created_by: An identifier for the identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~azure_arc_data_management_client.models.IdentityType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: An identifier for the identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or ~azure_arc_data_management_client.models.IdentityType + :param last_modified_at: The timestamp of resource last modification (UTC). + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + "created_by": {"key": "createdBy", "type": "str"}, + "created_by_type": {"key": "createdByType", "type": "str"}, + "created_at": {"key": "createdAt", "type": "iso-8601"}, + "last_modified_by": {"key": "lastModifiedBy", "type": "str"}, + "last_modified_by_type": {"key": "lastModifiedByType", "type": "str"}, + "last_modified_at": {"key": "lastModifiedAt", "type": "iso-8601"}, + } + + def __init__(self, **kwargs): + super(SystemData, self).__init__(**kwargs) + self.created_by = kwargs.get("created_by", None) + self.created_by_type = kwargs.get("created_by_type", None) + self.created_at = kwargs.get("created_at", None) + self.last_modified_by = kwargs.get("last_modified_by", None) + self.last_modified_by_type = kwargs.get("last_modified_by_type", None) + self.last_modified_at = kwargs.get("last_modified_at", None) + + +class UploadServicePrincipal(msrest.serialization.Model): + """Service principal for uploading billing, metrics and logs. + + :param client_id: Client ID of the service principal for uploading data. + :type client_id: str + :param tenant_id: Tenant ID of the service principal. + :type tenant_id: str + :param authority: Authority for the service principal. Example: + https://login.microsoftonline.com/. + :type authority: str + :param client_secret: Secret of the service principal. + :type client_secret: str + """ + + _attribute_map = { + "client_id": {"key": "clientId", "type": "str"}, + "tenant_id": {"key": "tenantId", "type": "str"}, + "authority": {"key": "authority", "type": "str"}, + "client_secret": {"key": "clientSecret", "type": "str"}, + } + + def __init__(self, **kwargs): + super(UploadServicePrincipal, self).__init__(**kwargs) + self.client_id = kwargs.get("client_id", None) + self.tenant_id = kwargs.get("tenant_id", None) + self.authority = kwargs.get("authority", None) + self.client_secret = kwargs.get("client_secret", None) + + +class UploadWatermark(msrest.serialization.Model): + """Properties on upload watermark. Mostly timestamp for each upload data type. + + :param metrics: Last uploaded date for metrics from kubernetes cluster. Defaults to current + date time. + :type metrics: ~datetime.datetime + :param logs: Last uploaded date for logs from kubernetes cluster. Defaults to current date + time. + :type logs: ~datetime.datetime + :param usages: Last uploaded date for usages from kubernetes cluster. Defaults to current date + time. + :type usages: ~datetime.datetime + """ + + _attribute_map = { + "metrics": {"key": "metrics", "type": "iso-8601"}, + "logs": {"key": "logs", "type": "iso-8601"}, + "usages": {"key": "usages", "type": "iso-8601"}, + } + + def __init__(self, **kwargs): + super(UploadWatermark, self).__init__(**kwargs) + self.metrics = kwargs.get("metrics", None) + self.logs = kwargs.get("logs", None) + self.usages = kwargs.get("usages", None) diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/models/_models_py3.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/models/_models_py3.py new file mode 100644 index 00000000000..015b728f0ee --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/models/_models_py3.py @@ -0,0 +1,1634 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import datetime +from typing import Any, Dict, List, Optional, Union + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + +from ._azure_arc_data_management_client_enums import * + + +class BasicLoginInformation(msrest.serialization.Model): + """Username and password for basic login authentication. + + :param username: Login username. + :type username: str + :param password: Login password. + :type password: str + """ + + _attribute_map = { + "username": {"key": "username", "type": "str"}, + "password": {"key": "password", "type": "str"}, + } + + def __init__( + self, + *, + username: Optional[str] = None, + password: Optional[str] = None, + **kwargs, + ): + super(BasicLoginInformation, self).__init__(**kwargs) + self.username = username + self.password = password + + +class CommonSku(msrest.serialization.Model): + """The resource model definition representing SKU for ARM resources. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the SKU. It is typically a letter+number code. + :type name: str + :param dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :type dev: bool + :param size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :type size: str + :param family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :type family: str + :param capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :type capacity: int + """ + + _validation = { + "name": {"required": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + } + + def __init__( + self, + *, + name: str, + dev: Optional[bool] = True, + size: Optional[str] = None, + family: Optional[str] = None, + capacity: Optional[int] = None, + **kwargs, + ): + super(CommonSku, self).__init__(**kwargs) + self.name = name + self.dev = dev + self.size = size + self.family = family + self.capacity = capacity + + +class DataControllerProperties(msrest.serialization.Model): + """The data controller properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param infrastructure: The infrastructure the data controller is running on. Possible values + include: "azure", "gcp", "aws", "alibaba", "onpremises", "other". Default value: "other". + :type infrastructure: str or ~azure_arc_data_management_client.models.Infrastructure + :param on_premise_property: Properties from the Kubernetes data controller. + :type on_premise_property: ~azure_arc_data_management_client.models.OnPremiseProperty + :param k8_s_raw: The raw kubernetes information. + :type k8_s_raw: any + :param upload_watermark: Properties on upload watermark. Mostly timestamp for each upload data + type. + :type upload_watermark: ~azure_arc_data_management_client.models.UploadWatermark + :param last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :type last_uploaded_date: ~datetime.datetime + :param basic_login_information: Deprecated. Azure Arc Data Services data controller no longer + expose any endpoint. All traffic are exposed through Kubernetes native API. + :type basic_login_information: ~azure_arc_data_management_client.models.BasicLoginInformation + :param metrics_dashboard_credential: Login credential for metrics dashboard on the Kubernetes + cluster. + :type metrics_dashboard_credential: + ~azure_arc_data_management_client.models.BasicLoginInformation + :param logs_dashboard_credential: Login credential for logs dashboard on the Kubernetes + cluster. + :type logs_dashboard_credential: ~azure_arc_data_management_client.models.BasicLoginInformation + :param log_analytics_workspace_config: Log analytics workspace id and primary key. + :type log_analytics_workspace_config: + ~azure_arc_data_management_client.models.LogAnalyticsWorkspaceConfig + :param upload_service_principal: Deprecated. Service principal is deprecated in favor of Arc + Kubernetes service extension managed identity. + :type upload_service_principal: ~azure_arc_data_management_client.models.UploadServicePrincipal + :ivar provisioning_state: + :vartype provisioning_state: str + :param cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :type cluster_id: str + :param extension_id: If a CustomLocation is provided, this contains the ARM id of the extension + the custom location belongs to. + :type extension_id: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "infrastructure": {"key": "infrastructure", "type": "str"}, + "on_premise_property": { + "key": "onPremiseProperty", + "type": "OnPremiseProperty", + }, + "k8_s_raw": {"key": "k8sRaw", "type": "object"}, + "upload_watermark": { + "key": "uploadWatermark", + "type": "UploadWatermark", + }, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "metrics_dashboard_credential": { + "key": "metricsDashboardCredential", + "type": "BasicLoginInformation", + }, + "logs_dashboard_credential": { + "key": "logsDashboardCredential", + "type": "BasicLoginInformation", + }, + "log_analytics_workspace_config": { + "key": "logAnalyticsWorkspaceConfig", + "type": "LogAnalyticsWorkspaceConfig", + }, + "upload_service_principal": { + "key": "uploadServicePrincipal", + "type": "UploadServicePrincipal", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "cluster_id": {"key": "clusterId", "type": "str"}, + "extension_id": {"key": "extensionId", "type": "str"}, + } + + def __init__( + self, + *, + infrastructure: Optional[Union[str, "Infrastructure"]] = "other", + on_premise_property: Optional["OnPremiseProperty"] = None, + k8_s_raw: Optional[Any] = None, + upload_watermark: Optional["UploadWatermark"] = None, + last_uploaded_date: Optional[datetime.datetime] = None, + basic_login_information: Optional["BasicLoginInformation"] = None, + metrics_dashboard_credential: Optional["BasicLoginInformation"] = None, + logs_dashboard_credential: Optional["BasicLoginInformation"] = None, + log_analytics_workspace_config: Optional[ + "LogAnalyticsWorkspaceConfig" + ] = None, + upload_service_principal: Optional["UploadServicePrincipal"] = None, + cluster_id: Optional[str] = None, + extension_id: Optional[str] = None, + **kwargs, + ): + super(DataControllerProperties, self).__init__(**kwargs) + self.infrastructure = infrastructure + self.on_premise_property = on_premise_property + self.k8_s_raw = k8_s_raw + self.upload_watermark = upload_watermark + self.last_uploaded_date = last_uploaded_date + self.basic_login_information = basic_login_information + self.metrics_dashboard_credential = metrics_dashboard_credential + self.logs_dashboard_credential = logs_dashboard_credential + self.log_analytics_workspace_config = log_analytics_workspace_config + self.upload_service_principal = upload_service_principal + self.provisioning_state = None + self.cluster_id = cluster_id + self.extension_id = extension_id + + +class Resource(msrest.serialization.Model): + """Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + } + + def __init__(self, **kwargs): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class TrackedResource(Resource): + """The resource model definition for a ARM tracked top level resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :ivar system_data: Read only system data. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "location": {"required": True}, + "system_data": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + } + + def __init__( + self, *, location: str, tags: Optional[Dict[str, str]] = None, **kwargs + ): + super(TrackedResource, self).__init__(**kwargs) + self.tags = tags + self.location = location + self.system_data = None + + +class DataControllerResource(TrackedResource): + """Data controller resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :ivar system_data: Read only system data. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :param extended_location: The extendedLocation of the resource. + :type extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :param properties: Required. The data controller's properties. + :type properties: ~azure_arc_data_management_client.models.DataControllerProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "location": {"required": True}, + "system_data": {"readonly": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "properties": {"key": "properties", "type": "DataControllerProperties"}, + } + + def __init__( + self, + *, + location: str, + properties: "DataControllerProperties", + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, + **kwargs, + ): + super(DataControllerResource, self).__init__( + tags=tags, location=location, **kwargs + ) + self.extended_location = extended_location + self.properties = properties + + +class DataControllerUpdate(msrest.serialization.Model): + """Used for updating a data controller resource. + + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + } + + def __init__(self, *, tags: Optional[Dict[str, str]] = None, **kwargs): + super(DataControllerUpdate, self).__init__(**kwargs) + self.tags = tags + + +class ErrorResponse(msrest.serialization.Model): + """An error response from the Azure Data on Azure Arc service. + + :param error: null. + :type error: ~azure_arc_data_management_client.models.ErrorResponseBody + """ + + _attribute_map = { + "error": {"key": "error", "type": "ErrorResponseBody"}, + } + + def __init__( + self, *, error: Optional["ErrorResponseBody"] = None, **kwargs + ): + super(ErrorResponse, self).__init__(**kwargs) + self.error = error + + +class ErrorResponseBody(msrest.serialization.Model): + """An error response from the Batch service. + + :param code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :type code: str + :param message: A message describing the error, intended to be suitable for display in a user + interface. + :type message: str + :param target: The target of the particular error. For example, the name of the property in + error. + :type target: str + :param details: A list of additional details about the error. + :type details: list[~azure_arc_data_management_client.models.ErrorResponseBody] + """ + + _attribute_map = { + "code": {"key": "code", "type": "str"}, + "message": {"key": "message", "type": "str"}, + "target": {"key": "target", "type": "str"}, + "details": {"key": "details", "type": "[ErrorResponseBody]"}, + } + + def __init__( + self, + *, + code: Optional[str] = None, + message: Optional[str] = None, + target: Optional[str] = None, + details: Optional[List["ErrorResponseBody"]] = None, + **kwargs, + ): + super(ErrorResponseBody, self).__init__(**kwargs) + self.code = code + self.message = message + self.target = target + self.details = details + + +class ExtendedLocation(msrest.serialization.Model): + """The complex type of the extended location. + + :param name: The name of the extended location. + :type name: str + :param type: The type of the extended location. Possible values include: "CustomLocation". + :type type: str or ~azure_arc_data_management_client.models.ExtendedLocationTypes + """ + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + type: Optional[Union[str, "ExtendedLocationTypes"]] = None, + **kwargs, + ): + super(ExtendedLocation, self).__init__(**kwargs) + self.name = name + self.type = type + + +class Identity(msrest.serialization.Model): + """Identity for the resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar principal_id: The principal ID of resource identity. + :vartype principal_id: str + :ivar tenant_id: The tenant ID of resource. + :vartype tenant_id: str + :param type: The identity type. The only acceptable values to pass in are None and + "SystemAssigned". The default value is None. + :type type: str + """ + + _validation = { + "principal_id": {"readonly": True}, + "tenant_id": {"readonly": True}, + } + + _attribute_map = { + "principal_id": {"key": "principalId", "type": "str"}, + "tenant_id": {"key": "tenantId", "type": "str"}, + "type": {"key": "type", "type": "str"}, + } + + def __init__(self, *, type: Optional[str] = None, **kwargs): + super(Identity, self).__init__(**kwargs) + self.principal_id = None + self.tenant_id = None + self.type = type + + +class K8SResourceRequirements(msrest.serialization.Model): + """The kubernetes resource limits and requests used to restrict or reserve resource usage. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, any] + :param requests: Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' + request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default + 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and + maximum 'memory' is '128Gi'. + :type requests: dict[str, str] + :param limits: Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request + must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' + is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum + 'memory' is '128Gi'. + :type limits: dict[str, str] + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "requests": {"key": "requests", "type": "{str}"}, + "limits": {"key": "limits", "type": "{str}"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + requests: Optional[Dict[str, str]] = None, + limits: Optional[Dict[str, str]] = None, + **kwargs, + ): + super(K8SResourceRequirements, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.requests = requests + self.limits = limits + + +class K8SScheduling(msrest.serialization.Model): + """The kubernetes scheduling information. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, any] + :param default: The kubernetes scheduling options. It describes restrictions used to help + Kubernetes select appropriate nodes to host the database service. + :type default: ~azure_arc_data_management_client.models.K8SSchedulingOptions + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "default": {"key": "default", "type": "K8SSchedulingOptions"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + default: Optional["K8SSchedulingOptions"] = None, + **kwargs, + ): + super(K8SScheduling, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.default = default + + +class K8SSchedulingOptions(msrest.serialization.Model): + """The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, any] + :param resources: The kubernetes resource limits and requests used to restrict or reserve + resource usage. + :type resources: ~azure_arc_data_management_client.models.K8SResourceRequirements + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "resources": {"key": "resources", "type": "K8SResourceRequirements"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + resources: Optional["K8SResourceRequirements"] = None, + **kwargs, + ): + super(K8SSchedulingOptions, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.resources = resources + + +class LogAnalyticsWorkspaceConfig(msrest.serialization.Model): + """Log analytics workspace id and primary key. + + :param workspace_id: Azure Log Analytics workspace ID. + :type workspace_id: str + :param primary_key: Primary key of the workspace. + :type primary_key: str + """ + + _attribute_map = { + "workspace_id": {"key": "workspaceId", "type": "str"}, + "primary_key": {"key": "primaryKey", "type": "str"}, + } + + def __init__( + self, + *, + workspace_id: Optional[str] = None, + primary_key: Optional[str] = None, + **kwargs, + ): + super(LogAnalyticsWorkspaceConfig, self).__init__(**kwargs) + self.workspace_id = workspace_id + self.primary_key = primary_key + + +class ODataError(msrest.serialization.Model): + """Information about an error. + + :param code: A language-independent error name. + :type code: str + :param message: The error message. + :type message: str + :param target: The target of the error (for example, the name of the property in error). + :type target: str + :param details: The error details. + :type details: list[~azure_arc_data_management_client.models.ODataError] + """ + + _attribute_map = { + "code": {"key": "code", "type": "str"}, + "message": {"key": "message", "type": "str"}, + "target": {"key": "target", "type": "str"}, + "details": {"key": "details", "type": "[ODataError]"}, + } + + def __init__( + self, + *, + code: Optional[str] = None, + message: Optional[str] = None, + target: Optional[str] = None, + details: Optional[List["ODataError"]] = None, + **kwargs, + ): + super(ODataError, self).__init__(**kwargs) + self.code = code + self.message = message + self.target = target + self.details = details + + +class OnPremiseProperty(msrest.serialization.Model): + """Properties from the Kubernetes data controller. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. A globally unique ID identifying the associated Kubernetes cluster. + :type id: str + :param public_signing_key: Required. Certificate that contains the Kubernetes cluster public + key used to verify signing. + :type public_signing_key: str + :param signing_certificate_thumbprint: Unique thumbprint returned to customer to verify the + certificate being uploaded. + :type signing_certificate_thumbprint: str + """ + + _validation = { + "id": {"required": True}, + "public_signing_key": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "public_signing_key": {"key": "publicSigningKey", "type": "str"}, + "signing_certificate_thumbprint": { + "key": "signingCertificateThumbprint", + "type": "str", + }, + } + + def __init__( + self, + *, + id: str, + public_signing_key: str, + signing_certificate_thumbprint: Optional[str] = None, + **kwargs, + ): + super(OnPremiseProperty, self).__init__(**kwargs) + self.id = id + self.public_signing_key = public_signing_key + self.signing_certificate_thumbprint = signing_certificate_thumbprint + + +class Operation(msrest.serialization.Model): + """Azure Data Services on Azure Arc operation definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the operation being performed on this particular object. + :type name: str + :param display: Required. The localized display information for this particular operation / + action. + :type display: ~azure_arc_data_management_client.models.OperationDisplay + :ivar origin: The intended executor of the operation. Possible values include: "user", + "system". + :vartype origin: str or ~azure_arc_data_management_client.models.OperationOrigin + :param is_data_action: Required. Indicates whether the operation is a data action. + :type is_data_action: bool + :ivar properties: Additional descriptions for the operation. + :vartype properties: dict[str, any] + """ + + _validation = { + "name": {"required": True}, + "display": {"required": True}, + "origin": {"readonly": True}, + "is_data_action": {"required": True}, + "properties": {"readonly": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "display": {"key": "display", "type": "OperationDisplay"}, + "origin": {"key": "origin", "type": "str"}, + "is_data_action": {"key": "isDataAction", "type": "bool"}, + "properties": {"key": "properties", "type": "{object}"}, + } + + def __init__( + self, + *, + name: str, + display: "OperationDisplay", + is_data_action: bool, + **kwargs, + ): + super(Operation, self).__init__(**kwargs) + self.name = name + self.display = display + self.origin = None + self.is_data_action = is_data_action + self.properties = None + + +class OperationDisplay(msrest.serialization.Model): + """Display metadata associated with the operation. + + All required parameters must be populated in order to send to Azure. + + :param provider: Required. The localized friendly form of the resource provider name. + :type provider: str + :param resource: Required. The localized friendly form of the resource type related to this + action/operation. + :type resource: str + :param operation: Required. The localized friendly name for the operation. + :type operation: str + :param description: Required. The localized friendly description for the operation. + :type description: str + """ + + _validation = { + "provider": {"required": True}, + "resource": {"required": True}, + "operation": {"required": True}, + "description": {"required": True}, + } + + _attribute_map = { + "provider": {"key": "provider", "type": "str"}, + "resource": {"key": "resource", "type": "str"}, + "operation": {"key": "operation", "type": "str"}, + "description": {"key": "description", "type": "str"}, + } + + def __init__( + self, + *, + provider: str, + resource: str, + operation: str, + description: str, + **kwargs, + ): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class OperationListResult(msrest.serialization.Model): + """Result of the request to list Azure Data Services on Azure Arc operations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.Operation] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[Operation]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + super(OperationListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class PageOfDataControllerResource(msrest.serialization.Model): + """PageOfDataControllerResource. + + :param value: + :type value: list[~azure_arc_data_management_client.models.DataControllerResource] + :param next_link: Link to retrieve next page of results. + :type next_link: str + """ + + _attribute_map = { + "value": {"key": "value", "type": "[DataControllerResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__( + self, + *, + value: Optional[List["DataControllerResource"]] = None, + next_link: Optional[str] = None, + **kwargs, + ): + super(PageOfDataControllerResource, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class Plan(msrest.serialization.Model): + """Plan for the resource. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. A user defined name of the 3rd Party Artifact that is being procured. + :type name: str + :param publisher: Required. The publisher of the 3rd Party Artifact that is being bought. E.g. + NewRelic. + :type publisher: str + :param product: Required. The 3rd Party artifact that is being procured. E.g. NewRelic. Product + maps to the OfferID specified for the artifact at the time of Data Market onboarding. + :type product: str + :param promotion_code: A publisher provided promotion code as provisioned in Data Market for + the said product/artifact. + :type promotion_code: str + :param version: The version of the desired product/artifact. + :type version: str + """ + + _validation = { + "name": {"required": True}, + "publisher": {"required": True}, + "product": {"required": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "publisher": {"key": "publisher", "type": "str"}, + "product": {"key": "product", "type": "str"}, + "promotion_code": {"key": "promotionCode", "type": "str"}, + "version": {"key": "version", "type": "str"}, + } + + def __init__( + self, + *, + name: str, + publisher: str, + product: str, + promotion_code: Optional[str] = None, + version: Optional[str] = None, + **kwargs, + ): + super(Plan, self).__init__(**kwargs) + self.name = name + self.publisher = publisher + self.product = product + self.promotion_code = promotion_code + self.version = version + + +class ProxyResource(Resource): + """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + } + + def __init__(self, **kwargs): + super(ProxyResource, self).__init__(**kwargs) + + +class ResourceSku(msrest.serialization.Model): + """ResourceSku. + + :param capacity: + :type capacity: int + :param family: + :type family: str + :param name: + :type name: str + :param size: + :type size: str + :param tier: + :type tier: str + """ + + _attribute_map = { + "capacity": {"key": "capacity", "type": "int"}, + "family": {"key": "family", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "size": {"key": "size", "type": "str"}, + "tier": {"key": "tier", "type": "str"}, + } + + def __init__( + self, + *, + capacity: Optional[int] = None, + family: Optional[str] = None, + name: Optional[str] = None, + size: Optional[str] = None, + tier: Optional[str] = None, + **kwargs, + ): + super(ResourceSku, self).__init__(**kwargs) + self.capacity = capacity + self.family = family + self.name = name + self.size = size + self.tier = tier + + +class SqlManagedInstance(TrackedResource): + """A SqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :ivar system_data: Read only system data. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :param properties: Required. null. + :type properties: ~azure_arc_data_management_client.models.SqlManagedInstanceProperties + :param extended_location: The extendedLocation of the resource. + :type extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :param sku: Resource sku. + :type sku: ~azure_arc_data_management_client.models.SqlManagedInstanceSku + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "location": {"required": True}, + "system_data": {"readonly": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "properties": { + "key": "properties", + "type": "SqlManagedInstanceProperties", + }, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "sku": {"key": "sku", "type": "SqlManagedInstanceSku"}, + } + + def __init__( + self, + *, + location: str, + properties: "SqlManagedInstanceProperties", + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, + sku: Optional["SqlManagedInstanceSku"] = None, + **kwargs, + ): + super(SqlManagedInstance, self).__init__( + tags=tags, location=location, **kwargs + ) + self.properties = properties + self.extended_location = extended_location + self.sku = sku + + +class SqlManagedInstanceK8SRaw(msrest.serialization.Model): + """The raw kubernetes information. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, any] + :param spec: The kubernetes spec information. + :type spec: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SSpec + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "spec": {"key": "spec", "type": "SqlManagedInstanceK8SSpec"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + spec: Optional["SqlManagedInstanceK8SSpec"] = None, + **kwargs, + ): + super(SqlManagedInstanceK8SRaw, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.spec = spec + + +class SqlManagedInstanceK8SSpec(msrest.serialization.Model): + """The kubernetes spec information. + + :param additional_properties: Unmatched properties from the message are deserialized to this + collection. + :type additional_properties: dict[str, any] + :param scheduling: The kubernetes scheduling information. + :type scheduling: ~azure_arc_data_management_client.models.K8SScheduling + :param replicas: This option specifies the number of SQL Managed Instance replicas that will be + deployed in your Kubernetes cluster for high availability purposes. If sku.tier is + BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is + GeneralPurpose, replicas must be '1'. + :type replicas: int + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "scheduling": {"key": "scheduling", "type": "K8SScheduling"}, + "replicas": {"key": "replicas", "type": "int"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + scheduling: Optional["K8SScheduling"] = None, + replicas: Optional[int] = None, + **kwargs, + ): + super(SqlManagedInstanceK8SSpec, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.scheduling = scheduling + self.replicas = replicas + + +class SqlManagedInstanceListResult(msrest.serialization.Model): + """A list of SqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.SqlManagedInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlManagedInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + super(SqlManagedInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SqlManagedInstanceProperties(msrest.serialization.Model): + """Properties of sqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param data_controller_id: null. + :type data_controller_id: str + :param admin: The instance admin user. + :type admin: str + :param start_time: The instance start time. + :type start_time: str + :param end_time: The instance end time. + :type end_time: str + :param k8_s_raw: The raw kubernetes information. + :type k8_s_raw: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SRaw + :param basic_login_information: Username and password for basic authentication. + :type basic_login_information: ~azure_arc_data_management_client.models.BasicLoginInformation + :param last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :type last_uploaded_date: ~datetime.datetime + :ivar provisioning_state: + :vartype provisioning_state: str + :param license_type: The license type to apply for this managed instance. Possible values + include: "BasePrice", "LicenseIncluded", "DisasterRecovery". Default value: "BasePrice". + :type license_type: str or + ~azure_arc_data_management_client.models.ArcSqlManagedInstanceLicenseType + :param cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :type cluster_id: str + :param extension_id: If a CustomLocation is provided, this contains the ARM id of the extension + the custom location belongs to. + :type extension_id: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "data_controller_id": {"key": "dataControllerId", "type": "str"}, + "admin": {"key": "admin", "type": "str"}, + "start_time": {"key": "startTime", "type": "str"}, + "end_time": {"key": "endTime", "type": "str"}, + "k8_s_raw": {"key": "k8sRaw", "type": "SqlManagedInstanceK8SRaw"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "license_type": {"key": "licenseType", "type": "str"}, + "cluster_id": {"key": "clusterId", "type": "str"}, + "extension_id": {"key": "extensionId", "type": "str"}, + } + + def __init__( + self, + *, + data_controller_id: Optional[str] = None, + admin: Optional[str] = None, + start_time: Optional[str] = None, + end_time: Optional[str] = None, + k8_s_raw: Optional["SqlManagedInstanceK8SRaw"] = None, + basic_login_information: Optional["BasicLoginInformation"] = None, + last_uploaded_date: Optional[datetime.datetime] = None, + license_type: Optional[ + Union[str, "ArcSqlManagedInstanceLicenseType"] + ] = "BasePrice", + cluster_id: Optional[str] = None, + extension_id: Optional[str] = None, + **kwargs, + ): + super(SqlManagedInstanceProperties, self).__init__(**kwargs) + self.data_controller_id = data_controller_id + self.admin = admin + self.start_time = start_time + self.end_time = end_time + self.k8_s_raw = k8_s_raw + self.basic_login_information = basic_login_information + self.last_uploaded_date = last_uploaded_date + self.provisioning_state = None + self.license_type = license_type + self.cluster_id = cluster_id + self.extension_id = extension_id + + +class SqlManagedInstanceSku(msrest.serialization.Model): + """The resource model definition representing SKU for Azure Managed Instance - Azure Arc. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar name: The name of the SKU. Has constant value: "vCore". + :vartype name: str + :param tier: The pricing tier for the instance. Possible values include: "GeneralPurpose", + "BusinessCritical". Default value: "GeneralPurpose". + :type tier: str or ~azure_arc_data_management_client.models.SqlManagedInstanceSkuTier + :param dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :type dev: bool + :param size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :type size: str + :param family: + :type family: str + :param capacity: + :type capacity: int + """ + + _validation = { + "name": {"required": True, "constant": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "tier": {"key": "tier", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + } + + name = "vCore" + + def __init__( + self, + *, + tier: Optional[ + Union[str, "SqlManagedInstanceSkuTier"] + ] = "GeneralPurpose", + dev: Optional[bool] = True, + size: Optional[str] = None, + family: Optional[str] = None, + capacity: Optional[int] = None, + **kwargs, + ): + super(SqlManagedInstanceSku, self).__init__(**kwargs) + self.tier = tier + self.dev = dev + self.size = size + self.family = family + self.capacity = capacity + + +class SqlManagedInstanceUpdate(msrest.serialization.Model): + """An update to a SQL Managed Instance. + + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + } + + def __init__(self, *, tags: Optional[Dict[str, str]] = None, **kwargs): + super(SqlManagedInstanceUpdate, self).__init__(**kwargs) + self.tags = tags + + +class SqlServerInstance(TrackedResource): + """A SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or + Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :ivar system_data: Read only system data. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :param properties: null. + :type properties: ~azure_arc_data_management_client.models.SqlServerInstanceProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "location": {"required": True}, + "system_data": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "properties": { + "key": "properties", + "type": "SqlServerInstanceProperties", + }, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + properties: Optional["SqlServerInstanceProperties"] = None, + **kwargs, + ): + super(SqlServerInstance, self).__init__( + tags=tags, location=location, **kwargs + ) + self.properties = properties + + +class SqlServerInstanceListResult(msrest.serialization.Model): + """A list of SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.SqlServerInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlServerInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + super(SqlServerInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SqlServerInstanceProperties(msrest.serialization.Model): + """Properties of SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param version: SQL Server version. Possible values include: "SQL Server 2019", "SQL Server + 2017", "SQL Server 2016". + :type version: str or ~azure_arc_data_management_client.models.SqlVersion + :param edition: SQL Server edition. Possible values include: "Evaluation", "Enterprise", + "Standard", "Web", "Developer", "Express". + :type edition: str or ~azure_arc_data_management_client.models.EditionType + :param container_resource_id: Required. ARM Resource id of the container resource (Azure Arc + for Servers). + :type container_resource_id: str + :ivar create_time: The time when the resource was created. + :vartype create_time: str + :param v_core: The number of logical processors used by the SQL Server instance. + :type v_core: str + :param status: Required. The cloud connectivity status. Possible values include: "Connected", + "Disconnected", "Unknown". + :type status: str or ~azure_arc_data_management_client.models.ConnectionStatus + :param patch_level: SQL Server update level. + :type patch_level: str + :param collation: SQL Server collation. + :type collation: str + :param current_version: SQL Server current version. + :type current_version: str + :param instance_name: SQL Server instance name. + :type instance_name: str + :param tcp_dynamic_ports: Dynamic TCP ports used by SQL Server. + :type tcp_dynamic_ports: str + :param tcp_static_ports: Static TCP ports used by SQL Server. + :type tcp_static_ports: str + :param product_id: SQL Server product ID. + :type product_id: str + :param license_type: SQL Server license type. Possible values include: "Paid", "Free", "HADR", + "Undefined". + :type license_type: str or ~azure_arc_data_management_client.models.ArcSqlServerLicenseType + :param azure_defender_status_last_updated: Timestamp of last Azure Defender status update. + :type azure_defender_status_last_updated: ~datetime.datetime + :param azure_defender_status: Status of Azure Defender. Possible values include: "Protected", + "Unprotected", "Unknown". + :type azure_defender_status: str or ~azure_arc_data_management_client.models.DefenderStatus + :ivar provisioning_state: + :vartype provisioning_state: str + """ + + _validation = { + "container_resource_id": {"required": True}, + "create_time": {"readonly": True}, + "status": {"required": True}, + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "version": {"key": "version", "type": "str"}, + "edition": {"key": "edition", "type": "str"}, + "container_resource_id": {"key": "containerResourceId", "type": "str"}, + "create_time": {"key": "createTime", "type": "str"}, + "v_core": {"key": "vCore", "type": "str"}, + "status": {"key": "status", "type": "str"}, + "patch_level": {"key": "patchLevel", "type": "str"}, + "collation": {"key": "collation", "type": "str"}, + "current_version": {"key": "currentVersion", "type": "str"}, + "instance_name": {"key": "instanceName", "type": "str"}, + "tcp_dynamic_ports": {"key": "tcpDynamicPorts", "type": "str"}, + "tcp_static_ports": {"key": "tcpStaticPorts", "type": "str"}, + "product_id": {"key": "productId", "type": "str"}, + "license_type": {"key": "licenseType", "type": "str"}, + "azure_defender_status_last_updated": { + "key": "azureDefenderStatusLastUpdated", + "type": "iso-8601", + }, + "azure_defender_status": {"key": "azureDefenderStatus", "type": "str"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + } + + def __init__( + self, + *, + container_resource_id: str, + status: Union[str, "ConnectionStatus"], + version: Optional[Union[str, "SqlVersion"]] = None, + edition: Optional[Union[str, "EditionType"]] = None, + v_core: Optional[str] = None, + patch_level: Optional[str] = None, + collation: Optional[str] = None, + current_version: Optional[str] = None, + instance_name: Optional[str] = None, + tcp_dynamic_ports: Optional[str] = None, + tcp_static_ports: Optional[str] = None, + product_id: Optional[str] = None, + license_type: Optional[Union[str, "ArcSqlServerLicenseType"]] = None, + azure_defender_status_last_updated: Optional[datetime.datetime] = None, + azure_defender_status: Optional[Union[str, "DefenderStatus"]] = None, + **kwargs, + ): + super(SqlServerInstanceProperties, self).__init__(**kwargs) + self.version = version + self.edition = edition + self.container_resource_id = container_resource_id + self.create_time = None + self.v_core = v_core + self.status = status + self.patch_level = patch_level + self.collation = collation + self.current_version = current_version + self.instance_name = instance_name + self.tcp_dynamic_ports = tcp_dynamic_ports + self.tcp_static_ports = tcp_static_ports + self.product_id = product_id + self.license_type = license_type + self.azure_defender_status_last_updated = ( + azure_defender_status_last_updated + ) + self.azure_defender_status = azure_defender_status + self.provisioning_state = None + + +class SqlServerInstanceUpdate(msrest.serialization.Model): + """An update to a SQL Server Instance. + + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + } + + def __init__(self, *, tags: Optional[Dict[str, str]] = None, **kwargs): + super(SqlServerInstanceUpdate, self).__init__(**kwargs) + self.tags = tags + + +class SystemData(msrest.serialization.Model): + """Read only system data. + + :param created_by: An identifier for the identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~azure_arc_data_management_client.models.IdentityType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: An identifier for the identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or ~azure_arc_data_management_client.models.IdentityType + :param last_modified_at: The timestamp of resource last modification (UTC). + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + "created_by": {"key": "createdBy", "type": "str"}, + "created_by_type": {"key": "createdByType", "type": "str"}, + "created_at": {"key": "createdAt", "type": "iso-8601"}, + "last_modified_by": {"key": "lastModifiedBy", "type": "str"}, + "last_modified_by_type": {"key": "lastModifiedByType", "type": "str"}, + "last_modified_at": {"key": "lastModifiedAt", "type": "iso-8601"}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[Union[str, "IdentityType"]] = None, + created_at: Optional[datetime.datetime] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[Union[str, "IdentityType"]] = None, + last_modified_at: Optional[datetime.datetime] = None, + **kwargs, + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + +class UploadServicePrincipal(msrest.serialization.Model): + """Service principal for uploading billing, metrics and logs. + + :param client_id: Client ID of the service principal for uploading data. + :type client_id: str + :param tenant_id: Tenant ID of the service principal. + :type tenant_id: str + :param authority: Authority for the service principal. Example: + https://login.microsoftonline.com/. + :type authority: str + :param client_secret: Secret of the service principal. + :type client_secret: str + """ + + _attribute_map = { + "client_id": {"key": "clientId", "type": "str"}, + "tenant_id": {"key": "tenantId", "type": "str"}, + "authority": {"key": "authority", "type": "str"}, + "client_secret": {"key": "clientSecret", "type": "str"}, + } + + def __init__( + self, + *, + client_id: Optional[str] = None, + tenant_id: Optional[str] = None, + authority: Optional[str] = None, + client_secret: Optional[str] = None, + **kwargs, + ): + super(UploadServicePrincipal, self).__init__(**kwargs) + self.client_id = client_id + self.tenant_id = tenant_id + self.authority = authority + self.client_secret = client_secret + + +class UploadWatermark(msrest.serialization.Model): + """Properties on upload watermark. Mostly timestamp for each upload data type. + + :param metrics: Last uploaded date for metrics from kubernetes cluster. Defaults to current + date time. + :type metrics: ~datetime.datetime + :param logs: Last uploaded date for logs from kubernetes cluster. Defaults to current date + time. + :type logs: ~datetime.datetime + :param usages: Last uploaded date for usages from kubernetes cluster. Defaults to current date + time. + :type usages: ~datetime.datetime + """ + + _attribute_map = { + "metrics": {"key": "metrics", "type": "iso-8601"}, + "logs": {"key": "logs", "type": "iso-8601"}, + "usages": {"key": "usages", "type": "iso-8601"}, + } + + def __init__( + self, + *, + metrics: Optional[datetime.datetime] = None, + logs: Optional[datetime.datetime] = None, + usages: Optional[datetime.datetime] = None, + **kwargs, + ): + super(UploadWatermark, self).__init__(**kwargs) + self.metrics = metrics + self.logs = logs + self.usages = usages diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/operations/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/operations/__init__.py new file mode 100644 index 00000000000..91c6a62c9c5 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/operations/__init__.py @@ -0,0 +1,19 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._sql_managed_instances_operations import SqlManagedInstancesOperations +from ._sql_server_instances_operations import SqlServerInstancesOperations +from ._data_controllers_operations import DataControllersOperations + +__all__ = [ + "Operations", + "SqlManagedInstancesOperations", + "SqlServerInstancesOperations", + "DataControllersOperations", +] diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/operations/_data_controllers_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/operations/_data_controllers_operations.py new file mode 100644 index 00000000000..6133abf0939 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/operations/_data_controllers_operations.py @@ -0,0 +1,814 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import ( + Any, + Callable, + Dict, + Generic, + Iterable, + Optional, + TypeVar, + Union, + ) + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + + +class DataControllersOperations(object): + """DataControllersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_in_subscription( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PageOfDataControllerResource"] + """List dataController resources in the subscription. + + List dataController resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PageOfDataControllerResource or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.PageOfDataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PageOfDataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + if not next_link: + # Construct URL + url = self.list_in_subscription.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + request = self._client.get( + url, query_parameters, header_parameters + ) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get( + url, query_parameters, header_parameters + ) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "PageOfDataControllerResource", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_in_subscription.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/dataControllers"} # type: ignore + + def list_in_group( + self, + resource_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.PageOfDataControllerResource"] + """List dataController resources in the resource group. + + List dataController resources in the resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PageOfDataControllerResource or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.PageOfDataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PageOfDataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + if not next_link: + # Construct URL + url = self.list_in_group.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + request = self._client.get( + url, query_parameters, header_parameters + ) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get( + url, query_parameters, header_parameters + ) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "PageOfDataControllerResource", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_in_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers"} # type: ignore + + def _put_data_controller_initial( + self, + resource_group_name, # type: str + data_controller_name, # type: str + data_controller_resource, # type: "_models.DataControllerResource" + **kwargs, # type: Any + ): + # type: (...) -> "_models.DataControllerResource" + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._put_data_controller_initial.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "dataControllerName": self._serialize.url( + "data_controller_name", data_controller_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Content-Type"] = self._serialize.header( + "content_type", content_type, "str" + ) + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body( + data_controller_resource, "DataControllerResource" + ) + body_content_kwargs["content"] = body_content + request = self._client.put( + url, query_parameters, header_parameters, **body_content_kwargs + ) + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _put_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + def begin_put_data_controller( + self, + resource_group_name, # type: str + data_controller_name, # type: str + data_controller_resource, # type: "_models.DataControllerResource" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.DataControllerResource"] + """Creates or replaces a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: + :type data_controller_name: str + :param data_controller_resource: desc. + :type data_controller_resource: ~azure_arc_data_management_client.models.DataControllerResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either DataControllerResource or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure_arc_data_management_client.models.DataControllerResource] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._put_data_controller_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + data_controller_resource=data_controller_resource, + cls=lambda x, y, z: x, + **kwargs, + ) + + kwargs.pop("error_map", None) + kwargs.pop("content_type", None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "dataControllerName": self._serialize.url( + "data_controller_name", data_controller_name, "str" + ), + } + + if polling is True: + polling_method = ARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=path_format_arguments, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + else: + return LROPoller( + self._client, + raw_result, + get_long_running_output, + polling_method, + ) + + begin_put_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + def _delete_data_controller_initial( + self, + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + # Construct URL + url = self._delete_data_controller_initial.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "dataControllerName": self._serialize.url( + "data_controller_name", data_controller_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + def begin_delete_data_controller( + self, + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_data_controller_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + cls=lambda x, y, z: x, + **kwargs, + ) + + kwargs.pop("error_map", None) + kwargs.pop("content_type", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "dataControllerName": self._serialize.url( + "data_controller_name", data_controller_name, "str" + ), + } + + if polling is True: + polling_method = ARMPolling( + lro_delay, path_format_arguments=path_format_arguments, **kwargs + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + else: + return LROPoller( + self._client, + raw_result, + get_long_running_output, + polling_method, + ) + + begin_delete_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + def get_data_controller( + self, + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.DataControllerResource" + """Retrieves a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataControllerResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.DataControllerResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + # Construct URL + url = self.get_data_controller.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "dataControllerName": self._serialize.url( + "data_controller_name", data_controller_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + def patch_data_controller( + self, + resource_group_name, # type: str + data_controller_name, # type: str + data_controller_resource, # type: "_models.DataControllerUpdate" + **kwargs, # type: Any + ): + # type: (...) -> "_models.DataControllerResource" + """Updates a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: + :type data_controller_name: str + :param data_controller_resource: The update data controller resource. + :type data_controller_resource: ~azure_arc_data_management_client.models.DataControllerUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataControllerResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.DataControllerResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.patch_data_controller.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "dataControllerName": self._serialize.url( + "data_controller_name", data_controller_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Content-Type"] = self._serialize.header( + "content_type", content_type, "str" + ) + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body( + data_controller_resource, "DataControllerUpdate" + ) + body_content_kwargs["content"] = body_content + request = self._client.patch( + url, query_parameters, header_parameters, **body_content_kwargs + ) + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + patch_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/operations/_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/operations/_operations.py new file mode 100644 index 00000000000..7c68765335b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/operations/_operations.py @@ -0,0 +1,144 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + + +class Operations(object): + """Operations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.OperationListResult"] + """Lists all of the available Azure Data Services on Azure Arc API operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.OperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.OperationListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + if not next_link: + # Construct URL + url = self.list.metadata["url"] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + request = self._client.get( + url, query_parameters, header_parameters + ) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get( + url, query_parameters, header_parameters + ) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "OperationListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/providers/Microsoft.AzureArcData/operations"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/operations/_sql_managed_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/operations/_sql_managed_instances_operations.py new file mode 100644 index 00000000000..729ef1e2221 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/operations/_sql_managed_instances_operations.py @@ -0,0 +1,814 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import ( + Any, + Callable, + Dict, + Generic, + Iterable, + Optional, + TypeVar, + Union, + ) + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + + +class SqlManagedInstancesOperations(object): + """SqlManagedInstancesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.SqlManagedInstanceListResult"] + """List sqlManagedInstance resources in the subscription. + + List sqlManagedInstance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlManagedInstanceListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.SqlManagedInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + if not next_link: + # Construct URL + url = self.list.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + request = self._client.get( + url, query_parameters, header_parameters + ) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get( + url, query_parameters, header_parameters + ) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlManagedInstances"} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.SqlManagedInstanceListResult"] + """List sqlManagedInstance resources in the resource group. + + Gets all sqlManagedInstances in a resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlManagedInstanceListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.SqlManagedInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + request = self._client.get( + url, query_parameters, header_parameters + ) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get( + url, query_parameters, header_parameters + ) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances"} # type: ignore + + def get( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlManagedInstance" + """Retrieves a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlManagedInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlManagedInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlManagedInstanceName": self._serialize.url( + "sql_managed_instance_name", sql_managed_instance_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + sql_managed_instance, # type: "_models.SqlManagedInstance" + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlManagedInstance" + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_initial.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlManagedInstanceName": self._serialize.url( + "sql_managed_instance_name", sql_managed_instance_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Content-Type"] = self._serialize.header( + "content_type", content_type, "str" + ) + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body( + sql_managed_instance, "SqlManagedInstance" + ) + body_content_kwargs["content"] = body_content + request = self._client.put( + url, query_parameters, header_parameters, **body_content_kwargs + ) + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + def begin_create( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + sql_managed_instance, # type: "_models.SqlManagedInstance" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.SqlManagedInstance"] + """Creates or replaces a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: The name of SQL Managed Instances. + :type sql_managed_instance_name: str + :param sql_managed_instance: The SQL Managed Instance to be created or updated. + :type sql_managed_instance: ~azure_arc_data_management_client.models.SqlManagedInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either SqlManagedInstance or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure_arc_data_management_client.models.SqlManagedInstance] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + sql_managed_instance=sql_managed_instance, + cls=lambda x, y, z: x, + **kwargs, + ) + + kwargs.pop("error_map", None) + kwargs.pop("content_type", None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlManagedInstanceName": self._serialize.url( + "sql_managed_instance_name", sql_managed_instance_name, "str" + ), + } + + if polling is True: + polling_method = ARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=path_format_arguments, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + else: + return LROPoller( + self._client, + raw_result, + get_long_running_output, + polling_method, + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlManagedInstanceName": self._serialize.url( + "sql_managed_instance_name", sql_managed_instance_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: The name of Sql Managed Instances. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + cls=lambda x, y, z: x, + **kwargs, + ) + + kwargs.pop("error_map", None) + kwargs.pop("content_type", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlManagedInstanceName": self._serialize.url( + "sql_managed_instance_name", sql_managed_instance_name, "str" + ), + } + + if polling is True: + polling_method = ARMPolling( + lro_delay, path_format_arguments=path_format_arguments, **kwargs + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + else: + return LROPoller( + self._client, + raw_result, + get_long_running_output, + polling_method, + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + def update( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + parameters, # type: "_models.SqlManagedInstanceUpdate" + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlManagedInstance" + """Updates a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of sqlManagedInstance. + :type sql_managed_instance_name: str + :param parameters: The SQL Managed Instance. + :type parameters: ~azure_arc_data_management_client.models.SqlManagedInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlManagedInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlManagedInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlManagedInstanceName": self._serialize.url( + "sql_managed_instance_name", sql_managed_instance_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Content-Type"] = self._serialize.header( + "content_type", content_type, "str" + ) + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body( + parameters, "SqlManagedInstanceUpdate" + ) + body_content_kwargs["content"] = body_content + request = self._client.patch( + url, query_parameters, header_parameters, **body_content_kwargs + ) + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/operations/_sql_server_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/operations/_sql_server_instances_operations.py new file mode 100644 index 00000000000..6624ee065ad --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_0_0/operations/_sql_server_instances_operations.py @@ -0,0 +1,810 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import ( + Any, + Callable, + Dict, + Generic, + Iterable, + Optional, + TypeVar, + Union, + ) + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + + +class SqlServerInstancesOperations(object): + """SqlServerInstancesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.SqlServerInstanceListResult"] + """List sqlServerInstance resources in the subscription. + + List sqlServerInstance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerInstanceListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.SqlServerInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + if not next_link: + # Construct URL + url = self.list.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + request = self._client.get( + url, query_parameters, header_parameters + ) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get( + url, query_parameters, header_parameters + ) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerInstances"} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.SqlServerInstanceListResult"] + """List sqlServerInstance resources in the resource group. + + Gets all sqlServerInstances in a resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerInstanceListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.SqlServerInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + request = self._client.get( + url, query_parameters, header_parameters + ) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get( + url, query_parameters, header_parameters + ) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances"} # type: ignore + + def get( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerInstance" + """Retrieves a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlServerInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlServerInstanceName": self._serialize.url( + "sql_server_instance_name", sql_server_instance_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize("SqlServerInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + sql_server_instance, # type: "_models.SqlServerInstance" + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerInstance" + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_initial.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlServerInstanceName": self._serialize.url( + "sql_server_instance_name", sql_server_instance_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Content-Type"] = self._serialize.header( + "content_type", content_type, "str" + ) + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body( + sql_server_instance, "SqlServerInstance" + ) + body_content_kwargs["content"] = body_content + request = self._client.put( + url, query_parameters, header_parameters, **body_content_kwargs + ) + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + def begin_create( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + sql_server_instance, # type: "_models.SqlServerInstance" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.SqlServerInstance"] + """Creates or replaces a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: The name of SQL Server Instance. + :type sql_server_instance_name: str + :param sql_server_instance: The SQL Server Instance to be created or updated. + :type sql_server_instance: ~azure_arc_data_management_client.models.SqlServerInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either SqlServerInstance or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure_arc_data_management_client.models.SqlServerInstance] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + sql_server_instance=sql_server_instance, + cls=lambda x, y, z: x, + **kwargs, + ) + + kwargs.pop("error_map", None) + kwargs.pop("content_type", None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlServerInstanceName": self._serialize.url( + "sql_server_instance_name", sql_server_instance_name, "str" + ), + } + + if polling is True: + polling_method = ARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=path_format_arguments, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + else: + return LROPoller( + self._client, + raw_result, + get_long_running_output, + polling_method, + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlServerInstanceName": self._serialize.url( + "sql_server_instance_name", sql_server_instance_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: The name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + cls=lambda x, y, z: x, + **kwargs, + ) + + kwargs.pop("error_map", None) + kwargs.pop("content_type", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlServerInstanceName": self._serialize.url( + "sql_server_instance_name", sql_server_instance_name, "str" + ), + } + + if polling is True: + polling_method = ARMPolling( + lro_delay, path_format_arguments=path_format_arguments, **kwargs + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + else: + return LROPoller( + self._client, + raw_result, + get_long_running_output, + polling_method, + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + def update( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + parameters, # type: "_models.SqlServerInstanceUpdate" + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerInstance" + """Updates a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of sqlServerInstance. + :type sql_server_instance_name: str + :param parameters: The SQL Server Instance. + :type parameters: ~azure_arc_data_management_client.models.SqlServerInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlServerInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + api_version = "2021-11-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata["url"] # type: ignore + path_format_arguments = { + "subscriptionId": self._serialize.url( + "self._config.subscription_id", + self._config.subscription_id, + "str", + ), + "resourceGroupName": self._serialize.url( + "resource_group_name", resource_group_name, "str" + ), + "sqlServerInstanceName": self._serialize.url( + "sql_server_instance_name", sql_server_instance_name, "str" + ), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters["api-version"] = self._serialize.query( + "api_version", api_version, "str" + ) + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters["Content-Type"] = self._serialize.header( + "content_type", content_type, "str" + ) + header_parameters["Accept"] = self._serialize.header( + "accept", accept, "str" + ) + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body( + parameters, "SqlServerInstanceUpdate" + ) + body_content_kwargs["content"] = body_content + request = self._client.patch( + url, query_parameters, header_parameters, **body_content_kwargs + ) + pipeline_response = self._client._pipeline.run( + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize("SqlServerInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/__init__.py new file mode 100644 index 00000000000..f4ab235467e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/__init__.py @@ -0,0 +1,22 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._azure_arc_data_management_client import AzureArcDataManagementClient +from ._version import VERSION + +__version__ = VERSION + +try: + from ._patch import __all__ as _patch_all + from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import +except ImportError: + _patch_all = [] +from ._patch import patch_sdk as _patch_sdk + +__all__ = ["AzureArcDataManagementClient"] +__all__.extend([p for p in _patch_all if p not in __all__]) + +_patch_sdk() diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/_azure_arc_data_management_client.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/_azure_arc_data_management_client.py new file mode 100644 index 00000000000..a7012e4359c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/_azure_arc_data_management_client.py @@ -0,0 +1,141 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from copy import deepcopy +from typing import TYPE_CHECKING + +from msrest import Deserializer, Serializer + +from azure.core import PipelineClient + +from . import models +from ._configuration import AzureArcDataManagementClientConfiguration +from .operations import ( + ActiveDirectoryConnectorsOperations, + DataControllersOperations, + Operations, + PostgresInstancesOperations, + SqlManagedInstancesOperations, + SqlServerInstancesOperations, +) + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.rest import HttpRequest, HttpResponse + + +class AzureArcDataManagementClient(object): + """The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data + Services on Azure Arc Resources. + + :ivar operations: Operations operations + :vartype operations: azure_arc_data_management_client.operations.Operations + :ivar sql_managed_instances: SqlManagedInstancesOperations operations + :vartype sql_managed_instances: + azure_arc_data_management_client.operations.SqlManagedInstancesOperations + :ivar sql_server_instances: SqlServerInstancesOperations operations + :vartype sql_server_instances: + azure_arc_data_management_client.operations.SqlServerInstancesOperations + :ivar data_controllers: DataControllersOperations operations + :vartype data_controllers: + azure_arc_data_management_client.operations.DataControllersOperations + :ivar active_directory_connectors: ActiveDirectoryConnectorsOperations operations + :vartype active_directory_connectors: + azure_arc_data_management_client.operations.ActiveDirectoryConnectorsOperations + :ivar postgres_instances: PostgresInstancesOperations operations + :vartype postgres_instances: + azure_arc_data_management_client.operations.PostgresInstancesOperations + :param subscription_id: The ID of the Azure subscription. + :type subscription_id: str + :param base_url: Service URL. Default value is "https://management.azure.com". + :type base_url: str + :keyword api_version: Api Version. Default value is "2022-03-01-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + """ + + def __init__( + self, + subscription_id, # type: str + base_url="https://management.azure.com", # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + self._config = AzureArcDataManagementClientConfiguration( + subscription_id=subscription_id, **kwargs + ) + self._client = PipelineClient( + base_url=base_url, config=self._config, **kwargs + ) + + client_models = { + k: v for k, v in models.__dict__.items() if isinstance(v, type) + } + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + self._serialize.client_side_validation = False + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize + ) + self.sql_managed_instances = SqlManagedInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.sql_server_instances = SqlServerInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.data_controllers = DataControllersOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.active_directory_connectors = ActiveDirectoryConnectorsOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.postgres_instances = PostgresInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + + def _send_request( + self, + request, # type: HttpRequest + **kwargs, # type: Any + ): + # type: (...) -> HttpResponse + """Runs the network request through the client's chained policies. + + >>> from azure.core.rest import HttpRequest + >>> request = HttpRequest("GET", "https://www.example.org/") + + >>> response = client._send_request(request) + + + For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart + + :param request: The network request you want to make. Required. + :type request: ~azure.core.rest.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to False. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.rest.HttpResponse + """ + + request_copy = deepcopy(request) + request_copy.url = self._client.format_url(request_copy.url) + return self._client.send_request(request_copy, **kwargs) + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> AzureArcDataManagementClient + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/_configuration.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/_configuration.py new file mode 100644 index 00000000000..38b51606eee --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/_configuration.py @@ -0,0 +1,85 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies + +from ._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + +class AzureArcDataManagementClientConfiguration( + Configuration +): # pylint: disable=too-many-instance-attributes + """Configuration for AzureArcDataManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param subscription_id: The ID of the Azure subscription. + :type subscription_id: str + :keyword api_version: Api Version. Default value is "2022-03-01-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + """ + + def __init__( + self, + subscription_id, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + super(AzureArcDataManagementClientConfiguration, self).__init__( + **kwargs + ) + api_version = kwargs.pop( + "api_version", "2022-03-01-preview" + ) # type: str + + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + + self.subscription_id = subscription_id + self.api_version = api_version + kwargs.setdefault( + "sdk_moniker", "azurearcdatamanagementclient/{}".format(VERSION) + ) + self._configure(**kwargs) + + def _configure( + self, **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get( + "user_agent_policy" + ) or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get( + "headers_policy" + ) or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get("proxy_policy") or policies.ProxyPolicy( + **kwargs + ) + self.logging_policy = kwargs.get( + "logging_policy" + ) or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get( + "http_logging_policy" + ) or policies.HttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get("retry_policy") or policies.RetryPolicy( + **kwargs + ) + self.custom_hook_policy = kwargs.get( + "custom_hook_policy" + ) or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get( + "redirect_policy" + ) or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get("authentication_policy") diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/_patch.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/_patch.py new file mode 100644 index 00000000000..39ea63f67ec --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/_patch.py @@ -0,0 +1,26 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +"""Customize generated code here. + +Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize +""" +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import List + +__all__ = ( + [] +) # type: List[str] # Add all objects you want publicly available to users at this package level + + +def patch_sdk(): + """Do not remove from this file. + + `patch_sdk` is a last resort escape hatch that allows you to do customizations + you can't accomplish using the techniques described in + https://aka.ms/azsdk/python/dpcodegen/python/customize + """ diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/_vendor.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/_vendor.py new file mode 100644 index 00000000000..bda75552cef --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/_vendor.py @@ -0,0 +1,34 @@ +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.pipeline.transport import HttpRequest + + +def _convert_request(request, files=None): + data = request.content if not files else None + request = HttpRequest( + method=request.method, + url=request.url, + headers=request.headers, + data=data, + ) + if files: + request.set_formdata_body(files) + return request + + +def _format_url_section(template, **kwargs): + components = template.split("/") + while components: + try: + return template.format(**kwargs) + except KeyError as key: + formatted_components = template.split("/") + components = [ + c + for c in formatted_components + if "{}".format(key.args[0]) not in c + ] + template = "/".join(components) diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/_version.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/_version.py new file mode 100644 index 00000000000..d680dd2df51 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/_version.py @@ -0,0 +1,7 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +VERSION = "1.0.01934.868" diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/__init__.py new file mode 100644 index 00000000000..863f23256ff --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/__init__.py @@ -0,0 +1,19 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._azure_arc_data_management_client import AzureArcDataManagementClient + +try: + from ._patch import __all__ as _patch_all + from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import +except ImportError: + _patch_all = [] +from ._patch import patch_sdk as _patch_sdk + +__all__ = ["AzureArcDataManagementClient"] +__all__.extend([p for p in _patch_all if p not in __all__]) + +_patch_sdk() diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/_azure_arc_data_management_client.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/_azure_arc_data_management_client.py new file mode 100644 index 00000000000..99773313ffb --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/_azure_arc_data_management_client.py @@ -0,0 +1,129 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from copy import deepcopy +from typing import Any, Awaitable + +from msrest import Deserializer, Serializer + +from azure.core import AsyncPipelineClient +from azure.core.rest import AsyncHttpResponse, HttpRequest + +from .. import models +from ._configuration import AzureArcDataManagementClientConfiguration +from .operations import ( + ActiveDirectoryConnectorsOperations, + DataControllersOperations, + Operations, + PostgresInstancesOperations, + SqlManagedInstancesOperations, + SqlServerInstancesOperations, +) + + +class AzureArcDataManagementClient: + """The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data + Services on Azure Arc Resources. + + :ivar operations: Operations operations + :vartype operations: azure_arc_data_management_client.aio.operations.Operations + :ivar sql_managed_instances: SqlManagedInstancesOperations operations + :vartype sql_managed_instances: + azure_arc_data_management_client.aio.operations.SqlManagedInstancesOperations + :ivar sql_server_instances: SqlServerInstancesOperations operations + :vartype sql_server_instances: + azure_arc_data_management_client.aio.operations.SqlServerInstancesOperations + :ivar data_controllers: DataControllersOperations operations + :vartype data_controllers: + azure_arc_data_management_client.aio.operations.DataControllersOperations + :ivar active_directory_connectors: ActiveDirectoryConnectorsOperations operations + :vartype active_directory_connectors: + azure_arc_data_management_client.aio.operations.ActiveDirectoryConnectorsOperations + :ivar postgres_instances: PostgresInstancesOperations operations + :vartype postgres_instances: + azure_arc_data_management_client.aio.operations.PostgresInstancesOperations + :param subscription_id: The ID of the Azure subscription. + :type subscription_id: str + :param base_url: Service URL. Default value is "https://management.azure.com". + :type base_url: str + :keyword api_version: Api Version. Default value is "2022-03-01-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + """ + + def __init__( + self, + subscription_id: str, + base_url: str = "https://management.azure.com", + **kwargs: Any, + ) -> None: + self._config = AzureArcDataManagementClientConfiguration( + subscription_id=subscription_id, **kwargs + ) + self._client = AsyncPipelineClient( + base_url=base_url, config=self._config, **kwargs + ) + + client_models = { + k: v for k, v in models.__dict__.items() if isinstance(v, type) + } + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + self._serialize.client_side_validation = False + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize + ) + self.sql_managed_instances = SqlManagedInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.sql_server_instances = SqlServerInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.data_controllers = DataControllersOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.active_directory_connectors = ActiveDirectoryConnectorsOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.postgres_instances = PostgresInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + + def _send_request( + self, request: HttpRequest, **kwargs: Any + ) -> Awaitable[AsyncHttpResponse]: + """Runs the network request through the client's chained policies. + + >>> from azure.core.rest import HttpRequest + >>> request = HttpRequest("GET", "https://www.example.org/") + + >>> response = await client._send_request(request) + + + For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart + + :param request: The network request you want to make. Required. + :type request: ~azure.core.rest.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to False. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.rest.AsyncHttpResponse + """ + + request_copy = deepcopy(request) + request_copy.url = self._client.format_url(request_copy.url) + return self._client.send_request(request_copy, **kwargs) + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "AzureArcDataManagementClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/_configuration.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/_configuration.py new file mode 100644 index 00000000000..6c9572c6b0a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/_configuration.py @@ -0,0 +1,73 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies + +from .._version import VERSION + + +class AzureArcDataManagementClientConfiguration( + Configuration +): # pylint: disable=too-many-instance-attributes + """Configuration for AzureArcDataManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param subscription_id: The ID of the Azure subscription. + :type subscription_id: str + :keyword api_version: Api Version. Default value is "2022-03-01-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + """ + + def __init__(self, subscription_id: str, **kwargs: Any) -> None: + super(AzureArcDataManagementClientConfiguration, self).__init__( + **kwargs + ) + api_version = kwargs.pop( + "api_version", "2022-03-01-preview" + ) # type: str + + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + + self.subscription_id = subscription_id + self.api_version = api_version + kwargs.setdefault( + "sdk_moniker", "azurearcdatamanagementclient/{}".format(VERSION) + ) + self._configure(**kwargs) + + def _configure(self, **kwargs: Any) -> None: + self.user_agent_policy = kwargs.get( + "user_agent_policy" + ) or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get( + "headers_policy" + ) or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get("proxy_policy") or policies.ProxyPolicy( + **kwargs + ) + self.logging_policy = kwargs.get( + "logging_policy" + ) or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get( + "http_logging_policy" + ) or policies.HttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get( + "retry_policy" + ) or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get( + "custom_hook_policy" + ) or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get( + "redirect_policy" + ) or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get("authentication_policy") diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/_patch.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/_patch.py new file mode 100644 index 00000000000..39ea63f67ec --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/_patch.py @@ -0,0 +1,26 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +"""Customize generated code here. + +Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize +""" +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import List + +__all__ = ( + [] +) # type: List[str] # Add all objects you want publicly available to users at this package level + + +def patch_sdk(): + """Do not remove from this file. + + `patch_sdk` is a last resort escape hatch that allows you to do customizations + you can't accomplish using the techniques described in + https://aka.ms/azsdk/python/dpcodegen/python/customize + """ diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/__init__.py new file mode 100644 index 00000000000..c8ae2a8eb81 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/__init__.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._sql_managed_instances_operations import SqlManagedInstancesOperations +from ._sql_server_instances_operations import SqlServerInstancesOperations +from ._data_controllers_operations import DataControllersOperations +from ._active_directory_connectors_operations import ( + ActiveDirectoryConnectorsOperations, +) +from ._postgres_instances_operations import PostgresInstancesOperations + +from ._patch import __all__ as _patch_all +from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import +from ._patch import patch_sdk as _patch_sdk + +__all__ = [ + "Operations", + "SqlManagedInstancesOperations", + "SqlServerInstancesOperations", + "DataControllersOperations", + "ActiveDirectoryConnectorsOperations", + "PostgresInstancesOperations", +] +__all__.extend([p for p in _patch_all if p not in __all__]) +_patch_sdk() diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_active_directory_connectors_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_active_directory_connectors_operations.py new file mode 100644 index 00000000000..e8148f644ec --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_active_directory_connectors_operations.py @@ -0,0 +1,574 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import ( + Any, + AsyncIterable, + Callable, + Dict, + Optional, + TypeVar, + Union, + cast, +) + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.polling.async_base_polling import AsyncLROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from ...operations._util import case_insensitive_dict + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._active_directory_connectors_operations import ( + build_create_request_initial, + build_delete_request_initial, + build_get_request, + build_list_request, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class ActiveDirectoryConnectorsOperations: + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~azure_arc_data_management_client.aio.AzureArcDataManagementClient`'s + :attr:`active_directory_connectors` attribute. + """ + + models = _models + + def __init__(self, *args, **kwargs) -> None: + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = ( + input_args.pop(0) if input_args else kwargs.pop("serializer") + ) + self._deserialize = ( + input_args.pop(0) if input_args else kwargs.pop("deserializer") + ) + + @distributed_trace + def list( + self, resource_group_name: str, data_controller_name: str, **kwargs: Any + ) -> AsyncIterable[_models.ActiveDirectoryConnectorListResult]: + """List the active directory connectors associated with the given data controller. + + List the active directory connectors associated with the given data controller. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ActiveDirectoryConnectorListResult or the result + of cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.ActiveDirectoryConnectorListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.ActiveDirectoryConnectorListResult] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=self.list.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "ActiveDirectoryConnectorListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors"} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + data_controller_name: str, + active_directory_connector_name: str, + active_directory_connector_resource: _models.ActiveDirectoryConnectorResource, + **kwargs: Any, + ) -> _models.ActiveDirectoryConnectorResource: + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.ActiveDirectoryConnectorResource] + + _json = self._serialize.body( + active_directory_connector_resource, + "ActiveDirectoryConnectorResource", + ) + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + @distributed_trace_async + async def begin_create( + self, + resource_group_name: str, + data_controller_name: str, + active_directory_connector_name: str, + active_directory_connector_resource: _models.ActiveDirectoryConnectorResource, + **kwargs: Any, + ) -> AsyncLROPoller[_models.ActiveDirectoryConnectorResource]: + """Creates or replaces an Active Directory connector resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param active_directory_connector_name: The name of the Active Directory connector instance. + :type active_directory_connector_name: str + :param active_directory_connector_resource: desc. + :type active_directory_connector_resource: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ActiveDirectoryConnectorResource or + the result of cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure_arc_data_management_client.models.ActiveDirectoryConnectorResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.ActiveDirectoryConnectorResource] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( # type: ignore + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + active_directory_connector_resource=active_directory_connector_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = cast( + AsyncPollingMethod, + AsyncLROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ), + ) # type: AsyncPollingMethod + elif polling is False: + polling_method = cast(AsyncPollingMethod, AsyncNoPolling()) + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + data_controller_name: str, + active_directory_connector_name: str, + **kwargs: Any, + ) -> None: + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + data_controller_name: str, + active_directory_connector_name: str, + **kwargs: Any, + ) -> AsyncLROPoller[None]: + """Deletes an Active Directory connector resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param active_directory_connector_name: The name of the Active Directory connector instance. + :type active_directory_connector_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( # type: ignore + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = cast( + AsyncPollingMethod, AsyncLROBasePolling(lro_delay, **kwargs) + ) # type: AsyncPollingMethod + elif polling is False: + polling_method = cast(AsyncPollingMethod, AsyncNoPolling()) + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + data_controller_name: str, + active_directory_connector_name: str, + **kwargs: Any, + ) -> _models.ActiveDirectoryConnectorResource: + """Retrieves an Active Directory connector resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param active_directory_connector_name: The name of the Active Directory connector instance. + :type active_directory_connector_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ActiveDirectoryConnectorResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.ActiveDirectoryConnectorResource] + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + template_url=self.get.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_data_controllers_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_data_controllers_operations.py new file mode 100644 index 00000000000..868205d9ad2 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_data_controllers_operations.py @@ -0,0 +1,726 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import ( + Any, + AsyncIterable, + Callable, + Dict, + Optional, + TypeVar, + Union, + cast, +) + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.polling.async_base_polling import AsyncLROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from ...operations._util import case_insensitive_dict + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._data_controllers_operations import ( + build_delete_data_controller_request_initial, + build_get_data_controller_request, + build_list_in_group_request, + build_list_in_subscription_request, + build_patch_data_controller_request, + build_put_data_controller_request_initial, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class DataControllersOperations: + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~azure_arc_data_management_client.aio.AzureArcDataManagementClient`'s + :attr:`data_controllers` attribute. + """ + + models = _models + + def __init__(self, *args, **kwargs) -> None: + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = ( + input_args.pop(0) if input_args else kwargs.pop("serializer") + ) + self._deserialize = ( + input_args.pop(0) if input_args else kwargs.pop("deserializer") + ) + + @distributed_trace + def list_in_subscription( + self, **kwargs: Any + ) -> AsyncIterable[_models.PageOfDataControllerResource]: + """List dataController resources in the subscription. + + List dataController resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PageOfDataControllerResource or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.PageOfDataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.PageOfDataControllerResource] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_in_subscription_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list_in_subscription.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_in_subscription_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "PageOfDataControllerResource", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_in_subscription.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/dataControllers"} # type: ignore + + @distributed_trace + def list_in_group( + self, resource_group_name: str, **kwargs: Any + ) -> AsyncIterable[_models.PageOfDataControllerResource]: + """List dataController resources in the resource group. + + List dataController resources in the resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PageOfDataControllerResource or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.PageOfDataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.PageOfDataControllerResource] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_in_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_in_group.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_in_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "PageOfDataControllerResource", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_in_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers"} # type: ignore + + async def _put_data_controller_initial( + self, + resource_group_name: str, + data_controller_name: str, + data_controller_resource: _models.DataControllerResource, + **kwargs: Any, + ) -> _models.DataControllerResource: + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.DataControllerResource] + + _json = self._serialize.body( + data_controller_resource, "DataControllerResource" + ) + + request = build_put_data_controller_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._put_data_controller_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _put_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace_async + async def begin_put_data_controller( + self, + resource_group_name: str, + data_controller_name: str, + data_controller_resource: _models.DataControllerResource, + **kwargs: Any, + ) -> AsyncLROPoller[_models.DataControllerResource]: + """Creates or replaces a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param data_controller_resource: desc. + :type data_controller_resource: ~azure_arc_data_management_client.models.DataControllerResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either DataControllerResource or the result + of cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure_arc_data_management_client.models.DataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.DataControllerResource] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._put_data_controller_initial( # type: ignore + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + data_controller_resource=data_controller_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = cast( + AsyncPollingMethod, + AsyncLROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ), + ) # type: AsyncPollingMethod + elif polling is False: + polling_method = cast(AsyncPollingMethod, AsyncNoPolling()) + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_put_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + async def _delete_data_controller_initial( # pylint: disable=inconsistent-return-statements + self, resource_group_name: str, data_controller_name: str, **kwargs: Any + ) -> None: + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + + request = build_delete_data_controller_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=self._delete_data_controller_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace_async + async def begin_delete_data_controller( # pylint: disable=inconsistent-return-statements + self, resource_group_name: str, data_controller_name: str, **kwargs: Any + ) -> AsyncLROPoller[None]: + """Deletes a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_data_controller_initial( # type: ignore + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = cast( + AsyncPollingMethod, AsyncLROBasePolling(lro_delay, **kwargs) + ) # type: AsyncPollingMethod + elif polling is False: + polling_method = cast(AsyncPollingMethod, AsyncNoPolling()) + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace_async + async def get_data_controller( + self, resource_group_name: str, data_controller_name: str, **kwargs: Any + ) -> _models.DataControllerResource: + """Retrieves a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataControllerResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.DataControllerResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.DataControllerResource] + + request = build_get_data_controller_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=self.get_data_controller.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace_async + async def patch_data_controller( + self, + resource_group_name: str, + data_controller_name: str, + data_controller_resource: _models.DataControllerUpdate, + **kwargs: Any, + ) -> Optional[_models.DataControllerResource]: + """Updates a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param data_controller_resource: The update data controller resource. + :type data_controller_resource: ~azure_arc_data_management_client.models.DataControllerUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataControllerResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.DataControllerResource or None + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[Optional[_models.DataControllerResource]] + + _json = self._serialize.body( + data_controller_resource, "DataControllerUpdate" + ) + + request = build_patch_data_controller_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.patch_data_controller.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + patch_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_operations.py new file mode 100644 index 00000000000..7ce6fff8112 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_operations.py @@ -0,0 +1,143 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from ...operations._util import case_insensitive_dict + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._operations import build_list_request + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class Operations: + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~azure_arc_data_management_client.aio.AzureArcDataManagementClient`'s + :attr:`operations` attribute. + """ + + models = _models + + def __init__(self, *args, **kwargs) -> None: + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = ( + input_args.pop(0) if input_args else kwargs.pop("serializer") + ) + self._deserialize = ( + input_args.pop(0) if input_args else kwargs.pop("deserializer") + ) + + @distributed_trace + def list(self, **kwargs: Any) -> AsyncIterable[_models.OperationListResult]: + """Lists all of the available Azure Data Services on Azure Arc API operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationListResult or the result of cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.OperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.OperationListResult] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + api_version=api_version, + template_url=self.list.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_request( + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "OperationListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/providers/Microsoft.AzureArcData/operations"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_patch.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_patch.py new file mode 100644 index 00000000000..39ea63f67ec --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_patch.py @@ -0,0 +1,26 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +"""Customize generated code here. + +Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize +""" +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import List + +__all__ = ( + [] +) # type: List[str] # Add all objects you want publicly available to users at this package level + + +def patch_sdk(): + """Do not remove from this file. + + `patch_sdk` is a last resort escape hatch that allows you to do customizations + you can't accomplish using the techniques described in + https://aka.ms/azsdk/python/dpcodegen/python/customize + """ diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_postgres_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_postgres_instances_operations.py new file mode 100644 index 00000000000..064e9cc2b65 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_postgres_instances_operations.py @@ -0,0 +1,717 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import ( + Any, + AsyncIterable, + Callable, + Dict, + Optional, + TypeVar, + Union, + cast, +) + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.polling.async_base_polling import AsyncLROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from ...operations._util import case_insensitive_dict + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._postgres_instances_operations import ( + build_create_request_initial, + build_delete_request_initial, + build_get_request, + build_list_by_resource_group_request, + build_list_request, + build_update_request, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class PostgresInstancesOperations: + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~azure_arc_data_management_client.aio.AzureArcDataManagementClient`'s + :attr:`postgres_instances` attribute. + """ + + models = _models + + def __init__(self, *args, **kwargs) -> None: + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = ( + input_args.pop(0) if input_args else kwargs.pop("serializer") + ) + self._deserialize = ( + input_args.pop(0) if input_args else kwargs.pop("deserializer") + ) + + @distributed_trace + def list( + self, **kwargs: Any + ) -> AsyncIterable[_models.PostgresInstanceListResult]: + """List postgres Instance resources in the subscription. + + List postgres Instance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PostgresInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.PostgresInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.PostgresInstanceListResult] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "PostgresInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/postgresInstances"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, resource_group_name: str, **kwargs: Any + ) -> AsyncIterable[_models.PostgresInstanceListResult]: + """List postgres Instance resources in the resource group. + + Get a postgres Instances list by Resource group name. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PostgresInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.PostgresInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.PostgresInstanceListResult] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "PostgresInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + postgres_instance_name: str, + **kwargs: Any, + ) -> _models.PostgresInstance: + """Retrieves a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PostgresInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.PostgresInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[_models.PostgresInstance] + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + template_url=self.get.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize("PostgresInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + postgres_instance_name: str, + resource: _models.PostgresInstance, + **kwargs: Any, + ) -> _models.PostgresInstance: + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop("cls", None) # type: ClsType[_models.PostgresInstance] + + _json = self._serialize.body(resource, "PostgresInstance") + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "PostgresInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "PostgresInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_create( + self, + resource_group_name: str, + postgres_instance_name: str, + resource: _models.PostgresInstance, + **kwargs: Any, + ) -> AsyncLROPoller[_models.PostgresInstance]: + """Creates or replaces a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :param resource: The postgres instance. + :type resource: ~azure_arc_data_management_client.models.PostgresInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either PostgresInstance or the result of + cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure_arc_data_management_client.models.PostgresInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop("cls", None) # type: ClsType[_models.PostgresInstance] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( # type: ignore + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + resource=resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize( + "PostgresInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = cast( + AsyncPollingMethod, + AsyncLROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ), + ) # type: AsyncPollingMethod + elif polling is False: + polling_method = cast(AsyncPollingMethod, AsyncNoPolling()) + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + postgres_instance_name: str, + **kwargs: Any, + ) -> None: + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + postgres_instance_name: str, + **kwargs: Any, + ) -> AsyncLROPoller[None]: + """Deletes a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( # type: ignore + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = cast( + AsyncPollingMethod, AsyncLROBasePolling(lro_delay, **kwargs) + ) # type: AsyncPollingMethod + elif polling is False: + polling_method = cast(AsyncPollingMethod, AsyncNoPolling()) + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + @distributed_trace_async + async def update( + self, + resource_group_name: str, + postgres_instance_name: str, + parameters: _models.PostgresInstanceUpdate, + **kwargs: Any, + ) -> _models.PostgresInstance: + """Updates a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :param parameters: The Postgres Instance. + :type parameters: ~azure_arc_data_management_client.models.PostgresInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PostgresInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.PostgresInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop("cls", None) # type: ClsType[_models.PostgresInstance] + + _json = self._serialize.body(parameters, "PostgresInstanceUpdate") + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize("PostgresInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_sql_managed_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_sql_managed_instances_operations.py new file mode 100644 index 00000000000..a1f84ab5bd7 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_sql_managed_instances_operations.py @@ -0,0 +1,729 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import ( + Any, + AsyncIterable, + Callable, + Dict, + Optional, + TypeVar, + Union, + cast, +) + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.polling.async_base_polling import AsyncLROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from ...operations._util import case_insensitive_dict + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._sql_managed_instances_operations import ( + build_create_request_initial, + build_delete_request_initial, + build_get_request, + build_list_by_resource_group_request, + build_list_request, + build_update_request, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class SqlManagedInstancesOperations: + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~azure_arc_data_management_client.aio.AzureArcDataManagementClient`'s + :attr:`sql_managed_instances` attribute. + """ + + models = _models + + def __init__(self, *args, **kwargs) -> None: + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = ( + input_args.pop(0) if input_args else kwargs.pop("serializer") + ) + self._deserialize = ( + input_args.pop(0) if input_args else kwargs.pop("deserializer") + ) + + @distributed_trace + def list( + self, **kwargs: Any + ) -> AsyncIterable[_models.SqlManagedInstanceListResult]: + """List sqlManagedInstance resources in the subscription. + + List sqlManagedInstance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlManagedInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.SqlManagedInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlManagedInstanceListResult] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlManagedInstances"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, resource_group_name: str, **kwargs: Any + ) -> AsyncIterable[_models.SqlManagedInstanceListResult]: + """List sqlManagedInstance resources in the resource group. + + Gets all sqlManagedInstances in a resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlManagedInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.SqlManagedInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlManagedInstanceListResult] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + sql_managed_instance_name: str, + **kwargs: Any, + ) -> _models.SqlManagedInstance: + """Retrieves a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlManagedInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlManagedInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlManagedInstance] + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=self.get.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + sql_managed_instance_name: str, + sql_managed_instance: _models.SqlManagedInstance, + **kwargs: Any, + ) -> _models.SqlManagedInstance: + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlManagedInstance] + + _json = self._serialize.body(sql_managed_instance, "SqlManagedInstance") + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_create( + self, + resource_group_name: str, + sql_managed_instance_name: str, + sql_managed_instance: _models.SqlManagedInstance, + **kwargs: Any, + ) -> AsyncLROPoller[_models.SqlManagedInstance]: + """Creates or replaces a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param sql_managed_instance: The SQL Managed Instance to be created or updated. + :type sql_managed_instance: ~azure_arc_data_management_client.models.SqlManagedInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either SqlManagedInstance or the result of + cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure_arc_data_management_client.models.SqlManagedInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlManagedInstance] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( # type: ignore + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + sql_managed_instance=sql_managed_instance, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = cast( + AsyncPollingMethod, + AsyncLROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ), + ) # type: AsyncPollingMethod + elif polling is False: + polling_method = cast(AsyncPollingMethod, AsyncNoPolling()) + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_managed_instance_name: str, + **kwargs: Any, + ) -> None: + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_managed_instance_name: str, + **kwargs: Any, + ) -> AsyncLROPoller[None]: + """Deletes a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( # type: ignore + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = cast( + AsyncPollingMethod, AsyncLROBasePolling(lro_delay, **kwargs) + ) # type: AsyncPollingMethod + elif polling is False: + polling_method = cast(AsyncPollingMethod, AsyncNoPolling()) + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + @distributed_trace_async + async def update( + self, + resource_group_name: str, + sql_managed_instance_name: str, + parameters: _models.SqlManagedInstanceUpdate, + **kwargs: Any, + ) -> _models.SqlManagedInstance: + """Updates a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param parameters: The SQL Managed Instance. + :type parameters: ~azure_arc_data_management_client.models.SqlManagedInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlManagedInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlManagedInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlManagedInstance] + + _json = self._serialize.body(parameters, "SqlManagedInstanceUpdate") + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_sql_server_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_sql_server_instances_operations.py new file mode 100644 index 00000000000..78fefc7c8cc --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/aio/operations/_sql_server_instances_operations.py @@ -0,0 +1,725 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import ( + Any, + AsyncIterable, + Callable, + Dict, + Optional, + TypeVar, + Union, + cast, +) + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.polling.async_base_polling import AsyncLROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from ...operations._util import case_insensitive_dict + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._sql_server_instances_operations import ( + build_create_request_initial, + build_delete_request_initial, + build_get_request, + build_list_by_resource_group_request, + build_list_request, + build_update_request, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class SqlServerInstancesOperations: + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~azure_arc_data_management_client.aio.AzureArcDataManagementClient`'s + :attr:`sql_server_instances` attribute. + """ + + models = _models + + def __init__(self, *args, **kwargs) -> None: + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = ( + input_args.pop(0) if input_args else kwargs.pop("serializer") + ) + self._deserialize = ( + input_args.pop(0) if input_args else kwargs.pop("deserializer") + ) + + @distributed_trace + def list( + self, **kwargs: Any + ) -> AsyncIterable[_models.SqlServerInstanceListResult]: + """List sqlServerInstance resources in the subscription. + + List sqlServerInstance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.SqlServerInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlServerInstanceListResult] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerInstances"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, resource_group_name: str, **kwargs: Any + ) -> AsyncIterable[_models.SqlServerInstanceListResult]: + """List sqlServerInstance resources in the resource group. + + Gets all sqlServerInstances in a resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.SqlServerInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlServerInstanceListResult] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + sql_server_instance_name: str, + **kwargs: Any, + ) -> _models.SqlServerInstance: + """Retrieves a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlServerInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlServerInstance] + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self.get.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize("SqlServerInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + sql_server_instance_name: str, + sql_server_instance: _models.SqlServerInstance, + **kwargs: Any, + ) -> _models.SqlServerInstance: + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlServerInstance] + + _json = self._serialize.body(sql_server_instance, "SqlServerInstance") + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_create( + self, + resource_group_name: str, + sql_server_instance_name: str, + sql_server_instance: _models.SqlServerInstance, + **kwargs: Any, + ) -> AsyncLROPoller[_models.SqlServerInstance]: + """Creates or replaces a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param sql_server_instance: The SQL Server Instance to be created or updated. + :type sql_server_instance: ~azure_arc_data_management_client.models.SqlServerInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either SqlServerInstance or the result of + cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure_arc_data_management_client.models.SqlServerInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlServerInstance] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( # type: ignore + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + sql_server_instance=sql_server_instance, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = cast( + AsyncPollingMethod, + AsyncLROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ), + ) # type: AsyncPollingMethod + elif polling is False: + polling_method = cast(AsyncPollingMethod, AsyncNoPolling()) + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_server_instance_name: str, + **kwargs: Any, + ) -> None: + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_server_instance_name: str, + **kwargs: Any, + ) -> AsyncLROPoller[None]: + """Deletes a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( # type: ignore + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = cast( + AsyncPollingMethod, AsyncLROBasePolling(lro_delay, **kwargs) + ) # type: AsyncPollingMethod + elif polling is False: + polling_method = cast(AsyncPollingMethod, AsyncNoPolling()) + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + @distributed_trace_async + async def update( + self, + resource_group_name: str, + sql_server_instance_name: str, + parameters: _models.SqlServerInstanceUpdate, + **kwargs: Any, + ) -> _models.SqlServerInstance: + """Updates a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param parameters: The SQL Server Instance. + :type parameters: ~azure_arc_data_management_client.models.SqlServerInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlServerInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlServerInstance] + + _json = self._serialize.body(parameters, "SqlServerInstanceUpdate") + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize("SqlServerInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/models/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/models/__init__.py new file mode 100644 index 00000000000..2fbda71f1bc --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/models/__init__.py @@ -0,0 +1,195 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import ActiveDirectoryConnectorDNSDetails + from ._models_py3 import ActiveDirectoryConnectorDomainDetails + from ._models_py3 import ActiveDirectoryConnectorListResult + from ._models_py3 import ActiveDirectoryConnectorProperties + from ._models_py3 import ActiveDirectoryConnectorResource + from ._models_py3 import ActiveDirectoryConnectorSpec + from ._models_py3 import ActiveDirectoryConnectorStatus + from ._models_py3 import ActiveDirectoryDomainController + from ._models_py3 import ActiveDirectoryDomainControllers + from ._models_py3 import ActiveDirectoryInformation + from ._models_py3 import BasicLoginInformation + from ._models_py3 import CommonSku + from ._models_py3 import DataControllerProperties + from ._models_py3 import DataControllerResource + from ._models_py3 import DataControllerUpdate + from ._models_py3 import ErrorResponse + from ._models_py3 import ErrorResponseBody + from ._models_py3 import ExtendedLocation + from ._models_py3 import K8SResourceRequirements + from ._models_py3 import K8SScheduling + from ._models_py3 import K8SSchedulingOptions + from ._models_py3 import KeytabInformation + from ._models_py3 import LogAnalyticsWorkspaceConfig + from ._models_py3 import OnPremiseProperty + from ._models_py3 import Operation + from ._models_py3 import OperationDisplay + from ._models_py3 import OperationListResult + from ._models_py3 import PageOfDataControllerResource + from ._models_py3 import PostgresInstance + from ._models_py3 import PostgresInstanceListResult + from ._models_py3 import PostgresInstanceProperties + from ._models_py3 import PostgresInstanceSku + from ._models_py3 import PostgresInstanceUpdate + from ._models_py3 import ProxyResource + from ._models_py3 import Resource + from ._models_py3 import SqlManagedInstance + from ._models_py3 import SqlManagedInstanceK8SRaw + from ._models_py3 import SqlManagedInstanceK8SSpec + from ._models_py3 import SqlManagedInstanceListResult + from ._models_py3 import SqlManagedInstanceProperties + from ._models_py3 import SqlManagedInstanceSku + from ._models_py3 import SqlManagedInstanceUpdate + from ._models_py3 import SqlServerInstance + from ._models_py3 import SqlServerInstanceListResult + from ._models_py3 import SqlServerInstanceProperties + from ._models_py3 import SqlServerInstanceUpdate + from ._models_py3 import SystemData + from ._models_py3 import TrackedResource + from ._models_py3 import UploadServicePrincipal + from ._models_py3 import UploadWatermark +except (SyntaxError, ImportError): + from ._models import ActiveDirectoryConnectorDNSDetails # type: ignore + from ._models import ActiveDirectoryConnectorDomainDetails # type: ignore + from ._models import ActiveDirectoryConnectorListResult # type: ignore + from ._models import ActiveDirectoryConnectorProperties # type: ignore + from ._models import ActiveDirectoryConnectorResource # type: ignore + from ._models import ActiveDirectoryConnectorSpec # type: ignore + from ._models import ActiveDirectoryConnectorStatus # type: ignore + from ._models import ActiveDirectoryDomainController # type: ignore + from ._models import ActiveDirectoryDomainControllers # type: ignore + from ._models import ActiveDirectoryInformation # type: ignore + from ._models import BasicLoginInformation # type: ignore + from ._models import CommonSku # type: ignore + from ._models import DataControllerProperties # type: ignore + from ._models import DataControllerResource # type: ignore + from ._models import DataControllerUpdate # type: ignore + from ._models import ErrorResponse # type: ignore + from ._models import ErrorResponseBody # type: ignore + from ._models import ExtendedLocation # type: ignore + from ._models import K8SResourceRequirements # type: ignore + from ._models import K8SScheduling # type: ignore + from ._models import K8SSchedulingOptions # type: ignore + from ._models import KeytabInformation # type: ignore + from ._models import LogAnalyticsWorkspaceConfig # type: ignore + from ._models import OnPremiseProperty # type: ignore + from ._models import Operation # type: ignore + from ._models import OperationDisplay # type: ignore + from ._models import OperationListResult # type: ignore + from ._models import PageOfDataControllerResource # type: ignore + from ._models import PostgresInstance # type: ignore + from ._models import PostgresInstanceListResult # type: ignore + from ._models import PostgresInstanceProperties # type: ignore + from ._models import PostgresInstanceSku # type: ignore + from ._models import PostgresInstanceUpdate # type: ignore + from ._models import ProxyResource # type: ignore + from ._models import Resource # type: ignore + from ._models import SqlManagedInstance # type: ignore + from ._models import SqlManagedInstanceK8SRaw # type: ignore + from ._models import SqlManagedInstanceK8SSpec # type: ignore + from ._models import SqlManagedInstanceListResult # type: ignore + from ._models import SqlManagedInstanceProperties # type: ignore + from ._models import SqlManagedInstanceSku # type: ignore + from ._models import SqlManagedInstanceUpdate # type: ignore + from ._models import SqlServerInstance # type: ignore + from ._models import SqlServerInstanceListResult # type: ignore + from ._models import SqlServerInstanceProperties # type: ignore + from ._models import SqlServerInstanceUpdate # type: ignore + from ._models import SystemData # type: ignore + from ._models import TrackedResource # type: ignore + from ._models import UploadServicePrincipal # type: ignore + from ._models import UploadWatermark # type: ignore + +from ._azure_arc_data_management_client_enums import ( + AccountProvisioningMode, + ArcSqlManagedInstanceLicenseType, + ArcSqlServerLicenseType, + ConnectionStatus, + CreatedByType, + DefenderStatus, + EditionType, + ExtendedLocationTypes, + HostType, + Infrastructure, + OperationOrigin, + SqlManagedInstanceSkuTier, + SqlVersion, +) +from ._patch import __all__ as _patch_all +from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import +from ._patch import patch_sdk as _patch_sdk + +__all__ = [ + "ActiveDirectoryConnectorDNSDetails", + "ActiveDirectoryConnectorDomainDetails", + "ActiveDirectoryConnectorListResult", + "ActiveDirectoryConnectorProperties", + "ActiveDirectoryConnectorResource", + "ActiveDirectoryConnectorSpec", + "ActiveDirectoryConnectorStatus", + "ActiveDirectoryDomainController", + "ActiveDirectoryDomainControllers", + "ActiveDirectoryInformation", + "BasicLoginInformation", + "CommonSku", + "DataControllerProperties", + "DataControllerResource", + "DataControllerUpdate", + "ErrorResponse", + "ErrorResponseBody", + "ExtendedLocation", + "K8SResourceRequirements", + "K8SScheduling", + "K8SSchedulingOptions", + "KeytabInformation", + "LogAnalyticsWorkspaceConfig", + "OnPremiseProperty", + "Operation", + "OperationDisplay", + "OperationListResult", + "PageOfDataControllerResource", + "PostgresInstance", + "PostgresInstanceListResult", + "PostgresInstanceProperties", + "PostgresInstanceSku", + "PostgresInstanceUpdate", + "ProxyResource", + "Resource", + "SqlManagedInstance", + "SqlManagedInstanceK8SRaw", + "SqlManagedInstanceK8SSpec", + "SqlManagedInstanceListResult", + "SqlManagedInstanceProperties", + "SqlManagedInstanceSku", + "SqlManagedInstanceUpdate", + "SqlServerInstance", + "SqlServerInstanceListResult", + "SqlServerInstanceProperties", + "SqlServerInstanceUpdate", + "SystemData", + "TrackedResource", + "UploadServicePrincipal", + "UploadWatermark", + "AccountProvisioningMode", + "ArcSqlManagedInstanceLicenseType", + "ArcSqlServerLicenseType", + "ConnectionStatus", + "CreatedByType", + "DefenderStatus", + "EditionType", + "ExtendedLocationTypes", + "HostType", + "Infrastructure", + "OperationOrigin", + "SqlManagedInstanceSkuTier", + "SqlVersion", +] +__all__.extend([p for p in _patch_all if p not in __all__]) +_patch_sdk() diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/models/_azure_arc_data_management_client_enums.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/models/_azure_arc_data_management_client_enums.py new file mode 100644 index 00000000000..bc1b4a943aa --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/models/_azure_arc_data_management_client_enums.py @@ -0,0 +1,124 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum +from azure.core import CaseInsensitiveEnumMeta + + +class AccountProvisioningMode(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """The service account provisioning mode for this Active Directory connector.""" + + AUTOMATIC = "automatic" + MANUAL = "manual" + + +class ArcSqlManagedInstanceLicenseType( + str, Enum, metaclass=CaseInsensitiveEnumMeta +): + """The license type to apply for this managed instance.""" + + BASE_PRICE = "BasePrice" + LICENSE_INCLUDED = "LicenseIncluded" + DISASTER_RECOVERY = "DisasterRecovery" + + +class ArcSqlServerLicenseType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """SQL Server license type.""" + + PAID = "Paid" + FREE = "Free" + HADR = "HADR" + UNDEFINED = "Undefined" + + +class ConnectionStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """The cloud connectivity status.""" + + CONNECTED = "Connected" + DISCONNECTED = "Disconnected" + REGISTERED = "Registered" + UNKNOWN = "Unknown" + + +class CreatedByType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """The type of identity that created the resource.""" + + USER = "User" + APPLICATION = "Application" + MANAGED_IDENTITY = "ManagedIdentity" + KEY = "Key" + + +class DefenderStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """Status of Azure Defender.""" + + PROTECTED = "Protected" + UNPROTECTED = "Unprotected" + UNKNOWN = "Unknown" + + +class EditionType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """SQL Server edition.""" + + EVALUATION = "Evaluation" + ENTERPRISE = "Enterprise" + STANDARD = "Standard" + WEB = "Web" + DEVELOPER = "Developer" + EXPRESS = "Express" + + +class ExtendedLocationTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """The type of extendedLocation.""" + + CUSTOM_LOCATION = "CustomLocation" + + +class HostType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """Type of host for Azure Arc SQL Server""" + + VIRTUAL_MACHINE = "Virtual Machine" + PHYSICAL_SERVER = "Physical Server" + AWS_VIRTUAL_MACHINE = "AWS Virtual Machine" + GCP_VIRTUAL_MACHINE = "GCP Virtual Machine" + OTHER = "Other" + + +class Infrastructure(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """The infrastructure the data controller is running on.""" + + AZURE = "azure" + GCP = "gcp" + AWS = "aws" + ALIBABA = "alibaba" + ONPREMISES = "onpremises" + OTHER = "other" + + +class OperationOrigin(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """The intended executor of the operation.""" + + USER = "user" + SYSTEM = "system" + + +class SqlManagedInstanceSkuTier(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """The pricing tier for the instance.""" + + GENERAL_PURPOSE = "GeneralPurpose" + BUSINESS_CRITICAL = "BusinessCritical" + + +class SqlVersion(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """SQL Server version.""" + + SQL_SERVER2012 = "SQL Server 2012" + SQL_SERVER2014 = "SQL Server 2014" + SQL_SERVER2016 = "SQL Server 2016" + SQL_SERVER2017 = "SQL Server 2017" + SQL_SERVER2019 = "SQL Server 2019" + SQL_SERVER2022 = "SQL Server 2022" + UNKNOWN = "Unknown" diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/models/_models.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/models/_models.py new file mode 100644 index 00000000000..1dbfdc4bbe2 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/models/_models.py @@ -0,0 +1,2370 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + + +class ActiveDirectoryConnectorDNSDetails(msrest.serialization.Model): + """DNS server details. + + All required parameters must be populated in order to send to Azure. + + :ivar domain_name: DNS domain name for which DNS lookups should be forwarded to the Active + Directory DNS servers. + :vartype domain_name: str + :ivar nameserver_ip_addresses: Required. List of Active Directory DNS server IP addresses. + :vartype nameserver_ip_addresses: list[str] + :ivar replicas: Replica count for DNS proxy service. Default value is 1. + :vartype replicas: long + :ivar prefer_k8_s_dns_for_ptr_lookups: Flag indicating whether to prefer Kubernetes DNS server + response over AD DNS server response for IP address lookups. + :vartype prefer_k8_s_dns_for_ptr_lookups: bool + """ + + _validation = { + "nameserver_ip_addresses": {"required": True}, + } + + _attribute_map = { + "domain_name": {"key": "domainName", "type": "str"}, + "nameserver_ip_addresses": { + "key": "nameserverIPAddresses", + "type": "[str]", + }, + "replicas": {"key": "replicas", "type": "long"}, + "prefer_k8_s_dns_for_ptr_lookups": { + "key": "preferK8sDnsForPtrLookups", + "type": "bool", + }, + } + + def __init__(self, **kwargs): + """ + :keyword domain_name: DNS domain name for which DNS lookups should be forwarded to the Active + Directory DNS servers. + :paramtype domain_name: str + :keyword nameserver_ip_addresses: Required. List of Active Directory DNS server IP addresses. + :paramtype nameserver_ip_addresses: list[str] + :keyword replicas: Replica count for DNS proxy service. Default value is 1. + :paramtype replicas: long + :keyword prefer_k8_s_dns_for_ptr_lookups: Flag indicating whether to prefer Kubernetes DNS + server response over AD DNS server response for IP address lookups. + :paramtype prefer_k8_s_dns_for_ptr_lookups: bool + """ + super(ActiveDirectoryConnectorDNSDetails, self).__init__(**kwargs) + self.domain_name = kwargs.get("domain_name", None) + self.nameserver_ip_addresses = kwargs["nameserver_ip_addresses"] + self.replicas = kwargs.get("replicas", 1) + self.prefer_k8_s_dns_for_ptr_lookups = kwargs.get( + "prefer_k8_s_dns_for_ptr_lookups", True + ) + + +class ActiveDirectoryConnectorDomainDetails(msrest.serialization.Model): + """Active Directory domain details. + + All required parameters must be populated in order to send to Azure. + + :ivar realm: Required. Name (uppercase) of the Active Directory domain that this AD connector + will be associated with. + :vartype realm: str + :ivar netbios_domain_name: NETBIOS name of the Active Directory domain. + :vartype netbios_domain_name: str + :ivar service_account_provisioning: The service account provisioning mode for this Active + Directory connector. Known values are: "automatic", "manual". Default value: "manual". + :vartype service_account_provisioning: str or + ~azure_arc_data_management_client.models.AccountProvisioningMode + :ivar ou_distinguished_name: The distinguished name of the Active Directory Organizational + Unit. + :vartype ou_distinguished_name: str + :ivar domain_controllers: Required. null. + :vartype domain_controllers: + ~azure_arc_data_management_client.models.ActiveDirectoryDomainControllers + """ + + _validation = { + "realm": {"required": True}, + "domain_controllers": {"required": True}, + } + + _attribute_map = { + "realm": {"key": "realm", "type": "str"}, + "netbios_domain_name": {"key": "netbiosDomainName", "type": "str"}, + "service_account_provisioning": { + "key": "serviceAccountProvisioning", + "type": "str", + }, + "ou_distinguished_name": {"key": "ouDistinguishedName", "type": "str"}, + "domain_controllers": { + "key": "domainControllers", + "type": "ActiveDirectoryDomainControllers", + }, + } + + def __init__(self, **kwargs): + """ + :keyword realm: Required. Name (uppercase) of the Active Directory domain that this AD + connector will be associated with. + :paramtype realm: str + :keyword netbios_domain_name: NETBIOS name of the Active Directory domain. + :paramtype netbios_domain_name: str + :keyword service_account_provisioning: The service account provisioning mode for this Active + Directory connector. Known values are: "automatic", "manual". Default value: "manual". + :paramtype service_account_provisioning: str or + ~azure_arc_data_management_client.models.AccountProvisioningMode + :keyword ou_distinguished_name: The distinguished name of the Active Directory Organizational + Unit. + :paramtype ou_distinguished_name: str + :keyword domain_controllers: Required. null. + :paramtype domain_controllers: + ~azure_arc_data_management_client.models.ActiveDirectoryDomainControllers + """ + super(ActiveDirectoryConnectorDomainDetails, self).__init__(**kwargs) + self.realm = kwargs["realm"] + self.netbios_domain_name = kwargs.get("netbios_domain_name", None) + self.service_account_provisioning = kwargs.get( + "service_account_provisioning", "manual" + ) + self.ou_distinguished_name = kwargs.get("ou_distinguished_name", None) + self.domain_controllers = kwargs["domain_controllers"] + + +class ActiveDirectoryConnectorListResult(msrest.serialization.Model): + """A list of active directory connectors. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.ActiveDirectoryConnectorResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[ActiveDirectoryConnectorResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """""" + super(ActiveDirectoryConnectorListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ActiveDirectoryConnectorProperties(msrest.serialization.Model): + """The properties of an Active Directory connector resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar domain_service_account_login_information: Username and password for domain service + account authentication. + :vartype domain_service_account_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar provisioning_state: The provisioning state of the Active Directory connector resource. + :vartype provisioning_state: str + :ivar spec: Required. null. + :vartype spec: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorSpec + :ivar status: null. + :vartype status: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorStatus + """ + + _validation = { + "provisioning_state": {"readonly": True}, + "spec": {"required": True}, + } + + _attribute_map = { + "domain_service_account_login_information": { + "key": "domainServiceAccountLoginInformation", + "type": "BasicLoginInformation", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "spec": {"key": "spec", "type": "ActiveDirectoryConnectorSpec"}, + "status": {"key": "status", "type": "ActiveDirectoryConnectorStatus"}, + } + + def __init__(self, **kwargs): + """ + :keyword domain_service_account_login_information: Username and password for domain service + account authentication. + :paramtype domain_service_account_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword spec: Required. null. + :paramtype spec: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorSpec + :keyword status: null. + :paramtype status: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorStatus + """ + super(ActiveDirectoryConnectorProperties, self).__init__(**kwargs) + self.domain_service_account_login_information = kwargs.get( + "domain_service_account_login_information", None + ) + self.provisioning_state = None + self.spec = kwargs["spec"] + self.status = kwargs.get("status", None) + + +class Resource(msrest.serialization.Model): + """Common fields that are returned in the response for all Azure Resource Manager resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + } + + def __init__(self, **kwargs): + """""" + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.system_data = None + + +class ProxyResource(Resource): + """The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + } + + def __init__(self, **kwargs): + """""" + super(ProxyResource, self).__init__(**kwargs) + + +class ActiveDirectoryConnectorResource(ProxyResource): + """Active directory connector resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar properties: Required. null. + :vartype properties: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "properties": { + "key": "properties", + "type": "ActiveDirectoryConnectorProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword properties: Required. null. + :paramtype properties: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorProperties + """ + super(ActiveDirectoryConnectorResource, self).__init__(**kwargs) + self.properties = kwargs["properties"] + + +class ActiveDirectoryConnectorSpec(msrest.serialization.Model): + """The specifications of the AD Kubernetes resource. + + All required parameters must be populated in order to send to Azure. + + :ivar active_directory: Required. null. + :vartype active_directory: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorDomainDetails + :ivar dns: Required. null. + :vartype dns: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorDNSDetails + """ + + _validation = { + "active_directory": {"required": True}, + "dns": {"required": True}, + } + + _attribute_map = { + "active_directory": { + "key": "activeDirectory", + "type": "ActiveDirectoryConnectorDomainDetails", + }, + "dns": {"key": "dns", "type": "ActiveDirectoryConnectorDNSDetails"}, + } + + def __init__(self, **kwargs): + """ + :keyword active_directory: Required. null. + :paramtype active_directory: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorDomainDetails + :keyword dns: Required. null. + :paramtype dns: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorDNSDetails + """ + super(ActiveDirectoryConnectorSpec, self).__init__(**kwargs) + self.active_directory = kwargs["active_directory"] + self.dns = kwargs["dns"] + + +class ActiveDirectoryConnectorStatus(msrest.serialization.Model): + """The status of the Kubernetes custom resource. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar last_update_time: The time that the custom resource was last updated. + :vartype last_update_time: str + :ivar observed_generation: The version of the replicaSet associated with the AD connector + custom resource. + :vartype observed_generation: long + :ivar state: The state of the AD connector custom resource. + :vartype state: str + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "last_update_time": {"key": "lastUpdateTime", "type": "str"}, + "observed_generation": {"key": "observedGeneration", "type": "long"}, + "state": {"key": "state", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword last_update_time: The time that the custom resource was last updated. + :paramtype last_update_time: str + :keyword observed_generation: The version of the replicaSet associated with the AD connector + custom resource. + :paramtype observed_generation: long + :keyword state: The state of the AD connector custom resource. + :paramtype state: str + """ + super(ActiveDirectoryConnectorStatus, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.last_update_time = kwargs.get("last_update_time", None) + self.observed_generation = kwargs.get("observed_generation", None) + self.state = kwargs.get("state", None) + + +class ActiveDirectoryDomainController(msrest.serialization.Model): + """Information about a domain controller in the AD domain. + + All required parameters must be populated in order to send to Azure. + + :ivar hostname: Required. Fully-qualified domain name of a domain controller in the AD domain. + :vartype hostname: str + """ + + _validation = { + "hostname": {"required": True}, + } + + _attribute_map = { + "hostname": {"key": "hostname", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword hostname: Required. Fully-qualified domain name of a domain controller in the AD + domain. + :paramtype hostname: str + """ + super(ActiveDirectoryDomainController, self).__init__(**kwargs) + self.hostname = kwargs["hostname"] + + +class ActiveDirectoryDomainControllers(msrest.serialization.Model): + """Details about the Active Directory domain controllers associated with this AD connector instance. + + :ivar primary_domain_controller: Information about the Primary Domain Controller (PDC) in the + AD domain. + :vartype primary_domain_controller: + ~azure_arc_data_management_client.models.ActiveDirectoryDomainController + :ivar secondary_domain_controllers: null. + :vartype secondary_domain_controllers: + list[~azure_arc_data_management_client.models.ActiveDirectoryDomainController] + """ + + _attribute_map = { + "primary_domain_controller": { + "key": "primaryDomainController", + "type": "ActiveDirectoryDomainController", + }, + "secondary_domain_controllers": { + "key": "secondaryDomainControllers", + "type": "[ActiveDirectoryDomainController]", + }, + } + + def __init__(self, **kwargs): + """ + :keyword primary_domain_controller: Information about the Primary Domain Controller (PDC) in + the AD domain. + :paramtype primary_domain_controller: + ~azure_arc_data_management_client.models.ActiveDirectoryDomainController + :keyword secondary_domain_controllers: null. + :paramtype secondary_domain_controllers: + list[~azure_arc_data_management_client.models.ActiveDirectoryDomainController] + """ + super(ActiveDirectoryDomainControllers, self).__init__(**kwargs) + self.primary_domain_controller = kwargs.get( + "primary_domain_controller", None + ) + self.secondary_domain_controllers = kwargs.get( + "secondary_domain_controllers", None + ) + + +class ActiveDirectoryInformation(msrest.serialization.Model): + """Active Directory information that related to the resource. + + :ivar keytab_information: Keytab information that is used for the Sql Managed Instance when + Active Directory authentication is used. + :vartype keytab_information: ~azure_arc_data_management_client.models.KeytabInformation + """ + + _attribute_map = { + "keytab_information": { + "key": "keytabInformation", + "type": "KeytabInformation", + }, + } + + def __init__(self, **kwargs): + """ + :keyword keytab_information: Keytab information that is used for the Sql Managed Instance when + Active Directory authentication is used. + :paramtype keytab_information: ~azure_arc_data_management_client.models.KeytabInformation + """ + super(ActiveDirectoryInformation, self).__init__(**kwargs) + self.keytab_information = kwargs.get("keytab_information", None) + + +class BasicLoginInformation(msrest.serialization.Model): + """Username and password for basic login authentication. + + :ivar username: Login username. + :vartype username: str + :ivar password: Login password. + :vartype password: str + """ + + _attribute_map = { + "username": {"key": "username", "type": "str"}, + "password": {"key": "password", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword username: Login username. + :paramtype username: str + :keyword password: Login password. + :paramtype password: str + """ + super(BasicLoginInformation, self).__init__(**kwargs) + self.username = kwargs.get("username", None) + self.password = kwargs.get("password", None) + + +class CommonSku(msrest.serialization.Model): + """The resource model definition representing SKU for ARM resources. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the SKU. It is typically a letter+number code. + :vartype name: str + :ivar dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used + for dev/test purpose. + :vartype dev: bool + :ivar size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :vartype size: str + :ivar family: If the service has different generations of hardware, for the same SKU, then that + can be captured here. + :vartype family: str + :ivar capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :vartype capacity: int + """ + + _validation = { + "name": {"required": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + } + + def __init__(self, **kwargs): + """ + :keyword name: Required. The name of the SKU. It is typically a letter+number code. + :paramtype name: str + :keyword dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :paramtype dev: bool + :keyword size: The SKU size. When the name field is the combination of tier and some other + value, this would be the standalone code. + :paramtype size: str + :keyword family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :paramtype family: str + :keyword capacity: If the SKU supports scale out/in then the capacity integer should be + included. If scale out/in is not possible for the resource this may be omitted. + :paramtype capacity: int + """ + super(CommonSku, self).__init__(**kwargs) + self.name = kwargs["name"] + self.dev = kwargs.get("dev", True) + self.size = kwargs.get("size", None) + self.family = kwargs.get("family", None) + self.capacity = kwargs.get("capacity", None) + + +class DataControllerProperties(msrest.serialization.Model): + """The data controller properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar infrastructure: The infrastructure the data controller is running on. Known values are: + "azure", "gcp", "aws", "alibaba", "onpremises", "other". Default value: "other". + :vartype infrastructure: str or ~azure_arc_data_management_client.models.Infrastructure + :ivar on_premise_property: Properties from the Kubernetes data controller. + :vartype on_premise_property: ~azure_arc_data_management_client.models.OnPremiseProperty + :ivar k8_s_raw: The raw kubernetes information. + :vartype k8_s_raw: any + :ivar upload_watermark: Properties on upload watermark. Mostly timestamp for each upload data + type. + :vartype upload_watermark: ~azure_arc_data_management_client.models.UploadWatermark + :ivar last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :vartype last_uploaded_date: ~datetime.datetime + :ivar basic_login_information: Deprecated. Azure Arc Data Services data controller no longer + expose any endpoint. All traffic are exposed through Kubernetes native API. + :vartype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar metrics_dashboard_credential: Login credential for metrics dashboard on the Kubernetes + cluster. + :vartype metrics_dashboard_credential: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar logs_dashboard_credential: Login credential for logs dashboard on the Kubernetes cluster. + :vartype logs_dashboard_credential: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar log_analytics_workspace_config: Log analytics workspace id and primary key. + :vartype log_analytics_workspace_config: + ~azure_arc_data_management_client.models.LogAnalyticsWorkspaceConfig + :ivar upload_service_principal: Deprecated. Service principal is deprecated in favor of Arc + Kubernetes service extension managed identity. + :vartype upload_service_principal: + ~azure_arc_data_management_client.models.UploadServicePrincipal + :ivar provisioning_state: The provisioning state of the Arc Data Controller resource. + :vartype provisioning_state: str + :ivar cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :vartype cluster_id: str + :ivar extension_id: If a CustomLocation is provided, this contains the ARM id of the extension + the custom location belongs to. + :vartype extension_id: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "infrastructure": {"key": "infrastructure", "type": "str"}, + "on_premise_property": { + "key": "onPremiseProperty", + "type": "OnPremiseProperty", + }, + "k8_s_raw": {"key": "k8sRaw", "type": "object"}, + "upload_watermark": { + "key": "uploadWatermark", + "type": "UploadWatermark", + }, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "metrics_dashboard_credential": { + "key": "metricsDashboardCredential", + "type": "BasicLoginInformation", + }, + "logs_dashboard_credential": { + "key": "logsDashboardCredential", + "type": "BasicLoginInformation", + }, + "log_analytics_workspace_config": { + "key": "logAnalyticsWorkspaceConfig", + "type": "LogAnalyticsWorkspaceConfig", + }, + "upload_service_principal": { + "key": "uploadServicePrincipal", + "type": "UploadServicePrincipal", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "cluster_id": {"key": "clusterId", "type": "str"}, + "extension_id": {"key": "extensionId", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword infrastructure: The infrastructure the data controller is running on. Known values + are: "azure", "gcp", "aws", "alibaba", "onpremises", "other". Default value: "other". + :paramtype infrastructure: str or ~azure_arc_data_management_client.models.Infrastructure + :keyword on_premise_property: Properties from the Kubernetes data controller. + :paramtype on_premise_property: ~azure_arc_data_management_client.models.OnPremiseProperty + :keyword k8_s_raw: The raw kubernetes information. + :paramtype k8_s_raw: any + :keyword upload_watermark: Properties on upload watermark. Mostly timestamp for each upload + data type. + :paramtype upload_watermark: ~azure_arc_data_management_client.models.UploadWatermark + :keyword last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current + date time. + :paramtype last_uploaded_date: ~datetime.datetime + :keyword basic_login_information: Deprecated. Azure Arc Data Services data controller no longer + expose any endpoint. All traffic are exposed through Kubernetes native API. + :paramtype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword metrics_dashboard_credential: Login credential for metrics dashboard on the Kubernetes + cluster. + :paramtype metrics_dashboard_credential: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword logs_dashboard_credential: Login credential for logs dashboard on the Kubernetes + cluster. + :paramtype logs_dashboard_credential: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword log_analytics_workspace_config: Log analytics workspace id and primary key. + :paramtype log_analytics_workspace_config: + ~azure_arc_data_management_client.models.LogAnalyticsWorkspaceConfig + :keyword upload_service_principal: Deprecated. Service principal is deprecated in favor of Arc + Kubernetes service extension managed identity. + :paramtype upload_service_principal: + ~azure_arc_data_management_client.models.UploadServicePrincipal + :keyword cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :paramtype cluster_id: str + :keyword extension_id: If a CustomLocation is provided, this contains the ARM id of the + extension the custom location belongs to. + :paramtype extension_id: str + """ + super(DataControllerProperties, self).__init__(**kwargs) + self.infrastructure = kwargs.get("infrastructure", "other") + self.on_premise_property = kwargs.get("on_premise_property", None) + self.k8_s_raw = kwargs.get("k8_s_raw", None) + self.upload_watermark = kwargs.get("upload_watermark", None) + self.last_uploaded_date = kwargs.get("last_uploaded_date", None) + self.basic_login_information = kwargs.get( + "basic_login_information", None + ) + self.metrics_dashboard_credential = kwargs.get( + "metrics_dashboard_credential", None + ) + self.logs_dashboard_credential = kwargs.get( + "logs_dashboard_credential", None + ) + self.log_analytics_workspace_config = kwargs.get( + "log_analytics_workspace_config", None + ) + self.upload_service_principal = kwargs.get( + "upload_service_principal", None + ) + self.provisioning_state = None + self.cluster_id = kwargs.get("cluster_id", None) + self.extension_id = kwargs.get("extension_id", None) + + +class TrackedResource(Resource): + """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + """ + super(TrackedResource, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + self.location = kwargs["location"] + + +class DataControllerResource(TrackedResource): + """Data controller resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar extended_location: The extendedLocation of the resource. + :vartype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :ivar properties: Required. The data controller's properties. + :vartype properties: ~azure_arc_data_management_client.models.DataControllerProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "properties": {"key": "properties", "type": "DataControllerProperties"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword extended_location: The extendedLocation of the resource. + :paramtype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :keyword properties: Required. The data controller's properties. + :paramtype properties: ~azure_arc_data_management_client.models.DataControllerProperties + """ + super(DataControllerResource, self).__init__(**kwargs) + self.extended_location = kwargs.get("extended_location", None) + self.properties = kwargs["properties"] + + +class DataControllerUpdate(msrest.serialization.Model): + """Used for updating a data controller resource. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: The data controller's properties. + :vartype properties: ~azure_arc_data_management_client.models.DataControllerProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": {"key": "properties", "type": "DataControllerProperties"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The data controller's properties. + :paramtype properties: ~azure_arc_data_management_client.models.DataControllerProperties + """ + super(DataControllerUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + self.properties = kwargs.get("properties", None) + + +class ErrorResponse(msrest.serialization.Model): + """An error response from the Azure Data on Azure Arc service. + + :ivar error: null. + :vartype error: ~azure_arc_data_management_client.models.ErrorResponseBody + """ + + _attribute_map = { + "error": {"key": "error", "type": "ErrorResponseBody"}, + } + + def __init__(self, **kwargs): + """ + :keyword error: null. + :paramtype error: ~azure_arc_data_management_client.models.ErrorResponseBody + """ + super(ErrorResponse, self).__init__(**kwargs) + self.error = kwargs.get("error", None) + + +class ErrorResponseBody(msrest.serialization.Model): + """An error response from the Batch service. + + :ivar code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :vartype code: str + :ivar message: A message describing the error, intended to be suitable for display in a user + interface. + :vartype message: str + :ivar target: The target of the particular error. For example, the name of the property in + error. + :vartype target: str + :ivar details: A list of additional details about the error. + :vartype details: list[~azure_arc_data_management_client.models.ErrorResponseBody] + """ + + _attribute_map = { + "code": {"key": "code", "type": "str"}, + "message": {"key": "message", "type": "str"}, + "target": {"key": "target", "type": "str"}, + "details": {"key": "details", "type": "[ErrorResponseBody]"}, + } + + def __init__(self, **kwargs): + """ + :keyword code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :paramtype code: str + :keyword message: A message describing the error, intended to be suitable for display in a user + interface. + :paramtype message: str + :keyword target: The target of the particular error. For example, the name of the property in + error. + :paramtype target: str + :keyword details: A list of additional details about the error. + :paramtype details: list[~azure_arc_data_management_client.models.ErrorResponseBody] + """ + super(ErrorResponseBody, self).__init__(**kwargs) + self.code = kwargs.get("code", None) + self.message = kwargs.get("message", None) + self.target = kwargs.get("target", None) + self.details = kwargs.get("details", None) + + +class ExtendedLocation(msrest.serialization.Model): + """The complex type of the extended location. + + :ivar name: The name of the extended location. + :vartype name: str + :ivar type: The type of the extended location. Known values are: "CustomLocation". + :vartype type: str or ~azure_arc_data_management_client.models.ExtendedLocationTypes + """ + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword name: The name of the extended location. + :paramtype name: str + :keyword type: The type of the extended location. Known values are: "CustomLocation". + :paramtype type: str or ~azure_arc_data_management_client.models.ExtendedLocationTypes + """ + super(ExtendedLocation, self).__init__(**kwargs) + self.name = kwargs.get("name", None) + self.type = kwargs.get("type", None) + + +class K8SResourceRequirements(msrest.serialization.Model): + """The kubernetes resource limits and requests used to restrict or reserve resource usage. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar requests: Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' + request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default + 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and + maximum 'memory' is '128Gi'. + :vartype requests: dict[str, str] + :ivar limits: Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request + must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' + is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum + 'memory' is '128Gi'. + :vartype limits: dict[str, str] + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "requests": {"key": "requests", "type": "{str}"}, + "limits": {"key": "limits", "type": "{str}"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword requests: Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' + request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default + 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and + maximum 'memory' is '128Gi'. + :paramtype requests: dict[str, str] + :keyword limits: Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request + must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' + is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum + 'memory' is '128Gi'. + :paramtype limits: dict[str, str] + """ + super(K8SResourceRequirements, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.requests = kwargs.get("requests", None) + self.limits = kwargs.get("limits", None) + + +class K8SScheduling(msrest.serialization.Model): + """The kubernetes scheduling information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar default: The kubernetes scheduling options. It describes restrictions used to help + Kubernetes select appropriate nodes to host the database service. + :vartype default: ~azure_arc_data_management_client.models.K8SSchedulingOptions + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "default": {"key": "default", "type": "K8SSchedulingOptions"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword default: The kubernetes scheduling options. It describes restrictions used to help + Kubernetes select appropriate nodes to host the database service. + :paramtype default: ~azure_arc_data_management_client.models.K8SSchedulingOptions + """ + super(K8SScheduling, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.default = kwargs.get("default", None) + + +class K8SSchedulingOptions(msrest.serialization.Model): + """The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar resources: The kubernetes resource limits and requests used to restrict or reserve + resource usage. + :vartype resources: ~azure_arc_data_management_client.models.K8SResourceRequirements + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "resources": {"key": "resources", "type": "K8SResourceRequirements"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword resources: The kubernetes resource limits and requests used to restrict or reserve + resource usage. + :paramtype resources: ~azure_arc_data_management_client.models.K8SResourceRequirements + """ + super(K8SSchedulingOptions, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.resources = kwargs.get("resources", None) + + +class KeytabInformation(msrest.serialization.Model): + """Keytab used for authenticate with Active Directory. + + :ivar keytab: A base64-encoded keytab. + :vartype keytab: str + """ + + _attribute_map = { + "keytab": {"key": "keytab", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword keytab: A base64-encoded keytab. + :paramtype keytab: str + """ + super(KeytabInformation, self).__init__(**kwargs) + self.keytab = kwargs.get("keytab", None) + + +class LogAnalyticsWorkspaceConfig(msrest.serialization.Model): + """Log analytics workspace id and primary key. + + :ivar workspace_id: Azure Log Analytics workspace ID. + :vartype workspace_id: str + :ivar primary_key: Primary key of the workspace. + :vartype primary_key: str + """ + + _attribute_map = { + "workspace_id": {"key": "workspaceId", "type": "str"}, + "primary_key": {"key": "primaryKey", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword workspace_id: Azure Log Analytics workspace ID. + :paramtype workspace_id: str + :keyword primary_key: Primary key of the workspace. + :paramtype primary_key: str + """ + super(LogAnalyticsWorkspaceConfig, self).__init__(**kwargs) + self.workspace_id = kwargs.get("workspace_id", None) + self.primary_key = kwargs.get("primary_key", None) + + +class OnPremiseProperty(msrest.serialization.Model): + """Properties from the Kubernetes data controller. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Required. A globally unique ID identifying the associated Kubernetes cluster. + :vartype id: str + :ivar public_signing_key: Required. Certificate that contains the Kubernetes cluster public key + used to verify signing. + :vartype public_signing_key: str + :ivar signing_certificate_thumbprint: Unique thumbprint returned to customer to verify the + certificate being uploaded. + :vartype signing_certificate_thumbprint: str + """ + + _validation = { + "id": {"required": True}, + "public_signing_key": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "public_signing_key": {"key": "publicSigningKey", "type": "str"}, + "signing_certificate_thumbprint": { + "key": "signingCertificateThumbprint", + "type": "str", + }, + } + + def __init__(self, **kwargs): + """ + :keyword id: Required. A globally unique ID identifying the associated Kubernetes cluster. + :paramtype id: str + :keyword public_signing_key: Required. Certificate that contains the Kubernetes cluster public + key used to verify signing. + :paramtype public_signing_key: str + :keyword signing_certificate_thumbprint: Unique thumbprint returned to customer to verify the + certificate being uploaded. + :paramtype signing_certificate_thumbprint: str + """ + super(OnPremiseProperty, self).__init__(**kwargs) + self.id = kwargs["id"] + self.public_signing_key = kwargs["public_signing_key"] + self.signing_certificate_thumbprint = kwargs.get( + "signing_certificate_thumbprint", None + ) + + +class Operation(msrest.serialization.Model): + """Azure Data Services on Azure Arc operation definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the operation being performed on this particular object. + :vartype name: str + :ivar display: Required. The localized display information for this particular operation / + action. + :vartype display: ~azure_arc_data_management_client.models.OperationDisplay + :ivar origin: The intended executor of the operation. Known values are: "user", "system". + :vartype origin: str or ~azure_arc_data_management_client.models.OperationOrigin + :ivar is_data_action: Required. Indicates whether the operation is a data action. + :vartype is_data_action: bool + :ivar properties: Additional descriptions for the operation. + :vartype properties: dict[str, any] + """ + + _validation = { + "name": {"required": True}, + "display": {"required": True}, + "origin": {"readonly": True}, + "is_data_action": {"required": True}, + "properties": {"readonly": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "display": {"key": "display", "type": "OperationDisplay"}, + "origin": {"key": "origin", "type": "str"}, + "is_data_action": {"key": "isDataAction", "type": "bool"}, + "properties": {"key": "properties", "type": "{object}"}, + } + + def __init__(self, **kwargs): + """ + :keyword name: Required. The name of the operation being performed on this particular object. + :paramtype name: str + :keyword display: Required. The localized display information for this particular operation / + action. + :paramtype display: ~azure_arc_data_management_client.models.OperationDisplay + :keyword is_data_action: Required. Indicates whether the operation is a data action. + :paramtype is_data_action: bool + """ + super(Operation, self).__init__(**kwargs) + self.name = kwargs["name"] + self.display = kwargs["display"] + self.origin = None + self.is_data_action = kwargs["is_data_action"] + self.properties = None + + +class OperationDisplay(msrest.serialization.Model): + """Display metadata associated with the operation. + + All required parameters must be populated in order to send to Azure. + + :ivar provider: Required. The localized friendly form of the resource provider name. + :vartype provider: str + :ivar resource: Required. The localized friendly form of the resource type related to this + action/operation. + :vartype resource: str + :ivar operation: Required. The localized friendly name for the operation. + :vartype operation: str + :ivar description: Required. The localized friendly description for the operation. + :vartype description: str + """ + + _validation = { + "provider": {"required": True}, + "resource": {"required": True}, + "operation": {"required": True}, + "description": {"required": True}, + } + + _attribute_map = { + "provider": {"key": "provider", "type": "str"}, + "resource": {"key": "resource", "type": "str"}, + "operation": {"key": "operation", "type": "str"}, + "description": {"key": "description", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword provider: Required. The localized friendly form of the resource provider name. + :paramtype provider: str + :keyword resource: Required. The localized friendly form of the resource type related to this + action/operation. + :paramtype resource: str + :keyword operation: Required. The localized friendly name for the operation. + :paramtype operation: str + :keyword description: Required. The localized friendly description for the operation. + :paramtype description: str + """ + super(OperationDisplay, self).__init__(**kwargs) + self.provider = kwargs["provider"] + self.resource = kwargs["resource"] + self.operation = kwargs["operation"] + self.description = kwargs["description"] + + +class OperationListResult(msrest.serialization.Model): + """Result of the request to list Azure Data Services on Azure Arc operations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.Operation] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[Operation]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """""" + super(OperationListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class PageOfDataControllerResource(msrest.serialization.Model): + """A list of data controllers. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.DataControllerResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _attribute_map = { + "value": {"key": "value", "type": "[DataControllerResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword value: Array of results. + :paramtype value: list[~azure_arc_data_management_client.models.DataControllerResource] + :keyword next_link: Link to retrieve next page of results. + :paramtype next_link: str + """ + super(PageOfDataControllerResource, self).__init__(**kwargs) + self.value = kwargs.get("value", None) + self.next_link = kwargs.get("next_link", None) + + +class PostgresInstance(TrackedResource): + """A Postgres Instance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar extended_location: The extendedLocation of the resource. + :vartype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :ivar properties: Required. null. + :vartype properties: ~azure_arc_data_management_client.models.PostgresInstanceProperties + :ivar sku: Resource sku. + :vartype sku: ~azure_arc_data_management_client.models.PostgresInstanceSku + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "properties": { + "key": "properties", + "type": "PostgresInstanceProperties", + }, + "sku": {"key": "sku", "type": "PostgresInstanceSku"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword extended_location: The extendedLocation of the resource. + :paramtype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :keyword properties: Required. null. + :paramtype properties: ~azure_arc_data_management_client.models.PostgresInstanceProperties + :keyword sku: Resource sku. + :paramtype sku: ~azure_arc_data_management_client.models.PostgresInstanceSku + """ + super(PostgresInstance, self).__init__(**kwargs) + self.extended_location = kwargs.get("extended_location", None) + self.properties = kwargs["properties"] + self.sku = kwargs.get("sku", None) + + +class PostgresInstanceListResult(msrest.serialization.Model): + """A list of PostgresInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.PostgresInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[PostgresInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """""" + super(PostgresInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class PostgresInstanceProperties(msrest.serialization.Model): + """Postgres Instance properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar data_controller_id: The data controller id. + :vartype data_controller_id: str + :ivar admin: The instance admin. + :vartype admin: str + :ivar basic_login_information: Username and password for basic authentication. + :vartype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar k8_s_raw: The raw kubernetes information. + :vartype k8_s_raw: any + :ivar last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :vartype last_uploaded_date: ~datetime.datetime + :ivar provisioning_state: The provisioning state of the Azure Arc-enabled PostgreSQL instance. + :vartype provisioning_state: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "data_controller_id": {"key": "dataControllerId", "type": "str"}, + "admin": {"key": "admin", "type": "str"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "k8_s_raw": {"key": "k8sRaw", "type": "object"}, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword data_controller_id: The data controller id. + :paramtype data_controller_id: str + :keyword admin: The instance admin. + :paramtype admin: str + :keyword basic_login_information: Username and password for basic authentication. + :paramtype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword k8_s_raw: The raw kubernetes information. + :paramtype k8_s_raw: any + :keyword last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current + date time. + :paramtype last_uploaded_date: ~datetime.datetime + """ + super(PostgresInstanceProperties, self).__init__(**kwargs) + self.data_controller_id = kwargs.get("data_controller_id", None) + self.admin = kwargs.get("admin", None) + self.basic_login_information = kwargs.get( + "basic_login_information", None + ) + self.k8_s_raw = kwargs.get("k8_s_raw", None) + self.last_uploaded_date = kwargs.get("last_uploaded_date", None) + self.provisioning_state = None + + +class PostgresInstanceSku(CommonSku): + """The resource model definition representing SKU for Azure Database for PostgresSQL - Azure Arc. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the SKU. It is typically a letter+number code. + :vartype name: str + :ivar dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used + for dev/test purpose. + :vartype dev: bool + :ivar size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :vartype size: str + :ivar family: If the service has different generations of hardware, for the same SKU, then that + can be captured here. + :vartype family: str + :ivar capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :vartype capacity: int + :ivar tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier. The only acceptable values to pass in are None and "Hyperscale". The + default value is "Hyperscale". + :vartype tier: str + """ + + _validation = { + "name": {"required": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + "tier": {"key": "tier", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword name: Required. The name of the SKU. It is typically a letter+number code. + :paramtype name: str + :keyword dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :paramtype dev: bool + :keyword size: The SKU size. When the name field is the combination of tier and some other + value, this would be the standalone code. + :paramtype size: str + :keyword family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :paramtype family: str + :keyword capacity: If the SKU supports scale out/in then the capacity integer should be + included. If scale out/in is not possible for the resource this may be omitted. + :paramtype capacity: int + :keyword tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier. The only acceptable values to pass in are None and "Hyperscale". The + default value is "Hyperscale". + :paramtype tier: str + """ + super(PostgresInstanceSku, self).__init__(**kwargs) + self.tier = kwargs.get("tier", "Hyperscale") + + +class PostgresInstanceUpdate(msrest.serialization.Model): + """An update to a Postgres Instance. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: Postgres Instance properties. + :vartype properties: ~azure_arc_data_management_client.models.PostgresInstanceProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": { + "key": "properties", + "type": "PostgresInstanceProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: Postgres Instance properties. + :paramtype properties: ~azure_arc_data_management_client.models.PostgresInstanceProperties + """ + super(PostgresInstanceUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + self.properties = kwargs.get("properties", None) + + +class SqlManagedInstance(TrackedResource): + """A SqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: Required. null. + :vartype properties: ~azure_arc_data_management_client.models.SqlManagedInstanceProperties + :ivar extended_location: The extendedLocation of the resource. + :vartype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :ivar sku: Resource sku. + :vartype sku: ~azure_arc_data_management_client.models.SqlManagedInstanceSku + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlManagedInstanceProperties", + }, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "sku": {"key": "sku", "type": "SqlManagedInstanceSku"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: Required. null. + :paramtype properties: ~azure_arc_data_management_client.models.SqlManagedInstanceProperties + :keyword extended_location: The extendedLocation of the resource. + :paramtype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :keyword sku: Resource sku. + :paramtype sku: ~azure_arc_data_management_client.models.SqlManagedInstanceSku + """ + super(SqlManagedInstance, self).__init__(**kwargs) + self.properties = kwargs["properties"] + self.extended_location = kwargs.get("extended_location", None) + self.sku = kwargs.get("sku", None) + + +class SqlManagedInstanceK8SRaw(msrest.serialization.Model): + """The raw kubernetes information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar spec: The kubernetes spec information. + :vartype spec: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SSpec + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "spec": {"key": "spec", "type": "SqlManagedInstanceK8SSpec"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword spec: The kubernetes spec information. + :paramtype spec: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SSpec + """ + super(SqlManagedInstanceK8SRaw, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.spec = kwargs.get("spec", None) + + +class SqlManagedInstanceK8SSpec(msrest.serialization.Model): + """The kubernetes spec information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar scheduling: The kubernetes scheduling information. + :vartype scheduling: ~azure_arc_data_management_client.models.K8SScheduling + :ivar replicas: This option specifies the number of SQL Managed Instance replicas that will be + deployed in your Kubernetes cluster for high availability purposes. If sku.tier is + BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is + GeneralPurpose, replicas must be '1'. + :vartype replicas: int + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "scheduling": {"key": "scheduling", "type": "K8SScheduling"}, + "replicas": {"key": "replicas", "type": "int"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword scheduling: The kubernetes scheduling information. + :paramtype scheduling: ~azure_arc_data_management_client.models.K8SScheduling + :keyword replicas: This option specifies the number of SQL Managed Instance replicas that will + be deployed in your Kubernetes cluster for high availability purposes. If sku.tier is + BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is + GeneralPurpose, replicas must be '1'. + :paramtype replicas: int + """ + super(SqlManagedInstanceK8SSpec, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.scheduling = kwargs.get("scheduling", None) + self.replicas = kwargs.get("replicas", None) + + +class SqlManagedInstanceListResult(msrest.serialization.Model): + """A list of SqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.SqlManagedInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlManagedInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """""" + super(SqlManagedInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SqlManagedInstanceProperties(msrest.serialization.Model): + """Properties of sqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar data_controller_id: null. + :vartype data_controller_id: str + :ivar admin: The instance admin user. + :vartype admin: str + :ivar start_time: The instance start time. + :vartype start_time: str + :ivar end_time: The instance end time. + :vartype end_time: str + :ivar k8_s_raw: The raw kubernetes information. + :vartype k8_s_raw: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SRaw + :ivar basic_login_information: Username and password for basic authentication. + :vartype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :vartype last_uploaded_date: ~datetime.datetime + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Managed Instance + resource. + :vartype provisioning_state: str + :ivar active_directory_information: Active Directory information related to this SQL Managed + Instance. + :vartype active_directory_information: + ~azure_arc_data_management_client.models.ActiveDirectoryInformation + :ivar license_type: The license type to apply for this managed instance. Known values are: + "BasePrice", "LicenseIncluded", "DisasterRecovery". Default value: "BasePrice". + :vartype license_type: str or + ~azure_arc_data_management_client.models.ArcSqlManagedInstanceLicenseType + :ivar cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :vartype cluster_id: str + :ivar extension_id: If a CustomLocation is provided, this contains the ARM id of the extension + the custom location belongs to. + :vartype extension_id: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "data_controller_id": {"key": "dataControllerId", "type": "str"}, + "admin": {"key": "admin", "type": "str"}, + "start_time": {"key": "startTime", "type": "str"}, + "end_time": {"key": "endTime", "type": "str"}, + "k8_s_raw": {"key": "k8sRaw", "type": "SqlManagedInstanceK8SRaw"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "active_directory_information": { + "key": "activeDirectoryInformation", + "type": "ActiveDirectoryInformation", + }, + "license_type": {"key": "licenseType", "type": "str"}, + "cluster_id": {"key": "clusterId", "type": "str"}, + "extension_id": {"key": "extensionId", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword data_controller_id: null. + :paramtype data_controller_id: str + :keyword admin: The instance admin user. + :paramtype admin: str + :keyword start_time: The instance start time. + :paramtype start_time: str + :keyword end_time: The instance end time. + :paramtype end_time: str + :keyword k8_s_raw: The raw kubernetes information. + :paramtype k8_s_raw: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SRaw + :keyword basic_login_information: Username and password for basic authentication. + :paramtype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current + date time. + :paramtype last_uploaded_date: ~datetime.datetime + :keyword active_directory_information: Active Directory information related to this SQL Managed + Instance. + :paramtype active_directory_information: + ~azure_arc_data_management_client.models.ActiveDirectoryInformation + :keyword license_type: The license type to apply for this managed instance. Known values are: + "BasePrice", "LicenseIncluded", "DisasterRecovery". Default value: "BasePrice". + :paramtype license_type: str or + ~azure_arc_data_management_client.models.ArcSqlManagedInstanceLicenseType + :keyword cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :paramtype cluster_id: str + :keyword extension_id: If a CustomLocation is provided, this contains the ARM id of the + extension the custom location belongs to. + :paramtype extension_id: str + """ + super(SqlManagedInstanceProperties, self).__init__(**kwargs) + self.data_controller_id = kwargs.get("data_controller_id", None) + self.admin = kwargs.get("admin", None) + self.start_time = kwargs.get("start_time", None) + self.end_time = kwargs.get("end_time", None) + self.k8_s_raw = kwargs.get("k8_s_raw", None) + self.basic_login_information = kwargs.get( + "basic_login_information", None + ) + self.last_uploaded_date = kwargs.get("last_uploaded_date", None) + self.provisioning_state = None + self.active_directory_information = kwargs.get( + "active_directory_information", None + ) + self.license_type = kwargs.get("license_type", "BasePrice") + self.cluster_id = kwargs.get("cluster_id", None) + self.extension_id = kwargs.get("extension_id", None) + + +class SqlManagedInstanceSku(msrest.serialization.Model): + """The resource model definition representing SKU for Azure Managed Instance - Azure Arc. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar name: The name of the SKU. Has constant value: "vCore". + :vartype name: str + :ivar tier: The pricing tier for the instance. Known values are: "GeneralPurpose", + "BusinessCritical". Default value: "GeneralPurpose". + :vartype tier: str or ~azure_arc_data_management_client.models.SqlManagedInstanceSkuTier + :ivar dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used + for dev/test purpose. + :vartype dev: bool + :ivar size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :vartype size: str + :ivar family: The SKU family. + :vartype family: str + :ivar capacity: The SKU capacity. + :vartype capacity: int + """ + + _validation = { + "name": {"required": True, "constant": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "tier": {"key": "tier", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + } + + name = "vCore" + + def __init__(self, **kwargs): + """ + :keyword tier: The pricing tier for the instance. Known values are: "GeneralPurpose", + "BusinessCritical". Default value: "GeneralPurpose". + :paramtype tier: str or ~azure_arc_data_management_client.models.SqlManagedInstanceSkuTier + :keyword dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :paramtype dev: bool + :keyword size: The SKU size. When the name field is the combination of tier and some other + value, this would be the standalone code. + :paramtype size: str + :keyword family: The SKU family. + :paramtype family: str + :keyword capacity: The SKU capacity. + :paramtype capacity: int + """ + super(SqlManagedInstanceSku, self).__init__(**kwargs) + self.tier = kwargs.get("tier", "GeneralPurpose") + self.dev = kwargs.get("dev", True) + self.size = kwargs.get("size", None) + self.family = kwargs.get("family", None) + self.capacity = kwargs.get("capacity", None) + + +class SqlManagedInstanceUpdate(msrest.serialization.Model): + """An update to a SQL Managed Instance. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + """ + super(SqlManagedInstanceUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + + +class SqlServerInstance(TrackedResource): + """A SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: null. + :vartype properties: ~azure_arc_data_management_client.models.SqlServerInstanceProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlServerInstanceProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: null. + :paramtype properties: ~azure_arc_data_management_client.models.SqlServerInstanceProperties + """ + super(SqlServerInstance, self).__init__(**kwargs) + self.properties = kwargs.get("properties", None) + + +class SqlServerInstanceListResult(msrest.serialization.Model): + """A list of SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.SqlServerInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlServerInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """""" + super(SqlServerInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SqlServerInstanceProperties(msrest.serialization.Model): + """Properties of SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar version: SQL Server version. Known values are: "SQL Server 2012", "SQL Server 2014", "SQL + Server 2016", "SQL Server 2017", "SQL Server 2019", "SQL Server 2022", "Unknown". + :vartype version: str or ~azure_arc_data_management_client.models.SqlVersion + :ivar edition: SQL Server edition. Known values are: "Evaluation", "Enterprise", "Standard", + "Web", "Developer", "Express". + :vartype edition: str or ~azure_arc_data_management_client.models.EditionType + :ivar container_resource_id: Required. ARM Resource id of the container resource (Azure Arc for + Servers). + :vartype container_resource_id: str + :ivar create_time: The time when the resource was created. + :vartype create_time: str + :ivar v_core: The number of logical processors used by the SQL Server instance. + :vartype v_core: str + :ivar status: Required. The cloud connectivity status. Known values are: "Connected", + "Disconnected", "Registered", "Unknown". + :vartype status: str or ~azure_arc_data_management_client.models.ConnectionStatus + :ivar patch_level: SQL Server update level. + :vartype patch_level: str + :ivar collation: SQL Server collation. + :vartype collation: str + :ivar current_version: SQL Server current version. + :vartype current_version: str + :ivar instance_name: SQL Server instance name. + :vartype instance_name: str + :ivar tcp_dynamic_ports: Dynamic TCP ports used by SQL Server. + :vartype tcp_dynamic_ports: str + :ivar tcp_static_ports: Static TCP ports used by SQL Server. + :vartype tcp_static_ports: str + :ivar product_id: SQL Server product ID. + :vartype product_id: str + :ivar license_type: SQL Server license type. Known values are: "Paid", "Free", "HADR", + "Undefined". + :vartype license_type: str or ~azure_arc_data_management_client.models.ArcSqlServerLicenseType + :ivar azure_defender_status_last_updated: Timestamp of last Azure Defender status update. + :vartype azure_defender_status_last_updated: ~datetime.datetime + :ivar azure_defender_status: Status of Azure Defender. Known values are: "Protected", + "Unprotected", "Unknown". + :vartype azure_defender_status: str or ~azure_arc_data_management_client.models.DefenderStatus + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Server resource. + :vartype provisioning_state: str + :ivar host_type: Type of host for Azure Arc SQL Server. Known values are: "Virtual Machine", + "Physical Server", "AWS Virtual Machine", "GCP Virtual Machine", "Other". + :vartype host_type: str or ~azure_arc_data_management_client.models.HostType + """ + + _validation = { + "container_resource_id": {"required": True}, + "create_time": {"readonly": True}, + "status": {"required": True}, + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "version": {"key": "version", "type": "str"}, + "edition": {"key": "edition", "type": "str"}, + "container_resource_id": {"key": "containerResourceId", "type": "str"}, + "create_time": {"key": "createTime", "type": "str"}, + "v_core": {"key": "vCore", "type": "str"}, + "status": {"key": "status", "type": "str"}, + "patch_level": {"key": "patchLevel", "type": "str"}, + "collation": {"key": "collation", "type": "str"}, + "current_version": {"key": "currentVersion", "type": "str"}, + "instance_name": {"key": "instanceName", "type": "str"}, + "tcp_dynamic_ports": {"key": "tcpDynamicPorts", "type": "str"}, + "tcp_static_ports": {"key": "tcpStaticPorts", "type": "str"}, + "product_id": {"key": "productId", "type": "str"}, + "license_type": {"key": "licenseType", "type": "str"}, + "azure_defender_status_last_updated": { + "key": "azureDefenderStatusLastUpdated", + "type": "iso-8601", + }, + "azure_defender_status": {"key": "azureDefenderStatus", "type": "str"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "host_type": {"key": "hostType", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword version: SQL Server version. Known values are: "SQL Server 2012", "SQL Server 2014", + "SQL Server 2016", "SQL Server 2017", "SQL Server 2019", "SQL Server 2022", "Unknown". + :paramtype version: str or ~azure_arc_data_management_client.models.SqlVersion + :keyword edition: SQL Server edition. Known values are: "Evaluation", "Enterprise", "Standard", + "Web", "Developer", "Express". + :paramtype edition: str or ~azure_arc_data_management_client.models.EditionType + :keyword container_resource_id: Required. ARM Resource id of the container resource (Azure Arc + for Servers). + :paramtype container_resource_id: str + :keyword v_core: The number of logical processors used by the SQL Server instance. + :paramtype v_core: str + :keyword status: Required. The cloud connectivity status. Known values are: "Connected", + "Disconnected", "Registered", "Unknown". + :paramtype status: str or ~azure_arc_data_management_client.models.ConnectionStatus + :keyword patch_level: SQL Server update level. + :paramtype patch_level: str + :keyword collation: SQL Server collation. + :paramtype collation: str + :keyword current_version: SQL Server current version. + :paramtype current_version: str + :keyword instance_name: SQL Server instance name. + :paramtype instance_name: str + :keyword tcp_dynamic_ports: Dynamic TCP ports used by SQL Server. + :paramtype tcp_dynamic_ports: str + :keyword tcp_static_ports: Static TCP ports used by SQL Server. + :paramtype tcp_static_ports: str + :keyword product_id: SQL Server product ID. + :paramtype product_id: str + :keyword license_type: SQL Server license type. Known values are: "Paid", "Free", "HADR", + "Undefined". + :paramtype license_type: str or + ~azure_arc_data_management_client.models.ArcSqlServerLicenseType + :keyword azure_defender_status_last_updated: Timestamp of last Azure Defender status update. + :paramtype azure_defender_status_last_updated: ~datetime.datetime + :keyword azure_defender_status: Status of Azure Defender. Known values are: "Protected", + "Unprotected", "Unknown". + :paramtype azure_defender_status: str or + ~azure_arc_data_management_client.models.DefenderStatus + :keyword host_type: Type of host for Azure Arc SQL Server. Known values are: "Virtual Machine", + "Physical Server", "AWS Virtual Machine", "GCP Virtual Machine", "Other". + :paramtype host_type: str or ~azure_arc_data_management_client.models.HostType + """ + super(SqlServerInstanceProperties, self).__init__(**kwargs) + self.version = kwargs.get("version", None) + self.edition = kwargs.get("edition", None) + self.container_resource_id = kwargs["container_resource_id"] + self.create_time = None + self.v_core = kwargs.get("v_core", None) + self.status = kwargs["status"] + self.patch_level = kwargs.get("patch_level", None) + self.collation = kwargs.get("collation", None) + self.current_version = kwargs.get("current_version", None) + self.instance_name = kwargs.get("instance_name", None) + self.tcp_dynamic_ports = kwargs.get("tcp_dynamic_ports", None) + self.tcp_static_ports = kwargs.get("tcp_static_ports", None) + self.product_id = kwargs.get("product_id", None) + self.license_type = kwargs.get("license_type", None) + self.azure_defender_status_last_updated = kwargs.get( + "azure_defender_status_last_updated", None + ) + self.azure_defender_status = kwargs.get("azure_defender_status", None) + self.provisioning_state = None + self.host_type = kwargs.get("host_type", None) + + +class SqlServerInstanceUpdate(msrest.serialization.Model): + """An update to a SQL Server Instance. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + """ + super(SqlServerInstanceUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :ivar created_by: The identity that created the resource. + :vartype created_by: str + :ivar created_by_type: The type of identity that created the resource. Known values are: + "User", "Application", "ManagedIdentity", "Key". + :vartype created_by_type: str or ~azure_arc_data_management_client.models.CreatedByType + :ivar created_at: The timestamp of resource creation (UTC). + :vartype created_at: ~datetime.datetime + :ivar last_modified_by: The identity that last modified the resource. + :vartype last_modified_by: str + :ivar last_modified_by_type: The type of identity that last modified the resource. Known values + are: "User", "Application", "ManagedIdentity", "Key". + :vartype last_modified_by_type: str or ~azure_arc_data_management_client.models.CreatedByType + :ivar last_modified_at: The timestamp of resource last modification (UTC). + :vartype last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + "created_by": {"key": "createdBy", "type": "str"}, + "created_by_type": {"key": "createdByType", "type": "str"}, + "created_at": {"key": "createdAt", "type": "iso-8601"}, + "last_modified_by": {"key": "lastModifiedBy", "type": "str"}, + "last_modified_by_type": {"key": "lastModifiedByType", "type": "str"}, + "last_modified_at": {"key": "lastModifiedAt", "type": "iso-8601"}, + } + + def __init__(self, **kwargs): + """ + :keyword created_by: The identity that created the resource. + :paramtype created_by: str + :keyword created_by_type: The type of identity that created the resource. Known values are: + "User", "Application", "ManagedIdentity", "Key". + :paramtype created_by_type: str or ~azure_arc_data_management_client.models.CreatedByType + :keyword created_at: The timestamp of resource creation (UTC). + :paramtype created_at: ~datetime.datetime + :keyword last_modified_by: The identity that last modified the resource. + :paramtype last_modified_by: str + :keyword last_modified_by_type: The type of identity that last modified the resource. Known + values are: "User", "Application", "ManagedIdentity", "Key". + :paramtype last_modified_by_type: str or ~azure_arc_data_management_client.models.CreatedByType + :keyword last_modified_at: The timestamp of resource last modification (UTC). + :paramtype last_modified_at: ~datetime.datetime + """ + super(SystemData, self).__init__(**kwargs) + self.created_by = kwargs.get("created_by", None) + self.created_by_type = kwargs.get("created_by_type", None) + self.created_at = kwargs.get("created_at", None) + self.last_modified_by = kwargs.get("last_modified_by", None) + self.last_modified_by_type = kwargs.get("last_modified_by_type", None) + self.last_modified_at = kwargs.get("last_modified_at", None) + + +class UploadServicePrincipal(msrest.serialization.Model): + """Service principal for uploading billing, metrics and logs. + + :ivar client_id: Client ID of the service principal for uploading data. + :vartype client_id: str + :ivar tenant_id: Tenant ID of the service principal. + :vartype tenant_id: str + :ivar authority: Authority for the service principal. Example: + https://login.microsoftonline.com/. + :vartype authority: str + :ivar client_secret: Secret of the service principal. + :vartype client_secret: str + """ + + _attribute_map = { + "client_id": {"key": "clientId", "type": "str"}, + "tenant_id": {"key": "tenantId", "type": "str"}, + "authority": {"key": "authority", "type": "str"}, + "client_secret": {"key": "clientSecret", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword client_id: Client ID of the service principal for uploading data. + :paramtype client_id: str + :keyword tenant_id: Tenant ID of the service principal. + :paramtype tenant_id: str + :keyword authority: Authority for the service principal. Example: + https://login.microsoftonline.com/. + :paramtype authority: str + :keyword client_secret: Secret of the service principal. + :paramtype client_secret: str + """ + super(UploadServicePrincipal, self).__init__(**kwargs) + self.client_id = kwargs.get("client_id", None) + self.tenant_id = kwargs.get("tenant_id", None) + self.authority = kwargs.get("authority", None) + self.client_secret = kwargs.get("client_secret", None) + + +class UploadWatermark(msrest.serialization.Model): + """Properties on upload watermark. Mostly timestamp for each upload data type. + + :ivar metrics: Last uploaded date for metrics from kubernetes cluster. Defaults to current date + time. + :vartype metrics: ~datetime.datetime + :ivar logs: Last uploaded date for logs from kubernetes cluster. Defaults to current date time. + :vartype logs: ~datetime.datetime + :ivar usages: Last uploaded date for usages from kubernetes cluster. Defaults to current date + time. + :vartype usages: ~datetime.datetime + """ + + _attribute_map = { + "metrics": {"key": "metrics", "type": "iso-8601"}, + "logs": {"key": "logs", "type": "iso-8601"}, + "usages": {"key": "usages", "type": "iso-8601"}, + } + + def __init__(self, **kwargs): + """ + :keyword metrics: Last uploaded date for metrics from kubernetes cluster. Defaults to current + date time. + :paramtype metrics: ~datetime.datetime + :keyword logs: Last uploaded date for logs from kubernetes cluster. Defaults to current date + time. + :paramtype logs: ~datetime.datetime + :keyword usages: Last uploaded date for usages from kubernetes cluster. Defaults to current + date time. + :paramtype usages: ~datetime.datetime + """ + super(UploadWatermark, self).__init__(**kwargs) + self.metrics = kwargs.get("metrics", None) + self.logs = kwargs.get("logs", None) + self.usages = kwargs.get("usages", None) diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/models/_models_py3.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/models/_models_py3.py new file mode 100644 index 00000000000..31bce3de81d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/models/_models_py3.py @@ -0,0 +1,2704 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import datetime +from typing import Any, Dict, List, Optional, TYPE_CHECKING, Union + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + import __init__ as _models + + +class ActiveDirectoryConnectorDNSDetails(msrest.serialization.Model): + """DNS server details. + + All required parameters must be populated in order to send to Azure. + + :ivar domain_name: DNS domain name for which DNS lookups should be forwarded to the Active + Directory DNS servers. + :vartype domain_name: str + :ivar nameserver_ip_addresses: Required. List of Active Directory DNS server IP addresses. + :vartype nameserver_ip_addresses: list[str] + :ivar replicas: Replica count for DNS proxy service. Default value is 1. + :vartype replicas: long + :ivar prefer_k8_s_dns_for_ptr_lookups: Flag indicating whether to prefer Kubernetes DNS server + response over AD DNS server response for IP address lookups. + :vartype prefer_k8_s_dns_for_ptr_lookups: bool + """ + + _validation = { + "nameserver_ip_addresses": {"required": True}, + } + + _attribute_map = { + "domain_name": {"key": "domainName", "type": "str"}, + "nameserver_ip_addresses": { + "key": "nameserverIPAddresses", + "type": "[str]", + }, + "replicas": {"key": "replicas", "type": "long"}, + "prefer_k8_s_dns_for_ptr_lookups": { + "key": "preferK8sDnsForPtrLookups", + "type": "bool", + }, + } + + def __init__( + self, + *, + nameserver_ip_addresses: List[str], + domain_name: Optional[str] = None, + replicas: Optional[int] = 1, + prefer_k8_s_dns_for_ptr_lookups: Optional[bool] = True, + **kwargs, + ): + """ + :keyword domain_name: DNS domain name for which DNS lookups should be forwarded to the Active + Directory DNS servers. + :paramtype domain_name: str + :keyword nameserver_ip_addresses: Required. List of Active Directory DNS server IP addresses. + :paramtype nameserver_ip_addresses: list[str] + :keyword replicas: Replica count for DNS proxy service. Default value is 1. + :paramtype replicas: long + :keyword prefer_k8_s_dns_for_ptr_lookups: Flag indicating whether to prefer Kubernetes DNS + server response over AD DNS server response for IP address lookups. + :paramtype prefer_k8_s_dns_for_ptr_lookups: bool + """ + super(ActiveDirectoryConnectorDNSDetails, self).__init__(**kwargs) + self.domain_name = domain_name + self.nameserver_ip_addresses = nameserver_ip_addresses + self.replicas = replicas + self.prefer_k8_s_dns_for_ptr_lookups = prefer_k8_s_dns_for_ptr_lookups + + +class ActiveDirectoryConnectorDomainDetails(msrest.serialization.Model): + """Active Directory domain details. + + All required parameters must be populated in order to send to Azure. + + :ivar realm: Required. Name (uppercase) of the Active Directory domain that this AD connector + will be associated with. + :vartype realm: str + :ivar netbios_domain_name: NETBIOS name of the Active Directory domain. + :vartype netbios_domain_name: str + :ivar service_account_provisioning: The service account provisioning mode for this Active + Directory connector. Known values are: "automatic", "manual". Default value: "manual". + :vartype service_account_provisioning: str or + ~azure_arc_data_management_client.models.AccountProvisioningMode + :ivar ou_distinguished_name: The distinguished name of the Active Directory Organizational + Unit. + :vartype ou_distinguished_name: str + :ivar domain_controllers: Required. null. + :vartype domain_controllers: + ~azure_arc_data_management_client.models.ActiveDirectoryDomainControllers + """ + + _validation = { + "realm": {"required": True}, + "domain_controllers": {"required": True}, + } + + _attribute_map = { + "realm": {"key": "realm", "type": "str"}, + "netbios_domain_name": {"key": "netbiosDomainName", "type": "str"}, + "service_account_provisioning": { + "key": "serviceAccountProvisioning", + "type": "str", + }, + "ou_distinguished_name": {"key": "ouDistinguishedName", "type": "str"}, + "domain_controllers": { + "key": "domainControllers", + "type": "ActiveDirectoryDomainControllers", + }, + } + + def __init__( + self, + *, + realm: str, + domain_controllers: "_models.ActiveDirectoryDomainControllers", + netbios_domain_name: Optional[str] = None, + service_account_provisioning: Optional[ + Union[str, "_models.AccountProvisioningMode"] + ] = "manual", + ou_distinguished_name: Optional[str] = None, + **kwargs, + ): + """ + :keyword realm: Required. Name (uppercase) of the Active Directory domain that this AD + connector will be associated with. + :paramtype realm: str + :keyword netbios_domain_name: NETBIOS name of the Active Directory domain. + :paramtype netbios_domain_name: str + :keyword service_account_provisioning: The service account provisioning mode for this Active + Directory connector. Known values are: "automatic", "manual". Default value: "manual". + :paramtype service_account_provisioning: str or + ~azure_arc_data_management_client.models.AccountProvisioningMode + :keyword ou_distinguished_name: The distinguished name of the Active Directory Organizational + Unit. + :paramtype ou_distinguished_name: str + :keyword domain_controllers: Required. null. + :paramtype domain_controllers: + ~azure_arc_data_management_client.models.ActiveDirectoryDomainControllers + """ + super(ActiveDirectoryConnectorDomainDetails, self).__init__(**kwargs) + self.realm = realm + self.netbios_domain_name = netbios_domain_name + self.service_account_provisioning = service_account_provisioning + self.ou_distinguished_name = ou_distinguished_name + self.domain_controllers = domain_controllers + + +class ActiveDirectoryConnectorListResult(msrest.serialization.Model): + """A list of active directory connectors. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.ActiveDirectoryConnectorResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[ActiveDirectoryConnectorResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """""" + super(ActiveDirectoryConnectorListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ActiveDirectoryConnectorProperties(msrest.serialization.Model): + """The properties of an Active Directory connector resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar domain_service_account_login_information: Username and password for domain service + account authentication. + :vartype domain_service_account_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar provisioning_state: The provisioning state of the Active Directory connector resource. + :vartype provisioning_state: str + :ivar spec: Required. null. + :vartype spec: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorSpec + :ivar status: null. + :vartype status: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorStatus + """ + + _validation = { + "provisioning_state": {"readonly": True}, + "spec": {"required": True}, + } + + _attribute_map = { + "domain_service_account_login_information": { + "key": "domainServiceAccountLoginInformation", + "type": "BasicLoginInformation", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "spec": {"key": "spec", "type": "ActiveDirectoryConnectorSpec"}, + "status": {"key": "status", "type": "ActiveDirectoryConnectorStatus"}, + } + + def __init__( + self, + *, + spec: "_models.ActiveDirectoryConnectorSpec", + domain_service_account_login_information: Optional[ + "_models.BasicLoginInformation" + ] = None, + status: Optional["_models.ActiveDirectoryConnectorStatus"] = None, + **kwargs, + ): + """ + :keyword domain_service_account_login_information: Username and password for domain service + account authentication. + :paramtype domain_service_account_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword spec: Required. null. + :paramtype spec: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorSpec + :keyword status: null. + :paramtype status: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorStatus + """ + super(ActiveDirectoryConnectorProperties, self).__init__(**kwargs) + self.domain_service_account_login_information = ( + domain_service_account_login_information + ) + self.provisioning_state = None + self.spec = spec + self.status = status + + +class Resource(msrest.serialization.Model): + """Common fields that are returned in the response for all Azure Resource Manager resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + } + + def __init__(self, **kwargs): + """""" + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.system_data = None + + +class ProxyResource(Resource): + """The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + } + + def __init__(self, **kwargs): + """""" + super(ProxyResource, self).__init__(**kwargs) + + +class ActiveDirectoryConnectorResource(ProxyResource): + """Active directory connector resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar properties: Required. null. + :vartype properties: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "properties": { + "key": "properties", + "type": "ActiveDirectoryConnectorProperties", + }, + } + + def __init__( + self, + *, + properties: "_models.ActiveDirectoryConnectorProperties", + **kwargs, + ): + """ + :keyword properties: Required. null. + :paramtype properties: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorProperties + """ + super(ActiveDirectoryConnectorResource, self).__init__(**kwargs) + self.properties = properties + + +class ActiveDirectoryConnectorSpec(msrest.serialization.Model): + """The specifications of the AD Kubernetes resource. + + All required parameters must be populated in order to send to Azure. + + :ivar active_directory: Required. null. + :vartype active_directory: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorDomainDetails + :ivar dns: Required. null. + :vartype dns: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorDNSDetails + """ + + _validation = { + "active_directory": {"required": True}, + "dns": {"required": True}, + } + + _attribute_map = { + "active_directory": { + "key": "activeDirectory", + "type": "ActiveDirectoryConnectorDomainDetails", + }, + "dns": {"key": "dns", "type": "ActiveDirectoryConnectorDNSDetails"}, + } + + def __init__( + self, + *, + active_directory: "_models.ActiveDirectoryConnectorDomainDetails", + dns: "_models.ActiveDirectoryConnectorDNSDetails", + **kwargs, + ): + """ + :keyword active_directory: Required. null. + :paramtype active_directory: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorDomainDetails + :keyword dns: Required. null. + :paramtype dns: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorDNSDetails + """ + super(ActiveDirectoryConnectorSpec, self).__init__(**kwargs) + self.active_directory = active_directory + self.dns = dns + + +class ActiveDirectoryConnectorStatus(msrest.serialization.Model): + """The status of the Kubernetes custom resource. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar last_update_time: The time that the custom resource was last updated. + :vartype last_update_time: str + :ivar observed_generation: The version of the replicaSet associated with the AD connector + custom resource. + :vartype observed_generation: long + :ivar state: The state of the AD connector custom resource. + :vartype state: str + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "last_update_time": {"key": "lastUpdateTime", "type": "str"}, + "observed_generation": {"key": "observedGeneration", "type": "long"}, + "state": {"key": "state", "type": "str"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + last_update_time: Optional[str] = None, + observed_generation: Optional[int] = None, + state: Optional[str] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword last_update_time: The time that the custom resource was last updated. + :paramtype last_update_time: str + :keyword observed_generation: The version of the replicaSet associated with the AD connector + custom resource. + :paramtype observed_generation: long + :keyword state: The state of the AD connector custom resource. + :paramtype state: str + """ + super(ActiveDirectoryConnectorStatus, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.last_update_time = last_update_time + self.observed_generation = observed_generation + self.state = state + + +class ActiveDirectoryDomainController(msrest.serialization.Model): + """Information about a domain controller in the AD domain. + + All required parameters must be populated in order to send to Azure. + + :ivar hostname: Required. Fully-qualified domain name of a domain controller in the AD domain. + :vartype hostname: str + """ + + _validation = { + "hostname": {"required": True}, + } + + _attribute_map = { + "hostname": {"key": "hostname", "type": "str"}, + } + + def __init__(self, *, hostname: str, **kwargs): + """ + :keyword hostname: Required. Fully-qualified domain name of a domain controller in the AD + domain. + :paramtype hostname: str + """ + super(ActiveDirectoryDomainController, self).__init__(**kwargs) + self.hostname = hostname + + +class ActiveDirectoryDomainControllers(msrest.serialization.Model): + """Details about the Active Directory domain controllers associated with this AD connector instance. + + :ivar primary_domain_controller: Information about the Primary Domain Controller (PDC) in the + AD domain. + :vartype primary_domain_controller: + ~azure_arc_data_management_client.models.ActiveDirectoryDomainController + :ivar secondary_domain_controllers: null. + :vartype secondary_domain_controllers: + list[~azure_arc_data_management_client.models.ActiveDirectoryDomainController] + """ + + _attribute_map = { + "primary_domain_controller": { + "key": "primaryDomainController", + "type": "ActiveDirectoryDomainController", + }, + "secondary_domain_controllers": { + "key": "secondaryDomainControllers", + "type": "[ActiveDirectoryDomainController]", + }, + } + + def __init__( + self, + *, + primary_domain_controller: Optional[ + "_models.ActiveDirectoryDomainController" + ] = None, + secondary_domain_controllers: Optional[ + List["_models.ActiveDirectoryDomainController"] + ] = None, + **kwargs, + ): + """ + :keyword primary_domain_controller: Information about the Primary Domain Controller (PDC) in + the AD domain. + :paramtype primary_domain_controller: + ~azure_arc_data_management_client.models.ActiveDirectoryDomainController + :keyword secondary_domain_controllers: null. + :paramtype secondary_domain_controllers: + list[~azure_arc_data_management_client.models.ActiveDirectoryDomainController] + """ + super(ActiveDirectoryDomainControllers, self).__init__(**kwargs) + self.primary_domain_controller = primary_domain_controller + self.secondary_domain_controllers = secondary_domain_controllers + + +class ActiveDirectoryInformation(msrest.serialization.Model): + """Active Directory information that related to the resource. + + :ivar keytab_information: Keytab information that is used for the Sql Managed Instance when + Active Directory authentication is used. + :vartype keytab_information: ~azure_arc_data_management_client.models.KeytabInformation + """ + + _attribute_map = { + "keytab_information": { + "key": "keytabInformation", + "type": "KeytabInformation", + }, + } + + def __init__( + self, + *, + keytab_information: Optional["_models.KeytabInformation"] = None, + **kwargs, + ): + """ + :keyword keytab_information: Keytab information that is used for the Sql Managed Instance when + Active Directory authentication is used. + :paramtype keytab_information: ~azure_arc_data_management_client.models.KeytabInformation + """ + super(ActiveDirectoryInformation, self).__init__(**kwargs) + self.keytab_information = keytab_information + + +class BasicLoginInformation(msrest.serialization.Model): + """Username and password for basic login authentication. + + :ivar username: Login username. + :vartype username: str + :ivar password: Login password. + :vartype password: str + """ + + _attribute_map = { + "username": {"key": "username", "type": "str"}, + "password": {"key": "password", "type": "str"}, + } + + def __init__( + self, + *, + username: Optional[str] = None, + password: Optional[str] = None, + **kwargs, + ): + """ + :keyword username: Login username. + :paramtype username: str + :keyword password: Login password. + :paramtype password: str + """ + super(BasicLoginInformation, self).__init__(**kwargs) + self.username = username + self.password = password + + +class CommonSku(msrest.serialization.Model): + """The resource model definition representing SKU for ARM resources. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the SKU. It is typically a letter+number code. + :vartype name: str + :ivar dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used + for dev/test purpose. + :vartype dev: bool + :ivar size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :vartype size: str + :ivar family: If the service has different generations of hardware, for the same SKU, then that + can be captured here. + :vartype family: str + :ivar capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :vartype capacity: int + """ + + _validation = { + "name": {"required": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + } + + def __init__( + self, + *, + name: str, + dev: Optional[bool] = True, + size: Optional[str] = None, + family: Optional[str] = None, + capacity: Optional[int] = None, + **kwargs, + ): + """ + :keyword name: Required. The name of the SKU. It is typically a letter+number code. + :paramtype name: str + :keyword dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :paramtype dev: bool + :keyword size: The SKU size. When the name field is the combination of tier and some other + value, this would be the standalone code. + :paramtype size: str + :keyword family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :paramtype family: str + :keyword capacity: If the SKU supports scale out/in then the capacity integer should be + included. If scale out/in is not possible for the resource this may be omitted. + :paramtype capacity: int + """ + super(CommonSku, self).__init__(**kwargs) + self.name = name + self.dev = dev + self.size = size + self.family = family + self.capacity = capacity + + +class DataControllerProperties(msrest.serialization.Model): + """The data controller properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar infrastructure: The infrastructure the data controller is running on. Known values are: + "azure", "gcp", "aws", "alibaba", "onpremises", "other". Default value: "other". + :vartype infrastructure: str or ~azure_arc_data_management_client.models.Infrastructure + :ivar on_premise_property: Properties from the Kubernetes data controller. + :vartype on_premise_property: ~azure_arc_data_management_client.models.OnPremiseProperty + :ivar k8_s_raw: The raw kubernetes information. + :vartype k8_s_raw: any + :ivar upload_watermark: Properties on upload watermark. Mostly timestamp for each upload data + type. + :vartype upload_watermark: ~azure_arc_data_management_client.models.UploadWatermark + :ivar last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :vartype last_uploaded_date: ~datetime.datetime + :ivar basic_login_information: Deprecated. Azure Arc Data Services data controller no longer + expose any endpoint. All traffic are exposed through Kubernetes native API. + :vartype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar metrics_dashboard_credential: Login credential for metrics dashboard on the Kubernetes + cluster. + :vartype metrics_dashboard_credential: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar logs_dashboard_credential: Login credential for logs dashboard on the Kubernetes cluster. + :vartype logs_dashboard_credential: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar log_analytics_workspace_config: Log analytics workspace id and primary key. + :vartype log_analytics_workspace_config: + ~azure_arc_data_management_client.models.LogAnalyticsWorkspaceConfig + :ivar upload_service_principal: Deprecated. Service principal is deprecated in favor of Arc + Kubernetes service extension managed identity. + :vartype upload_service_principal: + ~azure_arc_data_management_client.models.UploadServicePrincipal + :ivar provisioning_state: The provisioning state of the Arc Data Controller resource. + :vartype provisioning_state: str + :ivar cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :vartype cluster_id: str + :ivar extension_id: If a CustomLocation is provided, this contains the ARM id of the extension + the custom location belongs to. + :vartype extension_id: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "infrastructure": {"key": "infrastructure", "type": "str"}, + "on_premise_property": { + "key": "onPremiseProperty", + "type": "OnPremiseProperty", + }, + "k8_s_raw": {"key": "k8sRaw", "type": "object"}, + "upload_watermark": { + "key": "uploadWatermark", + "type": "UploadWatermark", + }, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "metrics_dashboard_credential": { + "key": "metricsDashboardCredential", + "type": "BasicLoginInformation", + }, + "logs_dashboard_credential": { + "key": "logsDashboardCredential", + "type": "BasicLoginInformation", + }, + "log_analytics_workspace_config": { + "key": "logAnalyticsWorkspaceConfig", + "type": "LogAnalyticsWorkspaceConfig", + }, + "upload_service_principal": { + "key": "uploadServicePrincipal", + "type": "UploadServicePrincipal", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "cluster_id": {"key": "clusterId", "type": "str"}, + "extension_id": {"key": "extensionId", "type": "str"}, + } + + def __init__( + self, + *, + infrastructure: Optional[ + Union[str, "_models.Infrastructure"] + ] = "other", + on_premise_property: Optional["_models.OnPremiseProperty"] = None, + k8_s_raw: Optional[Any] = None, + upload_watermark: Optional["_models.UploadWatermark"] = None, + last_uploaded_date: Optional[datetime.datetime] = None, + basic_login_information: Optional[ + "_models.BasicLoginInformation" + ] = None, + metrics_dashboard_credential: Optional[ + "_models.BasicLoginInformation" + ] = None, + logs_dashboard_credential: Optional[ + "_models.BasicLoginInformation" + ] = None, + log_analytics_workspace_config: Optional[ + "_models.LogAnalyticsWorkspaceConfig" + ] = None, + upload_service_principal: Optional[ + "_models.UploadServicePrincipal" + ] = None, + cluster_id: Optional[str] = None, + extension_id: Optional[str] = None, + **kwargs, + ): + """ + :keyword infrastructure: The infrastructure the data controller is running on. Known values + are: "azure", "gcp", "aws", "alibaba", "onpremises", "other". Default value: "other". + :paramtype infrastructure: str or ~azure_arc_data_management_client.models.Infrastructure + :keyword on_premise_property: Properties from the Kubernetes data controller. + :paramtype on_premise_property: ~azure_arc_data_management_client.models.OnPremiseProperty + :keyword k8_s_raw: The raw kubernetes information. + :paramtype k8_s_raw: any + :keyword upload_watermark: Properties on upload watermark. Mostly timestamp for each upload + data type. + :paramtype upload_watermark: ~azure_arc_data_management_client.models.UploadWatermark + :keyword last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current + date time. + :paramtype last_uploaded_date: ~datetime.datetime + :keyword basic_login_information: Deprecated. Azure Arc Data Services data controller no longer + expose any endpoint. All traffic are exposed through Kubernetes native API. + :paramtype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword metrics_dashboard_credential: Login credential for metrics dashboard on the Kubernetes + cluster. + :paramtype metrics_dashboard_credential: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword logs_dashboard_credential: Login credential for logs dashboard on the Kubernetes + cluster. + :paramtype logs_dashboard_credential: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword log_analytics_workspace_config: Log analytics workspace id and primary key. + :paramtype log_analytics_workspace_config: + ~azure_arc_data_management_client.models.LogAnalyticsWorkspaceConfig + :keyword upload_service_principal: Deprecated. Service principal is deprecated in favor of Arc + Kubernetes service extension managed identity. + :paramtype upload_service_principal: + ~azure_arc_data_management_client.models.UploadServicePrincipal + :keyword cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :paramtype cluster_id: str + :keyword extension_id: If a CustomLocation is provided, this contains the ARM id of the + extension the custom location belongs to. + :paramtype extension_id: str + """ + super(DataControllerProperties, self).__init__(**kwargs) + self.infrastructure = infrastructure + self.on_premise_property = on_premise_property + self.k8_s_raw = k8_s_raw + self.upload_watermark = upload_watermark + self.last_uploaded_date = last_uploaded_date + self.basic_login_information = basic_login_information + self.metrics_dashboard_credential = metrics_dashboard_credential + self.logs_dashboard_credential = logs_dashboard_credential + self.log_analytics_workspace_config = log_analytics_workspace_config + self.upload_service_principal = upload_service_principal + self.provisioning_state = None + self.cluster_id = cluster_id + self.extension_id = extension_id + + +class TrackedResource(Resource): + """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + } + + def __init__( + self, *, location: str, tags: Optional[Dict[str, str]] = None, **kwargs + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + """ + super(TrackedResource, self).__init__(**kwargs) + self.tags = tags + self.location = location + + +class DataControllerResource(TrackedResource): + """Data controller resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar extended_location: The extendedLocation of the resource. + :vartype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :ivar properties: Required. The data controller's properties. + :vartype properties: ~azure_arc_data_management_client.models.DataControllerProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "properties": {"key": "properties", "type": "DataControllerProperties"}, + } + + def __init__( + self, + *, + location: str, + properties: "_models.DataControllerProperties", + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["_models.ExtendedLocation"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword extended_location: The extendedLocation of the resource. + :paramtype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :keyword properties: Required. The data controller's properties. + :paramtype properties: ~azure_arc_data_management_client.models.DataControllerProperties + """ + super(DataControllerResource, self).__init__( + tags=tags, location=location, **kwargs + ) + self.extended_location = extended_location + self.properties = properties + + +class DataControllerUpdate(msrest.serialization.Model): + """Used for updating a data controller resource. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: The data controller's properties. + :vartype properties: ~azure_arc_data_management_client.models.DataControllerProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": {"key": "properties", "type": "DataControllerProperties"}, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + properties: Optional["_models.DataControllerProperties"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The data controller's properties. + :paramtype properties: ~azure_arc_data_management_client.models.DataControllerProperties + """ + super(DataControllerUpdate, self).__init__(**kwargs) + self.tags = tags + self.properties = properties + + +class ErrorResponse(msrest.serialization.Model): + """An error response from the Azure Data on Azure Arc service. + + :ivar error: null. + :vartype error: ~azure_arc_data_management_client.models.ErrorResponseBody + """ + + _attribute_map = { + "error": {"key": "error", "type": "ErrorResponseBody"}, + } + + def __init__( + self, *, error: Optional["_models.ErrorResponseBody"] = None, **kwargs + ): + """ + :keyword error: null. + :paramtype error: ~azure_arc_data_management_client.models.ErrorResponseBody + """ + super(ErrorResponse, self).__init__(**kwargs) + self.error = error + + +class ErrorResponseBody(msrest.serialization.Model): + """An error response from the Batch service. + + :ivar code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :vartype code: str + :ivar message: A message describing the error, intended to be suitable for display in a user + interface. + :vartype message: str + :ivar target: The target of the particular error. For example, the name of the property in + error. + :vartype target: str + :ivar details: A list of additional details about the error. + :vartype details: list[~azure_arc_data_management_client.models.ErrorResponseBody] + """ + + _attribute_map = { + "code": {"key": "code", "type": "str"}, + "message": {"key": "message", "type": "str"}, + "target": {"key": "target", "type": "str"}, + "details": {"key": "details", "type": "[ErrorResponseBody]"}, + } + + def __init__( + self, + *, + code: Optional[str] = None, + message: Optional[str] = None, + target: Optional[str] = None, + details: Optional[List["_models.ErrorResponseBody"]] = None, + **kwargs, + ): + """ + :keyword code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :paramtype code: str + :keyword message: A message describing the error, intended to be suitable for display in a user + interface. + :paramtype message: str + :keyword target: The target of the particular error. For example, the name of the property in + error. + :paramtype target: str + :keyword details: A list of additional details about the error. + :paramtype details: list[~azure_arc_data_management_client.models.ErrorResponseBody] + """ + super(ErrorResponseBody, self).__init__(**kwargs) + self.code = code + self.message = message + self.target = target + self.details = details + + +class ExtendedLocation(msrest.serialization.Model): + """The complex type of the extended location. + + :ivar name: The name of the extended location. + :vartype name: str + :ivar type: The type of the extended location. Known values are: "CustomLocation". + :vartype type: str or ~azure_arc_data_management_client.models.ExtendedLocationTypes + """ + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + type: Optional[Union[str, "_models.ExtendedLocationTypes"]] = None, + **kwargs, + ): + """ + :keyword name: The name of the extended location. + :paramtype name: str + :keyword type: The type of the extended location. Known values are: "CustomLocation". + :paramtype type: str or ~azure_arc_data_management_client.models.ExtendedLocationTypes + """ + super(ExtendedLocation, self).__init__(**kwargs) + self.name = name + self.type = type + + +class K8SResourceRequirements(msrest.serialization.Model): + """The kubernetes resource limits and requests used to restrict or reserve resource usage. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar requests: Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' + request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default + 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and + maximum 'memory' is '128Gi'. + :vartype requests: dict[str, str] + :ivar limits: Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request + must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' + is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum + 'memory' is '128Gi'. + :vartype limits: dict[str, str] + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "requests": {"key": "requests", "type": "{str}"}, + "limits": {"key": "limits", "type": "{str}"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + requests: Optional[Dict[str, str]] = None, + limits: Optional[Dict[str, str]] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword requests: Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' + request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default + 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and + maximum 'memory' is '128Gi'. + :paramtype requests: dict[str, str] + :keyword limits: Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request + must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' + is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum + 'memory' is '128Gi'. + :paramtype limits: dict[str, str] + """ + super(K8SResourceRequirements, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.requests = requests + self.limits = limits + + +class K8SScheduling(msrest.serialization.Model): + """The kubernetes scheduling information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar default: The kubernetes scheduling options. It describes restrictions used to help + Kubernetes select appropriate nodes to host the database service. + :vartype default: ~azure_arc_data_management_client.models.K8SSchedulingOptions + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "default": {"key": "default", "type": "K8SSchedulingOptions"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + default: Optional["_models.K8SSchedulingOptions"] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword default: The kubernetes scheduling options. It describes restrictions used to help + Kubernetes select appropriate nodes to host the database service. + :paramtype default: ~azure_arc_data_management_client.models.K8SSchedulingOptions + """ + super(K8SScheduling, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.default = default + + +class K8SSchedulingOptions(msrest.serialization.Model): + """The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar resources: The kubernetes resource limits and requests used to restrict or reserve + resource usage. + :vartype resources: ~azure_arc_data_management_client.models.K8SResourceRequirements + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "resources": {"key": "resources", "type": "K8SResourceRequirements"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + resources: Optional["_models.K8SResourceRequirements"] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword resources: The kubernetes resource limits and requests used to restrict or reserve + resource usage. + :paramtype resources: ~azure_arc_data_management_client.models.K8SResourceRequirements + """ + super(K8SSchedulingOptions, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.resources = resources + + +class KeytabInformation(msrest.serialization.Model): + """Keytab used for authenticate with Active Directory. + + :ivar keytab: A base64-encoded keytab. + :vartype keytab: str + """ + + _attribute_map = { + "keytab": {"key": "keytab", "type": "str"}, + } + + def __init__(self, *, keytab: Optional[str] = None, **kwargs): + """ + :keyword keytab: A base64-encoded keytab. + :paramtype keytab: str + """ + super(KeytabInformation, self).__init__(**kwargs) + self.keytab = keytab + + +class LogAnalyticsWorkspaceConfig(msrest.serialization.Model): + """Log analytics workspace id and primary key. + + :ivar workspace_id: Azure Log Analytics workspace ID. + :vartype workspace_id: str + :ivar primary_key: Primary key of the workspace. + :vartype primary_key: str + """ + + _attribute_map = { + "workspace_id": {"key": "workspaceId", "type": "str"}, + "primary_key": {"key": "primaryKey", "type": "str"}, + } + + def __init__( + self, + *, + workspace_id: Optional[str] = None, + primary_key: Optional[str] = None, + **kwargs, + ): + """ + :keyword workspace_id: Azure Log Analytics workspace ID. + :paramtype workspace_id: str + :keyword primary_key: Primary key of the workspace. + :paramtype primary_key: str + """ + super(LogAnalyticsWorkspaceConfig, self).__init__(**kwargs) + self.workspace_id = workspace_id + self.primary_key = primary_key + + +class OnPremiseProperty(msrest.serialization.Model): + """Properties from the Kubernetes data controller. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Required. A globally unique ID identifying the associated Kubernetes cluster. + :vartype id: str + :ivar public_signing_key: Required. Certificate that contains the Kubernetes cluster public key + used to verify signing. + :vartype public_signing_key: str + :ivar signing_certificate_thumbprint: Unique thumbprint returned to customer to verify the + certificate being uploaded. + :vartype signing_certificate_thumbprint: str + """ + + _validation = { + "id": {"required": True}, + "public_signing_key": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "public_signing_key": {"key": "publicSigningKey", "type": "str"}, + "signing_certificate_thumbprint": { + "key": "signingCertificateThumbprint", + "type": "str", + }, + } + + def __init__( + self, + *, + id: str, + public_signing_key: str, + signing_certificate_thumbprint: Optional[str] = None, + **kwargs, + ): + """ + :keyword id: Required. A globally unique ID identifying the associated Kubernetes cluster. + :paramtype id: str + :keyword public_signing_key: Required. Certificate that contains the Kubernetes cluster public + key used to verify signing. + :paramtype public_signing_key: str + :keyword signing_certificate_thumbprint: Unique thumbprint returned to customer to verify the + certificate being uploaded. + :paramtype signing_certificate_thumbprint: str + """ + super(OnPremiseProperty, self).__init__(**kwargs) + self.id = id + self.public_signing_key = public_signing_key + self.signing_certificate_thumbprint = signing_certificate_thumbprint + + +class Operation(msrest.serialization.Model): + """Azure Data Services on Azure Arc operation definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the operation being performed on this particular object. + :vartype name: str + :ivar display: Required. The localized display information for this particular operation / + action. + :vartype display: ~azure_arc_data_management_client.models.OperationDisplay + :ivar origin: The intended executor of the operation. Known values are: "user", "system". + :vartype origin: str or ~azure_arc_data_management_client.models.OperationOrigin + :ivar is_data_action: Required. Indicates whether the operation is a data action. + :vartype is_data_action: bool + :ivar properties: Additional descriptions for the operation. + :vartype properties: dict[str, any] + """ + + _validation = { + "name": {"required": True}, + "display": {"required": True}, + "origin": {"readonly": True}, + "is_data_action": {"required": True}, + "properties": {"readonly": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "display": {"key": "display", "type": "OperationDisplay"}, + "origin": {"key": "origin", "type": "str"}, + "is_data_action": {"key": "isDataAction", "type": "bool"}, + "properties": {"key": "properties", "type": "{object}"}, + } + + def __init__( + self, + *, + name: str, + display: "_models.OperationDisplay", + is_data_action: bool, + **kwargs, + ): + """ + :keyword name: Required. The name of the operation being performed on this particular object. + :paramtype name: str + :keyword display: Required. The localized display information for this particular operation / + action. + :paramtype display: ~azure_arc_data_management_client.models.OperationDisplay + :keyword is_data_action: Required. Indicates whether the operation is a data action. + :paramtype is_data_action: bool + """ + super(Operation, self).__init__(**kwargs) + self.name = name + self.display = display + self.origin = None + self.is_data_action = is_data_action + self.properties = None + + +class OperationDisplay(msrest.serialization.Model): + """Display metadata associated with the operation. + + All required parameters must be populated in order to send to Azure. + + :ivar provider: Required. The localized friendly form of the resource provider name. + :vartype provider: str + :ivar resource: Required. The localized friendly form of the resource type related to this + action/operation. + :vartype resource: str + :ivar operation: Required. The localized friendly name for the operation. + :vartype operation: str + :ivar description: Required. The localized friendly description for the operation. + :vartype description: str + """ + + _validation = { + "provider": {"required": True}, + "resource": {"required": True}, + "operation": {"required": True}, + "description": {"required": True}, + } + + _attribute_map = { + "provider": {"key": "provider", "type": "str"}, + "resource": {"key": "resource", "type": "str"}, + "operation": {"key": "operation", "type": "str"}, + "description": {"key": "description", "type": "str"}, + } + + def __init__( + self, + *, + provider: str, + resource: str, + operation: str, + description: str, + **kwargs, + ): + """ + :keyword provider: Required. The localized friendly form of the resource provider name. + :paramtype provider: str + :keyword resource: Required. The localized friendly form of the resource type related to this + action/operation. + :paramtype resource: str + :keyword operation: Required. The localized friendly name for the operation. + :paramtype operation: str + :keyword description: Required. The localized friendly description for the operation. + :paramtype description: str + """ + super(OperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class OperationListResult(msrest.serialization.Model): + """Result of the request to list Azure Data Services on Azure Arc operations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.Operation] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[Operation]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """""" + super(OperationListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class PageOfDataControllerResource(msrest.serialization.Model): + """A list of data controllers. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.DataControllerResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _attribute_map = { + "value": {"key": "value", "type": "[DataControllerResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__( + self, + *, + value: Optional[List["_models.DataControllerResource"]] = None, + next_link: Optional[str] = None, + **kwargs, + ): + """ + :keyword value: Array of results. + :paramtype value: list[~azure_arc_data_management_client.models.DataControllerResource] + :keyword next_link: Link to retrieve next page of results. + :paramtype next_link: str + """ + super(PageOfDataControllerResource, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class PostgresInstance(TrackedResource): + """A Postgres Instance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar extended_location: The extendedLocation of the resource. + :vartype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :ivar properties: Required. null. + :vartype properties: ~azure_arc_data_management_client.models.PostgresInstanceProperties + :ivar sku: Resource sku. + :vartype sku: ~azure_arc_data_management_client.models.PostgresInstanceSku + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "properties": { + "key": "properties", + "type": "PostgresInstanceProperties", + }, + "sku": {"key": "sku", "type": "PostgresInstanceSku"}, + } + + def __init__( + self, + *, + location: str, + properties: "_models.PostgresInstanceProperties", + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["_models.ExtendedLocation"] = None, + sku: Optional["_models.PostgresInstanceSku"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword extended_location: The extendedLocation of the resource. + :paramtype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :keyword properties: Required. null. + :paramtype properties: ~azure_arc_data_management_client.models.PostgresInstanceProperties + :keyword sku: Resource sku. + :paramtype sku: ~azure_arc_data_management_client.models.PostgresInstanceSku + """ + super(PostgresInstance, self).__init__( + tags=tags, location=location, **kwargs + ) + self.extended_location = extended_location + self.properties = properties + self.sku = sku + + +class PostgresInstanceListResult(msrest.serialization.Model): + """A list of PostgresInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.PostgresInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[PostgresInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """""" + super(PostgresInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class PostgresInstanceProperties(msrest.serialization.Model): + """Postgres Instance properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar data_controller_id: The data controller id. + :vartype data_controller_id: str + :ivar admin: The instance admin. + :vartype admin: str + :ivar basic_login_information: Username and password for basic authentication. + :vartype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar k8_s_raw: The raw kubernetes information. + :vartype k8_s_raw: any + :ivar last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :vartype last_uploaded_date: ~datetime.datetime + :ivar provisioning_state: The provisioning state of the Azure Arc-enabled PostgreSQL instance. + :vartype provisioning_state: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "data_controller_id": {"key": "dataControllerId", "type": "str"}, + "admin": {"key": "admin", "type": "str"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "k8_s_raw": {"key": "k8sRaw", "type": "object"}, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + } + + def __init__( + self, + *, + data_controller_id: Optional[str] = None, + admin: Optional[str] = None, + basic_login_information: Optional[ + "_models.BasicLoginInformation" + ] = None, + k8_s_raw: Optional[Any] = None, + last_uploaded_date: Optional[datetime.datetime] = None, + **kwargs, + ): + """ + :keyword data_controller_id: The data controller id. + :paramtype data_controller_id: str + :keyword admin: The instance admin. + :paramtype admin: str + :keyword basic_login_information: Username and password for basic authentication. + :paramtype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword k8_s_raw: The raw kubernetes information. + :paramtype k8_s_raw: any + :keyword last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current + date time. + :paramtype last_uploaded_date: ~datetime.datetime + """ + super(PostgresInstanceProperties, self).__init__(**kwargs) + self.data_controller_id = data_controller_id + self.admin = admin + self.basic_login_information = basic_login_information + self.k8_s_raw = k8_s_raw + self.last_uploaded_date = last_uploaded_date + self.provisioning_state = None + + +class PostgresInstanceSku(CommonSku): + """The resource model definition representing SKU for Azure Database for PostgresSQL - Azure Arc. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the SKU. It is typically a letter+number code. + :vartype name: str + :ivar dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used + for dev/test purpose. + :vartype dev: bool + :ivar size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :vartype size: str + :ivar family: If the service has different generations of hardware, for the same SKU, then that + can be captured here. + :vartype family: str + :ivar capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :vartype capacity: int + :ivar tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier. The only acceptable values to pass in are None and "Hyperscale". The + default value is "Hyperscale". + :vartype tier: str + """ + + _validation = { + "name": {"required": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + "tier": {"key": "tier", "type": "str"}, + } + + def __init__( + self, + *, + name: str, + dev: Optional[bool] = True, + size: Optional[str] = None, + family: Optional[str] = None, + capacity: Optional[int] = None, + tier: Optional[str] = "Hyperscale", + **kwargs, + ): + """ + :keyword name: Required. The name of the SKU. It is typically a letter+number code. + :paramtype name: str + :keyword dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :paramtype dev: bool + :keyword size: The SKU size. When the name field is the combination of tier and some other + value, this would be the standalone code. + :paramtype size: str + :keyword family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :paramtype family: str + :keyword capacity: If the SKU supports scale out/in then the capacity integer should be + included. If scale out/in is not possible for the resource this may be omitted. + :paramtype capacity: int + :keyword tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier. The only acceptable values to pass in are None and "Hyperscale". The + default value is "Hyperscale". + :paramtype tier: str + """ + super(PostgresInstanceSku, self).__init__( + name=name, + dev=dev, + size=size, + family=family, + capacity=capacity, + **kwargs, + ) + self.tier = tier + + +class PostgresInstanceUpdate(msrest.serialization.Model): + """An update to a Postgres Instance. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: Postgres Instance properties. + :vartype properties: ~azure_arc_data_management_client.models.PostgresInstanceProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": { + "key": "properties", + "type": "PostgresInstanceProperties", + }, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + properties: Optional["_models.PostgresInstanceProperties"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: Postgres Instance properties. + :paramtype properties: ~azure_arc_data_management_client.models.PostgresInstanceProperties + """ + super(PostgresInstanceUpdate, self).__init__(**kwargs) + self.tags = tags + self.properties = properties + + +class SqlManagedInstance(TrackedResource): + """A SqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: Required. null. + :vartype properties: ~azure_arc_data_management_client.models.SqlManagedInstanceProperties + :ivar extended_location: The extendedLocation of the resource. + :vartype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :ivar sku: Resource sku. + :vartype sku: ~azure_arc_data_management_client.models.SqlManagedInstanceSku + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlManagedInstanceProperties", + }, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "sku": {"key": "sku", "type": "SqlManagedInstanceSku"}, + } + + def __init__( + self, + *, + location: str, + properties: "_models.SqlManagedInstanceProperties", + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["_models.ExtendedLocation"] = None, + sku: Optional["_models.SqlManagedInstanceSku"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: Required. null. + :paramtype properties: ~azure_arc_data_management_client.models.SqlManagedInstanceProperties + :keyword extended_location: The extendedLocation of the resource. + :paramtype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :keyword sku: Resource sku. + :paramtype sku: ~azure_arc_data_management_client.models.SqlManagedInstanceSku + """ + super(SqlManagedInstance, self).__init__( + tags=tags, location=location, **kwargs + ) + self.properties = properties + self.extended_location = extended_location + self.sku = sku + + +class SqlManagedInstanceK8SRaw(msrest.serialization.Model): + """The raw kubernetes information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar spec: The kubernetes spec information. + :vartype spec: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SSpec + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "spec": {"key": "spec", "type": "SqlManagedInstanceK8SSpec"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + spec: Optional["_models.SqlManagedInstanceK8SSpec"] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword spec: The kubernetes spec information. + :paramtype spec: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SSpec + """ + super(SqlManagedInstanceK8SRaw, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.spec = spec + + +class SqlManagedInstanceK8SSpec(msrest.serialization.Model): + """The kubernetes spec information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar scheduling: The kubernetes scheduling information. + :vartype scheduling: ~azure_arc_data_management_client.models.K8SScheduling + :ivar replicas: This option specifies the number of SQL Managed Instance replicas that will be + deployed in your Kubernetes cluster for high availability purposes. If sku.tier is + BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is + GeneralPurpose, replicas must be '1'. + :vartype replicas: int + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "scheduling": {"key": "scheduling", "type": "K8SScheduling"}, + "replicas": {"key": "replicas", "type": "int"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + scheduling: Optional["_models.K8SScheduling"] = None, + replicas: Optional[int] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword scheduling: The kubernetes scheduling information. + :paramtype scheduling: ~azure_arc_data_management_client.models.K8SScheduling + :keyword replicas: This option specifies the number of SQL Managed Instance replicas that will + be deployed in your Kubernetes cluster for high availability purposes. If sku.tier is + BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is + GeneralPurpose, replicas must be '1'. + :paramtype replicas: int + """ + super(SqlManagedInstanceK8SSpec, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.scheduling = scheduling + self.replicas = replicas + + +class SqlManagedInstanceListResult(msrest.serialization.Model): + """A list of SqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.SqlManagedInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlManagedInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """""" + super(SqlManagedInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SqlManagedInstanceProperties(msrest.serialization.Model): + """Properties of sqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar data_controller_id: null. + :vartype data_controller_id: str + :ivar admin: The instance admin user. + :vartype admin: str + :ivar start_time: The instance start time. + :vartype start_time: str + :ivar end_time: The instance end time. + :vartype end_time: str + :ivar k8_s_raw: The raw kubernetes information. + :vartype k8_s_raw: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SRaw + :ivar basic_login_information: Username and password for basic authentication. + :vartype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :vartype last_uploaded_date: ~datetime.datetime + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Managed Instance + resource. + :vartype provisioning_state: str + :ivar active_directory_information: Active Directory information related to this SQL Managed + Instance. + :vartype active_directory_information: + ~azure_arc_data_management_client.models.ActiveDirectoryInformation + :ivar license_type: The license type to apply for this managed instance. Known values are: + "BasePrice", "LicenseIncluded", "DisasterRecovery". Default value: "BasePrice". + :vartype license_type: str or + ~azure_arc_data_management_client.models.ArcSqlManagedInstanceLicenseType + :ivar cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :vartype cluster_id: str + :ivar extension_id: If a CustomLocation is provided, this contains the ARM id of the extension + the custom location belongs to. + :vartype extension_id: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "data_controller_id": {"key": "dataControllerId", "type": "str"}, + "admin": {"key": "admin", "type": "str"}, + "start_time": {"key": "startTime", "type": "str"}, + "end_time": {"key": "endTime", "type": "str"}, + "k8_s_raw": {"key": "k8sRaw", "type": "SqlManagedInstanceK8SRaw"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "active_directory_information": { + "key": "activeDirectoryInformation", + "type": "ActiveDirectoryInformation", + }, + "license_type": {"key": "licenseType", "type": "str"}, + "cluster_id": {"key": "clusterId", "type": "str"}, + "extension_id": {"key": "extensionId", "type": "str"}, + } + + def __init__( + self, + *, + data_controller_id: Optional[str] = None, + admin: Optional[str] = None, + start_time: Optional[str] = None, + end_time: Optional[str] = None, + k8_s_raw: Optional["_models.SqlManagedInstanceK8SRaw"] = None, + basic_login_information: Optional[ + "_models.BasicLoginInformation" + ] = None, + last_uploaded_date: Optional[datetime.datetime] = None, + active_directory_information: Optional[ + "_models.ActiveDirectoryInformation" + ] = None, + license_type: Optional[ + Union[str, "_models.ArcSqlManagedInstanceLicenseType"] + ] = "BasePrice", + cluster_id: Optional[str] = None, + extension_id: Optional[str] = None, + **kwargs, + ): + """ + :keyword data_controller_id: null. + :paramtype data_controller_id: str + :keyword admin: The instance admin user. + :paramtype admin: str + :keyword start_time: The instance start time. + :paramtype start_time: str + :keyword end_time: The instance end time. + :paramtype end_time: str + :keyword k8_s_raw: The raw kubernetes information. + :paramtype k8_s_raw: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SRaw + :keyword basic_login_information: Username and password for basic authentication. + :paramtype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current + date time. + :paramtype last_uploaded_date: ~datetime.datetime + :keyword active_directory_information: Active Directory information related to this SQL Managed + Instance. + :paramtype active_directory_information: + ~azure_arc_data_management_client.models.ActiveDirectoryInformation + :keyword license_type: The license type to apply for this managed instance. Known values are: + "BasePrice", "LicenseIncluded", "DisasterRecovery". Default value: "BasePrice". + :paramtype license_type: str or + ~azure_arc_data_management_client.models.ArcSqlManagedInstanceLicenseType + :keyword cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :paramtype cluster_id: str + :keyword extension_id: If a CustomLocation is provided, this contains the ARM id of the + extension the custom location belongs to. + :paramtype extension_id: str + """ + super(SqlManagedInstanceProperties, self).__init__(**kwargs) + self.data_controller_id = data_controller_id + self.admin = admin + self.start_time = start_time + self.end_time = end_time + self.k8_s_raw = k8_s_raw + self.basic_login_information = basic_login_information + self.last_uploaded_date = last_uploaded_date + self.provisioning_state = None + self.active_directory_information = active_directory_information + self.license_type = license_type + self.cluster_id = cluster_id + self.extension_id = extension_id + + +class SqlManagedInstanceSku(msrest.serialization.Model): + """The resource model definition representing SKU for Azure Managed Instance - Azure Arc. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar name: The name of the SKU. Has constant value: "vCore". + :vartype name: str + :ivar tier: The pricing tier for the instance. Known values are: "GeneralPurpose", + "BusinessCritical". Default value: "GeneralPurpose". + :vartype tier: str or ~azure_arc_data_management_client.models.SqlManagedInstanceSkuTier + :ivar dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used + for dev/test purpose. + :vartype dev: bool + :ivar size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :vartype size: str + :ivar family: The SKU family. + :vartype family: str + :ivar capacity: The SKU capacity. + :vartype capacity: int + """ + + _validation = { + "name": {"required": True, "constant": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "tier": {"key": "tier", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + } + + name = "vCore" + + def __init__( + self, + *, + tier: Optional[ + Union[str, "_models.SqlManagedInstanceSkuTier"] + ] = "GeneralPurpose", + dev: Optional[bool] = True, + size: Optional[str] = None, + family: Optional[str] = None, + capacity: Optional[int] = None, + **kwargs, + ): + """ + :keyword tier: The pricing tier for the instance. Known values are: "GeneralPurpose", + "BusinessCritical". Default value: "GeneralPurpose". + :paramtype tier: str or ~azure_arc_data_management_client.models.SqlManagedInstanceSkuTier + :keyword dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :paramtype dev: bool + :keyword size: The SKU size. When the name field is the combination of tier and some other + value, this would be the standalone code. + :paramtype size: str + :keyword family: The SKU family. + :paramtype family: str + :keyword capacity: The SKU capacity. + :paramtype capacity: int + """ + super(SqlManagedInstanceSku, self).__init__(**kwargs) + self.tier = tier + self.dev = dev + self.size = size + self.family = family + self.capacity = capacity + + +class SqlManagedInstanceUpdate(msrest.serialization.Model): + """An update to a SQL Managed Instance. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + } + + def __init__(self, *, tags: Optional[Dict[str, str]] = None, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + """ + super(SqlManagedInstanceUpdate, self).__init__(**kwargs) + self.tags = tags + + +class SqlServerInstance(TrackedResource): + """A SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: null. + :vartype properties: ~azure_arc_data_management_client.models.SqlServerInstanceProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlServerInstanceProperties", + }, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + properties: Optional["_models.SqlServerInstanceProperties"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: null. + :paramtype properties: ~azure_arc_data_management_client.models.SqlServerInstanceProperties + """ + super(SqlServerInstance, self).__init__( + tags=tags, location=location, **kwargs + ) + self.properties = properties + + +class SqlServerInstanceListResult(msrest.serialization.Model): + """A list of SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.SqlServerInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlServerInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """""" + super(SqlServerInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SqlServerInstanceProperties(msrest.serialization.Model): + """Properties of SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar version: SQL Server version. Known values are: "SQL Server 2012", "SQL Server 2014", "SQL + Server 2016", "SQL Server 2017", "SQL Server 2019", "SQL Server 2022", "Unknown". + :vartype version: str or ~azure_arc_data_management_client.models.SqlVersion + :ivar edition: SQL Server edition. Known values are: "Evaluation", "Enterprise", "Standard", + "Web", "Developer", "Express". + :vartype edition: str or ~azure_arc_data_management_client.models.EditionType + :ivar container_resource_id: Required. ARM Resource id of the container resource (Azure Arc for + Servers). + :vartype container_resource_id: str + :ivar create_time: The time when the resource was created. + :vartype create_time: str + :ivar v_core: The number of logical processors used by the SQL Server instance. + :vartype v_core: str + :ivar status: Required. The cloud connectivity status. Known values are: "Connected", + "Disconnected", "Registered", "Unknown". + :vartype status: str or ~azure_arc_data_management_client.models.ConnectionStatus + :ivar patch_level: SQL Server update level. + :vartype patch_level: str + :ivar collation: SQL Server collation. + :vartype collation: str + :ivar current_version: SQL Server current version. + :vartype current_version: str + :ivar instance_name: SQL Server instance name. + :vartype instance_name: str + :ivar tcp_dynamic_ports: Dynamic TCP ports used by SQL Server. + :vartype tcp_dynamic_ports: str + :ivar tcp_static_ports: Static TCP ports used by SQL Server. + :vartype tcp_static_ports: str + :ivar product_id: SQL Server product ID. + :vartype product_id: str + :ivar license_type: SQL Server license type. Known values are: "Paid", "Free", "HADR", + "Undefined". + :vartype license_type: str or ~azure_arc_data_management_client.models.ArcSqlServerLicenseType + :ivar azure_defender_status_last_updated: Timestamp of last Azure Defender status update. + :vartype azure_defender_status_last_updated: ~datetime.datetime + :ivar azure_defender_status: Status of Azure Defender. Known values are: "Protected", + "Unprotected", "Unknown". + :vartype azure_defender_status: str or ~azure_arc_data_management_client.models.DefenderStatus + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Server resource. + :vartype provisioning_state: str + :ivar host_type: Type of host for Azure Arc SQL Server. Known values are: "Virtual Machine", + "Physical Server", "AWS Virtual Machine", "GCP Virtual Machine", "Other". + :vartype host_type: str or ~azure_arc_data_management_client.models.HostType + """ + + _validation = { + "container_resource_id": {"required": True}, + "create_time": {"readonly": True}, + "status": {"required": True}, + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "version": {"key": "version", "type": "str"}, + "edition": {"key": "edition", "type": "str"}, + "container_resource_id": {"key": "containerResourceId", "type": "str"}, + "create_time": {"key": "createTime", "type": "str"}, + "v_core": {"key": "vCore", "type": "str"}, + "status": {"key": "status", "type": "str"}, + "patch_level": {"key": "patchLevel", "type": "str"}, + "collation": {"key": "collation", "type": "str"}, + "current_version": {"key": "currentVersion", "type": "str"}, + "instance_name": {"key": "instanceName", "type": "str"}, + "tcp_dynamic_ports": {"key": "tcpDynamicPorts", "type": "str"}, + "tcp_static_ports": {"key": "tcpStaticPorts", "type": "str"}, + "product_id": {"key": "productId", "type": "str"}, + "license_type": {"key": "licenseType", "type": "str"}, + "azure_defender_status_last_updated": { + "key": "azureDefenderStatusLastUpdated", + "type": "iso-8601", + }, + "azure_defender_status": {"key": "azureDefenderStatus", "type": "str"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "host_type": {"key": "hostType", "type": "str"}, + } + + def __init__( + self, + *, + container_resource_id: str, + status: Union[str, "_models.ConnectionStatus"], + version: Optional[Union[str, "_models.SqlVersion"]] = None, + edition: Optional[Union[str, "_models.EditionType"]] = None, + v_core: Optional[str] = None, + patch_level: Optional[str] = None, + collation: Optional[str] = None, + current_version: Optional[str] = None, + instance_name: Optional[str] = None, + tcp_dynamic_ports: Optional[str] = None, + tcp_static_ports: Optional[str] = None, + product_id: Optional[str] = None, + license_type: Optional[ + Union[str, "_models.ArcSqlServerLicenseType"] + ] = None, + azure_defender_status_last_updated: Optional[datetime.datetime] = None, + azure_defender_status: Optional[ + Union[str, "_models.DefenderStatus"] + ] = None, + host_type: Optional[Union[str, "_models.HostType"]] = None, + **kwargs, + ): + """ + :keyword version: SQL Server version. Known values are: "SQL Server 2012", "SQL Server 2014", + "SQL Server 2016", "SQL Server 2017", "SQL Server 2019", "SQL Server 2022", "Unknown". + :paramtype version: str or ~azure_arc_data_management_client.models.SqlVersion + :keyword edition: SQL Server edition. Known values are: "Evaluation", "Enterprise", "Standard", + "Web", "Developer", "Express". + :paramtype edition: str or ~azure_arc_data_management_client.models.EditionType + :keyword container_resource_id: Required. ARM Resource id of the container resource (Azure Arc + for Servers). + :paramtype container_resource_id: str + :keyword v_core: The number of logical processors used by the SQL Server instance. + :paramtype v_core: str + :keyword status: Required. The cloud connectivity status. Known values are: "Connected", + "Disconnected", "Registered", "Unknown". + :paramtype status: str or ~azure_arc_data_management_client.models.ConnectionStatus + :keyword patch_level: SQL Server update level. + :paramtype patch_level: str + :keyword collation: SQL Server collation. + :paramtype collation: str + :keyword current_version: SQL Server current version. + :paramtype current_version: str + :keyword instance_name: SQL Server instance name. + :paramtype instance_name: str + :keyword tcp_dynamic_ports: Dynamic TCP ports used by SQL Server. + :paramtype tcp_dynamic_ports: str + :keyword tcp_static_ports: Static TCP ports used by SQL Server. + :paramtype tcp_static_ports: str + :keyword product_id: SQL Server product ID. + :paramtype product_id: str + :keyword license_type: SQL Server license type. Known values are: "Paid", "Free", "HADR", + "Undefined". + :paramtype license_type: str or + ~azure_arc_data_management_client.models.ArcSqlServerLicenseType + :keyword azure_defender_status_last_updated: Timestamp of last Azure Defender status update. + :paramtype azure_defender_status_last_updated: ~datetime.datetime + :keyword azure_defender_status: Status of Azure Defender. Known values are: "Protected", + "Unprotected", "Unknown". + :paramtype azure_defender_status: str or + ~azure_arc_data_management_client.models.DefenderStatus + :keyword host_type: Type of host for Azure Arc SQL Server. Known values are: "Virtual Machine", + "Physical Server", "AWS Virtual Machine", "GCP Virtual Machine", "Other". + :paramtype host_type: str or ~azure_arc_data_management_client.models.HostType + """ + super(SqlServerInstanceProperties, self).__init__(**kwargs) + self.version = version + self.edition = edition + self.container_resource_id = container_resource_id + self.create_time = None + self.v_core = v_core + self.status = status + self.patch_level = patch_level + self.collation = collation + self.current_version = current_version + self.instance_name = instance_name + self.tcp_dynamic_ports = tcp_dynamic_ports + self.tcp_static_ports = tcp_static_ports + self.product_id = product_id + self.license_type = license_type + self.azure_defender_status_last_updated = ( + azure_defender_status_last_updated + ) + self.azure_defender_status = azure_defender_status + self.provisioning_state = None + self.host_type = host_type + + +class SqlServerInstanceUpdate(msrest.serialization.Model): + """An update to a SQL Server Instance. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + } + + def __init__(self, *, tags: Optional[Dict[str, str]] = None, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + """ + super(SqlServerInstanceUpdate, self).__init__(**kwargs) + self.tags = tags + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :ivar created_by: The identity that created the resource. + :vartype created_by: str + :ivar created_by_type: The type of identity that created the resource. Known values are: + "User", "Application", "ManagedIdentity", "Key". + :vartype created_by_type: str or ~azure_arc_data_management_client.models.CreatedByType + :ivar created_at: The timestamp of resource creation (UTC). + :vartype created_at: ~datetime.datetime + :ivar last_modified_by: The identity that last modified the resource. + :vartype last_modified_by: str + :ivar last_modified_by_type: The type of identity that last modified the resource. Known values + are: "User", "Application", "ManagedIdentity", "Key". + :vartype last_modified_by_type: str or ~azure_arc_data_management_client.models.CreatedByType + :ivar last_modified_at: The timestamp of resource last modification (UTC). + :vartype last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + "created_by": {"key": "createdBy", "type": "str"}, + "created_by_type": {"key": "createdByType", "type": "str"}, + "created_at": {"key": "createdAt", "type": "iso-8601"}, + "last_modified_by": {"key": "lastModifiedBy", "type": "str"}, + "last_modified_by_type": {"key": "lastModifiedByType", "type": "str"}, + "last_modified_at": {"key": "lastModifiedAt", "type": "iso-8601"}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[Union[str, "_models.CreatedByType"]] = None, + created_at: Optional[datetime.datetime] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[ + Union[str, "_models.CreatedByType"] + ] = None, + last_modified_at: Optional[datetime.datetime] = None, + **kwargs, + ): + """ + :keyword created_by: The identity that created the resource. + :paramtype created_by: str + :keyword created_by_type: The type of identity that created the resource. Known values are: + "User", "Application", "ManagedIdentity", "Key". + :paramtype created_by_type: str or ~azure_arc_data_management_client.models.CreatedByType + :keyword created_at: The timestamp of resource creation (UTC). + :paramtype created_at: ~datetime.datetime + :keyword last_modified_by: The identity that last modified the resource. + :paramtype last_modified_by: str + :keyword last_modified_by_type: The type of identity that last modified the resource. Known + values are: "User", "Application", "ManagedIdentity", "Key". + :paramtype last_modified_by_type: str or ~azure_arc_data_management_client.models.CreatedByType + :keyword last_modified_at: The timestamp of resource last modification (UTC). + :paramtype last_modified_at: ~datetime.datetime + """ + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + +class UploadServicePrincipal(msrest.serialization.Model): + """Service principal for uploading billing, metrics and logs. + + :ivar client_id: Client ID of the service principal for uploading data. + :vartype client_id: str + :ivar tenant_id: Tenant ID of the service principal. + :vartype tenant_id: str + :ivar authority: Authority for the service principal. Example: + https://login.microsoftonline.com/. + :vartype authority: str + :ivar client_secret: Secret of the service principal. + :vartype client_secret: str + """ + + _attribute_map = { + "client_id": {"key": "clientId", "type": "str"}, + "tenant_id": {"key": "tenantId", "type": "str"}, + "authority": {"key": "authority", "type": "str"}, + "client_secret": {"key": "clientSecret", "type": "str"}, + } + + def __init__( + self, + *, + client_id: Optional[str] = None, + tenant_id: Optional[str] = None, + authority: Optional[str] = None, + client_secret: Optional[str] = None, + **kwargs, + ): + """ + :keyword client_id: Client ID of the service principal for uploading data. + :paramtype client_id: str + :keyword tenant_id: Tenant ID of the service principal. + :paramtype tenant_id: str + :keyword authority: Authority for the service principal. Example: + https://login.microsoftonline.com/. + :paramtype authority: str + :keyword client_secret: Secret of the service principal. + :paramtype client_secret: str + """ + super(UploadServicePrincipal, self).__init__(**kwargs) + self.client_id = client_id + self.tenant_id = tenant_id + self.authority = authority + self.client_secret = client_secret + + +class UploadWatermark(msrest.serialization.Model): + """Properties on upload watermark. Mostly timestamp for each upload data type. + + :ivar metrics: Last uploaded date for metrics from kubernetes cluster. Defaults to current date + time. + :vartype metrics: ~datetime.datetime + :ivar logs: Last uploaded date for logs from kubernetes cluster. Defaults to current date time. + :vartype logs: ~datetime.datetime + :ivar usages: Last uploaded date for usages from kubernetes cluster. Defaults to current date + time. + :vartype usages: ~datetime.datetime + """ + + _attribute_map = { + "metrics": {"key": "metrics", "type": "iso-8601"}, + "logs": {"key": "logs", "type": "iso-8601"}, + "usages": {"key": "usages", "type": "iso-8601"}, + } + + def __init__( + self, + *, + metrics: Optional[datetime.datetime] = None, + logs: Optional[datetime.datetime] = None, + usages: Optional[datetime.datetime] = None, + **kwargs, + ): + """ + :keyword metrics: Last uploaded date for metrics from kubernetes cluster. Defaults to current + date time. + :paramtype metrics: ~datetime.datetime + :keyword logs: Last uploaded date for logs from kubernetes cluster. Defaults to current date + time. + :paramtype logs: ~datetime.datetime + :keyword usages: Last uploaded date for usages from kubernetes cluster. Defaults to current + date time. + :paramtype usages: ~datetime.datetime + """ + super(UploadWatermark, self).__init__(**kwargs) + self.metrics = metrics + self.logs = logs + self.usages = usages diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/models/_patch.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/models/_patch.py new file mode 100644 index 00000000000..39ea63f67ec --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/models/_patch.py @@ -0,0 +1,26 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +"""Customize generated code here. + +Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize +""" +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import List + +__all__ = ( + [] +) # type: List[str] # Add all objects you want publicly available to users at this package level + + +def patch_sdk(): + """Do not remove from this file. + + `patch_sdk` is a last resort escape hatch that allows you to do customizations + you can't accomplish using the techniques described in + https://aka.ms/azsdk/python/dpcodegen/python/customize + """ diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/__init__.py new file mode 100644 index 00000000000..c8ae2a8eb81 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/__init__.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._sql_managed_instances_operations import SqlManagedInstancesOperations +from ._sql_server_instances_operations import SqlServerInstancesOperations +from ._data_controllers_operations import DataControllersOperations +from ._active_directory_connectors_operations import ( + ActiveDirectoryConnectorsOperations, +) +from ._postgres_instances_operations import PostgresInstancesOperations + +from ._patch import __all__ as _patch_all +from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import +from ._patch import patch_sdk as _patch_sdk + +__all__ = [ + "Operations", + "SqlManagedInstancesOperations", + "SqlServerInstancesOperations", + "DataControllersOperations", + "ActiveDirectoryConnectorsOperations", + "PostgresInstancesOperations", +] +__all__.extend([p for p in _patch_all if p not in __all__]) +_patch_sdk() diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_active_directory_connectors_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_active_directory_connectors_operations.py new file mode 100644 index 00000000000..1ad05499a89 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_active_directory_connectors_operations.py @@ -0,0 +1,736 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING, cast + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.polling.base_polling import LROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from ._util import case_insensitive_dict + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_create_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + "activeDirectoryConnectorName": _SERIALIZER.url("active_directory_connector_name", active_directory_connector_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + if content_type is not None: + _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + "activeDirectoryConnectorName": _SERIALIZER.url("active_directory_connector_name", active_directory_connector_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + "activeDirectoryConnectorName": _SERIALIZER.url("active_directory_connector_name", active_directory_connector_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +# fmt: on +class ActiveDirectoryConnectorsOperations(object): + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~azure_arc_data_management_client.AzureArcDataManagementClient`'s + :attr:`active_directory_connectors` attribute. + """ + + models = _models + + def __init__(self, *args, **kwargs): + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = ( + input_args.pop(0) if input_args else kwargs.pop("serializer") + ) + self._deserialize = ( + input_args.pop(0) if input_args else kwargs.pop("deserializer") + ) + + @distributed_trace + def list( + self, + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable[_models.ActiveDirectoryConnectorListResult] + """List the active directory connectors associated with the given data controller. + + List the active directory connectors associated with the given data controller. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ActiveDirectoryConnectorListResult or the result + of cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.ActiveDirectoryConnectorListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.ActiveDirectoryConnectorListResult] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=self.list.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "ActiveDirectoryConnectorListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors"} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + active_directory_connector_resource, # type: _models.ActiveDirectoryConnectorResource + **kwargs, # type: Any + ): + # type: (...) -> _models.ActiveDirectoryConnectorResource + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.ActiveDirectoryConnectorResource] + + _json = self._serialize.body( + active_directory_connector_resource, + "ActiveDirectoryConnectorResource", + ) + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + @distributed_trace + def begin_create( + self, + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + active_directory_connector_resource, # type: _models.ActiveDirectoryConnectorResource + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[_models.ActiveDirectoryConnectorResource] + """Creates or replaces an Active Directory connector resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param active_directory_connector_name: The name of the Active Directory connector instance. + :type active_directory_connector_name: str + :param active_directory_connector_resource: desc. + :type active_directory_connector_resource: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either ActiveDirectoryConnectorResource or the + result of cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure_arc_data_management_client.models.ActiveDirectoryConnectorResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.ActiveDirectoryConnectorResource] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( # type: ignore + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + active_directory_connector_resource=active_directory_connector_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = cast( + PollingMethod, + LROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ), + ) # type: PollingMethod + elif polling is False: + polling_method = cast(PollingMethod, NoPolling()) + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes an Active Directory connector resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param active_directory_connector_name: The name of the Active Directory connector instance. + :type active_directory_connector_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( # type: ignore + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = cast( + PollingMethod, LROBasePolling(lro_delay, **kwargs) + ) # type: PollingMethod + elif polling is False: + polling_method = cast(PollingMethod, NoPolling()) + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> _models.ActiveDirectoryConnectorResource + """Retrieves an Active Directory connector resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param active_directory_connector_name: The name of the Active Directory connector instance. + :type active_directory_connector_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ActiveDirectoryConnectorResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.ActiveDirectoryConnectorResource] + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + template_url=self.get.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_data_controllers_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_data_controllers_operations.py new file mode 100644 index 00000000000..12bfe9d3057 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_data_controllers_operations.py @@ -0,0 +1,965 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING, cast + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.polling.base_polling import LROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from ._util import case_insensitive_dict + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_in_subscription_request( + subscription_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/dataControllers") + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_list_in_group_request( + subscription_id, # type: str + resource_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_put_data_controller_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + if content_type is not None: + _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_delete_data_controller_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_get_data_controller_request( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_patch_data_controller_request( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + if content_type is not None: + _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +# fmt: on +class DataControllersOperations(object): + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~azure_arc_data_management_client.AzureArcDataManagementClient`'s + :attr:`data_controllers` attribute. + """ + + models = _models + + def __init__(self, *args, **kwargs): + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = ( + input_args.pop(0) if input_args else kwargs.pop("serializer") + ) + self._deserialize = ( + input_args.pop(0) if input_args else kwargs.pop("deserializer") + ) + + @distributed_trace + def list_in_subscription( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable[_models.PageOfDataControllerResource] + """List dataController resources in the subscription. + + List dataController resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PageOfDataControllerResource or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.PageOfDataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.PageOfDataControllerResource] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_in_subscription_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list_in_subscription.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_in_subscription_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "PageOfDataControllerResource", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_in_subscription.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/dataControllers"} # type: ignore + + @distributed_trace + def list_in_group( + self, + resource_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable[_models.PageOfDataControllerResource] + """List dataController resources in the resource group. + + List dataController resources in the resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PageOfDataControllerResource or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.PageOfDataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.PageOfDataControllerResource] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_in_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_in_group.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_in_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "PageOfDataControllerResource", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_in_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers"} # type: ignore + + def _put_data_controller_initial( + self, + resource_group_name, # type: str + data_controller_name, # type: str + data_controller_resource, # type: _models.DataControllerResource + **kwargs, # type: Any + ): + # type: (...) -> _models.DataControllerResource + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.DataControllerResource] + + _json = self._serialize.body( + data_controller_resource, "DataControllerResource" + ) + + request = build_put_data_controller_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._put_data_controller_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _put_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace + def begin_put_data_controller( + self, + resource_group_name, # type: str + data_controller_name, # type: str + data_controller_resource, # type: _models.DataControllerResource + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[_models.DataControllerResource] + """Creates or replaces a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param data_controller_resource: desc. + :type data_controller_resource: ~azure_arc_data_management_client.models.DataControllerResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either DataControllerResource or the result of + cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure_arc_data_management_client.models.DataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.DataControllerResource] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._put_data_controller_initial( # type: ignore + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + data_controller_resource=data_controller_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = cast( + PollingMethod, + LROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ), + ) # type: PollingMethod + elif polling is False: + polling_method = cast(PollingMethod, NoPolling()) + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_put_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + def _delete_data_controller_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + + request = build_delete_data_controller_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=self._delete_data_controller_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace + def begin_delete_data_controller( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_data_controller_initial( # type: ignore + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = cast( + PollingMethod, LROBasePolling(lro_delay, **kwargs) + ) # type: PollingMethod + elif polling is False: + polling_method = cast(PollingMethod, NoPolling()) + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace + def get_data_controller( + self, + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> _models.DataControllerResource + """Retrieves a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataControllerResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.DataControllerResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.DataControllerResource] + + request = build_get_data_controller_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=self.get_data_controller.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace + def patch_data_controller( + self, + resource_group_name, # type: str + data_controller_name, # type: str + data_controller_resource, # type: _models.DataControllerUpdate + **kwargs, # type: Any + ): + # type: (...) -> Optional[_models.DataControllerResource] + """Updates a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param data_controller_resource: The update data controller resource. + :type data_controller_resource: ~azure_arc_data_management_client.models.DataControllerUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataControllerResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.DataControllerResource or None + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[Optional[_models.DataControllerResource]] + + _json = self._serialize.body( + data_controller_resource, "DataControllerUpdate" + ) + + request = build_patch_data_controller_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.patch_data_controller.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + patch_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_operations.py new file mode 100644 index 00000000000..0e6dfac8500 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_operations.py @@ -0,0 +1,185 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from ._util import case_insensitive_dict + +from .. import models as _models +from .._vendor import _convert_request + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/providers/Microsoft.AzureArcData/operations") + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +# fmt: on +class Operations(object): + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~azure_arc_data_management_client.AzureArcDataManagementClient`'s + :attr:`operations` attribute. + """ + + models = _models + + def __init__(self, *args, **kwargs): + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = ( + input_args.pop(0) if input_args else kwargs.pop("serializer") + ) + self._deserialize = ( + input_args.pop(0) if input_args else kwargs.pop("deserializer") + ) + + @distributed_trace + def list( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable[_models.OperationListResult] + """Lists all of the available Azure Data Services on Azure Arc API operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationListResult or the result of cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.OperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.OperationListResult] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + api_version=api_version, + template_url=self.list.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_request( + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "OperationListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/providers/Microsoft.AzureArcData/operations"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_patch.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_patch.py new file mode 100644 index 00000000000..39ea63f67ec --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_patch.py @@ -0,0 +1,26 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +"""Customize generated code here. + +Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize +""" +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import List + +__all__ = ( + [] +) # type: List[str] # Add all objects you want publicly available to users at this package level + + +def patch_sdk(): + """Do not remove from this file. + + `patch_sdk` is a last resort escape hatch that allows you to do customizations + you can't accomplish using the techniques described in + https://aka.ms/azsdk/python/dpcodegen/python/customize + """ diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_postgres_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_postgres_instances_operations.py new file mode 100644 index 00000000000..b9a8f5792c9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_postgres_instances_operations.py @@ -0,0 +1,947 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING, cast + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.polling.base_polling import LROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from ._util import case_insensitive_dict + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + subscription_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/postgresInstances") + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_list_by_resource_group_request( + subscription_id, # type: str + resource_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "postgresInstanceName": _SERIALIZER.url("postgres_instance_name", postgres_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_create_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "postgresInstanceName": _SERIALIZER.url("postgres_instance_name", postgres_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + if content_type is not None: + _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "postgresInstanceName": _SERIALIZER.url("postgres_instance_name", postgres_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_update_request( + subscription_id, # type: str + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "postgresInstanceName": _SERIALIZER.url("postgres_instance_name", postgres_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + if content_type is not None: + _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +# fmt: on +class PostgresInstancesOperations(object): + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~azure_arc_data_management_client.AzureArcDataManagementClient`'s + :attr:`postgres_instances` attribute. + """ + + models = _models + + def __init__(self, *args, **kwargs): + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = ( + input_args.pop(0) if input_args else kwargs.pop("serializer") + ) + self._deserialize = ( + input_args.pop(0) if input_args else kwargs.pop("deserializer") + ) + + @distributed_trace + def list( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable[_models.PostgresInstanceListResult] + """List postgres Instance resources in the subscription. + + List postgres Instance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PostgresInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.PostgresInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.PostgresInstanceListResult] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "PostgresInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/postgresInstances"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable[_models.PostgresInstanceListResult] + """List postgres Instance resources in the resource group. + + Get a postgres Instances list by Resource group name. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PostgresInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.PostgresInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.PostgresInstanceListResult] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "PostgresInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> _models.PostgresInstance + """Retrieves a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PostgresInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.PostgresInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[_models.PostgresInstance] + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + template_url=self.get.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize("PostgresInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + postgres_instance_name, # type: str + resource, # type: _models.PostgresInstance + **kwargs, # type: Any + ): + # type: (...) -> _models.PostgresInstance + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop("cls", None) # type: ClsType[_models.PostgresInstance] + + _json = self._serialize.body(resource, "PostgresInstance") + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "PostgresInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "PostgresInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + @distributed_trace + def begin_create( + self, + resource_group_name, # type: str + postgres_instance_name, # type: str + resource, # type: _models.PostgresInstance + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[_models.PostgresInstance] + """Creates or replaces a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :param resource: The postgres instance. + :type resource: ~azure_arc_data_management_client.models.PostgresInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either PostgresInstance or the result of + cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure_arc_data_management_client.models.PostgresInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop("cls", None) # type: ClsType[_models.PostgresInstance] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( # type: ignore + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + resource=resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize( + "PostgresInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = cast( + PollingMethod, + LROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ), + ) # type: PollingMethod + elif polling is False: + polling_method = cast(PollingMethod, NoPolling()) + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( # type: ignore + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = cast( + PollingMethod, LROBasePolling(lro_delay, **kwargs) + ) # type: PollingMethod + elif polling is False: + polling_method = cast(PollingMethod, NoPolling()) + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + @distributed_trace + def update( + self, + resource_group_name, # type: str + postgres_instance_name, # type: str + parameters, # type: _models.PostgresInstanceUpdate + **kwargs, # type: Any + ): + # type: (...) -> _models.PostgresInstance + """Updates a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :param parameters: The Postgres Instance. + :type parameters: ~azure_arc_data_management_client.models.PostgresInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PostgresInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.PostgresInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop("cls", None) # type: ClsType[_models.PostgresInstance] + + _json = self._serialize.body(parameters, "PostgresInstanceUpdate") + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize("PostgresInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_sql_managed_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_sql_managed_instances_operations.py new file mode 100644 index 00000000000..b18c36c2e16 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_sql_managed_instances_operations.py @@ -0,0 +1,959 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING, cast + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.polling.base_polling import LROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from ._util import case_insensitive_dict + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + subscription_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlManagedInstances") + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_list_by_resource_group_request( + subscription_id, # type: str + resource_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_create_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + if content_type is not None: + _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_update_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + if content_type is not None: + _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +# fmt: on +class SqlManagedInstancesOperations(object): + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~azure_arc_data_management_client.AzureArcDataManagementClient`'s + :attr:`sql_managed_instances` attribute. + """ + + models = _models + + def __init__(self, *args, **kwargs): + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = ( + input_args.pop(0) if input_args else kwargs.pop("serializer") + ) + self._deserialize = ( + input_args.pop(0) if input_args else kwargs.pop("deserializer") + ) + + @distributed_trace + def list( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable[_models.SqlManagedInstanceListResult] + """List sqlManagedInstance resources in the subscription. + + List sqlManagedInstance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlManagedInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.SqlManagedInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlManagedInstanceListResult] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlManagedInstances"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable[_models.SqlManagedInstanceListResult] + """List sqlManagedInstance resources in the resource group. + + Gets all sqlManagedInstances in a resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlManagedInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.SqlManagedInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlManagedInstanceListResult] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> _models.SqlManagedInstance + """Retrieves a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlManagedInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlManagedInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlManagedInstance] + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=self.get.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + sql_managed_instance, # type: _models.SqlManagedInstance + **kwargs, # type: Any + ): + # type: (...) -> _models.SqlManagedInstance + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlManagedInstance] + + _json = self._serialize.body(sql_managed_instance, "SqlManagedInstance") + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + @distributed_trace + def begin_create( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + sql_managed_instance, # type: _models.SqlManagedInstance + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[_models.SqlManagedInstance] + """Creates or replaces a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param sql_managed_instance: The SQL Managed Instance to be created or updated. + :type sql_managed_instance: ~azure_arc_data_management_client.models.SqlManagedInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either SqlManagedInstance or the result of + cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure_arc_data_management_client.models.SqlManagedInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlManagedInstance] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( # type: ignore + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + sql_managed_instance=sql_managed_instance, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = cast( + PollingMethod, + LROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ), + ) # type: PollingMethod + elif polling is False: + polling_method = cast(PollingMethod, NoPolling()) + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( # type: ignore + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = cast( + PollingMethod, LROBasePolling(lro_delay, **kwargs) + ) # type: PollingMethod + elif polling is False: + polling_method = cast(PollingMethod, NoPolling()) + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + @distributed_trace + def update( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + parameters, # type: _models.SqlManagedInstanceUpdate + **kwargs, # type: Any + ): + # type: (...) -> _models.SqlManagedInstance + """Updates a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param parameters: The SQL Managed Instance. + :type parameters: ~azure_arc_data_management_client.models.SqlManagedInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlManagedInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlManagedInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlManagedInstance] + + _json = self._serialize.body(parameters, "SqlManagedInstanceUpdate") + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_sql_server_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_sql_server_instances_operations.py new file mode 100644 index 00000000000..56993ba423e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_sql_server_instances_operations.py @@ -0,0 +1,955 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.3, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING, cast + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.polling.base_polling import LROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from ._util import case_insensitive_dict + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + subscription_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerInstances") + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_list_by_resource_group_request( + subscription_id, # type: str + resource_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_create_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + if content_type is not None: + _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_update_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2022-03-01-preview")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + if content_type is not None: + _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +# fmt: on +class SqlServerInstancesOperations(object): + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~azure_arc_data_management_client.AzureArcDataManagementClient`'s + :attr:`sql_server_instances` attribute. + """ + + models = _models + + def __init__(self, *args, **kwargs): + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = ( + input_args.pop(0) if input_args else kwargs.pop("serializer") + ) + self._deserialize = ( + input_args.pop(0) if input_args else kwargs.pop("deserializer") + ) + + @distributed_trace + def list( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable[_models.SqlServerInstanceListResult] + """List sqlServerInstance resources in the subscription. + + List sqlServerInstance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.SqlServerInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlServerInstanceListResult] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerInstances"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable[_models.SqlServerInstanceListResult] + """List sqlServerInstance resources in the resource group. + + Gets all sqlServerInstances in a resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.SqlServerInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlServerInstanceListResult] + + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> _models.SqlServerInstance + """Retrieves a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlServerInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlServerInstance] + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self.get.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize("SqlServerInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + sql_server_instance, # type: _models.SqlServerInstance + **kwargs, # type: Any + ): + # type: (...) -> _models.SqlServerInstance + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlServerInstance] + + _json = self._serialize.body(sql_server_instance, "SqlServerInstance") + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + @distributed_trace + def begin_create( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + sql_server_instance, # type: _models.SqlServerInstance + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[_models.SqlServerInstance] + """Creates or replaces a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param sql_server_instance: The SQL Server Instance to be created or updated. + :type sql_server_instance: ~azure_arc_data_management_client.models.SqlServerInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either SqlServerInstance or the result of + cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure_arc_data_management_client.models.SqlServerInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlServerInstance] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( # type: ignore + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + sql_server_instance=sql_server_instance, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = cast( + PollingMethod, + LROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ), + ) # type: PollingMethod + elif polling is False: + polling_method = cast(PollingMethod, NoPolling()) + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + cls = kwargs.pop("cls", None) # type: ClsType[None] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( # type: ignore + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + cls=lambda x, y, z: x, + headers=_headers, + params=_params, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = cast( + PollingMethod, LROBasePolling(lro_delay, **kwargs) + ) # type: PollingMethod + elif polling is False: + polling_method = cast(PollingMethod, NoPolling()) + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + @distributed_trace + def update( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + parameters, # type: _models.SqlServerInstanceUpdate + **kwargs, # type: Any + ): + # type: (...) -> _models.SqlServerInstance + """Updates a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param parameters: The SQL Server Instance. + :type parameters: ~azure_arc_data_management_client.models.SqlServerInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlServerInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop( + "api_version", _params.pop("api-version", "2022-03-01-preview") + ) # type: str + content_type = kwargs.pop( + "content_type", _headers.pop("Content-Type", "application/json") + ) # type: Optional[str] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[_models.SqlServerInstance] + + _json = self._serialize.body(parameters, "SqlServerInstanceUpdate") + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize("SqlServerInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_util.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_util.py new file mode 100644 index 00000000000..f614853675b --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/operations/_util.py @@ -0,0 +1,35 @@ +from typing import MutableMapping +from typing import Any, MutableMapping + + +def case_insensitive_dict(*args: Any, **kwargs: Any) -> MutableMapping: + """Return a case-insensitive mutable mapping from an inputted mapping structure. + + :return: A case-insensitive mutable mapping object. + :rtype: ~collections.abc.MutableMapping + """ + + # Rational is I don't want to re-implement this, but I don't want + # to assume "requests" or "aiohttp" are installed either. + # So I use the one from "requests" or the one from "aiohttp" ("multidict") + # If one day this library is used in an HTTP context without "requests" nor "aiohttp" installed, + # we can add "multidict" as a dependency or re-implement our own. + try: + from requests.structures import CaseInsensitiveDict + + return CaseInsensitiveDict(*args, **kwargs) + except ImportError: + pass + try: + # multidict is installed by aiohttp + from multidict import CIMultiDict + + if len(kwargs) == 0 and len(args) == 1 and (not args[0]): + return ( + CIMultiDict() + ) # in case of case_insensitive_dict(None), we don't want to raise exception + return CIMultiDict(*args, **kwargs) + except ImportError: + raise ValueError( + "Neither 'requests' or 'multidict' are installed and no case-insensitive dict impl have been found" + ) diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/py.typed b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/py.typed new file mode 100644 index 00000000000..e5aff4f83af --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_1_0/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/__init__.py new file mode 100644 index 00000000000..a19017e2bf9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/__init__.py @@ -0,0 +1,17 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._azure_arc_data_management_client import AzureArcDataManagementClient +from ._version import VERSION + +__version__ = VERSION +__all__ = ["AzureArcDataManagementClient"] + +# `._patch.py` is used for handwritten extensions to the generated code +# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +from ._patch import patch_sdk + +patch_sdk() diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/_azure_arc_data_management_client.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/_azure_arc_data_management_client.py new file mode 100644 index 00000000000..3cda7c3caf8 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/_azure_arc_data_management_client.py @@ -0,0 +1,156 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from copy import deepcopy +from typing import TYPE_CHECKING + +from msrest import Deserializer, Serializer + +from azure.core import PipelineClient + +from . import models +from ._configuration import AzureArcDataManagementClientConfiguration +from .operations import ( + ActiveDirectoryConnectorsOperations, + DataControllersOperations, + FailoverGroupsOperations, + Operations, + PostgresInstancesOperations, + SqlManagedInstancesOperations, + SqlServerDatabasesOperations, + SqlServerInstancesOperations, +) + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.rest import HttpRequest, HttpResponse + + +class AzureArcDataManagementClient( + object +): # pylint: disable=too-many-instance-attributes + """The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data + Services on Azure Arc Resources. + + :ivar sql_server_databases: SqlServerDatabasesOperations operations + :vartype sql_server_databases: + azure_arc_data_management_client.operations.SqlServerDatabasesOperations + :ivar operations: Operations operations + :vartype operations: azure_arc_data_management_client.operations.Operations + :ivar sql_managed_instances: SqlManagedInstancesOperations operations + :vartype sql_managed_instances: + azure_arc_data_management_client.operations.SqlManagedInstancesOperations + :ivar failover_groups: FailoverGroupsOperations operations + :vartype failover_groups: azure_arc_data_management_client.operations.FailoverGroupsOperations + :ivar sql_server_instances: SqlServerInstancesOperations operations + :vartype sql_server_instances: + azure_arc_data_management_client.operations.SqlServerInstancesOperations + :ivar data_controllers: DataControllersOperations operations + :vartype data_controllers: + azure_arc_data_management_client.operations.DataControllersOperations + :ivar active_directory_connectors: ActiveDirectoryConnectorsOperations operations + :vartype active_directory_connectors: + azure_arc_data_management_client.operations.ActiveDirectoryConnectorsOperations + :ivar postgres_instances: PostgresInstancesOperations operations + :vartype postgres_instances: + azure_arc_data_management_client.operations.PostgresInstancesOperations + :param subscription_id: The ID of the Azure subscription. + :type subscription_id: str + :param base_url: Service URL. Default value is "https://management.azure.com". + :type base_url: str + :keyword api_version: Api Version. Default value is "2023-01-15-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + """ + + def __init__( + self, + subscription_id, # type: str + base_url="https://management.azure.com", # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + self._config = AzureArcDataManagementClientConfiguration( + subscription_id=subscription_id, **kwargs + ) + self._client = PipelineClient( + base_url=base_url, config=self._config, **kwargs + ) + + client_models = { + k: v for k, v in models.__dict__.items() if isinstance(v, type) + } + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + self._serialize.client_side_validation = False + self.sql_server_databases = SqlServerDatabasesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize + ) + self.sql_managed_instances = SqlManagedInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.failover_groups = FailoverGroupsOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.sql_server_instances = SqlServerInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.data_controllers = DataControllersOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.active_directory_connectors = ActiveDirectoryConnectorsOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.postgres_instances = PostgresInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + + def _send_request( + self, + request, # type: HttpRequest + **kwargs, # type: Any + ): + # type: (...) -> HttpResponse + """Runs the network request through the client's chained policies. + + >>> from azure.core.rest import HttpRequest + >>> request = HttpRequest("GET", "https://www.example.org/") + + >>> response = client._send_request(request) + + + For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart + + :param request: The network request you want to make. Required. + :type request: ~azure.core.rest.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to False. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.rest.HttpResponse + """ + + request_copy = deepcopy(request) + request_copy.url = self._client.format_url(request_copy.url) + return self._client.send_request(request_copy, **kwargs) + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> AzureArcDataManagementClient + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/_configuration.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/_configuration.py new file mode 100644 index 00000000000..3be67574804 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/_configuration.py @@ -0,0 +1,85 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies + +from ._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + +class AzureArcDataManagementClientConfiguration( + Configuration +): # pylint: disable=too-many-instance-attributes + """Configuration for AzureArcDataManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param subscription_id: The ID of the Azure subscription. + :type subscription_id: str + :keyword api_version: Api Version. Default value is "2023-01-15-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + """ + + def __init__( + self, + subscription_id, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + super(AzureArcDataManagementClientConfiguration, self).__init__( + **kwargs + ) + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + + self.subscription_id = subscription_id + self.api_version = api_version + kwargs.setdefault( + "sdk_moniker", "azurearcdatamanagementclient/{}".format(VERSION) + ) + self._configure(**kwargs) + + def _configure( + self, **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get( + "user_agent_policy" + ) or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get( + "headers_policy" + ) or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get("proxy_policy") or policies.ProxyPolicy( + **kwargs + ) + self.logging_policy = kwargs.get( + "logging_policy" + ) or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get( + "http_logging_policy" + ) or policies.HttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get("retry_policy") or policies.RetryPolicy( + **kwargs + ) + self.custom_hook_policy = kwargs.get( + "custom_hook_policy" + ) or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get( + "redirect_policy" + ) or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get("authentication_policy") diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/_patch.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/_patch.py new file mode 100644 index 00000000000..17dbc073e01 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/_patch.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + + +# This file is used for handwritten extensions to the generated code. Example: +# https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +def patch_sdk(): + pass diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/_vendor.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/_vendor.py new file mode 100644 index 00000000000..cc899eaece3 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/_vendor.py @@ -0,0 +1,34 @@ +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.pipeline.transport import HttpRequest + + +def _convert_request(request, files=None): + data = request.content if not files else None + request = HttpRequest( + method=request.method, + url=request.url, + headers=request.headers, + data=data, + ) + if files: + request.set_formdata_body(files) + return request + + +def _format_url_section(template, **kwargs): + components = template.split("/") + while components: + try: + return template.format(**kwargs) + except KeyError as key: + formatted_components = template.split("/") + components = [ + c + for c in formatted_components + if "{}".format(key.args[0]) not in c + ] + template = "/".join(components) diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/_version.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/_version.py new file mode 100644 index 00000000000..fdf5625e8e7 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/_version.py @@ -0,0 +1,7 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +VERSION = "1.1.02210.1710" diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/__init__.py new file mode 100644 index 00000000000..cf0163907fc --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/__init__.py @@ -0,0 +1,15 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._azure_arc_data_management_client import AzureArcDataManagementClient + +__all__ = ["AzureArcDataManagementClient"] + +# `._patch.py` is used for handwritten extensions to the generated code +# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +from ._patch import patch_sdk + +patch_sdk() diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/_azure_arc_data_management_client.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/_azure_arc_data_management_client.py new file mode 100644 index 00000000000..fb4dc0339a1 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/_azure_arc_data_management_client.py @@ -0,0 +1,143 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from copy import deepcopy +from typing import Any, Awaitable + +from msrest import Deserializer, Serializer + +from azure.core import AsyncPipelineClient +from azure.core.rest import AsyncHttpResponse, HttpRequest + +from .. import models +from ._configuration import AzureArcDataManagementClientConfiguration +from .operations import ( + ActiveDirectoryConnectorsOperations, + DataControllersOperations, + FailoverGroupsOperations, + Operations, + PostgresInstancesOperations, + SqlManagedInstancesOperations, + SqlServerDatabasesOperations, + SqlServerInstancesOperations, +) + + +class AzureArcDataManagementClient: # pylint: disable=too-many-instance-attributes + """The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data + Services on Azure Arc Resources. + + :ivar sql_server_databases: SqlServerDatabasesOperations operations + :vartype sql_server_databases: + azure_arc_data_management_client.aio.operations.SqlServerDatabasesOperations + :ivar operations: Operations operations + :vartype operations: azure_arc_data_management_client.aio.operations.Operations + :ivar sql_managed_instances: SqlManagedInstancesOperations operations + :vartype sql_managed_instances: + azure_arc_data_management_client.aio.operations.SqlManagedInstancesOperations + :ivar failover_groups: FailoverGroupsOperations operations + :vartype failover_groups: + azure_arc_data_management_client.aio.operations.FailoverGroupsOperations + :ivar sql_server_instances: SqlServerInstancesOperations operations + :vartype sql_server_instances: + azure_arc_data_management_client.aio.operations.SqlServerInstancesOperations + :ivar data_controllers: DataControllersOperations operations + :vartype data_controllers: + azure_arc_data_management_client.aio.operations.DataControllersOperations + :ivar active_directory_connectors: ActiveDirectoryConnectorsOperations operations + :vartype active_directory_connectors: + azure_arc_data_management_client.aio.operations.ActiveDirectoryConnectorsOperations + :ivar postgres_instances: PostgresInstancesOperations operations + :vartype postgres_instances: + azure_arc_data_management_client.aio.operations.PostgresInstancesOperations + :param subscription_id: The ID of the Azure subscription. + :type subscription_id: str + :param base_url: Service URL. Default value is "https://management.azure.com". + :type base_url: str + :keyword api_version: Api Version. Default value is "2023-01-15-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + """ + + def __init__( + self, + subscription_id: str, + base_url: str = "https://management.azure.com", + **kwargs: Any, + ) -> None: + self._config = AzureArcDataManagementClientConfiguration( + subscription_id=subscription_id, **kwargs + ) + self._client = AsyncPipelineClient( + base_url=base_url, config=self._config, **kwargs + ) + + client_models = { + k: v for k, v in models.__dict__.items() if isinstance(v, type) + } + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + self._serialize.client_side_validation = False + self.sql_server_databases = SqlServerDatabasesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize + ) + self.sql_managed_instances = SqlManagedInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.failover_groups = FailoverGroupsOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.sql_server_instances = SqlServerInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.data_controllers = DataControllersOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.active_directory_connectors = ActiveDirectoryConnectorsOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.postgres_instances = PostgresInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + + def _send_request( + self, request: HttpRequest, **kwargs: Any + ) -> Awaitable[AsyncHttpResponse]: + """Runs the network request through the client's chained policies. + + >>> from azure.core.rest import HttpRequest + >>> request = HttpRequest("GET", "https://www.example.org/") + + >>> response = await client._send_request(request) + + + For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart + + :param request: The network request you want to make. Required. + :type request: ~azure.core.rest.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to False. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.rest.AsyncHttpResponse + """ + + request_copy = deepcopy(request) + request_copy.url = self._client.format_url(request_copy.url) + return self._client.send_request(request_copy, **kwargs) + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "AzureArcDataManagementClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/_configuration.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/_configuration.py new file mode 100644 index 00000000000..7f0f4891f06 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/_configuration.py @@ -0,0 +1,73 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies + +from .._version import VERSION + + +class AzureArcDataManagementClientConfiguration( + Configuration +): # pylint: disable=too-many-instance-attributes + """Configuration for AzureArcDataManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param subscription_id: The ID of the Azure subscription. + :type subscription_id: str + :keyword api_version: Api Version. Default value is "2023-01-15-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + """ + + def __init__(self, subscription_id: str, **kwargs: Any) -> None: + super(AzureArcDataManagementClientConfiguration, self).__init__( + **kwargs + ) + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + + self.subscription_id = subscription_id + self.api_version = api_version + kwargs.setdefault( + "sdk_moniker", "azurearcdatamanagementclient/{}".format(VERSION) + ) + self._configure(**kwargs) + + def _configure(self, **kwargs: Any) -> None: + self.user_agent_policy = kwargs.get( + "user_agent_policy" + ) or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get( + "headers_policy" + ) or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get("proxy_policy") or policies.ProxyPolicy( + **kwargs + ) + self.logging_policy = kwargs.get( + "logging_policy" + ) or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get( + "http_logging_policy" + ) or policies.HttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get( + "retry_policy" + ) or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get( + "custom_hook_policy" + ) or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get( + "redirect_policy" + ) or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get("authentication_policy") diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/_patch.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/_patch.py new file mode 100644 index 00000000000..17dbc073e01 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/_patch.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + + +# This file is used for handwritten extensions to the generated code. Example: +# https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +def patch_sdk(): + pass diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/__init__.py new file mode 100644 index 00000000000..36678c8408d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/__init__.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._sql_server_databases_operations import SqlServerDatabasesOperations +from ._operations import Operations +from ._sql_managed_instances_operations import SqlManagedInstancesOperations +from ._failover_groups_operations import FailoverGroupsOperations +from ._sql_server_instances_operations import SqlServerInstancesOperations +from ._data_controllers_operations import DataControllersOperations +from ._active_directory_connectors_operations import ( + ActiveDirectoryConnectorsOperations, +) +from ._postgres_instances_operations import PostgresInstancesOperations + +__all__ = [ + "SqlServerDatabasesOperations", + "Operations", + "SqlManagedInstancesOperations", + "FailoverGroupsOperations", + "SqlServerInstancesOperations", + "DataControllersOperations", + "ActiveDirectoryConnectorsOperations", + "PostgresInstancesOperations", +] diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_active_directory_connectors_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_active_directory_connectors_operations.py new file mode 100644 index 00000000000..6de4a3a2f39 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_active_directory_connectors_operations.py @@ -0,0 +1,527 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.polling.async_base_polling import AsyncLROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._active_directory_connectors_operations import ( + build_create_request_initial, + build_delete_request_initial, + build_get_request, + build_list_request, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class ActiveDirectoryConnectorsOperations: + """ActiveDirectoryConnectorsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, resource_group_name: str, data_controller_name: str, **kwargs: Any + ) -> AsyncIterable["_models.ActiveDirectoryConnectorListResult"]: + """List the active directory connectors associated with the given data controller. + + List the active directory connectors associated with the given data controller. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ActiveDirectoryConnectorListResult or the result + of cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.ActiveDirectoryConnectorListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ActiveDirectoryConnectorListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "ActiveDirectoryConnectorListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors"} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + data_controller_name: str, + active_directory_connector_name: str, + active_directory_connector_resource: "_models.ActiveDirectoryConnectorResource", + **kwargs: Any, + ) -> "_models.ActiveDirectoryConnectorResource": + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ActiveDirectoryConnectorResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + active_directory_connector_resource, + "ActiveDirectoryConnectorResource", + ) + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + @distributed_trace_async + async def begin_create( + self, + resource_group_name: str, + data_controller_name: str, + active_directory_connector_name: str, + active_directory_connector_resource: "_models.ActiveDirectoryConnectorResource", + **kwargs: Any, + ) -> AsyncLROPoller["_models.ActiveDirectoryConnectorResource"]: + """Creates or replaces an Active Directory connector resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param active_directory_connector_name: The name of the Active Directory connector instance. + :type active_directory_connector_name: str + :param active_directory_connector_resource: desc. + :type active_directory_connector_resource: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ActiveDirectoryConnectorResource or + the result of cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure_arc_data_management_client.models.ActiveDirectoryConnectorResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ActiveDirectoryConnectorResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + active_directory_connector_resource=active_directory_connector_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = AsyncLROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + data_controller_name: str, + active_directory_connector_name: str, + **kwargs: Any, + ) -> None: + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + data_controller_name: str, + active_directory_connector_name: str, + **kwargs: Any, + ) -> AsyncLROPoller[None]: + """Deletes an Active Directory connector resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param active_directory_connector_name: The name of the Active Directory connector instance. + :type active_directory_connector_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = AsyncLROBasePolling(lro_delay, **kwargs) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + data_controller_name: str, + active_directory_connector_name: str, + **kwargs: Any, + ) -> "_models.ActiveDirectoryConnectorResource": + """Retrieves an Active Directory connector resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param active_directory_connector_name: The name of the Active Directory connector instance. + :type active_directory_connector_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ActiveDirectoryConnectorResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ActiveDirectoryConnectorResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_data_controllers_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_data_controllers_operations.py new file mode 100644 index 00000000000..386fb9d8c9c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_data_controllers_operations.py @@ -0,0 +1,742 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.polling.async_base_polling import AsyncLROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._data_controllers_operations import ( + build_delete_data_controller_request_initial, + build_get_data_controller_request, + build_list_in_group_request, + build_list_in_subscription_request, + build_patch_data_controller_request_initial, + build_put_data_controller_request_initial, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class DataControllersOperations: + """DataControllersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list_in_subscription( + self, **kwargs: Any + ) -> AsyncIterable["_models.PageOfDataControllerResource"]: + """List dataController resources in the subscription. + + List dataController resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PageOfDataControllerResource or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.PageOfDataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PageOfDataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_in_subscription_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list_in_subscription.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_in_subscription_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "PageOfDataControllerResource", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_in_subscription.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/dataControllers"} # type: ignore + + @distributed_trace + def list_in_group( + self, resource_group_name: str, **kwargs: Any + ) -> AsyncIterable["_models.PageOfDataControllerResource"]: + """List dataController resources in the resource group. + + List dataController resources in the resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PageOfDataControllerResource or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.PageOfDataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PageOfDataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_in_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_in_group.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_in_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "PageOfDataControllerResource", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_in_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers"} # type: ignore + + async def _put_data_controller_initial( + self, + resource_group_name: str, + data_controller_name: str, + data_controller_resource: "_models.DataControllerResource", + **kwargs: Any, + ) -> "_models.DataControllerResource": + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + data_controller_resource, "DataControllerResource" + ) + + request = build_put_data_controller_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._put_data_controller_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _put_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace_async + async def begin_put_data_controller( + self, + resource_group_name: str, + data_controller_name: str, + data_controller_resource: "_models.DataControllerResource", + **kwargs: Any, + ) -> AsyncLROPoller["_models.DataControllerResource"]: + """Creates or replaces a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param data_controller_resource: desc. + :type data_controller_resource: ~azure_arc_data_management_client.models.DataControllerResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either DataControllerResource or the result + of cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure_arc_data_management_client.models.DataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._put_data_controller_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + data_controller_resource=data_controller_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = AsyncLROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_put_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + async def _delete_data_controller_initial( # pylint: disable=inconsistent-return-statements + self, resource_group_name: str, data_controller_name: str, **kwargs: Any + ) -> None: + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_delete_data_controller_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=self._delete_data_controller_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace_async + async def begin_delete_data_controller( # pylint: disable=inconsistent-return-statements + self, resource_group_name: str, data_controller_name: str, **kwargs: Any + ) -> AsyncLROPoller[None]: + """Deletes a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_data_controller_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = AsyncLROBasePolling(lro_delay, **kwargs) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace_async + async def get_data_controller( + self, resource_group_name: str, data_controller_name: str, **kwargs: Any + ) -> "_models.DataControllerResource": + """Retrieves a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataControllerResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.DataControllerResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_get_data_controller_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=self.get_data_controller.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + async def _patch_data_controller_initial( + self, + resource_group_name: str, + data_controller_name: str, + data_controller_resource: "_models.DataControllerUpdate", + **kwargs: Any, + ) -> Optional["_models.DataControllerResource"]: + cls = kwargs.pop( + "cls", None + ) # type: ClsType[Optional["_models.DataControllerResource"]] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + data_controller_resource, "DataControllerUpdate" + ) + + request = build_patch_data_controller_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._patch_data_controller_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _patch_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace_async + async def begin_patch_data_controller( + self, + resource_group_name: str, + data_controller_name: str, + data_controller_resource: "_models.DataControllerUpdate", + **kwargs: Any, + ) -> AsyncLROPoller["_models.DataControllerResource"]: + """Updates a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param data_controller_resource: The update data controller resource. + :type data_controller_resource: ~azure_arc_data_management_client.models.DataControllerUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either DataControllerResource or the result + of cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure_arc_data_management_client.models.DataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._patch_data_controller_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + data_controller_resource=data_controller_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = AsyncLROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_patch_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_failover_groups_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_failover_groups_operations.py new file mode 100644 index 00000000000..bde85dbbeba --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_failover_groups_operations.py @@ -0,0 +1,528 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.polling.async_base_polling import AsyncLROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._failover_groups_operations import ( + build_create_request_initial, + build_delete_request_initial, + build_get_request, + build_list_request, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class FailoverGroupsOperations: + """FailoverGroupsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, + resource_group_name: str, + sql_managed_instance_name: str, + **kwargs: Any, + ) -> AsyncIterable["_models.FailoverGroupListResult"]: + """List the failover groups associated with the given sql managed instance. + + List the failover groups associated with the given sql managed instance. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either FailoverGroupListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.FailoverGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.FailoverGroupListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "FailoverGroupListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups"} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + sql_managed_instance_name: str, + failover_group_name: str, + failover_group_resource: "_models.FailoverGroupResource", + **kwargs: Any, + ) -> "_models.FailoverGroupResource": + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.FailoverGroupResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + failover_group_resource, "FailoverGroupResource" + ) + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "FailoverGroupResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "FailoverGroupResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore + + @distributed_trace_async + async def begin_create( + self, + resource_group_name: str, + sql_managed_instance_name: str, + failover_group_name: str, + failover_group_resource: "_models.FailoverGroupResource", + **kwargs: Any, + ) -> AsyncLROPoller["_models.FailoverGroupResource"]: + """Creates or replaces a failover group resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param failover_group_name: The name of the Failover Group. + :type failover_group_name: str + :param failover_group_resource: desc. + :type failover_group_resource: ~azure_arc_data_management_client.models.FailoverGroupResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either FailoverGroupResource or the result + of cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure_arc_data_management_client.models.FailoverGroupResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.FailoverGroupResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + failover_group_resource=failover_group_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "FailoverGroupResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = AsyncLROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_managed_instance_name: str, + failover_group_name: str, + **kwargs: Any, + ) -> None: + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_managed_instance_name: str, + failover_group_name: str, + **kwargs: Any, + ) -> AsyncLROPoller[None]: + """Deletes a failover group resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param failover_group_name: The name of the Failover Group. + :type failover_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = AsyncLROBasePolling(lro_delay, **kwargs) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + sql_managed_instance_name: str, + failover_group_name: str, + **kwargs: Any, + ) -> "_models.FailoverGroupResource": + """Retrieves a failover group resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param failover_group_name: The name of the Failover Group. + :type failover_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FailoverGroupResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.FailoverGroupResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.FailoverGroupResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "FailoverGroupResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_operations.py new file mode 100644 index 00000000000..364408c10cb --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_operations.py @@ -0,0 +1,136 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._operations import build_list_request + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class Operations: + """Operations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, **kwargs: Any + ) -> AsyncIterable["_models.OperationListResult"]: + """Lists all of the available Azure Data Services on Azure Arc API operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationListResult or the result of cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.OperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.OperationListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "OperationListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/providers/Microsoft.AzureArcData/operations"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_postgres_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_postgres_instances_operations.py new file mode 100644 index 00000000000..61b01cff41c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_postgres_instances_operations.py @@ -0,0 +1,666 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.polling.async_base_polling import AsyncLROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._postgres_instances_operations import ( + build_create_request_initial, + build_delete_request_initial, + build_get_request, + build_list_by_resource_group_request, + build_list_request, + build_update_request, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class PostgresInstancesOperations: + """PostgresInstancesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, **kwargs: Any + ) -> AsyncIterable["_models.PostgresInstanceListResult"]: + """List postgres Instance resources in the subscription. + + List postgres Instance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PostgresInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.PostgresInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "PostgresInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/postgresInstances"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, resource_group_name: str, **kwargs: Any + ) -> AsyncIterable["_models.PostgresInstanceListResult"]: + """List postgres Instance resources in the resource group. + + Get a postgres Instances list by Resource group name. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PostgresInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.PostgresInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "PostgresInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + postgres_instance_name: str, + **kwargs: Any, + ) -> "_models.PostgresInstance": + """Retrieves a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PostgresInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.PostgresInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize("PostgresInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + postgres_instance_name: str, + resource: "_models.PostgresInstance", + **kwargs: Any, + ) -> "_models.PostgresInstance": + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(resource, "PostgresInstance") + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "PostgresInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "PostgresInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_create( + self, + resource_group_name: str, + postgres_instance_name: str, + resource: "_models.PostgresInstance", + **kwargs: Any, + ) -> AsyncLROPoller["_models.PostgresInstance"]: + """Creates or replaces a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :param resource: The postgres instance. + :type resource: ~azure_arc_data_management_client.models.PostgresInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either PostgresInstance or the result of + cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure_arc_data_management_client.models.PostgresInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstance"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + resource=resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "PostgresInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = AsyncLROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + postgres_instance_name: str, + **kwargs: Any, + ) -> None: + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + postgres_instance_name: str, + **kwargs: Any, + ) -> AsyncLROPoller[None]: + """Deletes a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = AsyncLROBasePolling(lro_delay, **kwargs) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + @distributed_trace_async + async def update( + self, + resource_group_name: str, + postgres_instance_name: str, + parameters: "_models.PostgresInstanceUpdate", + **kwargs: Any, + ) -> "_models.PostgresInstance": + """Updates a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :param parameters: The Postgres Instance. + :type parameters: ~azure_arc_data_management_client.models.PostgresInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PostgresInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.PostgresInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(parameters, "PostgresInstanceUpdate") + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize("PostgresInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_sql_managed_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_sql_managed_instances_operations.py new file mode 100644 index 00000000000..22fb81a065e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_sql_managed_instances_operations.py @@ -0,0 +1,670 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.polling.async_base_polling import AsyncLROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._sql_managed_instances_operations import ( + build_create_request_initial, + build_delete_request_initial, + build_get_request, + build_list_by_resource_group_request, + build_list_request, + build_update_request, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class SqlManagedInstancesOperations: + """SqlManagedInstancesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, **kwargs: Any + ) -> AsyncIterable["_models.SqlManagedInstanceListResult"]: + """List sqlManagedInstance resources in the subscription. + + List sqlManagedInstance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlManagedInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.SqlManagedInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlManagedInstances"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, resource_group_name: str, **kwargs: Any + ) -> AsyncIterable["_models.SqlManagedInstanceListResult"]: + """List sqlManagedInstance resources in the resource group. + + Gets all sqlManagedInstances in a resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlManagedInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.SqlManagedInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + sql_managed_instance_name: str, + **kwargs: Any, + ) -> "_models.SqlManagedInstance": + """Retrieves a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlManagedInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlManagedInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + sql_managed_instance_name: str, + sql_managed_instance: "_models.SqlManagedInstance", + **kwargs: Any, + ) -> "_models.SqlManagedInstance": + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(sql_managed_instance, "SqlManagedInstance") + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_create( + self, + resource_group_name: str, + sql_managed_instance_name: str, + sql_managed_instance: "_models.SqlManagedInstance", + **kwargs: Any, + ) -> AsyncLROPoller["_models.SqlManagedInstance"]: + """Creates or replaces a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param sql_managed_instance: The SQL Managed Instance to be created or updated. + :type sql_managed_instance: ~azure_arc_data_management_client.models.SqlManagedInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either SqlManagedInstance or the result of + cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure_arc_data_management_client.models.SqlManagedInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + sql_managed_instance=sql_managed_instance, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = AsyncLROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_managed_instance_name: str, + **kwargs: Any, + ) -> None: + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_managed_instance_name: str, + **kwargs: Any, + ) -> AsyncLROPoller[None]: + """Deletes a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = AsyncLROBasePolling(lro_delay, **kwargs) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + @distributed_trace_async + async def update( + self, + resource_group_name: str, + sql_managed_instance_name: str, + parameters: "_models.SqlManagedInstanceUpdate", + **kwargs: Any, + ) -> "_models.SqlManagedInstance": + """Updates a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param parameters: The SQL Managed Instance. + :type parameters: ~azure_arc_data_management_client.models.SqlManagedInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlManagedInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlManagedInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(parameters, "SqlManagedInstanceUpdate") + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_sql_server_databases_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_sql_server_databases_operations.py new file mode 100644 index 00000000000..50f124333ff --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_sql_server_databases_operations.py @@ -0,0 +1,469 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._sql_server_databases_operations import ( + build_create_request, + build_delete_request, + build_get_request, + build_list_request, + build_update_request, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class SqlServerDatabasesOperations: + """SqlServerDatabasesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace_async + async def create( + self, + resource_group_name: str, + sql_server_instance_name: str, + database_name: str, + sql_server_database_resource: "_models.SqlServerDatabaseResource", + **kwargs: Any, + ) -> "_models.SqlServerDatabaseResource": + """Creates or replaces an Arc Sql Server Database. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param database_name: Name of the database. + :type database_name: str + :param sql_server_database_resource: The request body for database resource. + :type sql_server_database_resource: + ~azure_arc_data_management_client.models.SqlServerDatabaseResource + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerDatabaseResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlServerDatabaseResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerDatabaseResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + sql_server_database_resource, "SqlServerDatabaseResource" + ) + + request = build_create_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.create.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "SqlServerDatabaseResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + @distributed_trace_async + async def delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_server_instance_name: str, + database_name: str, + **kwargs: Any, + ) -> None: + """Deletes an Arc Sql Server database resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param database_name: Name of the database. + :type database_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_delete_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + api_version=api_version, + template_url=self.delete.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + sql_server_instance_name: str, + database_name: str, + **kwargs: Any, + ) -> "_models.SqlServerDatabaseResource": + """Retrieves an Arc Sql Server database. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param database_name: Name of the database. + :type database_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerDatabaseResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlServerDatabaseResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerDatabaseResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "SqlServerDatabaseResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + @distributed_trace_async + async def update( + self, + resource_group_name: str, + sql_server_instance_name: str, + database_name: str, + sql_server_database_update: "_models.SqlServerDatabaseUpdate", + **kwargs: Any, + ) -> "_models.SqlServerDatabaseResource": + """Updates an existing database. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param database_name: Name of the database. + :type database_name: str + :param sql_server_database_update: The requested database resource state. + :type sql_server_database_update: + ~azure_arc_data_management_client.models.SqlServerDatabaseUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerDatabaseResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlServerDatabaseResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerDatabaseResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + sql_server_database_update, "SqlServerDatabaseUpdate" + ) + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "SqlServerDatabaseResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + @distributed_trace + def list( + self, + resource_group_name: str, + sql_server_instance_name: str, + **kwargs: Any, + ) -> AsyncIterable["_models.ArcSqlServerDatabaseListResult"]: + """List the databases associated with the given Arc Sql Server. + + List the databases associated with the given Arc Sql Server. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ArcSqlServerDatabaseListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.ArcSqlServerDatabaseListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ArcSqlServerDatabaseListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "ArcSqlServerDatabaseListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_sql_server_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_sql_server_instances_operations.py new file mode 100644 index 00000000000..4bfd48709b0 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/aio/operations/_sql_server_instances_operations.py @@ -0,0 +1,666 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.polling.async_base_polling import AsyncLROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._sql_server_instances_operations import ( + build_create_request_initial, + build_delete_request_initial, + build_get_request, + build_list_by_resource_group_request, + build_list_request, + build_update_request, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class SqlServerInstancesOperations: + """SqlServerInstancesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, **kwargs: Any + ) -> AsyncIterable["_models.SqlServerInstanceListResult"]: + """List sqlServerInstance resources in the subscription. + + List sqlServerInstance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.SqlServerInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerInstances"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, resource_group_name: str, **kwargs: Any + ) -> AsyncIterable["_models.SqlServerInstanceListResult"]: + """List sqlServerInstance resources in the resource group. + + Gets all sqlServerInstances in a resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure_arc_data_management_client.models.SqlServerInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + sql_server_instance_name: str, + **kwargs: Any, + ) -> "_models.SqlServerInstance": + """Retrieves a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlServerInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize("SqlServerInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + sql_server_instance_name: str, + sql_server_instance: "_models.SqlServerInstance", + **kwargs: Any, + ) -> "_models.SqlServerInstance": + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(sql_server_instance, "SqlServerInstance") + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_create( + self, + resource_group_name: str, + sql_server_instance_name: str, + sql_server_instance: "_models.SqlServerInstance", + **kwargs: Any, + ) -> AsyncLROPoller["_models.SqlServerInstance"]: + """Creates or replaces a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param sql_server_instance: The SQL Server Instance to be created or updated. + :type sql_server_instance: ~azure_arc_data_management_client.models.SqlServerInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either SqlServerInstance or the result of + cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure_arc_data_management_client.models.SqlServerInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + sql_server_instance=sql_server_instance, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = AsyncLROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_server_instance_name: str, + **kwargs: Any, + ) -> None: + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_server_instance_name: str, + **kwargs: Any, + ) -> AsyncLROPoller[None]: + """Deletes a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncLROBasePolling. Pass in False + for this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = AsyncLROBasePolling(lro_delay, **kwargs) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + @distributed_trace_async + async def update( + self, + resource_group_name: str, + sql_server_instance_name: str, + parameters: "_models.SqlServerInstanceUpdate", + **kwargs: Any, + ) -> "_models.SqlServerInstance": + """Updates a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param parameters: The SQL Server Instance. + :type parameters: ~azure_arc_data_management_client.models.SqlServerInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlServerInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(parameters, "SqlServerInstanceUpdate") + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize("SqlServerInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/models/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/models/__init__.py new file mode 100644 index 00000000000..83ba0aa2b21 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/models/__init__.py @@ -0,0 +1,236 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import AGReplicas + from ._models_py3 import ActiveDirectoryConnectorDNSDetails + from ._models_py3 import ActiveDirectoryConnectorDomainDetails + from ._models_py3 import ActiveDirectoryConnectorListResult + from ._models_py3 import ActiveDirectoryConnectorProperties + from ._models_py3 import ActiveDirectoryConnectorResource + from ._models_py3 import ActiveDirectoryConnectorSpec + from ._models_py3 import ActiveDirectoryConnectorStatus + from ._models_py3 import ActiveDirectoryDomainController + from ._models_py3 import ActiveDirectoryDomainControllers + from ._models_py3 import ActiveDirectoryInformation + from ._models_py3 import ArcSqlServerDatabaseListResult + from ._models_py3 import BasicLoginInformation + from ._models_py3 import CommonSku + from ._models_py3 import DataControllerProperties + from ._models_py3 import DataControllerResource + from ._models_py3 import DataControllerUpdate + from ._models_py3 import ErrorResponse + from ._models_py3 import ErrorResponseBody + from ._models_py3 import ExtendedLocation + from ._models_py3 import FailoverGroupListResult + from ._models_py3 import FailoverGroupProperties + from ._models_py3 import FailoverGroupResource + from ._models_py3 import FailoverGroupSpec + from ._models_py3 import FailoverGroupStatus + from ._models_py3 import K8SResourceRequirements + from ._models_py3 import K8SScheduling + from ._models_py3 import K8SSchedulingOptions + from ._models_py3 import KeytabInformation + from ._models_py3 import LogAnalyticsWorkspaceConfig + from ._models_py3 import OnPremiseProperty + from ._models_py3 import Operation + from ._models_py3 import OperationDisplay + from ._models_py3 import OperationListResult + from ._models_py3 import PageOfDataControllerResource + from ._models_py3 import PostgresInstance + from ._models_py3 import PostgresInstanceListResult + from ._models_py3 import PostgresInstanceProperties + from ._models_py3 import PostgresInstanceSku + from ._models_py3 import PostgresInstanceUpdate + from ._models_py3 import ProxyResource + from ._models_py3 import Resource + from ._models_py3 import SqlManagedInstance + from ._models_py3 import SqlManagedInstanceK8SRaw + from ._models_py3 import SqlManagedInstanceK8SSpec + from ._models_py3 import SqlManagedInstanceListResult + from ._models_py3 import SqlManagedInstanceProperties + from ._models_py3 import SqlManagedInstanceSku + from ._models_py3 import SqlManagedInstanceUpdate + from ._models_py3 import SqlServerDatabaseResource + from ._models_py3 import SqlServerDatabaseResourceProperties + from ._models_py3 import ( + SqlServerDatabaseResourcePropertiesBackupInformation, + ) + from ._models_py3 import SqlServerDatabaseResourcePropertiesDatabaseOptions + from ._models_py3 import SqlServerDatabaseUpdate + from ._models_py3 import SqlServerInstance + from ._models_py3 import SqlServerInstanceListResult + from ._models_py3 import SqlServerInstanceProperties + from ._models_py3 import SqlServerInstanceUpdate + from ._models_py3 import SystemData + from ._models_py3 import TrackedResource + from ._models_py3 import UploadServicePrincipal + from ._models_py3 import UploadWatermark +except (SyntaxError, ImportError): + from ._models import AGReplicas # type: ignore + from ._models import ActiveDirectoryConnectorDNSDetails # type: ignore + from ._models import ActiveDirectoryConnectorDomainDetails # type: ignore + from ._models import ActiveDirectoryConnectorListResult # type: ignore + from ._models import ActiveDirectoryConnectorProperties # type: ignore + from ._models import ActiveDirectoryConnectorResource # type: ignore + from ._models import ActiveDirectoryConnectorSpec # type: ignore + from ._models import ActiveDirectoryConnectorStatus # type: ignore + from ._models import ActiveDirectoryDomainController # type: ignore + from ._models import ActiveDirectoryDomainControllers # type: ignore + from ._models import ActiveDirectoryInformation # type: ignore + from ._models import ArcSqlServerDatabaseListResult # type: ignore + from ._models import BasicLoginInformation # type: ignore + from ._models import CommonSku # type: ignore + from ._models import DataControllerProperties # type: ignore + from ._models import DataControllerResource # type: ignore + from ._models import DataControllerUpdate # type: ignore + from ._models import ErrorResponse # type: ignore + from ._models import ErrorResponseBody # type: ignore + from ._models import ExtendedLocation # type: ignore + from ._models import FailoverGroupListResult # type: ignore + from ._models import FailoverGroupProperties # type: ignore + from ._models import FailoverGroupResource # type: ignore + from ._models import FailoverGroupSpec # type: ignore + from ._models import FailoverGroupStatus # type: ignore + from ._models import K8SResourceRequirements # type: ignore + from ._models import K8SScheduling # type: ignore + from ._models import K8SSchedulingOptions # type: ignore + from ._models import KeytabInformation # type: ignore + from ._models import LogAnalyticsWorkspaceConfig # type: ignore + from ._models import OnPremiseProperty # type: ignore + from ._models import Operation # type: ignore + from ._models import OperationDisplay # type: ignore + from ._models import OperationListResult # type: ignore + from ._models import PageOfDataControllerResource # type: ignore + from ._models import PostgresInstance # type: ignore + from ._models import PostgresInstanceListResult # type: ignore + from ._models import PostgresInstanceProperties # type: ignore + from ._models import PostgresInstanceSku # type: ignore + from ._models import PostgresInstanceUpdate # type: ignore + from ._models import ProxyResource # type: ignore + from ._models import Resource # type: ignore + from ._models import SqlManagedInstance # type: ignore + from ._models import SqlManagedInstanceK8SRaw # type: ignore + from ._models import SqlManagedInstanceK8SSpec # type: ignore + from ._models import SqlManagedInstanceListResult # type: ignore + from ._models import SqlManagedInstanceProperties # type: ignore + from ._models import SqlManagedInstanceSku # type: ignore + from ._models import SqlManagedInstanceUpdate # type: ignore + from ._models import SqlServerDatabaseResource # type: ignore + from ._models import SqlServerDatabaseResourceProperties # type: ignore + from ._models import SqlServerDatabaseResourcePropertiesBackupInformation # type: ignore + from ._models import SqlServerDatabaseResourcePropertiesDatabaseOptions # type: ignore + from ._models import SqlServerDatabaseUpdate # type: ignore + from ._models import SqlServerInstance # type: ignore + from ._models import SqlServerInstanceListResult # type: ignore + from ._models import SqlServerInstanceProperties # type: ignore + from ._models import SqlServerInstanceUpdate # type: ignore + from ._models import SystemData # type: ignore + from ._models import TrackedResource # type: ignore + from ._models import UploadServicePrincipal # type: ignore + from ._models import UploadWatermark # type: ignore + +from ._azure_arc_data_management_client_enums import ( + AccountProvisioningMode, + ArcSqlManagedInstanceLicenseType, + ArcSqlServerLicenseType, + ConnectionStatus, + CreatedByType, + DatabaseState, + DefenderStatus, + EditionType, + ExtendedLocationTypes, + FailoverGroupPartnerSyncMode, + HostType, + Infrastructure, + InstanceFailoverGroupRole, + OperationOrigin, + RecoveryMode, + SqlManagedInstanceSkuTier, + SqlVersion, +) + +__all__ = [ + "AGReplicas", + "ActiveDirectoryConnectorDNSDetails", + "ActiveDirectoryConnectorDomainDetails", + "ActiveDirectoryConnectorListResult", + "ActiveDirectoryConnectorProperties", + "ActiveDirectoryConnectorResource", + "ActiveDirectoryConnectorSpec", + "ActiveDirectoryConnectorStatus", + "ActiveDirectoryDomainController", + "ActiveDirectoryDomainControllers", + "ActiveDirectoryInformation", + "ArcSqlServerDatabaseListResult", + "BasicLoginInformation", + "CommonSku", + "DataControllerProperties", + "DataControllerResource", + "DataControllerUpdate", + "ErrorResponse", + "ErrorResponseBody", + "ExtendedLocation", + "FailoverGroupListResult", + "FailoverGroupProperties", + "FailoverGroupResource", + "FailoverGroupSpec", + "FailoverGroupStatus", + "K8SResourceRequirements", + "K8SScheduling", + "K8SSchedulingOptions", + "KeytabInformation", + "LogAnalyticsWorkspaceConfig", + "OnPremiseProperty", + "Operation", + "OperationDisplay", + "OperationListResult", + "PageOfDataControllerResource", + "PostgresInstance", + "PostgresInstanceListResult", + "PostgresInstanceProperties", + "PostgresInstanceSku", + "PostgresInstanceUpdate", + "ProxyResource", + "Resource", + "SqlManagedInstance", + "SqlManagedInstanceK8SRaw", + "SqlManagedInstanceK8SSpec", + "SqlManagedInstanceListResult", + "SqlManagedInstanceProperties", + "SqlManagedInstanceSku", + "SqlManagedInstanceUpdate", + "SqlServerDatabaseResource", + "SqlServerDatabaseResourceProperties", + "SqlServerDatabaseResourcePropertiesBackupInformation", + "SqlServerDatabaseResourcePropertiesDatabaseOptions", + "SqlServerDatabaseUpdate", + "SqlServerInstance", + "SqlServerInstanceListResult", + "SqlServerInstanceProperties", + "SqlServerInstanceUpdate", + "SystemData", + "TrackedResource", + "UploadServicePrincipal", + "UploadWatermark", + "AccountProvisioningMode", + "ArcSqlManagedInstanceLicenseType", + "ArcSqlServerLicenseType", + "ConnectionStatus", + "CreatedByType", + "DatabaseState", + "DefenderStatus", + "EditionType", + "ExtendedLocationTypes", + "FailoverGroupPartnerSyncMode", + "HostType", + "Infrastructure", + "InstanceFailoverGroupRole", + "OperationOrigin", + "RecoveryMode", + "SqlManagedInstanceSkuTier", + "SqlVersion", +] diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/models/_azure_arc_data_management_client_enums.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/models/_azure_arc_data_management_client_enums.py new file mode 100644 index 00000000000..dfadb425020 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/models/_azure_arc_data_management_client_enums.py @@ -0,0 +1,185 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum +from six import with_metaclass +from azure.core import CaseInsensitiveEnumMeta + + +class AccountProvisioningMode( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + """The service account provisioning mode for this Active Directory connector.""" + + AUTOMATIC = "automatic" + MANUAL = "manual" + + +class ArcSqlManagedInstanceLicenseType( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + """The license type to apply for this managed instance.""" + + BASE_PRICE = "BasePrice" + LICENSE_INCLUDED = "LicenseIncluded" + DISASTER_RECOVERY = "DisasterRecovery" + + +class ArcSqlServerLicenseType( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + """SQL Server license type.""" + + UNDEFINED = "Undefined" + FREE = "Free" + HADR = "HADR" + SERVER_CAL = "ServerCAL" + LICENSE_ONLY = "LicenseOnly" + PAYG = "PAYG" + PAID = "Paid" + + +class ConnectionStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """The cloud connectivity status.""" + + CONNECTED = "Connected" + DISCONNECTED = "Disconnected" + REGISTERED = "Registered" + UNKNOWN = "Unknown" + + +class CreatedByType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity that created the resource.""" + + USER = "User" + APPLICATION = "Application" + MANAGED_IDENTITY = "ManagedIdentity" + KEY = "Key" + + +class DatabaseState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """State of the database.""" + + ONLINE = "Online" + RESTORING = "Restoring" + RECOVERING = "Recovering" + RECOVERY_PENDING = "RecoveryPending" + SUSPECT = "Suspect" + EMERGENCY = "Emergency" + OFFLINE = "Offline" + COPYING = "Copying" + OFFLINE_SECONDARY = "OfflineSecondary" + + +class DefenderStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """Status of Azure Defender.""" + + PROTECTED = "Protected" + UNPROTECTED = "Unprotected" + UNKNOWN = "Unknown" + + +class EditionType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """SQL Server edition.""" + + EVALUATION = "Evaluation" + ENTERPRISE = "Enterprise" + STANDARD = "Standard" + WEB = "Web" + DEVELOPER = "Developer" + EXPRESS = "Express" + BUSINESS_INTELLIGENCE = "Business Intelligence" + + +class ExtendedLocationTypes(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """The type of extendedLocation.""" + + CUSTOM_LOCATION = "CustomLocation" + + +class FailoverGroupPartnerSyncMode( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + """The partner sync mode of the SQL managed instance.""" + + ASYNC_ENUM = "async" + SYNC = "sync" + + +class HostType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """Type of host for Azure Arc SQL Server""" + + AZURE_VIRTUAL_MACHINE = "Azure Virtual Machine" + AZURE_VM_WARE_VIRTUAL_MACHINE = "Azure VMWare Virtual Machine" + AZURE_KUBERNETES_SERVICE = "Azure Kubernetes Service" + AWS_VM_WARE_VIRTUAL_MACHINE = "AWS VMWare Virtual Machine" + AWS_KUBERNETES_SERVICE = "AWS Kubernetes Service" + GCP_VM_WARE_VIRTUAL_MACHINE = "GCP VMWare Virtual Machine" + GCP_KUBERNETES_SERVICE = "GCP Kubernetes Service" + CONTAINER = "Container" + VIRTUAL_MACHINE = "Virtual Machine" + PHYSICAL_SERVER = "Physical Server" + AWS_VIRTUAL_MACHINE = "AWS Virtual Machine" + GCP_VIRTUAL_MACHINE = "GCP Virtual Machine" + OTHER = "Other" + + +class Infrastructure(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """The infrastructure the data controller is running on.""" + + AZURE = "azure" + GCP = "gcp" + AWS = "aws" + ALIBABA = "alibaba" + ONPREMISES = "onpremises" + OTHER = "other" + + +class InstanceFailoverGroupRole( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + """The role of the SQL managed instance in this failover group.""" + + PRIMARY = "primary" + SECONDARY = "secondary" + FORCE_PRIMARY_ALLOW_DATA_LOSS = "force-primary-allow-data-loss" + FORCE_SECONDARY = "force-secondary" + + +class OperationOrigin(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """The intended executor of the operation.""" + + USER = "user" + SYSTEM = "system" + + +class RecoveryMode(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """Status of the database.""" + + FULL = "Full" + BULK_LOGGED = "Bulk-logged" + SIMPLE = "Simple" + + +class SqlManagedInstanceSkuTier( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + """The pricing tier for the instance.""" + + GENERAL_PURPOSE = "GeneralPurpose" + BUSINESS_CRITICAL = "BusinessCritical" + + +class SqlVersion(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """SQL Server version.""" + + SQL_SERVER2012 = "SQL Server 2012" + SQL_SERVER2014 = "SQL Server 2014" + SQL_SERVER2016 = "SQL Server 2016" + SQL_SERVER2017 = "SQL Server 2017" + SQL_SERVER2019 = "SQL Server 2019" + SQL_SERVER2022 = "SQL Server 2022" + UNKNOWN = "Unknown" diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/models/_models.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/models/_models.py new file mode 100644 index 00000000000..e3387080cbb --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/models/_models.py @@ -0,0 +1,3059 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + + +class ActiveDirectoryConnectorDNSDetails(msrest.serialization.Model): + """DNS server details. + + All required parameters must be populated in order to send to Azure. + + :ivar domain_name: DNS domain name for which DNS lookups should be forwarded to the Active + Directory DNS servers. + :vartype domain_name: str + :ivar nameserver_ip_addresses: Required. List of Active Directory DNS server IP addresses. + :vartype nameserver_ip_addresses: list[str] + :ivar replicas: Replica count for DNS proxy service. Default value is 1. + :vartype replicas: long + :ivar prefer_k8_s_dns_for_ptr_lookups: Flag indicating whether to prefer Kubernetes DNS server + response over AD DNS server response for IP address lookups. + :vartype prefer_k8_s_dns_for_ptr_lookups: bool + """ + + _validation = { + "nameserver_ip_addresses": {"required": True}, + } + + _attribute_map = { + "domain_name": {"key": "domainName", "type": "str"}, + "nameserver_ip_addresses": { + "key": "nameserverIPAddresses", + "type": "[str]", + }, + "replicas": {"key": "replicas", "type": "long"}, + "prefer_k8_s_dns_for_ptr_lookups": { + "key": "preferK8sDnsForPtrLookups", + "type": "bool", + }, + } + + def __init__(self, **kwargs): + """ + :keyword domain_name: DNS domain name for which DNS lookups should be forwarded to the Active + Directory DNS servers. + :paramtype domain_name: str + :keyword nameserver_ip_addresses: Required. List of Active Directory DNS server IP addresses. + :paramtype nameserver_ip_addresses: list[str] + :keyword replicas: Replica count for DNS proxy service. Default value is 1. + :paramtype replicas: long + :keyword prefer_k8_s_dns_for_ptr_lookups: Flag indicating whether to prefer Kubernetes DNS + server response over AD DNS server response for IP address lookups. + :paramtype prefer_k8_s_dns_for_ptr_lookups: bool + """ + super(ActiveDirectoryConnectorDNSDetails, self).__init__(**kwargs) + self.domain_name = kwargs.get("domain_name", None) + self.nameserver_ip_addresses = kwargs["nameserver_ip_addresses"] + self.replicas = kwargs.get("replicas", 1) + self.prefer_k8_s_dns_for_ptr_lookups = kwargs.get( + "prefer_k8_s_dns_for_ptr_lookups", True + ) + + +class ActiveDirectoryConnectorDomainDetails(msrest.serialization.Model): + """Active Directory domain details. + + All required parameters must be populated in order to send to Azure. + + :ivar realm: Required. Name (uppercase) of the Active Directory domain that this AD connector + will be associated with. + :vartype realm: str + :ivar netbios_domain_name: NETBIOS name of the Active Directory domain. + :vartype netbios_domain_name: str + :ivar service_account_provisioning: The service account provisioning mode for this Active + Directory connector. Possible values include: "automatic", "manual". Default value: "manual". + :vartype service_account_provisioning: str or + ~azure_arc_data_management_client.models.AccountProvisioningMode + :ivar ou_distinguished_name: The distinguished name of the Active Directory Organizational + Unit. + :vartype ou_distinguished_name: str + :ivar domain_controllers: null. + :vartype domain_controllers: + ~azure_arc_data_management_client.models.ActiveDirectoryDomainControllers + """ + + _validation = { + "realm": {"required": True}, + } + + _attribute_map = { + "realm": {"key": "realm", "type": "str"}, + "netbios_domain_name": {"key": "netbiosDomainName", "type": "str"}, + "service_account_provisioning": { + "key": "serviceAccountProvisioning", + "type": "str", + }, + "ou_distinguished_name": {"key": "ouDistinguishedName", "type": "str"}, + "domain_controllers": { + "key": "domainControllers", + "type": "ActiveDirectoryDomainControllers", + }, + } + + def __init__(self, **kwargs): + """ + :keyword realm: Required. Name (uppercase) of the Active Directory domain that this AD + connector will be associated with. + :paramtype realm: str + :keyword netbios_domain_name: NETBIOS name of the Active Directory domain. + :paramtype netbios_domain_name: str + :keyword service_account_provisioning: The service account provisioning mode for this Active + Directory connector. Possible values include: "automatic", "manual". Default value: "manual". + :paramtype service_account_provisioning: str or + ~azure_arc_data_management_client.models.AccountProvisioningMode + :keyword ou_distinguished_name: The distinguished name of the Active Directory Organizational + Unit. + :paramtype ou_distinguished_name: str + :keyword domain_controllers: null. + :paramtype domain_controllers: + ~azure_arc_data_management_client.models.ActiveDirectoryDomainControllers + """ + super(ActiveDirectoryConnectorDomainDetails, self).__init__(**kwargs) + self.realm = kwargs["realm"] + self.netbios_domain_name = kwargs.get("netbios_domain_name", None) + self.service_account_provisioning = kwargs.get( + "service_account_provisioning", "manual" + ) + self.ou_distinguished_name = kwargs.get("ou_distinguished_name", None) + self.domain_controllers = kwargs.get("domain_controllers", None) + + +class ActiveDirectoryConnectorListResult(msrest.serialization.Model): + """A list of active directory connectors. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.ActiveDirectoryConnectorResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[ActiveDirectoryConnectorResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(ActiveDirectoryConnectorListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ActiveDirectoryConnectorProperties(msrest.serialization.Model): + """The properties of an Active Directory connector resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar domain_service_account_login_information: Username and password for domain service + account authentication. + :vartype domain_service_account_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar provisioning_state: The provisioning state of the Active Directory connector resource. + :vartype provisioning_state: str + :ivar spec: Required. null. + :vartype spec: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorSpec + :ivar status: null. + :vartype status: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorStatus + """ + + _validation = { + "provisioning_state": {"readonly": True}, + "spec": {"required": True}, + } + + _attribute_map = { + "domain_service_account_login_information": { + "key": "domainServiceAccountLoginInformation", + "type": "BasicLoginInformation", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "spec": {"key": "spec", "type": "ActiveDirectoryConnectorSpec"}, + "status": {"key": "status", "type": "ActiveDirectoryConnectorStatus"}, + } + + def __init__(self, **kwargs): + """ + :keyword domain_service_account_login_information: Username and password for domain service + account authentication. + :paramtype domain_service_account_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword spec: Required. null. + :paramtype spec: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorSpec + :keyword status: null. + :paramtype status: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorStatus + """ + super(ActiveDirectoryConnectorProperties, self).__init__(**kwargs) + self.domain_service_account_login_information = kwargs.get( + "domain_service_account_login_information", None + ) + self.provisioning_state = None + self.spec = kwargs["spec"] + self.status = kwargs.get("status", None) + + +class Resource(msrest.serialization.Model): + """Common fields that are returned in the response for all Azure Resource Manager resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + } + + def __init__(self, **kwargs): + """ """ + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.system_data = None + + +class ProxyResource(Resource): + """The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + } + + def __init__(self, **kwargs): + """ """ + super(ProxyResource, self).__init__(**kwargs) + + +class ActiveDirectoryConnectorResource(ProxyResource): + """Active directory connector resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar properties: Required. null. + :vartype properties: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "properties": { + "key": "properties", + "type": "ActiveDirectoryConnectorProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword properties: Required. null. + :paramtype properties: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorProperties + """ + super(ActiveDirectoryConnectorResource, self).__init__(**kwargs) + self.properties = kwargs["properties"] + + +class ActiveDirectoryConnectorSpec(msrest.serialization.Model): + """The specifications of the AD Kubernetes resource. + + All required parameters must be populated in order to send to Azure. + + :ivar active_directory: Required. null. + :vartype active_directory: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorDomainDetails + :ivar dns: Required. null. + :vartype dns: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorDNSDetails + """ + + _validation = { + "active_directory": {"required": True}, + "dns": {"required": True}, + } + + _attribute_map = { + "active_directory": { + "key": "activeDirectory", + "type": "ActiveDirectoryConnectorDomainDetails", + }, + "dns": {"key": "dns", "type": "ActiveDirectoryConnectorDNSDetails"}, + } + + def __init__(self, **kwargs): + """ + :keyword active_directory: Required. null. + :paramtype active_directory: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorDomainDetails + :keyword dns: Required. null. + :paramtype dns: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorDNSDetails + """ + super(ActiveDirectoryConnectorSpec, self).__init__(**kwargs) + self.active_directory = kwargs["active_directory"] + self.dns = kwargs["dns"] + + +class ActiveDirectoryConnectorStatus(msrest.serialization.Model): + """The status of the Kubernetes custom resource. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar last_update_time: The time that the custom resource was last updated. + :vartype last_update_time: str + :ivar observed_generation: The version of the replicaSet associated with the AD connector + custom resource. + :vartype observed_generation: long + :ivar state: The state of the AD connector custom resource. + :vartype state: str + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "last_update_time": {"key": "lastUpdateTime", "type": "str"}, + "observed_generation": {"key": "observedGeneration", "type": "long"}, + "state": {"key": "state", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword last_update_time: The time that the custom resource was last updated. + :paramtype last_update_time: str + :keyword observed_generation: The version of the replicaSet associated with the AD connector + custom resource. + :paramtype observed_generation: long + :keyword state: The state of the AD connector custom resource. + :paramtype state: str + """ + super(ActiveDirectoryConnectorStatus, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.last_update_time = kwargs.get("last_update_time", None) + self.observed_generation = kwargs.get("observed_generation", None) + self.state = kwargs.get("state", None) + + +class ActiveDirectoryDomainController(msrest.serialization.Model): + """Information about a domain controller in the AD domain. + + All required parameters must be populated in order to send to Azure. + + :ivar hostname: Required. Fully-qualified domain name of a domain controller in the AD domain. + :vartype hostname: str + """ + + _validation = { + "hostname": {"required": True}, + } + + _attribute_map = { + "hostname": {"key": "hostname", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword hostname: Required. Fully-qualified domain name of a domain controller in the AD + domain. + :paramtype hostname: str + """ + super(ActiveDirectoryDomainController, self).__init__(**kwargs) + self.hostname = kwargs["hostname"] + + +class ActiveDirectoryDomainControllers(msrest.serialization.Model): + """Details about the Active Directory domain controllers associated with this AD connector instance. + + :ivar primary_domain_controller: Information about the Primary Domain Controller (PDC) in the + AD domain. + :vartype primary_domain_controller: + ~azure_arc_data_management_client.models.ActiveDirectoryDomainController + :ivar secondary_domain_controllers: null. + :vartype secondary_domain_controllers: + list[~azure_arc_data_management_client.models.ActiveDirectoryDomainController] + """ + + _attribute_map = { + "primary_domain_controller": { + "key": "primaryDomainController", + "type": "ActiveDirectoryDomainController", + }, + "secondary_domain_controllers": { + "key": "secondaryDomainControllers", + "type": "[ActiveDirectoryDomainController]", + }, + } + + def __init__(self, **kwargs): + """ + :keyword primary_domain_controller: Information about the Primary Domain Controller (PDC) in + the AD domain. + :paramtype primary_domain_controller: + ~azure_arc_data_management_client.models.ActiveDirectoryDomainController + :keyword secondary_domain_controllers: null. + :paramtype secondary_domain_controllers: + list[~azure_arc_data_management_client.models.ActiveDirectoryDomainController] + """ + super(ActiveDirectoryDomainControllers, self).__init__(**kwargs) + self.primary_domain_controller = kwargs.get( + "primary_domain_controller", None + ) + self.secondary_domain_controllers = kwargs.get( + "secondary_domain_controllers", None + ) + + +class ActiveDirectoryInformation(msrest.serialization.Model): + """Active Directory information that related to the resource. + + :ivar keytab_information: Keytab information that is used for the Sql Managed Instance when + Active Directory authentication is used. + :vartype keytab_information: ~azure_arc_data_management_client.models.KeytabInformation + """ + + _attribute_map = { + "keytab_information": { + "key": "keytabInformation", + "type": "KeytabInformation", + }, + } + + def __init__(self, **kwargs): + """ + :keyword keytab_information: Keytab information that is used for the Sql Managed Instance when + Active Directory authentication is used. + :paramtype keytab_information: ~azure_arc_data_management_client.models.KeytabInformation + """ + super(ActiveDirectoryInformation, self).__init__(**kwargs) + self.keytab_information = kwargs.get("keytab_information", None) + + +class AGReplicas(msrest.serialization.Model): + """The information about each failover group replica. + + :ivar health_state: The health state of the replica. + :vartype health_state: str + :ivar replica_name: The replica name. + :vartype replica_name: str + :ivar role: The role of the replica. + :vartype role: str + :ivar connected_state: The connected state. + :vartype connected_state: str + :ivar synchronization_state: The synchronization state. + :vartype synchronization_state: str + :ivar availability_mode: The availability mode. + :vartype availability_mode: str + :ivar secondary_role_allow_connections: The secondary role allowed connections. + :vartype secondary_role_allow_connections: str + """ + + _attribute_map = { + "health_state": {"key": "healthState", "type": "str"}, + "replica_name": {"key": "replicaName", "type": "str"}, + "role": {"key": "role", "type": "str"}, + "connected_state": {"key": "connectedState", "type": "str"}, + "synchronization_state": {"key": "synchronizationState", "type": "str"}, + "availability_mode": {"key": "availabilityMode", "type": "str"}, + "secondary_role_allow_connections": { + "key": "secondaryRoleAllowConnections", + "type": "str", + }, + } + + def __init__(self, **kwargs): + """ + :keyword health_state: The health state of the replica. + :paramtype health_state: str + :keyword replica_name: The replica name. + :paramtype replica_name: str + :keyword role: The role of the replica. + :paramtype role: str + :keyword connected_state: The connected state. + :paramtype connected_state: str + :keyword synchronization_state: The synchronization state. + :paramtype synchronization_state: str + :keyword availability_mode: The availability mode. + :paramtype availability_mode: str + :keyword secondary_role_allow_connections: The secondary role allowed connections. + :paramtype secondary_role_allow_connections: str + """ + super(AGReplicas, self).__init__(**kwargs) + self.health_state = kwargs.get("health_state", None) + self.replica_name = kwargs.get("replica_name", None) + self.role = kwargs.get("role", None) + self.connected_state = kwargs.get("connected_state", None) + self.synchronization_state = kwargs.get("synchronization_state", None) + self.availability_mode = kwargs.get("availability_mode", None) + self.secondary_role_allow_connections = kwargs.get( + "secondary_role_allow_connections", None + ) + + +class ArcSqlServerDatabaseListResult(msrest.serialization.Model): + """A list of Arc Sql Server database. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of Arc Sql Server database. + :vartype value: list[~azure_arc_data_management_client.models.SqlServerDatabaseResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlServerDatabaseResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(ArcSqlServerDatabaseListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class BasicLoginInformation(msrest.serialization.Model): + """Username and password for basic login authentication. + + :ivar username: Login username. + :vartype username: str + :ivar password: Login password. + :vartype password: str + """ + + _attribute_map = { + "username": {"key": "username", "type": "str"}, + "password": {"key": "password", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword username: Login username. + :paramtype username: str + :keyword password: Login password. + :paramtype password: str + """ + super(BasicLoginInformation, self).__init__(**kwargs) + self.username = kwargs.get("username", None) + self.password = kwargs.get("password", None) + + +class CommonSku(msrest.serialization.Model): + """The resource model definition representing SKU for ARM resources. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the SKU. It is typically a letter+number code. + :vartype name: str + :ivar dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used + for dev/test purpose. + :vartype dev: bool + :ivar size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :vartype size: str + :ivar family: If the service has different generations of hardware, for the same SKU, then that + can be captured here. + :vartype family: str + :ivar capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :vartype capacity: int + """ + + _validation = { + "name": {"required": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + } + + def __init__(self, **kwargs): + """ + :keyword name: Required. The name of the SKU. It is typically a letter+number code. + :paramtype name: str + :keyword dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :paramtype dev: bool + :keyword size: The SKU size. When the name field is the combination of tier and some other + value, this would be the standalone code. + :paramtype size: str + :keyword family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :paramtype family: str + :keyword capacity: If the SKU supports scale out/in then the capacity integer should be + included. If scale out/in is not possible for the resource this may be omitted. + :paramtype capacity: int + """ + super(CommonSku, self).__init__(**kwargs) + self.name = kwargs["name"] + self.dev = kwargs.get("dev", True) + self.size = kwargs.get("size", None) + self.family = kwargs.get("family", None) + self.capacity = kwargs.get("capacity", None) + + +class DataControllerProperties(msrest.serialization.Model): + """The data controller properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar infrastructure: The infrastructure the data controller is running on. Possible values + include: "azure", "gcp", "aws", "alibaba", "onpremises", "other". Default value: "other". + :vartype infrastructure: str or ~azure_arc_data_management_client.models.Infrastructure + :ivar on_premise_property: Properties from the Kubernetes data controller. + :vartype on_premise_property: ~azure_arc_data_management_client.models.OnPremiseProperty + :ivar k8_s_raw: The raw kubernetes information. + :vartype k8_s_raw: any + :ivar upload_watermark: Properties on upload watermark. Mostly timestamp for each upload data + type. + :vartype upload_watermark: ~azure_arc_data_management_client.models.UploadWatermark + :ivar last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :vartype last_uploaded_date: ~datetime.datetime + :ivar basic_login_information: Deprecated. Azure Arc Data Services data controller no longer + expose any endpoint. All traffic are exposed through Kubernetes native API. + :vartype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar metrics_dashboard_credential: Login credential for metrics dashboard on the Kubernetes + cluster. + :vartype metrics_dashboard_credential: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar logs_dashboard_credential: Login credential for logs dashboard on the Kubernetes cluster. + :vartype logs_dashboard_credential: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar log_analytics_workspace_config: Log analytics workspace id and primary key. + :vartype log_analytics_workspace_config: + ~azure_arc_data_management_client.models.LogAnalyticsWorkspaceConfig + :ivar upload_service_principal: Deprecated. Service principal is deprecated in favor of Arc + Kubernetes service extension managed identity. + :vartype upload_service_principal: + ~azure_arc_data_management_client.models.UploadServicePrincipal + :ivar provisioning_state: The provisioning state of the Arc Data Controller resource. + :vartype provisioning_state: str + :ivar cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :vartype cluster_id: str + :ivar extension_id: If a CustomLocation is provided, this contains the ARM id of the extension + the custom location belongs to. + :vartype extension_id: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "infrastructure": {"key": "infrastructure", "type": "str"}, + "on_premise_property": { + "key": "onPremiseProperty", + "type": "OnPremiseProperty", + }, + "k8_s_raw": {"key": "k8sRaw", "type": "object"}, + "upload_watermark": { + "key": "uploadWatermark", + "type": "UploadWatermark", + }, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "metrics_dashboard_credential": { + "key": "metricsDashboardCredential", + "type": "BasicLoginInformation", + }, + "logs_dashboard_credential": { + "key": "logsDashboardCredential", + "type": "BasicLoginInformation", + }, + "log_analytics_workspace_config": { + "key": "logAnalyticsWorkspaceConfig", + "type": "LogAnalyticsWorkspaceConfig", + }, + "upload_service_principal": { + "key": "uploadServicePrincipal", + "type": "UploadServicePrincipal", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "cluster_id": {"key": "clusterId", "type": "str"}, + "extension_id": {"key": "extensionId", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword infrastructure: The infrastructure the data controller is running on. Possible values + include: "azure", "gcp", "aws", "alibaba", "onpremises", "other". Default value: "other". + :paramtype infrastructure: str or ~azure_arc_data_management_client.models.Infrastructure + :keyword on_premise_property: Properties from the Kubernetes data controller. + :paramtype on_premise_property: ~azure_arc_data_management_client.models.OnPremiseProperty + :keyword k8_s_raw: The raw kubernetes information. + :paramtype k8_s_raw: any + :keyword upload_watermark: Properties on upload watermark. Mostly timestamp for each upload + data type. + :paramtype upload_watermark: ~azure_arc_data_management_client.models.UploadWatermark + :keyword last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current + date time. + :paramtype last_uploaded_date: ~datetime.datetime + :keyword basic_login_information: Deprecated. Azure Arc Data Services data controller no longer + expose any endpoint. All traffic are exposed through Kubernetes native API. + :paramtype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword metrics_dashboard_credential: Login credential for metrics dashboard on the Kubernetes + cluster. + :paramtype metrics_dashboard_credential: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword logs_dashboard_credential: Login credential for logs dashboard on the Kubernetes + cluster. + :paramtype logs_dashboard_credential: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword log_analytics_workspace_config: Log analytics workspace id and primary key. + :paramtype log_analytics_workspace_config: + ~azure_arc_data_management_client.models.LogAnalyticsWorkspaceConfig + :keyword upload_service_principal: Deprecated. Service principal is deprecated in favor of Arc + Kubernetes service extension managed identity. + :paramtype upload_service_principal: + ~azure_arc_data_management_client.models.UploadServicePrincipal + :keyword cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :paramtype cluster_id: str + :keyword extension_id: If a CustomLocation is provided, this contains the ARM id of the + extension the custom location belongs to. + :paramtype extension_id: str + """ + super(DataControllerProperties, self).__init__(**kwargs) + self.infrastructure = kwargs.get("infrastructure", "other") + self.on_premise_property = kwargs.get("on_premise_property", None) + self.k8_s_raw = kwargs.get("k8_s_raw", None) + self.upload_watermark = kwargs.get("upload_watermark", None) + self.last_uploaded_date = kwargs.get("last_uploaded_date", None) + self.basic_login_information = kwargs.get( + "basic_login_information", None + ) + self.metrics_dashboard_credential = kwargs.get( + "metrics_dashboard_credential", None + ) + self.logs_dashboard_credential = kwargs.get( + "logs_dashboard_credential", None + ) + self.log_analytics_workspace_config = kwargs.get( + "log_analytics_workspace_config", None + ) + self.upload_service_principal = kwargs.get( + "upload_service_principal", None + ) + self.provisioning_state = None + self.cluster_id = kwargs.get("cluster_id", None) + self.extension_id = kwargs.get("extension_id", None) + + +class TrackedResource(Resource): + """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + """ + super(TrackedResource, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + self.location = kwargs["location"] + + +class DataControllerResource(TrackedResource): + """Data controller resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar extended_location: The extendedLocation of the resource. + :vartype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :ivar properties: Required. The data controller's properties. + :vartype properties: ~azure_arc_data_management_client.models.DataControllerProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "properties": {"key": "properties", "type": "DataControllerProperties"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword extended_location: The extendedLocation of the resource. + :paramtype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :keyword properties: Required. The data controller's properties. + :paramtype properties: ~azure_arc_data_management_client.models.DataControllerProperties + """ + super(DataControllerResource, self).__init__(**kwargs) + self.extended_location = kwargs.get("extended_location", None) + self.properties = kwargs["properties"] + + +class DataControllerUpdate(msrest.serialization.Model): + """Used for updating a data controller resource. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: The data controller's properties. + :vartype properties: ~azure_arc_data_management_client.models.DataControllerProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": {"key": "properties", "type": "DataControllerProperties"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The data controller's properties. + :paramtype properties: ~azure_arc_data_management_client.models.DataControllerProperties + """ + super(DataControllerUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + self.properties = kwargs.get("properties", None) + + +class ErrorResponse(msrest.serialization.Model): + """An error response from the Azure Data on Azure Arc service. + + :ivar error: null. + :vartype error: ~azure_arc_data_management_client.models.ErrorResponseBody + """ + + _attribute_map = { + "error": {"key": "error", "type": "ErrorResponseBody"}, + } + + def __init__(self, **kwargs): + """ + :keyword error: null. + :paramtype error: ~azure_arc_data_management_client.models.ErrorResponseBody + """ + super(ErrorResponse, self).__init__(**kwargs) + self.error = kwargs.get("error", None) + + +class ErrorResponseBody(msrest.serialization.Model): + """An error response from the Batch service. + + :ivar code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :vartype code: str + :ivar message: A message describing the error, intended to be suitable for display in a user + interface. + :vartype message: str + :ivar target: The target of the particular error. For example, the name of the property in + error. + :vartype target: str + :ivar details: A list of additional details about the error. + :vartype details: list[~azure_arc_data_management_client.models.ErrorResponseBody] + """ + + _attribute_map = { + "code": {"key": "code", "type": "str"}, + "message": {"key": "message", "type": "str"}, + "target": {"key": "target", "type": "str"}, + "details": {"key": "details", "type": "[ErrorResponseBody]"}, + } + + def __init__(self, **kwargs): + """ + :keyword code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :paramtype code: str + :keyword message: A message describing the error, intended to be suitable for display in a user + interface. + :paramtype message: str + :keyword target: The target of the particular error. For example, the name of the property in + error. + :paramtype target: str + :keyword details: A list of additional details about the error. + :paramtype details: list[~azure_arc_data_management_client.models.ErrorResponseBody] + """ + super(ErrorResponseBody, self).__init__(**kwargs) + self.code = kwargs.get("code", None) + self.message = kwargs.get("message", None) + self.target = kwargs.get("target", None) + self.details = kwargs.get("details", None) + + +class ExtendedLocation(msrest.serialization.Model): + """The complex type of the extended location. + + :ivar name: The name of the extended location. + :vartype name: str + :ivar type: The type of the extended location. Possible values include: "CustomLocation". + :vartype type: str or ~azure_arc_data_management_client.models.ExtendedLocationTypes + """ + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword name: The name of the extended location. + :paramtype name: str + :keyword type: The type of the extended location. Possible values include: "CustomLocation". + :paramtype type: str or ~azure_arc_data_management_client.models.ExtendedLocationTypes + """ + super(ExtendedLocation, self).__init__(**kwargs) + self.name = kwargs.get("name", None) + self.type = kwargs.get("type", None) + + +class FailoverGroupListResult(msrest.serialization.Model): + """A list of failover groups. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.FailoverGroupResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[FailoverGroupResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(FailoverGroupListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class FailoverGroupProperties(msrest.serialization.Model): + """The properties of a failover group resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar provisioning_state: The provisioning state of the failover group resource. + :vartype provisioning_state: str + :ivar partner_managed_instance_id: Required. The resource ID of the partner SQL managed + instance. + :vartype partner_managed_instance_id: str + :ivar spec: Required. null. + :vartype spec: ~azure_arc_data_management_client.models.FailoverGroupSpec + :ivar status: null. + :vartype status: ~azure_arc_data_management_client.models.FailoverGroupStatus + """ + + _validation = { + "provisioning_state": {"readonly": True}, + "partner_managed_instance_id": {"required": True}, + "spec": {"required": True}, + } + + _attribute_map = { + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "partner_managed_instance_id": { + "key": "partnerManagedInstanceId", + "type": "str", + }, + "spec": {"key": "spec", "type": "FailoverGroupSpec"}, + "status": {"key": "status", "type": "FailoverGroupStatus"}, + } + + def __init__(self, **kwargs): + """ + :keyword partner_managed_instance_id: Required. The resource ID of the partner SQL managed + instance. + :paramtype partner_managed_instance_id: str + :keyword spec: Required. null. + :paramtype spec: ~azure_arc_data_management_client.models.FailoverGroupSpec + :keyword status: null. + :paramtype status: ~azure_arc_data_management_client.models.FailoverGroupStatus + """ + super(FailoverGroupProperties, self).__init__(**kwargs) + self.provisioning_state = None + self.partner_managed_instance_id = kwargs["partner_managed_instance_id"] + self.spec = kwargs["spec"] + self.status = kwargs.get("status", None) + + +class FailoverGroupResource(ProxyResource): + """Failover group resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar properties: Required. null. + :vartype properties: ~azure_arc_data_management_client.models.FailoverGroupProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "properties": {"key": "properties", "type": "FailoverGroupProperties"}, + } + + def __init__(self, **kwargs): + """ + :keyword properties: Required. null. + :paramtype properties: ~azure_arc_data_management_client.models.FailoverGroupProperties + """ + super(FailoverGroupResource, self).__init__(**kwargs) + self.properties = kwargs["properties"] + + +class FailoverGroupSpec(msrest.serialization.Model): + """The specifications of the failover group resource. + + All required parameters must be populated in order to send to Azure. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar shared_name: The shared name of the failover group for this SQL managed instance. Both + SQL managed instance and its partner have to use the same shared name. + :vartype shared_name: str + :ivar source_mi: The name of the SQL managed instance with this failover group role. + :vartype source_mi: str + :ivar partner_mi: The name of the partner SQL managed instance. + :vartype partner_mi: str + :ivar partner_mirroring_url: The mirroring endpoint URL of the partner SQL managed instance. + :vartype partner_mirroring_url: str + :ivar partner_mirroring_cert: The mirroring endpoint public certificate for the partner SQL + managed instance. Only PEM format is supported. + :vartype partner_mirroring_cert: str + :ivar partner_sync_mode: The partner sync mode of the SQL managed instance. Possible values + include: "async", "sync". Default value: "async". + :vartype partner_sync_mode: str or + ~azure_arc_data_management_client.models.FailoverGroupPartnerSyncMode + :ivar role: Required. The role of the SQL managed instance in this failover group. Possible + values include: "primary", "secondary", "force-primary-allow-data-loss", "force-secondary". + Default value: "primary". + :vartype role: str or ~azure_arc_data_management_client.models.InstanceFailoverGroupRole + """ + + _validation = { + "role": {"required": True}, + } + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "shared_name": {"key": "sharedName", "type": "str"}, + "source_mi": {"key": "sourceMI", "type": "str"}, + "partner_mi": {"key": "partnerMI", "type": "str"}, + "partner_mirroring_url": {"key": "partnerMirroringURL", "type": "str"}, + "partner_mirroring_cert": { + "key": "partnerMirroringCert", + "type": "str", + }, + "partner_sync_mode": {"key": "partnerSyncMode", "type": "str"}, + "role": {"key": "role", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword shared_name: The shared name of the failover group for this SQL managed instance. Both + SQL managed instance and its partner have to use the same shared name. + :paramtype shared_name: str + :keyword source_mi: The name of the SQL managed instance with this failover group role. + :paramtype source_mi: str + :keyword partner_mi: The name of the partner SQL managed instance. + :paramtype partner_mi: str + :keyword partner_mirroring_url: The mirroring endpoint URL of the partner SQL managed instance. + :paramtype partner_mirroring_url: str + :keyword partner_mirroring_cert: The mirroring endpoint public certificate for the partner SQL + managed instance. Only PEM format is supported. + :paramtype partner_mirroring_cert: str + :keyword partner_sync_mode: The partner sync mode of the SQL managed instance. Possible values + include: "async", "sync". Default value: "async". + :paramtype partner_sync_mode: str or + ~azure_arc_data_management_client.models.FailoverGroupPartnerSyncMode + :keyword role: Required. The role of the SQL managed instance in this failover group. Possible + values include: "primary", "secondary", "force-primary-allow-data-loss", "force-secondary". + Default value: "primary". + :paramtype role: str or ~azure_arc_data_management_client.models.InstanceFailoverGroupRole + """ + super(FailoverGroupSpec, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.shared_name = kwargs.get("shared_name", None) + self.source_mi = kwargs.get("source_mi", None) + self.partner_mi = kwargs.get("partner_mi", None) + self.partner_mirroring_url = kwargs.get("partner_mirroring_url", None) + self.partner_mirroring_cert = kwargs.get("partner_mirroring_cert", None) + self.partner_sync_mode = kwargs.get("partner_sync_mode", "async") + self.role = kwargs.get("role", "primary") + + +class FailoverGroupStatus(msrest.serialization.Model): + """The status of the Kubernetes custom resource. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar last_update_time: The time that the custom resource was last updated. + :vartype last_update_time: str + :ivar observed_generation: The version of the replicaSet associated with the failover group + custom resource. + :vartype observed_generation: long + :ivar state: The state of the failover group custom resource. + :vartype state: str + :ivar results: The message in case of a failure in the failover group. + :vartype results: str + :ivar role: The role of the managed instance. + :vartype role: str + :ivar replicas: A list of failover group replicas. + :vartype replicas: list[~azure_arc_data_management_client.models.AGReplicas] + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "last_update_time": {"key": "lastUpdateTime", "type": "str"}, + "observed_generation": {"key": "observedGeneration", "type": "long"}, + "state": {"key": "state", "type": "str"}, + "results": {"key": "results", "type": "str"}, + "role": {"key": "role", "type": "str"}, + "replicas": {"key": "replicas", "type": "[AGReplicas]"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword last_update_time: The time that the custom resource was last updated. + :paramtype last_update_time: str + :keyword observed_generation: The version of the replicaSet associated with the failover group + custom resource. + :paramtype observed_generation: long + :keyword state: The state of the failover group custom resource. + :paramtype state: str + :keyword results: The message in case of a failure in the failover group. + :paramtype results: str + :keyword role: The role of the managed instance. + :paramtype role: str + :keyword replicas: A list of failover group replicas. + :paramtype replicas: list[~azure_arc_data_management_client.models.AGReplicas] + """ + super(FailoverGroupStatus, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.last_update_time = kwargs.get("last_update_time", None) + self.observed_generation = kwargs.get("observed_generation", None) + self.state = kwargs.get("state", None) + self.results = kwargs.get("results", None) + self.role = kwargs.get("role", None) + self.replicas = kwargs.get("replicas", None) + + +class K8SResourceRequirements(msrest.serialization.Model): + """The kubernetes resource limits and requests used to restrict or reserve resource usage. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar requests: Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' + request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default + 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and + maximum 'memory' is '128Gi'. + :vartype requests: dict[str, str] + :ivar limits: Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request + must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' + is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum + 'memory' is '128Gi'. + :vartype limits: dict[str, str] + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "requests": {"key": "requests", "type": "{str}"}, + "limits": {"key": "limits", "type": "{str}"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword requests: Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' + request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default + 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and + maximum 'memory' is '128Gi'. + :paramtype requests: dict[str, str] + :keyword limits: Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request + must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' + is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum + 'memory' is '128Gi'. + :paramtype limits: dict[str, str] + """ + super(K8SResourceRequirements, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.requests = kwargs.get("requests", None) + self.limits = kwargs.get("limits", None) + + +class K8SScheduling(msrest.serialization.Model): + """The kubernetes scheduling information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar default: The kubernetes scheduling options. It describes restrictions used to help + Kubernetes select appropriate nodes to host the database service. + :vartype default: ~azure_arc_data_management_client.models.K8SSchedulingOptions + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "default": {"key": "default", "type": "K8SSchedulingOptions"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword default: The kubernetes scheduling options. It describes restrictions used to help + Kubernetes select appropriate nodes to host the database service. + :paramtype default: ~azure_arc_data_management_client.models.K8SSchedulingOptions + """ + super(K8SScheduling, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.default = kwargs.get("default", None) + + +class K8SSchedulingOptions(msrest.serialization.Model): + """The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar resources: The kubernetes resource limits and requests used to restrict or reserve + resource usage. + :vartype resources: ~azure_arc_data_management_client.models.K8SResourceRequirements + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "resources": {"key": "resources", "type": "K8SResourceRequirements"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword resources: The kubernetes resource limits and requests used to restrict or reserve + resource usage. + :paramtype resources: ~azure_arc_data_management_client.models.K8SResourceRequirements + """ + super(K8SSchedulingOptions, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.resources = kwargs.get("resources", None) + + +class KeytabInformation(msrest.serialization.Model): + """Keytab used for authenticate with Active Directory. + + :ivar keytab: A base64-encoded keytab. + :vartype keytab: str + """ + + _attribute_map = { + "keytab": {"key": "keytab", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword keytab: A base64-encoded keytab. + :paramtype keytab: str + """ + super(KeytabInformation, self).__init__(**kwargs) + self.keytab = kwargs.get("keytab", None) + + +class LogAnalyticsWorkspaceConfig(msrest.serialization.Model): + """Log analytics workspace id and primary key. + + :ivar workspace_id: Azure Log Analytics workspace ID. + :vartype workspace_id: str + :ivar primary_key: Primary key of the workspace. + :vartype primary_key: str + """ + + _attribute_map = { + "workspace_id": {"key": "workspaceId", "type": "str"}, + "primary_key": {"key": "primaryKey", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword workspace_id: Azure Log Analytics workspace ID. + :paramtype workspace_id: str + :keyword primary_key: Primary key of the workspace. + :paramtype primary_key: str + """ + super(LogAnalyticsWorkspaceConfig, self).__init__(**kwargs) + self.workspace_id = kwargs.get("workspace_id", None) + self.primary_key = kwargs.get("primary_key", None) + + +class OnPremiseProperty(msrest.serialization.Model): + """Properties from the Kubernetes data controller. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Required. A globally unique ID identifying the associated Kubernetes cluster. + :vartype id: str + :ivar public_signing_key: Required. Certificate that contains the Kubernetes cluster public key + used to verify signing. + :vartype public_signing_key: str + :ivar signing_certificate_thumbprint: Unique thumbprint returned to customer to verify the + certificate being uploaded. + :vartype signing_certificate_thumbprint: str + """ + + _validation = { + "id": {"required": True}, + "public_signing_key": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "public_signing_key": {"key": "publicSigningKey", "type": "str"}, + "signing_certificate_thumbprint": { + "key": "signingCertificateThumbprint", + "type": "str", + }, + } + + def __init__(self, **kwargs): + """ + :keyword id: Required. A globally unique ID identifying the associated Kubernetes cluster. + :paramtype id: str + :keyword public_signing_key: Required. Certificate that contains the Kubernetes cluster public + key used to verify signing. + :paramtype public_signing_key: str + :keyword signing_certificate_thumbprint: Unique thumbprint returned to customer to verify the + certificate being uploaded. + :paramtype signing_certificate_thumbprint: str + """ + super(OnPremiseProperty, self).__init__(**kwargs) + self.id = kwargs["id"] + self.public_signing_key = kwargs["public_signing_key"] + self.signing_certificate_thumbprint = kwargs.get( + "signing_certificate_thumbprint", None + ) + + +class Operation(msrest.serialization.Model): + """Azure Data Services on Azure Arc operation definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the operation being performed on this particular object. + :vartype name: str + :ivar display: Required. The localized display information for this particular operation / + action. + :vartype display: ~azure_arc_data_management_client.models.OperationDisplay + :ivar origin: The intended executor of the operation. Possible values include: "user", + "system". + :vartype origin: str or ~azure_arc_data_management_client.models.OperationOrigin + :ivar is_data_action: Required. Indicates whether the operation is a data action. + :vartype is_data_action: bool + :ivar properties: Additional descriptions for the operation. + :vartype properties: dict[str, any] + """ + + _validation = { + "name": {"required": True}, + "display": {"required": True}, + "origin": {"readonly": True}, + "is_data_action": {"required": True}, + "properties": {"readonly": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "display": {"key": "display", "type": "OperationDisplay"}, + "origin": {"key": "origin", "type": "str"}, + "is_data_action": {"key": "isDataAction", "type": "bool"}, + "properties": {"key": "properties", "type": "{object}"}, + } + + def __init__(self, **kwargs): + """ + :keyword name: Required. The name of the operation being performed on this particular object. + :paramtype name: str + :keyword display: Required. The localized display information for this particular operation / + action. + :paramtype display: ~azure_arc_data_management_client.models.OperationDisplay + :keyword is_data_action: Required. Indicates whether the operation is a data action. + :paramtype is_data_action: bool + """ + super(Operation, self).__init__(**kwargs) + self.name = kwargs["name"] + self.display = kwargs["display"] + self.origin = None + self.is_data_action = kwargs["is_data_action"] + self.properties = None + + +class OperationDisplay(msrest.serialization.Model): + """Display metadata associated with the operation. + + All required parameters must be populated in order to send to Azure. + + :ivar provider: Required. The localized friendly form of the resource provider name. + :vartype provider: str + :ivar resource: Required. The localized friendly form of the resource type related to this + action/operation. + :vartype resource: str + :ivar operation: Required. The localized friendly name for the operation. + :vartype operation: str + :ivar description: Required. The localized friendly description for the operation. + :vartype description: str + """ + + _validation = { + "provider": {"required": True}, + "resource": {"required": True}, + "operation": {"required": True}, + "description": {"required": True}, + } + + _attribute_map = { + "provider": {"key": "provider", "type": "str"}, + "resource": {"key": "resource", "type": "str"}, + "operation": {"key": "operation", "type": "str"}, + "description": {"key": "description", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword provider: Required. The localized friendly form of the resource provider name. + :paramtype provider: str + :keyword resource: Required. The localized friendly form of the resource type related to this + action/operation. + :paramtype resource: str + :keyword operation: Required. The localized friendly name for the operation. + :paramtype operation: str + :keyword description: Required. The localized friendly description for the operation. + :paramtype description: str + """ + super(OperationDisplay, self).__init__(**kwargs) + self.provider = kwargs["provider"] + self.resource = kwargs["resource"] + self.operation = kwargs["operation"] + self.description = kwargs["description"] + + +class OperationListResult(msrest.serialization.Model): + """Result of the request to list Azure Data Services on Azure Arc operations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.Operation] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[Operation]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(OperationListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class PageOfDataControllerResource(msrest.serialization.Model): + """A list of data controllers. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.DataControllerResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _attribute_map = { + "value": {"key": "value", "type": "[DataControllerResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword value: Array of results. + :paramtype value: list[~azure_arc_data_management_client.models.DataControllerResource] + :keyword next_link: Link to retrieve next page of results. + :paramtype next_link: str + """ + super(PageOfDataControllerResource, self).__init__(**kwargs) + self.value = kwargs.get("value", None) + self.next_link = kwargs.get("next_link", None) + + +class PostgresInstance(TrackedResource): + """A Postgres Instance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar extended_location: The extendedLocation of the resource. + :vartype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :ivar properties: Required. null. + :vartype properties: ~azure_arc_data_management_client.models.PostgresInstanceProperties + :ivar sku: Resource sku. + :vartype sku: ~azure_arc_data_management_client.models.PostgresInstanceSku + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "properties": { + "key": "properties", + "type": "PostgresInstanceProperties", + }, + "sku": {"key": "sku", "type": "PostgresInstanceSku"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword extended_location: The extendedLocation of the resource. + :paramtype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :keyword properties: Required. null. + :paramtype properties: ~azure_arc_data_management_client.models.PostgresInstanceProperties + :keyword sku: Resource sku. + :paramtype sku: ~azure_arc_data_management_client.models.PostgresInstanceSku + """ + super(PostgresInstance, self).__init__(**kwargs) + self.extended_location = kwargs.get("extended_location", None) + self.properties = kwargs["properties"] + self.sku = kwargs.get("sku", None) + + +class PostgresInstanceListResult(msrest.serialization.Model): + """A list of PostgresInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.PostgresInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[PostgresInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(PostgresInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class PostgresInstanceProperties(msrest.serialization.Model): + """Postgres Instance properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar data_controller_id: The data controller id. + :vartype data_controller_id: str + :ivar admin: The instance admin. + :vartype admin: str + :ivar basic_login_information: Username and password for basic authentication. + :vartype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar k8_s_raw: The raw kubernetes information. + :vartype k8_s_raw: any + :ivar last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :vartype last_uploaded_date: ~datetime.datetime + :ivar provisioning_state: The provisioning state of the Azure Arc-enabled PostgreSQL instance. + :vartype provisioning_state: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "data_controller_id": {"key": "dataControllerId", "type": "str"}, + "admin": {"key": "admin", "type": "str"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "k8_s_raw": {"key": "k8sRaw", "type": "object"}, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword data_controller_id: The data controller id. + :paramtype data_controller_id: str + :keyword admin: The instance admin. + :paramtype admin: str + :keyword basic_login_information: Username and password for basic authentication. + :paramtype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword k8_s_raw: The raw kubernetes information. + :paramtype k8_s_raw: any + :keyword last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current + date time. + :paramtype last_uploaded_date: ~datetime.datetime + """ + super(PostgresInstanceProperties, self).__init__(**kwargs) + self.data_controller_id = kwargs.get("data_controller_id", None) + self.admin = kwargs.get("admin", None) + self.basic_login_information = kwargs.get( + "basic_login_information", None + ) + self.k8_s_raw = kwargs.get("k8_s_raw", None) + self.last_uploaded_date = kwargs.get("last_uploaded_date", None) + self.provisioning_state = None + + +class PostgresInstanceSku(CommonSku): + """The resource model definition representing SKU for Azure Database for PostgresSQL - Azure Arc. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the SKU. It is typically a letter+number code. + :vartype name: str + :ivar dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used + for dev/test purpose. + :vartype dev: bool + :ivar size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :vartype size: str + :ivar family: If the service has different generations of hardware, for the same SKU, then that + can be captured here. + :vartype family: str + :ivar capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :vartype capacity: int + :ivar tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier. The only acceptable values to pass in are None and "Hyperscale". The + default value is "Hyperscale". + :vartype tier: str + """ + + _validation = { + "name": {"required": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + "tier": {"key": "tier", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword name: Required. The name of the SKU. It is typically a letter+number code. + :paramtype name: str + :keyword dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :paramtype dev: bool + :keyword size: The SKU size. When the name field is the combination of tier and some other + value, this would be the standalone code. + :paramtype size: str + :keyword family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :paramtype family: str + :keyword capacity: If the SKU supports scale out/in then the capacity integer should be + included. If scale out/in is not possible for the resource this may be omitted. + :paramtype capacity: int + :keyword tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier. The only acceptable values to pass in are None and "Hyperscale". The + default value is "Hyperscale". + :paramtype tier: str + """ + super(PostgresInstanceSku, self).__init__(**kwargs) + self.tier = kwargs.get("tier", "Hyperscale") + + +class PostgresInstanceUpdate(msrest.serialization.Model): + """An update to a Postgres Instance. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: Postgres Instance properties. + :vartype properties: ~azure_arc_data_management_client.models.PostgresInstanceProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": { + "key": "properties", + "type": "PostgresInstanceProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: Postgres Instance properties. + :paramtype properties: ~azure_arc_data_management_client.models.PostgresInstanceProperties + """ + super(PostgresInstanceUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + self.properties = kwargs.get("properties", None) + + +class SqlManagedInstance(TrackedResource): + """A SqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: Required. null. + :vartype properties: ~azure_arc_data_management_client.models.SqlManagedInstanceProperties + :ivar extended_location: The extendedLocation of the resource. + :vartype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :ivar sku: Resource sku. + :vartype sku: ~azure_arc_data_management_client.models.SqlManagedInstanceSku + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlManagedInstanceProperties", + }, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "sku": {"key": "sku", "type": "SqlManagedInstanceSku"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: Required. null. + :paramtype properties: ~azure_arc_data_management_client.models.SqlManagedInstanceProperties + :keyword extended_location: The extendedLocation of the resource. + :paramtype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :keyword sku: Resource sku. + :paramtype sku: ~azure_arc_data_management_client.models.SqlManagedInstanceSku + """ + super(SqlManagedInstance, self).__init__(**kwargs) + self.properties = kwargs["properties"] + self.extended_location = kwargs.get("extended_location", None) + self.sku = kwargs.get("sku", None) + + +class SqlManagedInstanceK8SRaw(msrest.serialization.Model): + """The raw kubernetes information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar spec: The kubernetes spec information. + :vartype spec: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SSpec + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "spec": {"key": "spec", "type": "SqlManagedInstanceK8SSpec"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword spec: The kubernetes spec information. + :paramtype spec: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SSpec + """ + super(SqlManagedInstanceK8SRaw, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.spec = kwargs.get("spec", None) + + +class SqlManagedInstanceK8SSpec(msrest.serialization.Model): + """The kubernetes spec information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar scheduling: The kubernetes scheduling information. + :vartype scheduling: ~azure_arc_data_management_client.models.K8SScheduling + :ivar replicas: This option specifies the number of SQL Managed Instance replicas that will be + deployed in your Kubernetes cluster for high availability purposes. If sku.tier is + BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is + GeneralPurpose, replicas must be '1'. + :vartype replicas: int + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "scheduling": {"key": "scheduling", "type": "K8SScheduling"}, + "replicas": {"key": "replicas", "type": "int"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword scheduling: The kubernetes scheduling information. + :paramtype scheduling: ~azure_arc_data_management_client.models.K8SScheduling + :keyword replicas: This option specifies the number of SQL Managed Instance replicas that will + be deployed in your Kubernetes cluster for high availability purposes. If sku.tier is + BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is + GeneralPurpose, replicas must be '1'. + :paramtype replicas: int + """ + super(SqlManagedInstanceK8SSpec, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.scheduling = kwargs.get("scheduling", None) + self.replicas = kwargs.get("replicas", None) + + +class SqlManagedInstanceListResult(msrest.serialization.Model): + """A list of SqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.SqlManagedInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlManagedInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(SqlManagedInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SqlManagedInstanceProperties(msrest.serialization.Model): + """Properties of sqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar data_controller_id: null. + :vartype data_controller_id: str + :ivar admin: The instance admin user. + :vartype admin: str + :ivar start_time: The instance start time. + :vartype start_time: str + :ivar end_time: The instance end time. + :vartype end_time: str + :ivar k8_s_raw: The raw kubernetes information. + :vartype k8_s_raw: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SRaw + :ivar basic_login_information: Username and password for basic authentication. + :vartype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :vartype last_uploaded_date: ~datetime.datetime + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Managed Instance + resource. + :vartype provisioning_state: str + :ivar active_directory_information: Active Directory information related to this SQL Managed + Instance. + :vartype active_directory_information: + ~azure_arc_data_management_client.models.ActiveDirectoryInformation + :ivar license_type: The license type to apply for this managed instance. Possible values + include: "BasePrice", "LicenseIncluded", "DisasterRecovery". Default value: "BasePrice". + :vartype license_type: str or + ~azure_arc_data_management_client.models.ArcSqlManagedInstanceLicenseType + :ivar cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :vartype cluster_id: str + :ivar extension_id: If a CustomLocation is provided, this contains the ARM id of the extension + the custom location belongs to. + :vartype extension_id: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "data_controller_id": {"key": "dataControllerId", "type": "str"}, + "admin": {"key": "admin", "type": "str"}, + "start_time": {"key": "startTime", "type": "str"}, + "end_time": {"key": "endTime", "type": "str"}, + "k8_s_raw": {"key": "k8sRaw", "type": "SqlManagedInstanceK8SRaw"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "active_directory_information": { + "key": "activeDirectoryInformation", + "type": "ActiveDirectoryInformation", + }, + "license_type": {"key": "licenseType", "type": "str"}, + "cluster_id": {"key": "clusterId", "type": "str"}, + "extension_id": {"key": "extensionId", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword data_controller_id: null. + :paramtype data_controller_id: str + :keyword admin: The instance admin user. + :paramtype admin: str + :keyword start_time: The instance start time. + :paramtype start_time: str + :keyword end_time: The instance end time. + :paramtype end_time: str + :keyword k8_s_raw: The raw kubernetes information. + :paramtype k8_s_raw: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SRaw + :keyword basic_login_information: Username and password for basic authentication. + :paramtype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current + date time. + :paramtype last_uploaded_date: ~datetime.datetime + :keyword active_directory_information: Active Directory information related to this SQL Managed + Instance. + :paramtype active_directory_information: + ~azure_arc_data_management_client.models.ActiveDirectoryInformation + :keyword license_type: The license type to apply for this managed instance. Possible values + include: "BasePrice", "LicenseIncluded", "DisasterRecovery". Default value: "BasePrice". + :paramtype license_type: str or + ~azure_arc_data_management_client.models.ArcSqlManagedInstanceLicenseType + :keyword cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :paramtype cluster_id: str + :keyword extension_id: If a CustomLocation is provided, this contains the ARM id of the + extension the custom location belongs to. + :paramtype extension_id: str + """ + super(SqlManagedInstanceProperties, self).__init__(**kwargs) + self.data_controller_id = kwargs.get("data_controller_id", None) + self.admin = kwargs.get("admin", None) + self.start_time = kwargs.get("start_time", None) + self.end_time = kwargs.get("end_time", None) + self.k8_s_raw = kwargs.get("k8_s_raw", None) + self.basic_login_information = kwargs.get( + "basic_login_information", None + ) + self.last_uploaded_date = kwargs.get("last_uploaded_date", None) + self.provisioning_state = None + self.active_directory_information = kwargs.get( + "active_directory_information", None + ) + self.license_type = kwargs.get("license_type", "BasePrice") + self.cluster_id = kwargs.get("cluster_id", None) + self.extension_id = kwargs.get("extension_id", None) + + +class SqlManagedInstanceSku(msrest.serialization.Model): + """The resource model definition representing SKU for Azure Managed Instance - Azure Arc. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar name: The name of the SKU. Has constant value: "vCore". + :vartype name: str + :ivar tier: The pricing tier for the instance. Possible values include: "GeneralPurpose", + "BusinessCritical". Default value: "GeneralPurpose". + :vartype tier: str or ~azure_arc_data_management_client.models.SqlManagedInstanceSkuTier + :ivar dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used + for dev/test purpose. + :vartype dev: bool + :ivar size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :vartype size: str + :ivar family: The SKU family. + :vartype family: str + :ivar capacity: The SKU capacity. + :vartype capacity: int + """ + + _validation = { + "name": {"required": True, "constant": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "tier": {"key": "tier", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + } + + name = "vCore" + + def __init__(self, **kwargs): + """ + :keyword tier: The pricing tier for the instance. Possible values include: "GeneralPurpose", + "BusinessCritical". Default value: "GeneralPurpose". + :paramtype tier: str or ~azure_arc_data_management_client.models.SqlManagedInstanceSkuTier + :keyword dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :paramtype dev: bool + :keyword size: The SKU size. When the name field is the combination of tier and some other + value, this would be the standalone code. + :paramtype size: str + :keyword family: The SKU family. + :paramtype family: str + :keyword capacity: The SKU capacity. + :paramtype capacity: int + """ + super(SqlManagedInstanceSku, self).__init__(**kwargs) + self.tier = kwargs.get("tier", "GeneralPurpose") + self.dev = kwargs.get("dev", True) + self.size = kwargs.get("size", None) + self.family = kwargs.get("family", None) + self.capacity = kwargs.get("capacity", None) + + +class SqlManagedInstanceUpdate(msrest.serialization.Model): + """An update to a SQL Managed Instance. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + """ + super(SqlManagedInstanceUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + + +class SqlServerDatabaseResource(TrackedResource): + """Arc Sql Server database. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: Required. Properties of Arc Sql Server database. + :vartype properties: + ~azure_arc_data_management_client.models.SqlServerDatabaseResourceProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlServerDatabaseResourceProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: Required. Properties of Arc Sql Server database. + :paramtype properties: + ~azure_arc_data_management_client.models.SqlServerDatabaseResourceProperties + """ + super(SqlServerDatabaseResource, self).__init__(**kwargs) + self.properties = kwargs["properties"] + + +class SqlServerDatabaseResourceProperties(msrest.serialization.Model): + """The properties of Arc Sql Server database resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar collation_name: Collation of the database. + :vartype collation_name: str + :ivar database_creation_date: Creation date of the database. + :vartype database_creation_date: ~datetime.datetime + :ivar compatibility_level: Compatibility level of the database. + :vartype compatibility_level: int + :ivar size_mb: Size of the database. + :vartype size_mb: float + :ivar space_available_mb: Space left of the database. + :vartype space_available_mb: float + :ivar state: State of the database. Possible values include: "Online", "Restoring", + "Recovering", "RecoveryPending", "Suspect", "Emergency", "Offline", "Copying", + "OfflineSecondary". + :vartype state: str or ~azure_arc_data_management_client.models.DatabaseState + :ivar is_read_only: Whether the database is read only or not. + :vartype is_read_only: bool + :ivar recovery_mode: Status of the database. Possible values include: "Full", "Bulk-logged", + "Simple". + :vartype recovery_mode: str or ~azure_arc_data_management_client.models.RecoveryMode + :ivar database_options: List of features that are enabled for the database. + :vartype database_options: + ~azure_arc_data_management_client.models.SqlServerDatabaseResourcePropertiesDatabaseOptions + :ivar backup_information: + :vartype backup_information: + ~azure_arc_data_management_client.models.SqlServerDatabaseResourcePropertiesBackupInformation + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Server database + resource. + :vartype provisioning_state: str + """ + + _validation = { + "compatibility_level": {"maximum": 200, "minimum": 80}, + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "collation_name": {"key": "collationName", "type": "str"}, + "database_creation_date": { + "key": "databaseCreationDate", + "type": "iso-8601", + }, + "compatibility_level": {"key": "compatibilityLevel", "type": "int"}, + "size_mb": {"key": "sizeMB", "type": "float"}, + "space_available_mb": {"key": "spaceAvailableMB", "type": "float"}, + "state": {"key": "state", "type": "str"}, + "is_read_only": {"key": "isReadOnly", "type": "bool"}, + "recovery_mode": {"key": "recoveryMode", "type": "str"}, + "database_options": { + "key": "databaseOptions", + "type": "SqlServerDatabaseResourcePropertiesDatabaseOptions", + }, + "backup_information": { + "key": "backupInformation", + "type": "SqlServerDatabaseResourcePropertiesBackupInformation", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword collation_name: Collation of the database. + :paramtype collation_name: str + :keyword database_creation_date: Creation date of the database. + :paramtype database_creation_date: ~datetime.datetime + :keyword compatibility_level: Compatibility level of the database. + :paramtype compatibility_level: int + :keyword size_mb: Size of the database. + :paramtype size_mb: float + :keyword space_available_mb: Space left of the database. + :paramtype space_available_mb: float + :keyword state: State of the database. Possible values include: "Online", "Restoring", + "Recovering", "RecoveryPending", "Suspect", "Emergency", "Offline", "Copying", + "OfflineSecondary". + :paramtype state: str or ~azure_arc_data_management_client.models.DatabaseState + :keyword is_read_only: Whether the database is read only or not. + :paramtype is_read_only: bool + :keyword recovery_mode: Status of the database. Possible values include: "Full", "Bulk-logged", + "Simple". + :paramtype recovery_mode: str or ~azure_arc_data_management_client.models.RecoveryMode + :keyword database_options: List of features that are enabled for the database. + :paramtype database_options: + ~azure_arc_data_management_client.models.SqlServerDatabaseResourcePropertiesDatabaseOptions + :keyword backup_information: + :paramtype backup_information: + ~azure_arc_data_management_client.models.SqlServerDatabaseResourcePropertiesBackupInformation + """ + super(SqlServerDatabaseResourceProperties, self).__init__(**kwargs) + self.collation_name = kwargs.get("collation_name", None) + self.database_creation_date = kwargs.get("database_creation_date", None) + self.compatibility_level = kwargs.get("compatibility_level", None) + self.size_mb = kwargs.get("size_mb", None) + self.space_available_mb = kwargs.get("space_available_mb", None) + self.state = kwargs.get("state", None) + self.is_read_only = kwargs.get("is_read_only", None) + self.recovery_mode = kwargs.get("recovery_mode", None) + self.database_options = kwargs.get("database_options", None) + self.backup_information = kwargs.get("backup_information", None) + self.provisioning_state = None + + +class SqlServerDatabaseResourcePropertiesBackupInformation( + msrest.serialization.Model +): + """SqlServerDatabaseResourcePropertiesBackupInformation. + + :ivar last_full_backup: Date time of last full backup. + :vartype last_full_backup: ~datetime.datetime + :ivar last_log_backup: Date time of last log backup. + :vartype last_log_backup: ~datetime.datetime + """ + + _attribute_map = { + "last_full_backup": {"key": "lastFullBackup", "type": "iso-8601"}, + "last_log_backup": {"key": "lastLogBackup", "type": "iso-8601"}, + } + + def __init__(self, **kwargs): + """ + :keyword last_full_backup: Date time of last full backup. + :paramtype last_full_backup: ~datetime.datetime + :keyword last_log_backup: Date time of last log backup. + :paramtype last_log_backup: ~datetime.datetime + """ + super( + SqlServerDatabaseResourcePropertiesBackupInformation, self + ).__init__(**kwargs) + self.last_full_backup = kwargs.get("last_full_backup", None) + self.last_log_backup = kwargs.get("last_log_backup", None) + + +class SqlServerDatabaseResourcePropertiesDatabaseOptions( + msrest.serialization.Model +): + """List of features that are enabled for the database. + + :ivar is_auto_close_on: + :vartype is_auto_close_on: bool + :ivar is_auto_shrink_on: + :vartype is_auto_shrink_on: bool + :ivar is_auto_create_stats_on: + :vartype is_auto_create_stats_on: bool + :ivar is_auto_update_stats_on: + :vartype is_auto_update_stats_on: bool + :ivar is_remote_data_archive_enabled: + :vartype is_remote_data_archive_enabled: bool + :ivar is_memory_optimization_enabled: + :vartype is_memory_optimization_enabled: bool + :ivar is_encrypted: + :vartype is_encrypted: bool + :ivar is_trustworthy_on: + :vartype is_trustworthy_on: bool + """ + + _attribute_map = { + "is_auto_close_on": {"key": "isAutoCloseOn", "type": "bool"}, + "is_auto_shrink_on": {"key": "isAutoShrinkOn", "type": "bool"}, + "is_auto_create_stats_on": { + "key": "isAutoCreateStatsOn", + "type": "bool", + }, + "is_auto_update_stats_on": { + "key": "isAutoUpdateStatsOn", + "type": "bool", + }, + "is_remote_data_archive_enabled": { + "key": "isRemoteDataArchiveEnabled", + "type": "bool", + }, + "is_memory_optimization_enabled": { + "key": "isMemoryOptimizationEnabled", + "type": "bool", + }, + "is_encrypted": {"key": "isEncrypted", "type": "bool"}, + "is_trustworthy_on": {"key": "isTrustworthyOn", "type": "bool"}, + } + + def __init__(self, **kwargs): + """ + :keyword is_auto_close_on: + :paramtype is_auto_close_on: bool + :keyword is_auto_shrink_on: + :paramtype is_auto_shrink_on: bool + :keyword is_auto_create_stats_on: + :paramtype is_auto_create_stats_on: bool + :keyword is_auto_update_stats_on: + :paramtype is_auto_update_stats_on: bool + :keyword is_remote_data_archive_enabled: + :paramtype is_remote_data_archive_enabled: bool + :keyword is_memory_optimization_enabled: + :paramtype is_memory_optimization_enabled: bool + :keyword is_encrypted: + :paramtype is_encrypted: bool + :keyword is_trustworthy_on: + :paramtype is_trustworthy_on: bool + """ + super( + SqlServerDatabaseResourcePropertiesDatabaseOptions, self + ).__init__(**kwargs) + self.is_auto_close_on = kwargs.get("is_auto_close_on", None) + self.is_auto_shrink_on = kwargs.get("is_auto_shrink_on", None) + self.is_auto_create_stats_on = kwargs.get( + "is_auto_create_stats_on", None + ) + self.is_auto_update_stats_on = kwargs.get( + "is_auto_update_stats_on", None + ) + self.is_remote_data_archive_enabled = kwargs.get( + "is_remote_data_archive_enabled", None + ) + self.is_memory_optimization_enabled = kwargs.get( + "is_memory_optimization_enabled", None + ) + self.is_encrypted = kwargs.get("is_encrypted", None) + self.is_trustworthy_on = kwargs.get("is_trustworthy_on", None) + + +class SqlServerDatabaseUpdate(msrest.serialization.Model): + """An update to database resource. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: The data controller's properties. + :vartype properties: + ~azure_arc_data_management_client.models.SqlServerDatabaseResourceProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": { + "key": "properties", + "type": "SqlServerDatabaseResourceProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The data controller's properties. + :paramtype properties: + ~azure_arc_data_management_client.models.SqlServerDatabaseResourceProperties + """ + super(SqlServerDatabaseUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + self.properties = kwargs.get("properties", None) + + +class SqlServerInstance(TrackedResource): + """A SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: null. + :vartype properties: ~azure_arc_data_management_client.models.SqlServerInstanceProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlServerInstanceProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: null. + :paramtype properties: ~azure_arc_data_management_client.models.SqlServerInstanceProperties + """ + super(SqlServerInstance, self).__init__(**kwargs) + self.properties = kwargs.get("properties", None) + + +class SqlServerInstanceListResult(msrest.serialization.Model): + """A list of SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.SqlServerInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlServerInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(SqlServerInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SqlServerInstanceProperties(msrest.serialization.Model): + """Properties of SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar version: SQL Server version. Possible values include: "SQL Server 2012", "SQL Server + 2014", "SQL Server 2016", "SQL Server 2017", "SQL Server 2019", "SQL Server 2022", "Unknown". + :vartype version: str or ~azure_arc_data_management_client.models.SqlVersion + :ivar edition: SQL Server edition. Possible values include: "Evaluation", "Enterprise", + "Standard", "Web", "Developer", "Express", "Business Intelligence". + :vartype edition: str or ~azure_arc_data_management_client.models.EditionType + :ivar container_resource_id: Required. ARM Resource id of the container resource (Azure Arc for + Servers). + :vartype container_resource_id: str + :ivar create_time: The time when the resource was created. + :vartype create_time: str + :ivar v_core: The number of logical processors used by the SQL Server instance. + :vartype v_core: str + :ivar cores: The number of total cores of the Operating System Environment (OSE) hosting the + SQL Server instance. + :vartype cores: str + :ivar status: Required. The cloud connectivity status. Possible values include: "Connected", + "Disconnected", "Registered", "Unknown". + :vartype status: str or ~azure_arc_data_management_client.models.ConnectionStatus + :ivar patch_level: SQL Server update level. + :vartype patch_level: str + :ivar collation: SQL Server collation. + :vartype collation: str + :ivar current_version: SQL Server current version. + :vartype current_version: str + :ivar instance_name: SQL Server instance name. + :vartype instance_name: str + :ivar tcp_dynamic_ports: Dynamic TCP ports used by SQL Server. + :vartype tcp_dynamic_ports: str + :ivar tcp_static_ports: Static TCP ports used by SQL Server. + :vartype tcp_static_ports: str + :ivar product_id: SQL Server product ID. + :vartype product_id: str + :ivar license_type: SQL Server license type. Possible values include: "Undefined", "Free", + "HADR", "ServerCAL", "LicenseOnly", "PAYG", "Paid". + :vartype license_type: str or ~azure_arc_data_management_client.models.ArcSqlServerLicenseType + :ivar azure_defender_status_last_updated: Timestamp of last Azure Defender status update. + :vartype azure_defender_status_last_updated: ~datetime.datetime + :ivar azure_defender_status: Status of Azure Defender. Possible values include: "Protected", + "Unprotected", "Unknown". + :vartype azure_defender_status: str or ~azure_arc_data_management_client.models.DefenderStatus + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Server resource. + :vartype provisioning_state: str + :ivar host_type: Type of host for Azure Arc SQL Server. Possible values include: "Azure Virtual + Machine", "Azure VMWare Virtual Machine", "Azure Kubernetes Service", "AWS VMWare Virtual + Machine", "AWS Kubernetes Service", "GCP VMWare Virtual Machine", "GCP Kubernetes Service", + "Container", "Virtual Machine", "Physical Server", "AWS Virtual Machine", "GCP Virtual + Machine", "Other". + :vartype host_type: str or ~azure_arc_data_management_client.models.HostType + """ + + _validation = { + "container_resource_id": {"required": True}, + "create_time": {"readonly": True}, + "status": {"required": True}, + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "version": {"key": "version", "type": "str"}, + "edition": {"key": "edition", "type": "str"}, + "container_resource_id": {"key": "containerResourceId", "type": "str"}, + "create_time": {"key": "createTime", "type": "str"}, + "v_core": {"key": "vCore", "type": "str"}, + "cores": {"key": "cores", "type": "str"}, + "status": {"key": "status", "type": "str"}, + "patch_level": {"key": "patchLevel", "type": "str"}, + "collation": {"key": "collation", "type": "str"}, + "current_version": {"key": "currentVersion", "type": "str"}, + "instance_name": {"key": "instanceName", "type": "str"}, + "tcp_dynamic_ports": {"key": "tcpDynamicPorts", "type": "str"}, + "tcp_static_ports": {"key": "tcpStaticPorts", "type": "str"}, + "product_id": {"key": "productId", "type": "str"}, + "license_type": {"key": "licenseType", "type": "str"}, + "azure_defender_status_last_updated": { + "key": "azureDefenderStatusLastUpdated", + "type": "iso-8601", + }, + "azure_defender_status": {"key": "azureDefenderStatus", "type": "str"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "host_type": {"key": "hostType", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword version: SQL Server version. Possible values include: "SQL Server 2012", "SQL Server + 2014", "SQL Server 2016", "SQL Server 2017", "SQL Server 2019", "SQL Server 2022", "Unknown". + :paramtype version: str or ~azure_arc_data_management_client.models.SqlVersion + :keyword edition: SQL Server edition. Possible values include: "Evaluation", "Enterprise", + "Standard", "Web", "Developer", "Express", "Business Intelligence". + :paramtype edition: str or ~azure_arc_data_management_client.models.EditionType + :keyword container_resource_id: Required. ARM Resource id of the container resource (Azure Arc + for Servers). + :paramtype container_resource_id: str + :keyword v_core: The number of logical processors used by the SQL Server instance. + :paramtype v_core: str + :keyword cores: The number of total cores of the Operating System Environment (OSE) hosting the + SQL Server instance. + :paramtype cores: str + :keyword status: Required. The cloud connectivity status. Possible values include: "Connected", + "Disconnected", "Registered", "Unknown". + :paramtype status: str or ~azure_arc_data_management_client.models.ConnectionStatus + :keyword patch_level: SQL Server update level. + :paramtype patch_level: str + :keyword collation: SQL Server collation. + :paramtype collation: str + :keyword current_version: SQL Server current version. + :paramtype current_version: str + :keyword instance_name: SQL Server instance name. + :paramtype instance_name: str + :keyword tcp_dynamic_ports: Dynamic TCP ports used by SQL Server. + :paramtype tcp_dynamic_ports: str + :keyword tcp_static_ports: Static TCP ports used by SQL Server. + :paramtype tcp_static_ports: str + :keyword product_id: SQL Server product ID. + :paramtype product_id: str + :keyword license_type: SQL Server license type. Possible values include: "Undefined", "Free", + "HADR", "ServerCAL", "LicenseOnly", "PAYG", "Paid". + :paramtype license_type: str or + ~azure_arc_data_management_client.models.ArcSqlServerLicenseType + :keyword azure_defender_status_last_updated: Timestamp of last Azure Defender status update. + :paramtype azure_defender_status_last_updated: ~datetime.datetime + :keyword azure_defender_status: Status of Azure Defender. Possible values include: "Protected", + "Unprotected", "Unknown". + :paramtype azure_defender_status: str or + ~azure_arc_data_management_client.models.DefenderStatus + :keyword host_type: Type of host for Azure Arc SQL Server. Possible values include: "Azure + Virtual Machine", "Azure VMWare Virtual Machine", "Azure Kubernetes Service", "AWS VMWare + Virtual Machine", "AWS Kubernetes Service", "GCP VMWare Virtual Machine", "GCP Kubernetes + Service", "Container", "Virtual Machine", "Physical Server", "AWS Virtual Machine", "GCP + Virtual Machine", "Other". + :paramtype host_type: str or ~azure_arc_data_management_client.models.HostType + """ + super(SqlServerInstanceProperties, self).__init__(**kwargs) + self.version = kwargs.get("version", None) + self.edition = kwargs.get("edition", None) + self.container_resource_id = kwargs["container_resource_id"] + self.create_time = None + self.v_core = kwargs.get("v_core", None) + self.cores = kwargs.get("cores", None) + self.status = kwargs["status"] + self.patch_level = kwargs.get("patch_level", None) + self.collation = kwargs.get("collation", None) + self.current_version = kwargs.get("current_version", None) + self.instance_name = kwargs.get("instance_name", None) + self.tcp_dynamic_ports = kwargs.get("tcp_dynamic_ports", None) + self.tcp_static_ports = kwargs.get("tcp_static_ports", None) + self.product_id = kwargs.get("product_id", None) + self.license_type = kwargs.get("license_type", None) + self.azure_defender_status_last_updated = kwargs.get( + "azure_defender_status_last_updated", None + ) + self.azure_defender_status = kwargs.get("azure_defender_status", None) + self.provisioning_state = None + self.host_type = kwargs.get("host_type", None) + + +class SqlServerInstanceUpdate(msrest.serialization.Model): + """An update to a SQL Server Instance. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + """ + super(SqlServerInstanceUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :ivar created_by: The identity that created the resource. + :vartype created_by: str + :ivar created_by_type: The type of identity that created the resource. Possible values include: + "User", "Application", "ManagedIdentity", "Key". + :vartype created_by_type: str or ~azure_arc_data_management_client.models.CreatedByType + :ivar created_at: The timestamp of resource creation (UTC). + :vartype created_at: ~datetime.datetime + :ivar last_modified_by: The identity that last modified the resource. + :vartype last_modified_by: str + :ivar last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :vartype last_modified_by_type: str or ~azure_arc_data_management_client.models.CreatedByType + :ivar last_modified_at: The timestamp of resource last modification (UTC). + :vartype last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + "created_by": {"key": "createdBy", "type": "str"}, + "created_by_type": {"key": "createdByType", "type": "str"}, + "created_at": {"key": "createdAt", "type": "iso-8601"}, + "last_modified_by": {"key": "lastModifiedBy", "type": "str"}, + "last_modified_by_type": {"key": "lastModifiedByType", "type": "str"}, + "last_modified_at": {"key": "lastModifiedAt", "type": "iso-8601"}, + } + + def __init__(self, **kwargs): + """ + :keyword created_by: The identity that created the resource. + :paramtype created_by: str + :keyword created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :paramtype created_by_type: str or ~azure_arc_data_management_client.models.CreatedByType + :keyword created_at: The timestamp of resource creation (UTC). + :paramtype created_at: ~datetime.datetime + :keyword last_modified_by: The identity that last modified the resource. + :paramtype last_modified_by: str + :keyword last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :paramtype last_modified_by_type: str or ~azure_arc_data_management_client.models.CreatedByType + :keyword last_modified_at: The timestamp of resource last modification (UTC). + :paramtype last_modified_at: ~datetime.datetime + """ + super(SystemData, self).__init__(**kwargs) + self.created_by = kwargs.get("created_by", None) + self.created_by_type = kwargs.get("created_by_type", None) + self.created_at = kwargs.get("created_at", None) + self.last_modified_by = kwargs.get("last_modified_by", None) + self.last_modified_by_type = kwargs.get("last_modified_by_type", None) + self.last_modified_at = kwargs.get("last_modified_at", None) + + +class UploadServicePrincipal(msrest.serialization.Model): + """Service principal for uploading billing, metrics and logs. + + :ivar client_id: Client ID of the service principal for uploading data. + :vartype client_id: str + :ivar tenant_id: Tenant ID of the service principal. + :vartype tenant_id: str + :ivar authority: Authority for the service principal. Example: + https://login.microsoftonline.com/. + :vartype authority: str + :ivar client_secret: Secret of the service principal. + :vartype client_secret: str + """ + + _attribute_map = { + "client_id": {"key": "clientId", "type": "str"}, + "tenant_id": {"key": "tenantId", "type": "str"}, + "authority": {"key": "authority", "type": "str"}, + "client_secret": {"key": "clientSecret", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword client_id: Client ID of the service principal for uploading data. + :paramtype client_id: str + :keyword tenant_id: Tenant ID of the service principal. + :paramtype tenant_id: str + :keyword authority: Authority for the service principal. Example: + https://login.microsoftonline.com/. + :paramtype authority: str + :keyword client_secret: Secret of the service principal. + :paramtype client_secret: str + """ + super(UploadServicePrincipal, self).__init__(**kwargs) + self.client_id = kwargs.get("client_id", None) + self.tenant_id = kwargs.get("tenant_id", None) + self.authority = kwargs.get("authority", None) + self.client_secret = kwargs.get("client_secret", None) + + +class UploadWatermark(msrest.serialization.Model): + """Properties on upload watermark. Mostly timestamp for each upload data type. + + :ivar metrics: Last uploaded date for metrics from kubernetes cluster. Defaults to current date + time. + :vartype metrics: ~datetime.datetime + :ivar logs: Last uploaded date for logs from kubernetes cluster. Defaults to current date time. + :vartype logs: ~datetime.datetime + :ivar usages: Last uploaded date for usages from kubernetes cluster. Defaults to current date + time. + :vartype usages: ~datetime.datetime + """ + + _attribute_map = { + "metrics": {"key": "metrics", "type": "iso-8601"}, + "logs": {"key": "logs", "type": "iso-8601"}, + "usages": {"key": "usages", "type": "iso-8601"}, + } + + def __init__(self, **kwargs): + """ + :keyword metrics: Last uploaded date for metrics from kubernetes cluster. Defaults to current + date time. + :paramtype metrics: ~datetime.datetime + :keyword logs: Last uploaded date for logs from kubernetes cluster. Defaults to current date + time. + :paramtype logs: ~datetime.datetime + :keyword usages: Last uploaded date for usages from kubernetes cluster. Defaults to current + date time. + :paramtype usages: ~datetime.datetime + """ + super(UploadWatermark, self).__init__(**kwargs) + self.metrics = kwargs.get("metrics", None) + self.logs = kwargs.get("logs", None) + self.usages = kwargs.get("usages", None) diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/models/_models_py3.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/models/_models_py3.py new file mode 100644 index 00000000000..03ef3d4590c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/models/_models_py3.py @@ -0,0 +1,3453 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import datetime +from typing import Any, Dict, List, Optional, Union + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + +from ._azure_arc_data_management_client_enums import * + + +class ActiveDirectoryConnectorDNSDetails(msrest.serialization.Model): + """DNS server details. + + All required parameters must be populated in order to send to Azure. + + :ivar domain_name: DNS domain name for which DNS lookups should be forwarded to the Active + Directory DNS servers. + :vartype domain_name: str + :ivar nameserver_ip_addresses: Required. List of Active Directory DNS server IP addresses. + :vartype nameserver_ip_addresses: list[str] + :ivar replicas: Replica count for DNS proxy service. Default value is 1. + :vartype replicas: long + :ivar prefer_k8_s_dns_for_ptr_lookups: Flag indicating whether to prefer Kubernetes DNS server + response over AD DNS server response for IP address lookups. + :vartype prefer_k8_s_dns_for_ptr_lookups: bool + """ + + _validation = { + "nameserver_ip_addresses": {"required": True}, + } + + _attribute_map = { + "domain_name": {"key": "domainName", "type": "str"}, + "nameserver_ip_addresses": { + "key": "nameserverIPAddresses", + "type": "[str]", + }, + "replicas": {"key": "replicas", "type": "long"}, + "prefer_k8_s_dns_for_ptr_lookups": { + "key": "preferK8sDnsForPtrLookups", + "type": "bool", + }, + } + + def __init__( + self, + *, + nameserver_ip_addresses: List[str], + domain_name: Optional[str] = None, + replicas: Optional[int] = 1, + prefer_k8_s_dns_for_ptr_lookups: Optional[bool] = True, + **kwargs, + ): + """ + :keyword domain_name: DNS domain name for which DNS lookups should be forwarded to the Active + Directory DNS servers. + :paramtype domain_name: str + :keyword nameserver_ip_addresses: Required. List of Active Directory DNS server IP addresses. + :paramtype nameserver_ip_addresses: list[str] + :keyword replicas: Replica count for DNS proxy service. Default value is 1. + :paramtype replicas: long + :keyword prefer_k8_s_dns_for_ptr_lookups: Flag indicating whether to prefer Kubernetes DNS + server response over AD DNS server response for IP address lookups. + :paramtype prefer_k8_s_dns_for_ptr_lookups: bool + """ + super(ActiveDirectoryConnectorDNSDetails, self).__init__(**kwargs) + self.domain_name = domain_name + self.nameserver_ip_addresses = nameserver_ip_addresses + self.replicas = replicas + self.prefer_k8_s_dns_for_ptr_lookups = prefer_k8_s_dns_for_ptr_lookups + + +class ActiveDirectoryConnectorDomainDetails(msrest.serialization.Model): + """Active Directory domain details. + + All required parameters must be populated in order to send to Azure. + + :ivar realm: Required. Name (uppercase) of the Active Directory domain that this AD connector + will be associated with. + :vartype realm: str + :ivar netbios_domain_name: NETBIOS name of the Active Directory domain. + :vartype netbios_domain_name: str + :ivar service_account_provisioning: The service account provisioning mode for this Active + Directory connector. Possible values include: "automatic", "manual". Default value: "manual". + :vartype service_account_provisioning: str or + ~azure_arc_data_management_client.models.AccountProvisioningMode + :ivar ou_distinguished_name: The distinguished name of the Active Directory Organizational + Unit. + :vartype ou_distinguished_name: str + :ivar domain_controllers: null. + :vartype domain_controllers: + ~azure_arc_data_management_client.models.ActiveDirectoryDomainControllers + """ + + _validation = { + "realm": {"required": True}, + } + + _attribute_map = { + "realm": {"key": "realm", "type": "str"}, + "netbios_domain_name": {"key": "netbiosDomainName", "type": "str"}, + "service_account_provisioning": { + "key": "serviceAccountProvisioning", + "type": "str", + }, + "ou_distinguished_name": {"key": "ouDistinguishedName", "type": "str"}, + "domain_controllers": { + "key": "domainControllers", + "type": "ActiveDirectoryDomainControllers", + }, + } + + def __init__( + self, + *, + realm: str, + netbios_domain_name: Optional[str] = None, + service_account_provisioning: Optional[ + Union[str, "AccountProvisioningMode"] + ] = "manual", + ou_distinguished_name: Optional[str] = None, + domain_controllers: Optional["ActiveDirectoryDomainControllers"] = None, + **kwargs, + ): + """ + :keyword realm: Required. Name (uppercase) of the Active Directory domain that this AD + connector will be associated with. + :paramtype realm: str + :keyword netbios_domain_name: NETBIOS name of the Active Directory domain. + :paramtype netbios_domain_name: str + :keyword service_account_provisioning: The service account provisioning mode for this Active + Directory connector. Possible values include: "automatic", "manual". Default value: "manual". + :paramtype service_account_provisioning: str or + ~azure_arc_data_management_client.models.AccountProvisioningMode + :keyword ou_distinguished_name: The distinguished name of the Active Directory Organizational + Unit. + :paramtype ou_distinguished_name: str + :keyword domain_controllers: null. + :paramtype domain_controllers: + ~azure_arc_data_management_client.models.ActiveDirectoryDomainControllers + """ + super(ActiveDirectoryConnectorDomainDetails, self).__init__(**kwargs) + self.realm = realm + self.netbios_domain_name = netbios_domain_name + self.service_account_provisioning = service_account_provisioning + self.ou_distinguished_name = ou_distinguished_name + self.domain_controllers = domain_controllers + + +class ActiveDirectoryConnectorListResult(msrest.serialization.Model): + """A list of active directory connectors. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.ActiveDirectoryConnectorResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[ActiveDirectoryConnectorResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(ActiveDirectoryConnectorListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ActiveDirectoryConnectorProperties(msrest.serialization.Model): + """The properties of an Active Directory connector resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar domain_service_account_login_information: Username and password for domain service + account authentication. + :vartype domain_service_account_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar provisioning_state: The provisioning state of the Active Directory connector resource. + :vartype provisioning_state: str + :ivar spec: Required. null. + :vartype spec: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorSpec + :ivar status: null. + :vartype status: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorStatus + """ + + _validation = { + "provisioning_state": {"readonly": True}, + "spec": {"required": True}, + } + + _attribute_map = { + "domain_service_account_login_information": { + "key": "domainServiceAccountLoginInformation", + "type": "BasicLoginInformation", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "spec": {"key": "spec", "type": "ActiveDirectoryConnectorSpec"}, + "status": {"key": "status", "type": "ActiveDirectoryConnectorStatus"}, + } + + def __init__( + self, + *, + spec: "ActiveDirectoryConnectorSpec", + domain_service_account_login_information: Optional[ + "BasicLoginInformation" + ] = None, + status: Optional["ActiveDirectoryConnectorStatus"] = None, + **kwargs, + ): + """ + :keyword domain_service_account_login_information: Username and password for domain service + account authentication. + :paramtype domain_service_account_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword spec: Required. null. + :paramtype spec: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorSpec + :keyword status: null. + :paramtype status: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorStatus + """ + super(ActiveDirectoryConnectorProperties, self).__init__(**kwargs) + self.domain_service_account_login_information = ( + domain_service_account_login_information + ) + self.provisioning_state = None + self.spec = spec + self.status = status + + +class Resource(msrest.serialization.Model): + """Common fields that are returned in the response for all Azure Resource Manager resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + } + + def __init__(self, **kwargs): + """ """ + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.system_data = None + + +class ProxyResource(Resource): + """The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + } + + def __init__(self, **kwargs): + """ """ + super(ProxyResource, self).__init__(**kwargs) + + +class ActiveDirectoryConnectorResource(ProxyResource): + """Active directory connector resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar properties: Required. null. + :vartype properties: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "properties": { + "key": "properties", + "type": "ActiveDirectoryConnectorProperties", + }, + } + + def __init__( + self, *, properties: "ActiveDirectoryConnectorProperties", **kwargs + ): + """ + :keyword properties: Required. null. + :paramtype properties: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorProperties + """ + super(ActiveDirectoryConnectorResource, self).__init__(**kwargs) + self.properties = properties + + +class ActiveDirectoryConnectorSpec(msrest.serialization.Model): + """The specifications of the AD Kubernetes resource. + + All required parameters must be populated in order to send to Azure. + + :ivar active_directory: Required. null. + :vartype active_directory: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorDomainDetails + :ivar dns: Required. null. + :vartype dns: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorDNSDetails + """ + + _validation = { + "active_directory": {"required": True}, + "dns": {"required": True}, + } + + _attribute_map = { + "active_directory": { + "key": "activeDirectory", + "type": "ActiveDirectoryConnectorDomainDetails", + }, + "dns": {"key": "dns", "type": "ActiveDirectoryConnectorDNSDetails"}, + } + + def __init__( + self, + *, + active_directory: "ActiveDirectoryConnectorDomainDetails", + dns: "ActiveDirectoryConnectorDNSDetails", + **kwargs, + ): + """ + :keyword active_directory: Required. null. + :paramtype active_directory: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorDomainDetails + :keyword dns: Required. null. + :paramtype dns: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorDNSDetails + """ + super(ActiveDirectoryConnectorSpec, self).__init__(**kwargs) + self.active_directory = active_directory + self.dns = dns + + +class ActiveDirectoryConnectorStatus(msrest.serialization.Model): + """The status of the Kubernetes custom resource. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar last_update_time: The time that the custom resource was last updated. + :vartype last_update_time: str + :ivar observed_generation: The version of the replicaSet associated with the AD connector + custom resource. + :vartype observed_generation: long + :ivar state: The state of the AD connector custom resource. + :vartype state: str + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "last_update_time": {"key": "lastUpdateTime", "type": "str"}, + "observed_generation": {"key": "observedGeneration", "type": "long"}, + "state": {"key": "state", "type": "str"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + last_update_time: Optional[str] = None, + observed_generation: Optional[int] = None, + state: Optional[str] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword last_update_time: The time that the custom resource was last updated. + :paramtype last_update_time: str + :keyword observed_generation: The version of the replicaSet associated with the AD connector + custom resource. + :paramtype observed_generation: long + :keyword state: The state of the AD connector custom resource. + :paramtype state: str + """ + super(ActiveDirectoryConnectorStatus, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.last_update_time = last_update_time + self.observed_generation = observed_generation + self.state = state + + +class ActiveDirectoryDomainController(msrest.serialization.Model): + """Information about a domain controller in the AD domain. + + All required parameters must be populated in order to send to Azure. + + :ivar hostname: Required. Fully-qualified domain name of a domain controller in the AD domain. + :vartype hostname: str + """ + + _validation = { + "hostname": {"required": True}, + } + + _attribute_map = { + "hostname": {"key": "hostname", "type": "str"}, + } + + def __init__(self, *, hostname: str, **kwargs): + """ + :keyword hostname: Required. Fully-qualified domain name of a domain controller in the AD + domain. + :paramtype hostname: str + """ + super(ActiveDirectoryDomainController, self).__init__(**kwargs) + self.hostname = hostname + + +class ActiveDirectoryDomainControllers(msrest.serialization.Model): + """Details about the Active Directory domain controllers associated with this AD connector instance. + + :ivar primary_domain_controller: Information about the Primary Domain Controller (PDC) in the + AD domain. + :vartype primary_domain_controller: + ~azure_arc_data_management_client.models.ActiveDirectoryDomainController + :ivar secondary_domain_controllers: null. + :vartype secondary_domain_controllers: + list[~azure_arc_data_management_client.models.ActiveDirectoryDomainController] + """ + + _attribute_map = { + "primary_domain_controller": { + "key": "primaryDomainController", + "type": "ActiveDirectoryDomainController", + }, + "secondary_domain_controllers": { + "key": "secondaryDomainControllers", + "type": "[ActiveDirectoryDomainController]", + }, + } + + def __init__( + self, + *, + primary_domain_controller: Optional[ + "ActiveDirectoryDomainController" + ] = None, + secondary_domain_controllers: Optional[ + List["ActiveDirectoryDomainController"] + ] = None, + **kwargs, + ): + """ + :keyword primary_domain_controller: Information about the Primary Domain Controller (PDC) in + the AD domain. + :paramtype primary_domain_controller: + ~azure_arc_data_management_client.models.ActiveDirectoryDomainController + :keyword secondary_domain_controllers: null. + :paramtype secondary_domain_controllers: + list[~azure_arc_data_management_client.models.ActiveDirectoryDomainController] + """ + super(ActiveDirectoryDomainControllers, self).__init__(**kwargs) + self.primary_domain_controller = primary_domain_controller + self.secondary_domain_controllers = secondary_domain_controllers + + +class ActiveDirectoryInformation(msrest.serialization.Model): + """Active Directory information that related to the resource. + + :ivar keytab_information: Keytab information that is used for the Sql Managed Instance when + Active Directory authentication is used. + :vartype keytab_information: ~azure_arc_data_management_client.models.KeytabInformation + """ + + _attribute_map = { + "keytab_information": { + "key": "keytabInformation", + "type": "KeytabInformation", + }, + } + + def __init__( + self, + *, + keytab_information: Optional["KeytabInformation"] = None, + **kwargs, + ): + """ + :keyword keytab_information: Keytab information that is used for the Sql Managed Instance when + Active Directory authentication is used. + :paramtype keytab_information: ~azure_arc_data_management_client.models.KeytabInformation + """ + super(ActiveDirectoryInformation, self).__init__(**kwargs) + self.keytab_information = keytab_information + + +class AGReplicas(msrest.serialization.Model): + """The information about each failover group replica. + + :ivar health_state: The health state of the replica. + :vartype health_state: str + :ivar replica_name: The replica name. + :vartype replica_name: str + :ivar role: The role of the replica. + :vartype role: str + :ivar connected_state: The connected state. + :vartype connected_state: str + :ivar synchronization_state: The synchronization state. + :vartype synchronization_state: str + :ivar availability_mode: The availability mode. + :vartype availability_mode: str + :ivar secondary_role_allow_connections: The secondary role allowed connections. + :vartype secondary_role_allow_connections: str + """ + + _attribute_map = { + "health_state": {"key": "healthState", "type": "str"}, + "replica_name": {"key": "replicaName", "type": "str"}, + "role": {"key": "role", "type": "str"}, + "connected_state": {"key": "connectedState", "type": "str"}, + "synchronization_state": {"key": "synchronizationState", "type": "str"}, + "availability_mode": {"key": "availabilityMode", "type": "str"}, + "secondary_role_allow_connections": { + "key": "secondaryRoleAllowConnections", + "type": "str", + }, + } + + def __init__( + self, + *, + health_state: Optional[str] = None, + replica_name: Optional[str] = None, + role: Optional[str] = None, + connected_state: Optional[str] = None, + synchronization_state: Optional[str] = None, + availability_mode: Optional[str] = None, + secondary_role_allow_connections: Optional[str] = None, + **kwargs, + ): + """ + :keyword health_state: The health state of the replica. + :paramtype health_state: str + :keyword replica_name: The replica name. + :paramtype replica_name: str + :keyword role: The role of the replica. + :paramtype role: str + :keyword connected_state: The connected state. + :paramtype connected_state: str + :keyword synchronization_state: The synchronization state. + :paramtype synchronization_state: str + :keyword availability_mode: The availability mode. + :paramtype availability_mode: str + :keyword secondary_role_allow_connections: The secondary role allowed connections. + :paramtype secondary_role_allow_connections: str + """ + super(AGReplicas, self).__init__(**kwargs) + self.health_state = health_state + self.replica_name = replica_name + self.role = role + self.connected_state = connected_state + self.synchronization_state = synchronization_state + self.availability_mode = availability_mode + self.secondary_role_allow_connections = secondary_role_allow_connections + + +class ArcSqlServerDatabaseListResult(msrest.serialization.Model): + """A list of Arc Sql Server database. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of Arc Sql Server database. + :vartype value: list[~azure_arc_data_management_client.models.SqlServerDatabaseResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlServerDatabaseResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(ArcSqlServerDatabaseListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class BasicLoginInformation(msrest.serialization.Model): + """Username and password for basic login authentication. + + :ivar username: Login username. + :vartype username: str + :ivar password: Login password. + :vartype password: str + """ + + _attribute_map = { + "username": {"key": "username", "type": "str"}, + "password": {"key": "password", "type": "str"}, + } + + def __init__( + self, + *, + username: Optional[str] = None, + password: Optional[str] = None, + **kwargs, + ): + """ + :keyword username: Login username. + :paramtype username: str + :keyword password: Login password. + :paramtype password: str + """ + super(BasicLoginInformation, self).__init__(**kwargs) + self.username = username + self.password = password + + +class CommonSku(msrest.serialization.Model): + """The resource model definition representing SKU for ARM resources. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the SKU. It is typically a letter+number code. + :vartype name: str + :ivar dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used + for dev/test purpose. + :vartype dev: bool + :ivar size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :vartype size: str + :ivar family: If the service has different generations of hardware, for the same SKU, then that + can be captured here. + :vartype family: str + :ivar capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :vartype capacity: int + """ + + _validation = { + "name": {"required": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + } + + def __init__( + self, + *, + name: str, + dev: Optional[bool] = True, + size: Optional[str] = None, + family: Optional[str] = None, + capacity: Optional[int] = None, + **kwargs, + ): + """ + :keyword name: Required. The name of the SKU. It is typically a letter+number code. + :paramtype name: str + :keyword dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :paramtype dev: bool + :keyword size: The SKU size. When the name field is the combination of tier and some other + value, this would be the standalone code. + :paramtype size: str + :keyword family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :paramtype family: str + :keyword capacity: If the SKU supports scale out/in then the capacity integer should be + included. If scale out/in is not possible for the resource this may be omitted. + :paramtype capacity: int + """ + super(CommonSku, self).__init__(**kwargs) + self.name = name + self.dev = dev + self.size = size + self.family = family + self.capacity = capacity + + +class DataControllerProperties(msrest.serialization.Model): + """The data controller properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar infrastructure: The infrastructure the data controller is running on. Possible values + include: "azure", "gcp", "aws", "alibaba", "onpremises", "other". Default value: "other". + :vartype infrastructure: str or ~azure_arc_data_management_client.models.Infrastructure + :ivar on_premise_property: Properties from the Kubernetes data controller. + :vartype on_premise_property: ~azure_arc_data_management_client.models.OnPremiseProperty + :ivar k8_s_raw: The raw kubernetes information. + :vartype k8_s_raw: any + :ivar upload_watermark: Properties on upload watermark. Mostly timestamp for each upload data + type. + :vartype upload_watermark: ~azure_arc_data_management_client.models.UploadWatermark + :ivar last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :vartype last_uploaded_date: ~datetime.datetime + :ivar basic_login_information: Deprecated. Azure Arc Data Services data controller no longer + expose any endpoint. All traffic are exposed through Kubernetes native API. + :vartype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar metrics_dashboard_credential: Login credential for metrics dashboard on the Kubernetes + cluster. + :vartype metrics_dashboard_credential: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar logs_dashboard_credential: Login credential for logs dashboard on the Kubernetes cluster. + :vartype logs_dashboard_credential: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar log_analytics_workspace_config: Log analytics workspace id and primary key. + :vartype log_analytics_workspace_config: + ~azure_arc_data_management_client.models.LogAnalyticsWorkspaceConfig + :ivar upload_service_principal: Deprecated. Service principal is deprecated in favor of Arc + Kubernetes service extension managed identity. + :vartype upload_service_principal: + ~azure_arc_data_management_client.models.UploadServicePrincipal + :ivar provisioning_state: The provisioning state of the Arc Data Controller resource. + :vartype provisioning_state: str + :ivar cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :vartype cluster_id: str + :ivar extension_id: If a CustomLocation is provided, this contains the ARM id of the extension + the custom location belongs to. + :vartype extension_id: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "infrastructure": {"key": "infrastructure", "type": "str"}, + "on_premise_property": { + "key": "onPremiseProperty", + "type": "OnPremiseProperty", + }, + "k8_s_raw": {"key": "k8sRaw", "type": "object"}, + "upload_watermark": { + "key": "uploadWatermark", + "type": "UploadWatermark", + }, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "metrics_dashboard_credential": { + "key": "metricsDashboardCredential", + "type": "BasicLoginInformation", + }, + "logs_dashboard_credential": { + "key": "logsDashboardCredential", + "type": "BasicLoginInformation", + }, + "log_analytics_workspace_config": { + "key": "logAnalyticsWorkspaceConfig", + "type": "LogAnalyticsWorkspaceConfig", + }, + "upload_service_principal": { + "key": "uploadServicePrincipal", + "type": "UploadServicePrincipal", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "cluster_id": {"key": "clusterId", "type": "str"}, + "extension_id": {"key": "extensionId", "type": "str"}, + } + + def __init__( + self, + *, + infrastructure: Optional[Union[str, "Infrastructure"]] = "other", + on_premise_property: Optional["OnPremiseProperty"] = None, + k8_s_raw: Optional[Any] = None, + upload_watermark: Optional["UploadWatermark"] = None, + last_uploaded_date: Optional[datetime.datetime] = None, + basic_login_information: Optional["BasicLoginInformation"] = None, + metrics_dashboard_credential: Optional["BasicLoginInformation"] = None, + logs_dashboard_credential: Optional["BasicLoginInformation"] = None, + log_analytics_workspace_config: Optional[ + "LogAnalyticsWorkspaceConfig" + ] = None, + upload_service_principal: Optional["UploadServicePrincipal"] = None, + cluster_id: Optional[str] = None, + extension_id: Optional[str] = None, + **kwargs, + ): + """ + :keyword infrastructure: The infrastructure the data controller is running on. Possible values + include: "azure", "gcp", "aws", "alibaba", "onpremises", "other". Default value: "other". + :paramtype infrastructure: str or ~azure_arc_data_management_client.models.Infrastructure + :keyword on_premise_property: Properties from the Kubernetes data controller. + :paramtype on_premise_property: ~azure_arc_data_management_client.models.OnPremiseProperty + :keyword k8_s_raw: The raw kubernetes information. + :paramtype k8_s_raw: any + :keyword upload_watermark: Properties on upload watermark. Mostly timestamp for each upload + data type. + :paramtype upload_watermark: ~azure_arc_data_management_client.models.UploadWatermark + :keyword last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current + date time. + :paramtype last_uploaded_date: ~datetime.datetime + :keyword basic_login_information: Deprecated. Azure Arc Data Services data controller no longer + expose any endpoint. All traffic are exposed through Kubernetes native API. + :paramtype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword metrics_dashboard_credential: Login credential for metrics dashboard on the Kubernetes + cluster. + :paramtype metrics_dashboard_credential: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword logs_dashboard_credential: Login credential for logs dashboard on the Kubernetes + cluster. + :paramtype logs_dashboard_credential: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword log_analytics_workspace_config: Log analytics workspace id and primary key. + :paramtype log_analytics_workspace_config: + ~azure_arc_data_management_client.models.LogAnalyticsWorkspaceConfig + :keyword upload_service_principal: Deprecated. Service principal is deprecated in favor of Arc + Kubernetes service extension managed identity. + :paramtype upload_service_principal: + ~azure_arc_data_management_client.models.UploadServicePrincipal + :keyword cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :paramtype cluster_id: str + :keyword extension_id: If a CustomLocation is provided, this contains the ARM id of the + extension the custom location belongs to. + :paramtype extension_id: str + """ + super(DataControllerProperties, self).__init__(**kwargs) + self.infrastructure = infrastructure + self.on_premise_property = on_premise_property + self.k8_s_raw = k8_s_raw + self.upload_watermark = upload_watermark + self.last_uploaded_date = last_uploaded_date + self.basic_login_information = basic_login_information + self.metrics_dashboard_credential = metrics_dashboard_credential + self.logs_dashboard_credential = logs_dashboard_credential + self.log_analytics_workspace_config = log_analytics_workspace_config + self.upload_service_principal = upload_service_principal + self.provisioning_state = None + self.cluster_id = cluster_id + self.extension_id = extension_id + + +class TrackedResource(Resource): + """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + } + + def __init__( + self, *, location: str, tags: Optional[Dict[str, str]] = None, **kwargs + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + """ + super(TrackedResource, self).__init__(**kwargs) + self.tags = tags + self.location = location + + +class DataControllerResource(TrackedResource): + """Data controller resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar extended_location: The extendedLocation of the resource. + :vartype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :ivar properties: Required. The data controller's properties. + :vartype properties: ~azure_arc_data_management_client.models.DataControllerProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "properties": {"key": "properties", "type": "DataControllerProperties"}, + } + + def __init__( + self, + *, + location: str, + properties: "DataControllerProperties", + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword extended_location: The extendedLocation of the resource. + :paramtype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :keyword properties: Required. The data controller's properties. + :paramtype properties: ~azure_arc_data_management_client.models.DataControllerProperties + """ + super(DataControllerResource, self).__init__( + tags=tags, location=location, **kwargs + ) + self.extended_location = extended_location + self.properties = properties + + +class DataControllerUpdate(msrest.serialization.Model): + """Used for updating a data controller resource. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: The data controller's properties. + :vartype properties: ~azure_arc_data_management_client.models.DataControllerProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": {"key": "properties", "type": "DataControllerProperties"}, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + properties: Optional["DataControllerProperties"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The data controller's properties. + :paramtype properties: ~azure_arc_data_management_client.models.DataControllerProperties + """ + super(DataControllerUpdate, self).__init__(**kwargs) + self.tags = tags + self.properties = properties + + +class ErrorResponse(msrest.serialization.Model): + """An error response from the Azure Data on Azure Arc service. + + :ivar error: null. + :vartype error: ~azure_arc_data_management_client.models.ErrorResponseBody + """ + + _attribute_map = { + "error": {"key": "error", "type": "ErrorResponseBody"}, + } + + def __init__( + self, *, error: Optional["ErrorResponseBody"] = None, **kwargs + ): + """ + :keyword error: null. + :paramtype error: ~azure_arc_data_management_client.models.ErrorResponseBody + """ + super(ErrorResponse, self).__init__(**kwargs) + self.error = error + + +class ErrorResponseBody(msrest.serialization.Model): + """An error response from the Batch service. + + :ivar code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :vartype code: str + :ivar message: A message describing the error, intended to be suitable for display in a user + interface. + :vartype message: str + :ivar target: The target of the particular error. For example, the name of the property in + error. + :vartype target: str + :ivar details: A list of additional details about the error. + :vartype details: list[~azure_arc_data_management_client.models.ErrorResponseBody] + """ + + _attribute_map = { + "code": {"key": "code", "type": "str"}, + "message": {"key": "message", "type": "str"}, + "target": {"key": "target", "type": "str"}, + "details": {"key": "details", "type": "[ErrorResponseBody]"}, + } + + def __init__( + self, + *, + code: Optional[str] = None, + message: Optional[str] = None, + target: Optional[str] = None, + details: Optional[List["ErrorResponseBody"]] = None, + **kwargs, + ): + """ + :keyword code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :paramtype code: str + :keyword message: A message describing the error, intended to be suitable for display in a user + interface. + :paramtype message: str + :keyword target: The target of the particular error. For example, the name of the property in + error. + :paramtype target: str + :keyword details: A list of additional details about the error. + :paramtype details: list[~azure_arc_data_management_client.models.ErrorResponseBody] + """ + super(ErrorResponseBody, self).__init__(**kwargs) + self.code = code + self.message = message + self.target = target + self.details = details + + +class ExtendedLocation(msrest.serialization.Model): + """The complex type of the extended location. + + :ivar name: The name of the extended location. + :vartype name: str + :ivar type: The type of the extended location. Possible values include: "CustomLocation". + :vartype type: str or ~azure_arc_data_management_client.models.ExtendedLocationTypes + """ + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + type: Optional[Union[str, "ExtendedLocationTypes"]] = None, + **kwargs, + ): + """ + :keyword name: The name of the extended location. + :paramtype name: str + :keyword type: The type of the extended location. Possible values include: "CustomLocation". + :paramtype type: str or ~azure_arc_data_management_client.models.ExtendedLocationTypes + """ + super(ExtendedLocation, self).__init__(**kwargs) + self.name = name + self.type = type + + +class FailoverGroupListResult(msrest.serialization.Model): + """A list of failover groups. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.FailoverGroupResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[FailoverGroupResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(FailoverGroupListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class FailoverGroupProperties(msrest.serialization.Model): + """The properties of a failover group resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar provisioning_state: The provisioning state of the failover group resource. + :vartype provisioning_state: str + :ivar partner_managed_instance_id: Required. The resource ID of the partner SQL managed + instance. + :vartype partner_managed_instance_id: str + :ivar spec: Required. null. + :vartype spec: ~azure_arc_data_management_client.models.FailoverGroupSpec + :ivar status: null. + :vartype status: ~azure_arc_data_management_client.models.FailoverGroupStatus + """ + + _validation = { + "provisioning_state": {"readonly": True}, + "partner_managed_instance_id": {"required": True}, + "spec": {"required": True}, + } + + _attribute_map = { + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "partner_managed_instance_id": { + "key": "partnerManagedInstanceId", + "type": "str", + }, + "spec": {"key": "spec", "type": "FailoverGroupSpec"}, + "status": {"key": "status", "type": "FailoverGroupStatus"}, + } + + def __init__( + self, + *, + partner_managed_instance_id: str, + spec: "FailoverGroupSpec", + status: Optional["FailoverGroupStatus"] = None, + **kwargs, + ): + """ + :keyword partner_managed_instance_id: Required. The resource ID of the partner SQL managed + instance. + :paramtype partner_managed_instance_id: str + :keyword spec: Required. null. + :paramtype spec: ~azure_arc_data_management_client.models.FailoverGroupSpec + :keyword status: null. + :paramtype status: ~azure_arc_data_management_client.models.FailoverGroupStatus + """ + super(FailoverGroupProperties, self).__init__(**kwargs) + self.provisioning_state = None + self.partner_managed_instance_id = partner_managed_instance_id + self.spec = spec + self.status = status + + +class FailoverGroupResource(ProxyResource): + """Failover group resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar properties: Required. null. + :vartype properties: ~azure_arc_data_management_client.models.FailoverGroupProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "properties": {"key": "properties", "type": "FailoverGroupProperties"}, + } + + def __init__(self, *, properties: "FailoverGroupProperties", **kwargs): + """ + :keyword properties: Required. null. + :paramtype properties: ~azure_arc_data_management_client.models.FailoverGroupProperties + """ + super(FailoverGroupResource, self).__init__(**kwargs) + self.properties = properties + + +class FailoverGroupSpec(msrest.serialization.Model): + """The specifications of the failover group resource. + + All required parameters must be populated in order to send to Azure. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar shared_name: The shared name of the failover group for this SQL managed instance. Both + SQL managed instance and its partner have to use the same shared name. + :vartype shared_name: str + :ivar source_mi: The name of the SQL managed instance with this failover group role. + :vartype source_mi: str + :ivar partner_mi: The name of the partner SQL managed instance. + :vartype partner_mi: str + :ivar partner_mirroring_url: The mirroring endpoint URL of the partner SQL managed instance. + :vartype partner_mirroring_url: str + :ivar partner_mirroring_cert: The mirroring endpoint public certificate for the partner SQL + managed instance. Only PEM format is supported. + :vartype partner_mirroring_cert: str + :ivar partner_sync_mode: The partner sync mode of the SQL managed instance. Possible values + include: "async", "sync". Default value: "async". + :vartype partner_sync_mode: str or + ~azure_arc_data_management_client.models.FailoverGroupPartnerSyncMode + :ivar role: Required. The role of the SQL managed instance in this failover group. Possible + values include: "primary", "secondary", "force-primary-allow-data-loss", "force-secondary". + Default value: "primary". + :vartype role: str or ~azure_arc_data_management_client.models.InstanceFailoverGroupRole + """ + + _validation = { + "role": {"required": True}, + } + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "shared_name": {"key": "sharedName", "type": "str"}, + "source_mi": {"key": "sourceMI", "type": "str"}, + "partner_mi": {"key": "partnerMI", "type": "str"}, + "partner_mirroring_url": {"key": "partnerMirroringURL", "type": "str"}, + "partner_mirroring_cert": { + "key": "partnerMirroringCert", + "type": "str", + }, + "partner_sync_mode": {"key": "partnerSyncMode", "type": "str"}, + "role": {"key": "role", "type": "str"}, + } + + def __init__( + self, + *, + role: Union[str, "InstanceFailoverGroupRole"] = "primary", + additional_properties: Optional[Dict[str, Any]] = None, + shared_name: Optional[str] = None, + source_mi: Optional[str] = None, + partner_mi: Optional[str] = None, + partner_mirroring_url: Optional[str] = None, + partner_mirroring_cert: Optional[str] = None, + partner_sync_mode: Optional[ + Union[str, "FailoverGroupPartnerSyncMode"] + ] = "async", + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword shared_name: The shared name of the failover group for this SQL managed instance. Both + SQL managed instance and its partner have to use the same shared name. + :paramtype shared_name: str + :keyword source_mi: The name of the SQL managed instance with this failover group role. + :paramtype source_mi: str + :keyword partner_mi: The name of the partner SQL managed instance. + :paramtype partner_mi: str + :keyword partner_mirroring_url: The mirroring endpoint URL of the partner SQL managed instance. + :paramtype partner_mirroring_url: str + :keyword partner_mirroring_cert: The mirroring endpoint public certificate for the partner SQL + managed instance. Only PEM format is supported. + :paramtype partner_mirroring_cert: str + :keyword partner_sync_mode: The partner sync mode of the SQL managed instance. Possible values + include: "async", "sync". Default value: "async". + :paramtype partner_sync_mode: str or + ~azure_arc_data_management_client.models.FailoverGroupPartnerSyncMode + :keyword role: Required. The role of the SQL managed instance in this failover group. Possible + values include: "primary", "secondary", "force-primary-allow-data-loss", "force-secondary". + Default value: "primary". + :paramtype role: str or ~azure_arc_data_management_client.models.InstanceFailoverGroupRole + """ + super(FailoverGroupSpec, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.shared_name = shared_name + self.source_mi = source_mi + self.partner_mi = partner_mi + self.partner_mirroring_url = partner_mirroring_url + self.partner_mirroring_cert = partner_mirroring_cert + self.partner_sync_mode = partner_sync_mode + self.role = role + + +class FailoverGroupStatus(msrest.serialization.Model): + """The status of the Kubernetes custom resource. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar last_update_time: The time that the custom resource was last updated. + :vartype last_update_time: str + :ivar observed_generation: The version of the replicaSet associated with the failover group + custom resource. + :vartype observed_generation: long + :ivar state: The state of the failover group custom resource. + :vartype state: str + :ivar results: The message in case of a failure in the failover group. + :vartype results: str + :ivar role: The role of the managed instance. + :vartype role: str + :ivar replicas: A list of failover group replicas. + :vartype replicas: list[~azure_arc_data_management_client.models.AGReplicas] + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "last_update_time": {"key": "lastUpdateTime", "type": "str"}, + "observed_generation": {"key": "observedGeneration", "type": "long"}, + "state": {"key": "state", "type": "str"}, + "results": {"key": "results", "type": "str"}, + "role": {"key": "role", "type": "str"}, + "replicas": {"key": "replicas", "type": "[AGReplicas]"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + last_update_time: Optional[str] = None, + observed_generation: Optional[int] = None, + state: Optional[str] = None, + results: Optional[str] = None, + role: Optional[str] = None, + replicas: Optional[List["AGReplicas"]] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword last_update_time: The time that the custom resource was last updated. + :paramtype last_update_time: str + :keyword observed_generation: The version of the replicaSet associated with the failover group + custom resource. + :paramtype observed_generation: long + :keyword state: The state of the failover group custom resource. + :paramtype state: str + :keyword results: The message in case of a failure in the failover group. + :paramtype results: str + :keyword role: The role of the managed instance. + :paramtype role: str + :keyword replicas: A list of failover group replicas. + :paramtype replicas: list[~azure_arc_data_management_client.models.AGReplicas] + """ + super(FailoverGroupStatus, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.last_update_time = last_update_time + self.observed_generation = observed_generation + self.state = state + self.results = results + self.role = role + self.replicas = replicas + + +class K8SResourceRequirements(msrest.serialization.Model): + """The kubernetes resource limits and requests used to restrict or reserve resource usage. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar requests: Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' + request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default + 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and + maximum 'memory' is '128Gi'. + :vartype requests: dict[str, str] + :ivar limits: Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request + must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' + is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum + 'memory' is '128Gi'. + :vartype limits: dict[str, str] + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "requests": {"key": "requests", "type": "{str}"}, + "limits": {"key": "limits", "type": "{str}"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + requests: Optional[Dict[str, str]] = None, + limits: Optional[Dict[str, str]] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword requests: Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' + request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default + 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and + maximum 'memory' is '128Gi'. + :paramtype requests: dict[str, str] + :keyword limits: Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request + must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' + is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum + 'memory' is '128Gi'. + :paramtype limits: dict[str, str] + """ + super(K8SResourceRequirements, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.requests = requests + self.limits = limits + + +class K8SScheduling(msrest.serialization.Model): + """The kubernetes scheduling information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar default: The kubernetes scheduling options. It describes restrictions used to help + Kubernetes select appropriate nodes to host the database service. + :vartype default: ~azure_arc_data_management_client.models.K8SSchedulingOptions + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "default": {"key": "default", "type": "K8SSchedulingOptions"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + default: Optional["K8SSchedulingOptions"] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword default: The kubernetes scheduling options. It describes restrictions used to help + Kubernetes select appropriate nodes to host the database service. + :paramtype default: ~azure_arc_data_management_client.models.K8SSchedulingOptions + """ + super(K8SScheduling, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.default = default + + +class K8SSchedulingOptions(msrest.serialization.Model): + """The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar resources: The kubernetes resource limits and requests used to restrict or reserve + resource usage. + :vartype resources: ~azure_arc_data_management_client.models.K8SResourceRequirements + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "resources": {"key": "resources", "type": "K8SResourceRequirements"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + resources: Optional["K8SResourceRequirements"] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword resources: The kubernetes resource limits and requests used to restrict or reserve + resource usage. + :paramtype resources: ~azure_arc_data_management_client.models.K8SResourceRequirements + """ + super(K8SSchedulingOptions, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.resources = resources + + +class KeytabInformation(msrest.serialization.Model): + """Keytab used for authenticate with Active Directory. + + :ivar keytab: A base64-encoded keytab. + :vartype keytab: str + """ + + _attribute_map = { + "keytab": {"key": "keytab", "type": "str"}, + } + + def __init__(self, *, keytab: Optional[str] = None, **kwargs): + """ + :keyword keytab: A base64-encoded keytab. + :paramtype keytab: str + """ + super(KeytabInformation, self).__init__(**kwargs) + self.keytab = keytab + + +class LogAnalyticsWorkspaceConfig(msrest.serialization.Model): + """Log analytics workspace id and primary key. + + :ivar workspace_id: Azure Log Analytics workspace ID. + :vartype workspace_id: str + :ivar primary_key: Primary key of the workspace. + :vartype primary_key: str + """ + + _attribute_map = { + "workspace_id": {"key": "workspaceId", "type": "str"}, + "primary_key": {"key": "primaryKey", "type": "str"}, + } + + def __init__( + self, + *, + workspace_id: Optional[str] = None, + primary_key: Optional[str] = None, + **kwargs, + ): + """ + :keyword workspace_id: Azure Log Analytics workspace ID. + :paramtype workspace_id: str + :keyword primary_key: Primary key of the workspace. + :paramtype primary_key: str + """ + super(LogAnalyticsWorkspaceConfig, self).__init__(**kwargs) + self.workspace_id = workspace_id + self.primary_key = primary_key + + +class OnPremiseProperty(msrest.serialization.Model): + """Properties from the Kubernetes data controller. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Required. A globally unique ID identifying the associated Kubernetes cluster. + :vartype id: str + :ivar public_signing_key: Required. Certificate that contains the Kubernetes cluster public key + used to verify signing. + :vartype public_signing_key: str + :ivar signing_certificate_thumbprint: Unique thumbprint returned to customer to verify the + certificate being uploaded. + :vartype signing_certificate_thumbprint: str + """ + + _validation = { + "id": {"required": True}, + "public_signing_key": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "public_signing_key": {"key": "publicSigningKey", "type": "str"}, + "signing_certificate_thumbprint": { + "key": "signingCertificateThumbprint", + "type": "str", + }, + } + + def __init__( + self, + *, + id: str, + public_signing_key: str, + signing_certificate_thumbprint: Optional[str] = None, + **kwargs, + ): + """ + :keyword id: Required. A globally unique ID identifying the associated Kubernetes cluster. + :paramtype id: str + :keyword public_signing_key: Required. Certificate that contains the Kubernetes cluster public + key used to verify signing. + :paramtype public_signing_key: str + :keyword signing_certificate_thumbprint: Unique thumbprint returned to customer to verify the + certificate being uploaded. + :paramtype signing_certificate_thumbprint: str + """ + super(OnPremiseProperty, self).__init__(**kwargs) + self.id = id + self.public_signing_key = public_signing_key + self.signing_certificate_thumbprint = signing_certificate_thumbprint + + +class Operation(msrest.serialization.Model): + """Azure Data Services on Azure Arc operation definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the operation being performed on this particular object. + :vartype name: str + :ivar display: Required. The localized display information for this particular operation / + action. + :vartype display: ~azure_arc_data_management_client.models.OperationDisplay + :ivar origin: The intended executor of the operation. Possible values include: "user", + "system". + :vartype origin: str or ~azure_arc_data_management_client.models.OperationOrigin + :ivar is_data_action: Required. Indicates whether the operation is a data action. + :vartype is_data_action: bool + :ivar properties: Additional descriptions for the operation. + :vartype properties: dict[str, any] + """ + + _validation = { + "name": {"required": True}, + "display": {"required": True}, + "origin": {"readonly": True}, + "is_data_action": {"required": True}, + "properties": {"readonly": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "display": {"key": "display", "type": "OperationDisplay"}, + "origin": {"key": "origin", "type": "str"}, + "is_data_action": {"key": "isDataAction", "type": "bool"}, + "properties": {"key": "properties", "type": "{object}"}, + } + + def __init__( + self, + *, + name: str, + display: "OperationDisplay", + is_data_action: bool, + **kwargs, + ): + """ + :keyword name: Required. The name of the operation being performed on this particular object. + :paramtype name: str + :keyword display: Required. The localized display information for this particular operation / + action. + :paramtype display: ~azure_arc_data_management_client.models.OperationDisplay + :keyword is_data_action: Required. Indicates whether the operation is a data action. + :paramtype is_data_action: bool + """ + super(Operation, self).__init__(**kwargs) + self.name = name + self.display = display + self.origin = None + self.is_data_action = is_data_action + self.properties = None + + +class OperationDisplay(msrest.serialization.Model): + """Display metadata associated with the operation. + + All required parameters must be populated in order to send to Azure. + + :ivar provider: Required. The localized friendly form of the resource provider name. + :vartype provider: str + :ivar resource: Required. The localized friendly form of the resource type related to this + action/operation. + :vartype resource: str + :ivar operation: Required. The localized friendly name for the operation. + :vartype operation: str + :ivar description: Required. The localized friendly description for the operation. + :vartype description: str + """ + + _validation = { + "provider": {"required": True}, + "resource": {"required": True}, + "operation": {"required": True}, + "description": {"required": True}, + } + + _attribute_map = { + "provider": {"key": "provider", "type": "str"}, + "resource": {"key": "resource", "type": "str"}, + "operation": {"key": "operation", "type": "str"}, + "description": {"key": "description", "type": "str"}, + } + + def __init__( + self, + *, + provider: str, + resource: str, + operation: str, + description: str, + **kwargs, + ): + """ + :keyword provider: Required. The localized friendly form of the resource provider name. + :paramtype provider: str + :keyword resource: Required. The localized friendly form of the resource type related to this + action/operation. + :paramtype resource: str + :keyword operation: Required. The localized friendly name for the operation. + :paramtype operation: str + :keyword description: Required. The localized friendly description for the operation. + :paramtype description: str + """ + super(OperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class OperationListResult(msrest.serialization.Model): + """Result of the request to list Azure Data Services on Azure Arc operations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.Operation] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[Operation]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(OperationListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class PageOfDataControllerResource(msrest.serialization.Model): + """A list of data controllers. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.DataControllerResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _attribute_map = { + "value": {"key": "value", "type": "[DataControllerResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__( + self, + *, + value: Optional[List["DataControllerResource"]] = None, + next_link: Optional[str] = None, + **kwargs, + ): + """ + :keyword value: Array of results. + :paramtype value: list[~azure_arc_data_management_client.models.DataControllerResource] + :keyword next_link: Link to retrieve next page of results. + :paramtype next_link: str + """ + super(PageOfDataControllerResource, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class PostgresInstance(TrackedResource): + """A Postgres Instance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar extended_location: The extendedLocation of the resource. + :vartype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :ivar properties: Required. null. + :vartype properties: ~azure_arc_data_management_client.models.PostgresInstanceProperties + :ivar sku: Resource sku. + :vartype sku: ~azure_arc_data_management_client.models.PostgresInstanceSku + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "properties": { + "key": "properties", + "type": "PostgresInstanceProperties", + }, + "sku": {"key": "sku", "type": "PostgresInstanceSku"}, + } + + def __init__( + self, + *, + location: str, + properties: "PostgresInstanceProperties", + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, + sku: Optional["PostgresInstanceSku"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword extended_location: The extendedLocation of the resource. + :paramtype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :keyword properties: Required. null. + :paramtype properties: ~azure_arc_data_management_client.models.PostgresInstanceProperties + :keyword sku: Resource sku. + :paramtype sku: ~azure_arc_data_management_client.models.PostgresInstanceSku + """ + super(PostgresInstance, self).__init__( + tags=tags, location=location, **kwargs + ) + self.extended_location = extended_location + self.properties = properties + self.sku = sku + + +class PostgresInstanceListResult(msrest.serialization.Model): + """A list of PostgresInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.PostgresInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[PostgresInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(PostgresInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class PostgresInstanceProperties(msrest.serialization.Model): + """Postgres Instance properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar data_controller_id: The data controller id. + :vartype data_controller_id: str + :ivar admin: The instance admin. + :vartype admin: str + :ivar basic_login_information: Username and password for basic authentication. + :vartype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar k8_s_raw: The raw kubernetes information. + :vartype k8_s_raw: any + :ivar last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :vartype last_uploaded_date: ~datetime.datetime + :ivar provisioning_state: The provisioning state of the Azure Arc-enabled PostgreSQL instance. + :vartype provisioning_state: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "data_controller_id": {"key": "dataControllerId", "type": "str"}, + "admin": {"key": "admin", "type": "str"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "k8_s_raw": {"key": "k8sRaw", "type": "object"}, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + } + + def __init__( + self, + *, + data_controller_id: Optional[str] = None, + admin: Optional[str] = None, + basic_login_information: Optional["BasicLoginInformation"] = None, + k8_s_raw: Optional[Any] = None, + last_uploaded_date: Optional[datetime.datetime] = None, + **kwargs, + ): + """ + :keyword data_controller_id: The data controller id. + :paramtype data_controller_id: str + :keyword admin: The instance admin. + :paramtype admin: str + :keyword basic_login_information: Username and password for basic authentication. + :paramtype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword k8_s_raw: The raw kubernetes information. + :paramtype k8_s_raw: any + :keyword last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current + date time. + :paramtype last_uploaded_date: ~datetime.datetime + """ + super(PostgresInstanceProperties, self).__init__(**kwargs) + self.data_controller_id = data_controller_id + self.admin = admin + self.basic_login_information = basic_login_information + self.k8_s_raw = k8_s_raw + self.last_uploaded_date = last_uploaded_date + self.provisioning_state = None + + +class PostgresInstanceSku(CommonSku): + """The resource model definition representing SKU for Azure Database for PostgresSQL - Azure Arc. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the SKU. It is typically a letter+number code. + :vartype name: str + :ivar dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used + for dev/test purpose. + :vartype dev: bool + :ivar size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :vartype size: str + :ivar family: If the service has different generations of hardware, for the same SKU, then that + can be captured here. + :vartype family: str + :ivar capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :vartype capacity: int + :ivar tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier. The only acceptable values to pass in are None and "Hyperscale". The + default value is "Hyperscale". + :vartype tier: str + """ + + _validation = { + "name": {"required": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + "tier": {"key": "tier", "type": "str"}, + } + + def __init__( + self, + *, + name: str, + dev: Optional[bool] = True, + size: Optional[str] = None, + family: Optional[str] = None, + capacity: Optional[int] = None, + tier: Optional[str] = "Hyperscale", + **kwargs, + ): + """ + :keyword name: Required. The name of the SKU. It is typically a letter+number code. + :paramtype name: str + :keyword dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :paramtype dev: bool + :keyword size: The SKU size. When the name field is the combination of tier and some other + value, this would be the standalone code. + :paramtype size: str + :keyword family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :paramtype family: str + :keyword capacity: If the SKU supports scale out/in then the capacity integer should be + included. If scale out/in is not possible for the resource this may be omitted. + :paramtype capacity: int + :keyword tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier. The only acceptable values to pass in are None and "Hyperscale". The + default value is "Hyperscale". + :paramtype tier: str + """ + super(PostgresInstanceSku, self).__init__( + name=name, + dev=dev, + size=size, + family=family, + capacity=capacity, + **kwargs, + ) + self.tier = tier + + +class PostgresInstanceUpdate(msrest.serialization.Model): + """An update to a Postgres Instance. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: Postgres Instance properties. + :vartype properties: ~azure_arc_data_management_client.models.PostgresInstanceProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": { + "key": "properties", + "type": "PostgresInstanceProperties", + }, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + properties: Optional["PostgresInstanceProperties"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: Postgres Instance properties. + :paramtype properties: ~azure_arc_data_management_client.models.PostgresInstanceProperties + """ + super(PostgresInstanceUpdate, self).__init__(**kwargs) + self.tags = tags + self.properties = properties + + +class SqlManagedInstance(TrackedResource): + """A SqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: Required. null. + :vartype properties: ~azure_arc_data_management_client.models.SqlManagedInstanceProperties + :ivar extended_location: The extendedLocation of the resource. + :vartype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :ivar sku: Resource sku. + :vartype sku: ~azure_arc_data_management_client.models.SqlManagedInstanceSku + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlManagedInstanceProperties", + }, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "sku": {"key": "sku", "type": "SqlManagedInstanceSku"}, + } + + def __init__( + self, + *, + location: str, + properties: "SqlManagedInstanceProperties", + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, + sku: Optional["SqlManagedInstanceSku"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: Required. null. + :paramtype properties: ~azure_arc_data_management_client.models.SqlManagedInstanceProperties + :keyword extended_location: The extendedLocation of the resource. + :paramtype extended_location: ~azure_arc_data_management_client.models.ExtendedLocation + :keyword sku: Resource sku. + :paramtype sku: ~azure_arc_data_management_client.models.SqlManagedInstanceSku + """ + super(SqlManagedInstance, self).__init__( + tags=tags, location=location, **kwargs + ) + self.properties = properties + self.extended_location = extended_location + self.sku = sku + + +class SqlManagedInstanceK8SRaw(msrest.serialization.Model): + """The raw kubernetes information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar spec: The kubernetes spec information. + :vartype spec: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SSpec + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "spec": {"key": "spec", "type": "SqlManagedInstanceK8SSpec"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + spec: Optional["SqlManagedInstanceK8SSpec"] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword spec: The kubernetes spec information. + :paramtype spec: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SSpec + """ + super(SqlManagedInstanceK8SRaw, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.spec = spec + + +class SqlManagedInstanceK8SSpec(msrest.serialization.Model): + """The kubernetes spec information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar scheduling: The kubernetes scheduling information. + :vartype scheduling: ~azure_arc_data_management_client.models.K8SScheduling + :ivar replicas: This option specifies the number of SQL Managed Instance replicas that will be + deployed in your Kubernetes cluster for high availability purposes. If sku.tier is + BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is + GeneralPurpose, replicas must be '1'. + :vartype replicas: int + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "scheduling": {"key": "scheduling", "type": "K8SScheduling"}, + "replicas": {"key": "replicas", "type": "int"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + scheduling: Optional["K8SScheduling"] = None, + replicas: Optional[int] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword scheduling: The kubernetes scheduling information. + :paramtype scheduling: ~azure_arc_data_management_client.models.K8SScheduling + :keyword replicas: This option specifies the number of SQL Managed Instance replicas that will + be deployed in your Kubernetes cluster for high availability purposes. If sku.tier is + BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is + GeneralPurpose, replicas must be '1'. + :paramtype replicas: int + """ + super(SqlManagedInstanceK8SSpec, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.scheduling = scheduling + self.replicas = replicas + + +class SqlManagedInstanceListResult(msrest.serialization.Model): + """A list of SqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.SqlManagedInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlManagedInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(SqlManagedInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SqlManagedInstanceProperties(msrest.serialization.Model): + """Properties of sqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar data_controller_id: null. + :vartype data_controller_id: str + :ivar admin: The instance admin user. + :vartype admin: str + :ivar start_time: The instance start time. + :vartype start_time: str + :ivar end_time: The instance end time. + :vartype end_time: str + :ivar k8_s_raw: The raw kubernetes information. + :vartype k8_s_raw: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SRaw + :ivar basic_login_information: Username and password for basic authentication. + :vartype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :ivar last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :vartype last_uploaded_date: ~datetime.datetime + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Managed Instance + resource. + :vartype provisioning_state: str + :ivar active_directory_information: Active Directory information related to this SQL Managed + Instance. + :vartype active_directory_information: + ~azure_arc_data_management_client.models.ActiveDirectoryInformation + :ivar license_type: The license type to apply for this managed instance. Possible values + include: "BasePrice", "LicenseIncluded", "DisasterRecovery". Default value: "BasePrice". + :vartype license_type: str or + ~azure_arc_data_management_client.models.ArcSqlManagedInstanceLicenseType + :ivar cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :vartype cluster_id: str + :ivar extension_id: If a CustomLocation is provided, this contains the ARM id of the extension + the custom location belongs to. + :vartype extension_id: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "data_controller_id": {"key": "dataControllerId", "type": "str"}, + "admin": {"key": "admin", "type": "str"}, + "start_time": {"key": "startTime", "type": "str"}, + "end_time": {"key": "endTime", "type": "str"}, + "k8_s_raw": {"key": "k8sRaw", "type": "SqlManagedInstanceK8SRaw"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "active_directory_information": { + "key": "activeDirectoryInformation", + "type": "ActiveDirectoryInformation", + }, + "license_type": {"key": "licenseType", "type": "str"}, + "cluster_id": {"key": "clusterId", "type": "str"}, + "extension_id": {"key": "extensionId", "type": "str"}, + } + + def __init__( + self, + *, + data_controller_id: Optional[str] = None, + admin: Optional[str] = None, + start_time: Optional[str] = None, + end_time: Optional[str] = None, + k8_s_raw: Optional["SqlManagedInstanceK8SRaw"] = None, + basic_login_information: Optional["BasicLoginInformation"] = None, + last_uploaded_date: Optional[datetime.datetime] = None, + active_directory_information: Optional[ + "ActiveDirectoryInformation" + ] = None, + license_type: Optional[ + Union[str, "ArcSqlManagedInstanceLicenseType"] + ] = "BasePrice", + cluster_id: Optional[str] = None, + extension_id: Optional[str] = None, + **kwargs, + ): + """ + :keyword data_controller_id: null. + :paramtype data_controller_id: str + :keyword admin: The instance admin user. + :paramtype admin: str + :keyword start_time: The instance start time. + :paramtype start_time: str + :keyword end_time: The instance end time. + :paramtype end_time: str + :keyword k8_s_raw: The raw kubernetes information. + :paramtype k8_s_raw: ~azure_arc_data_management_client.models.SqlManagedInstanceK8SRaw + :keyword basic_login_information: Username and password for basic authentication. + :paramtype basic_login_information: + ~azure_arc_data_management_client.models.BasicLoginInformation + :keyword last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current + date time. + :paramtype last_uploaded_date: ~datetime.datetime + :keyword active_directory_information: Active Directory information related to this SQL Managed + Instance. + :paramtype active_directory_information: + ~azure_arc_data_management_client.models.ActiveDirectoryInformation + :keyword license_type: The license type to apply for this managed instance. Possible values + include: "BasePrice", "LicenseIncluded", "DisasterRecovery". Default value: "BasePrice". + :paramtype license_type: str or + ~azure_arc_data_management_client.models.ArcSqlManagedInstanceLicenseType + :keyword cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :paramtype cluster_id: str + :keyword extension_id: If a CustomLocation is provided, this contains the ARM id of the + extension the custom location belongs to. + :paramtype extension_id: str + """ + super(SqlManagedInstanceProperties, self).__init__(**kwargs) + self.data_controller_id = data_controller_id + self.admin = admin + self.start_time = start_time + self.end_time = end_time + self.k8_s_raw = k8_s_raw + self.basic_login_information = basic_login_information + self.last_uploaded_date = last_uploaded_date + self.provisioning_state = None + self.active_directory_information = active_directory_information + self.license_type = license_type + self.cluster_id = cluster_id + self.extension_id = extension_id + + +class SqlManagedInstanceSku(msrest.serialization.Model): + """The resource model definition representing SKU for Azure Managed Instance - Azure Arc. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar name: The name of the SKU. Has constant value: "vCore". + :vartype name: str + :ivar tier: The pricing tier for the instance. Possible values include: "GeneralPurpose", + "BusinessCritical". Default value: "GeneralPurpose". + :vartype tier: str or ~azure_arc_data_management_client.models.SqlManagedInstanceSkuTier + :ivar dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used + for dev/test purpose. + :vartype dev: bool + :ivar size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :vartype size: str + :ivar family: The SKU family. + :vartype family: str + :ivar capacity: The SKU capacity. + :vartype capacity: int + """ + + _validation = { + "name": {"required": True, "constant": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "tier": {"key": "tier", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + } + + name = "vCore" + + def __init__( + self, + *, + tier: Optional[ + Union[str, "SqlManagedInstanceSkuTier"] + ] = "GeneralPurpose", + dev: Optional[bool] = True, + size: Optional[str] = None, + family: Optional[str] = None, + capacity: Optional[int] = None, + **kwargs, + ): + """ + :keyword tier: The pricing tier for the instance. Possible values include: "GeneralPurpose", + "BusinessCritical". Default value: "GeneralPurpose". + :paramtype tier: str or ~azure_arc_data_management_client.models.SqlManagedInstanceSkuTier + :keyword dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :paramtype dev: bool + :keyword size: The SKU size. When the name field is the combination of tier and some other + value, this would be the standalone code. + :paramtype size: str + :keyword family: The SKU family. + :paramtype family: str + :keyword capacity: The SKU capacity. + :paramtype capacity: int + """ + super(SqlManagedInstanceSku, self).__init__(**kwargs) + self.tier = tier + self.dev = dev + self.size = size + self.family = family + self.capacity = capacity + + +class SqlManagedInstanceUpdate(msrest.serialization.Model): + """An update to a SQL Managed Instance. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + } + + def __init__(self, *, tags: Optional[Dict[str, str]] = None, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + """ + super(SqlManagedInstanceUpdate, self).__init__(**kwargs) + self.tags = tags + + +class SqlServerDatabaseResource(TrackedResource): + """Arc Sql Server database. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: Required. Properties of Arc Sql Server database. + :vartype properties: + ~azure_arc_data_management_client.models.SqlServerDatabaseResourceProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlServerDatabaseResourceProperties", + }, + } + + def __init__( + self, + *, + location: str, + properties: "SqlServerDatabaseResourceProperties", + tags: Optional[Dict[str, str]] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: Required. Properties of Arc Sql Server database. + :paramtype properties: + ~azure_arc_data_management_client.models.SqlServerDatabaseResourceProperties + """ + super(SqlServerDatabaseResource, self).__init__( + tags=tags, location=location, **kwargs + ) + self.properties = properties + + +class SqlServerDatabaseResourceProperties(msrest.serialization.Model): + """The properties of Arc Sql Server database resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar collation_name: Collation of the database. + :vartype collation_name: str + :ivar database_creation_date: Creation date of the database. + :vartype database_creation_date: ~datetime.datetime + :ivar compatibility_level: Compatibility level of the database. + :vartype compatibility_level: int + :ivar size_mb: Size of the database. + :vartype size_mb: float + :ivar space_available_mb: Space left of the database. + :vartype space_available_mb: float + :ivar state: State of the database. Possible values include: "Online", "Restoring", + "Recovering", "RecoveryPending", "Suspect", "Emergency", "Offline", "Copying", + "OfflineSecondary". + :vartype state: str or ~azure_arc_data_management_client.models.DatabaseState + :ivar is_read_only: Whether the database is read only or not. + :vartype is_read_only: bool + :ivar recovery_mode: Status of the database. Possible values include: "Full", "Bulk-logged", + "Simple". + :vartype recovery_mode: str or ~azure_arc_data_management_client.models.RecoveryMode + :ivar database_options: List of features that are enabled for the database. + :vartype database_options: + ~azure_arc_data_management_client.models.SqlServerDatabaseResourcePropertiesDatabaseOptions + :ivar backup_information: + :vartype backup_information: + ~azure_arc_data_management_client.models.SqlServerDatabaseResourcePropertiesBackupInformation + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Server database + resource. + :vartype provisioning_state: str + """ + + _validation = { + "compatibility_level": {"maximum": 200, "minimum": 80}, + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "collation_name": {"key": "collationName", "type": "str"}, + "database_creation_date": { + "key": "databaseCreationDate", + "type": "iso-8601", + }, + "compatibility_level": {"key": "compatibilityLevel", "type": "int"}, + "size_mb": {"key": "sizeMB", "type": "float"}, + "space_available_mb": {"key": "spaceAvailableMB", "type": "float"}, + "state": {"key": "state", "type": "str"}, + "is_read_only": {"key": "isReadOnly", "type": "bool"}, + "recovery_mode": {"key": "recoveryMode", "type": "str"}, + "database_options": { + "key": "databaseOptions", + "type": "SqlServerDatabaseResourcePropertiesDatabaseOptions", + }, + "backup_information": { + "key": "backupInformation", + "type": "SqlServerDatabaseResourcePropertiesBackupInformation", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + } + + def __init__( + self, + *, + collation_name: Optional[str] = None, + database_creation_date: Optional[datetime.datetime] = None, + compatibility_level: Optional[int] = None, + size_mb: Optional[float] = None, + space_available_mb: Optional[float] = None, + state: Optional[Union[str, "DatabaseState"]] = None, + is_read_only: Optional[bool] = None, + recovery_mode: Optional[Union[str, "RecoveryMode"]] = None, + database_options: Optional[ + "SqlServerDatabaseResourcePropertiesDatabaseOptions" + ] = None, + backup_information: Optional[ + "SqlServerDatabaseResourcePropertiesBackupInformation" + ] = None, + **kwargs, + ): + """ + :keyword collation_name: Collation of the database. + :paramtype collation_name: str + :keyword database_creation_date: Creation date of the database. + :paramtype database_creation_date: ~datetime.datetime + :keyword compatibility_level: Compatibility level of the database. + :paramtype compatibility_level: int + :keyword size_mb: Size of the database. + :paramtype size_mb: float + :keyword space_available_mb: Space left of the database. + :paramtype space_available_mb: float + :keyword state: State of the database. Possible values include: "Online", "Restoring", + "Recovering", "RecoveryPending", "Suspect", "Emergency", "Offline", "Copying", + "OfflineSecondary". + :paramtype state: str or ~azure_arc_data_management_client.models.DatabaseState + :keyword is_read_only: Whether the database is read only or not. + :paramtype is_read_only: bool + :keyword recovery_mode: Status of the database. Possible values include: "Full", "Bulk-logged", + "Simple". + :paramtype recovery_mode: str or ~azure_arc_data_management_client.models.RecoveryMode + :keyword database_options: List of features that are enabled for the database. + :paramtype database_options: + ~azure_arc_data_management_client.models.SqlServerDatabaseResourcePropertiesDatabaseOptions + :keyword backup_information: + :paramtype backup_information: + ~azure_arc_data_management_client.models.SqlServerDatabaseResourcePropertiesBackupInformation + """ + super(SqlServerDatabaseResourceProperties, self).__init__(**kwargs) + self.collation_name = collation_name + self.database_creation_date = database_creation_date + self.compatibility_level = compatibility_level + self.size_mb = size_mb + self.space_available_mb = space_available_mb + self.state = state + self.is_read_only = is_read_only + self.recovery_mode = recovery_mode + self.database_options = database_options + self.backup_information = backup_information + self.provisioning_state = None + + +class SqlServerDatabaseResourcePropertiesBackupInformation( + msrest.serialization.Model +): + """SqlServerDatabaseResourcePropertiesBackupInformation. + + :ivar last_full_backup: Date time of last full backup. + :vartype last_full_backup: ~datetime.datetime + :ivar last_log_backup: Date time of last log backup. + :vartype last_log_backup: ~datetime.datetime + """ + + _attribute_map = { + "last_full_backup": {"key": "lastFullBackup", "type": "iso-8601"}, + "last_log_backup": {"key": "lastLogBackup", "type": "iso-8601"}, + } + + def __init__( + self, + *, + last_full_backup: Optional[datetime.datetime] = None, + last_log_backup: Optional[datetime.datetime] = None, + **kwargs, + ): + """ + :keyword last_full_backup: Date time of last full backup. + :paramtype last_full_backup: ~datetime.datetime + :keyword last_log_backup: Date time of last log backup. + :paramtype last_log_backup: ~datetime.datetime + """ + super( + SqlServerDatabaseResourcePropertiesBackupInformation, self + ).__init__(**kwargs) + self.last_full_backup = last_full_backup + self.last_log_backup = last_log_backup + + +class SqlServerDatabaseResourcePropertiesDatabaseOptions( + msrest.serialization.Model +): + """List of features that are enabled for the database. + + :ivar is_auto_close_on: + :vartype is_auto_close_on: bool + :ivar is_auto_shrink_on: + :vartype is_auto_shrink_on: bool + :ivar is_auto_create_stats_on: + :vartype is_auto_create_stats_on: bool + :ivar is_auto_update_stats_on: + :vartype is_auto_update_stats_on: bool + :ivar is_remote_data_archive_enabled: + :vartype is_remote_data_archive_enabled: bool + :ivar is_memory_optimization_enabled: + :vartype is_memory_optimization_enabled: bool + :ivar is_encrypted: + :vartype is_encrypted: bool + :ivar is_trustworthy_on: + :vartype is_trustworthy_on: bool + """ + + _attribute_map = { + "is_auto_close_on": {"key": "isAutoCloseOn", "type": "bool"}, + "is_auto_shrink_on": {"key": "isAutoShrinkOn", "type": "bool"}, + "is_auto_create_stats_on": { + "key": "isAutoCreateStatsOn", + "type": "bool", + }, + "is_auto_update_stats_on": { + "key": "isAutoUpdateStatsOn", + "type": "bool", + }, + "is_remote_data_archive_enabled": { + "key": "isRemoteDataArchiveEnabled", + "type": "bool", + }, + "is_memory_optimization_enabled": { + "key": "isMemoryOptimizationEnabled", + "type": "bool", + }, + "is_encrypted": {"key": "isEncrypted", "type": "bool"}, + "is_trustworthy_on": {"key": "isTrustworthyOn", "type": "bool"}, + } + + def __init__( + self, + *, + is_auto_close_on: Optional[bool] = None, + is_auto_shrink_on: Optional[bool] = None, + is_auto_create_stats_on: Optional[bool] = None, + is_auto_update_stats_on: Optional[bool] = None, + is_remote_data_archive_enabled: Optional[bool] = None, + is_memory_optimization_enabled: Optional[bool] = None, + is_encrypted: Optional[bool] = None, + is_trustworthy_on: Optional[bool] = None, + **kwargs, + ): + """ + :keyword is_auto_close_on: + :paramtype is_auto_close_on: bool + :keyword is_auto_shrink_on: + :paramtype is_auto_shrink_on: bool + :keyword is_auto_create_stats_on: + :paramtype is_auto_create_stats_on: bool + :keyword is_auto_update_stats_on: + :paramtype is_auto_update_stats_on: bool + :keyword is_remote_data_archive_enabled: + :paramtype is_remote_data_archive_enabled: bool + :keyword is_memory_optimization_enabled: + :paramtype is_memory_optimization_enabled: bool + :keyword is_encrypted: + :paramtype is_encrypted: bool + :keyword is_trustworthy_on: + :paramtype is_trustworthy_on: bool + """ + super( + SqlServerDatabaseResourcePropertiesDatabaseOptions, self + ).__init__(**kwargs) + self.is_auto_close_on = is_auto_close_on + self.is_auto_shrink_on = is_auto_shrink_on + self.is_auto_create_stats_on = is_auto_create_stats_on + self.is_auto_update_stats_on = is_auto_update_stats_on + self.is_remote_data_archive_enabled = is_remote_data_archive_enabled + self.is_memory_optimization_enabled = is_memory_optimization_enabled + self.is_encrypted = is_encrypted + self.is_trustworthy_on = is_trustworthy_on + + +class SqlServerDatabaseUpdate(msrest.serialization.Model): + """An update to database resource. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: The data controller's properties. + :vartype properties: + ~azure_arc_data_management_client.models.SqlServerDatabaseResourceProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": { + "key": "properties", + "type": "SqlServerDatabaseResourceProperties", + }, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + properties: Optional["SqlServerDatabaseResourceProperties"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The data controller's properties. + :paramtype properties: + ~azure_arc_data_management_client.models.SqlServerDatabaseResourceProperties + """ + super(SqlServerDatabaseUpdate, self).__init__(**kwargs) + self.tags = tags + self.properties = properties + + +class SqlServerInstance(TrackedResource): + """A SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure_arc_data_management_client.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: null. + :vartype properties: ~azure_arc_data_management_client.models.SqlServerInstanceProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlServerInstanceProperties", + }, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + properties: Optional["SqlServerInstanceProperties"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: null. + :paramtype properties: ~azure_arc_data_management_client.models.SqlServerInstanceProperties + """ + super(SqlServerInstance, self).__init__( + tags=tags, location=location, **kwargs + ) + self.properties = properties + + +class SqlServerInstanceListResult(msrest.serialization.Model): + """A list of SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure_arc_data_management_client.models.SqlServerInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlServerInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(SqlServerInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SqlServerInstanceProperties(msrest.serialization.Model): + """Properties of SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar version: SQL Server version. Possible values include: "SQL Server 2012", "SQL Server + 2014", "SQL Server 2016", "SQL Server 2017", "SQL Server 2019", "SQL Server 2022", "Unknown". + :vartype version: str or ~azure_arc_data_management_client.models.SqlVersion + :ivar edition: SQL Server edition. Possible values include: "Evaluation", "Enterprise", + "Standard", "Web", "Developer", "Express", "Business Intelligence". + :vartype edition: str or ~azure_arc_data_management_client.models.EditionType + :ivar container_resource_id: Required. ARM Resource id of the container resource (Azure Arc for + Servers). + :vartype container_resource_id: str + :ivar create_time: The time when the resource was created. + :vartype create_time: str + :ivar v_core: The number of logical processors used by the SQL Server instance. + :vartype v_core: str + :ivar cores: The number of total cores of the Operating System Environment (OSE) hosting the + SQL Server instance. + :vartype cores: str + :ivar status: Required. The cloud connectivity status. Possible values include: "Connected", + "Disconnected", "Registered", "Unknown". + :vartype status: str or ~azure_arc_data_management_client.models.ConnectionStatus + :ivar patch_level: SQL Server update level. + :vartype patch_level: str + :ivar collation: SQL Server collation. + :vartype collation: str + :ivar current_version: SQL Server current version. + :vartype current_version: str + :ivar instance_name: SQL Server instance name. + :vartype instance_name: str + :ivar tcp_dynamic_ports: Dynamic TCP ports used by SQL Server. + :vartype tcp_dynamic_ports: str + :ivar tcp_static_ports: Static TCP ports used by SQL Server. + :vartype tcp_static_ports: str + :ivar product_id: SQL Server product ID. + :vartype product_id: str + :ivar license_type: SQL Server license type. Possible values include: "Undefined", "Free", + "HADR", "ServerCAL", "LicenseOnly", "PAYG", "Paid". + :vartype license_type: str or ~azure_arc_data_management_client.models.ArcSqlServerLicenseType + :ivar azure_defender_status_last_updated: Timestamp of last Azure Defender status update. + :vartype azure_defender_status_last_updated: ~datetime.datetime + :ivar azure_defender_status: Status of Azure Defender. Possible values include: "Protected", + "Unprotected", "Unknown". + :vartype azure_defender_status: str or ~azure_arc_data_management_client.models.DefenderStatus + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Server resource. + :vartype provisioning_state: str + :ivar host_type: Type of host for Azure Arc SQL Server. Possible values include: "Azure Virtual + Machine", "Azure VMWare Virtual Machine", "Azure Kubernetes Service", "AWS VMWare Virtual + Machine", "AWS Kubernetes Service", "GCP VMWare Virtual Machine", "GCP Kubernetes Service", + "Container", "Virtual Machine", "Physical Server", "AWS Virtual Machine", "GCP Virtual + Machine", "Other". + :vartype host_type: str or ~azure_arc_data_management_client.models.HostType + """ + + _validation = { + "container_resource_id": {"required": True}, + "create_time": {"readonly": True}, + "status": {"required": True}, + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "version": {"key": "version", "type": "str"}, + "edition": {"key": "edition", "type": "str"}, + "container_resource_id": {"key": "containerResourceId", "type": "str"}, + "create_time": {"key": "createTime", "type": "str"}, + "v_core": {"key": "vCore", "type": "str"}, + "cores": {"key": "cores", "type": "str"}, + "status": {"key": "status", "type": "str"}, + "patch_level": {"key": "patchLevel", "type": "str"}, + "collation": {"key": "collation", "type": "str"}, + "current_version": {"key": "currentVersion", "type": "str"}, + "instance_name": {"key": "instanceName", "type": "str"}, + "tcp_dynamic_ports": {"key": "tcpDynamicPorts", "type": "str"}, + "tcp_static_ports": {"key": "tcpStaticPorts", "type": "str"}, + "product_id": {"key": "productId", "type": "str"}, + "license_type": {"key": "licenseType", "type": "str"}, + "azure_defender_status_last_updated": { + "key": "azureDefenderStatusLastUpdated", + "type": "iso-8601", + }, + "azure_defender_status": {"key": "azureDefenderStatus", "type": "str"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "host_type": {"key": "hostType", "type": "str"}, + } + + def __init__( + self, + *, + container_resource_id: str, + status: Union[str, "ConnectionStatus"], + version: Optional[Union[str, "SqlVersion"]] = None, + edition: Optional[Union[str, "EditionType"]] = None, + v_core: Optional[str] = None, + cores: Optional[str] = None, + patch_level: Optional[str] = None, + collation: Optional[str] = None, + current_version: Optional[str] = None, + instance_name: Optional[str] = None, + tcp_dynamic_ports: Optional[str] = None, + tcp_static_ports: Optional[str] = None, + product_id: Optional[str] = None, + license_type: Optional[Union[str, "ArcSqlServerLicenseType"]] = None, + azure_defender_status_last_updated: Optional[datetime.datetime] = None, + azure_defender_status: Optional[Union[str, "DefenderStatus"]] = None, + host_type: Optional[Union[str, "HostType"]] = None, + **kwargs, + ): + """ + :keyword version: SQL Server version. Possible values include: "SQL Server 2012", "SQL Server + 2014", "SQL Server 2016", "SQL Server 2017", "SQL Server 2019", "SQL Server 2022", "Unknown". + :paramtype version: str or ~azure_arc_data_management_client.models.SqlVersion + :keyword edition: SQL Server edition. Possible values include: "Evaluation", "Enterprise", + "Standard", "Web", "Developer", "Express", "Business Intelligence". + :paramtype edition: str or ~azure_arc_data_management_client.models.EditionType + :keyword container_resource_id: Required. ARM Resource id of the container resource (Azure Arc + for Servers). + :paramtype container_resource_id: str + :keyword v_core: The number of logical processors used by the SQL Server instance. + :paramtype v_core: str + :keyword cores: The number of total cores of the Operating System Environment (OSE) hosting the + SQL Server instance. + :paramtype cores: str + :keyword status: Required. The cloud connectivity status. Possible values include: "Connected", + "Disconnected", "Registered", "Unknown". + :paramtype status: str or ~azure_arc_data_management_client.models.ConnectionStatus + :keyword patch_level: SQL Server update level. + :paramtype patch_level: str + :keyword collation: SQL Server collation. + :paramtype collation: str + :keyword current_version: SQL Server current version. + :paramtype current_version: str + :keyword instance_name: SQL Server instance name. + :paramtype instance_name: str + :keyword tcp_dynamic_ports: Dynamic TCP ports used by SQL Server. + :paramtype tcp_dynamic_ports: str + :keyword tcp_static_ports: Static TCP ports used by SQL Server. + :paramtype tcp_static_ports: str + :keyword product_id: SQL Server product ID. + :paramtype product_id: str + :keyword license_type: SQL Server license type. Possible values include: "Undefined", "Free", + "HADR", "ServerCAL", "LicenseOnly", "PAYG", "Paid". + :paramtype license_type: str or + ~azure_arc_data_management_client.models.ArcSqlServerLicenseType + :keyword azure_defender_status_last_updated: Timestamp of last Azure Defender status update. + :paramtype azure_defender_status_last_updated: ~datetime.datetime + :keyword azure_defender_status: Status of Azure Defender. Possible values include: "Protected", + "Unprotected", "Unknown". + :paramtype azure_defender_status: str or + ~azure_arc_data_management_client.models.DefenderStatus + :keyword host_type: Type of host for Azure Arc SQL Server. Possible values include: "Azure + Virtual Machine", "Azure VMWare Virtual Machine", "Azure Kubernetes Service", "AWS VMWare + Virtual Machine", "AWS Kubernetes Service", "GCP VMWare Virtual Machine", "GCP Kubernetes + Service", "Container", "Virtual Machine", "Physical Server", "AWS Virtual Machine", "GCP + Virtual Machine", "Other". + :paramtype host_type: str or ~azure_arc_data_management_client.models.HostType + """ + super(SqlServerInstanceProperties, self).__init__(**kwargs) + self.version = version + self.edition = edition + self.container_resource_id = container_resource_id + self.create_time = None + self.v_core = v_core + self.cores = cores + self.status = status + self.patch_level = patch_level + self.collation = collation + self.current_version = current_version + self.instance_name = instance_name + self.tcp_dynamic_ports = tcp_dynamic_ports + self.tcp_static_ports = tcp_static_ports + self.product_id = product_id + self.license_type = license_type + self.azure_defender_status_last_updated = ( + azure_defender_status_last_updated + ) + self.azure_defender_status = azure_defender_status + self.provisioning_state = None + self.host_type = host_type + + +class SqlServerInstanceUpdate(msrest.serialization.Model): + """An update to a SQL Server Instance. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + } + + def __init__(self, *, tags: Optional[Dict[str, str]] = None, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + """ + super(SqlServerInstanceUpdate, self).__init__(**kwargs) + self.tags = tags + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :ivar created_by: The identity that created the resource. + :vartype created_by: str + :ivar created_by_type: The type of identity that created the resource. Possible values include: + "User", "Application", "ManagedIdentity", "Key". + :vartype created_by_type: str or ~azure_arc_data_management_client.models.CreatedByType + :ivar created_at: The timestamp of resource creation (UTC). + :vartype created_at: ~datetime.datetime + :ivar last_modified_by: The identity that last modified the resource. + :vartype last_modified_by: str + :ivar last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :vartype last_modified_by_type: str or ~azure_arc_data_management_client.models.CreatedByType + :ivar last_modified_at: The timestamp of resource last modification (UTC). + :vartype last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + "created_by": {"key": "createdBy", "type": "str"}, + "created_by_type": {"key": "createdByType", "type": "str"}, + "created_at": {"key": "createdAt", "type": "iso-8601"}, + "last_modified_by": {"key": "lastModifiedBy", "type": "str"}, + "last_modified_by_type": {"key": "lastModifiedByType", "type": "str"}, + "last_modified_at": {"key": "lastModifiedAt", "type": "iso-8601"}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[Union[str, "CreatedByType"]] = None, + created_at: Optional[datetime.datetime] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[Union[str, "CreatedByType"]] = None, + last_modified_at: Optional[datetime.datetime] = None, + **kwargs, + ): + """ + :keyword created_by: The identity that created the resource. + :paramtype created_by: str + :keyword created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :paramtype created_by_type: str or ~azure_arc_data_management_client.models.CreatedByType + :keyword created_at: The timestamp of resource creation (UTC). + :paramtype created_at: ~datetime.datetime + :keyword last_modified_by: The identity that last modified the resource. + :paramtype last_modified_by: str + :keyword last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :paramtype last_modified_by_type: str or ~azure_arc_data_management_client.models.CreatedByType + :keyword last_modified_at: The timestamp of resource last modification (UTC). + :paramtype last_modified_at: ~datetime.datetime + """ + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + +class UploadServicePrincipal(msrest.serialization.Model): + """Service principal for uploading billing, metrics and logs. + + :ivar client_id: Client ID of the service principal for uploading data. + :vartype client_id: str + :ivar tenant_id: Tenant ID of the service principal. + :vartype tenant_id: str + :ivar authority: Authority for the service principal. Example: + https://login.microsoftonline.com/. + :vartype authority: str + :ivar client_secret: Secret of the service principal. + :vartype client_secret: str + """ + + _attribute_map = { + "client_id": {"key": "clientId", "type": "str"}, + "tenant_id": {"key": "tenantId", "type": "str"}, + "authority": {"key": "authority", "type": "str"}, + "client_secret": {"key": "clientSecret", "type": "str"}, + } + + def __init__( + self, + *, + client_id: Optional[str] = None, + tenant_id: Optional[str] = None, + authority: Optional[str] = None, + client_secret: Optional[str] = None, + **kwargs, + ): + """ + :keyword client_id: Client ID of the service principal for uploading data. + :paramtype client_id: str + :keyword tenant_id: Tenant ID of the service principal. + :paramtype tenant_id: str + :keyword authority: Authority for the service principal. Example: + https://login.microsoftonline.com/. + :paramtype authority: str + :keyword client_secret: Secret of the service principal. + :paramtype client_secret: str + """ + super(UploadServicePrincipal, self).__init__(**kwargs) + self.client_id = client_id + self.tenant_id = tenant_id + self.authority = authority + self.client_secret = client_secret + + +class UploadWatermark(msrest.serialization.Model): + """Properties on upload watermark. Mostly timestamp for each upload data type. + + :ivar metrics: Last uploaded date for metrics from kubernetes cluster. Defaults to current date + time. + :vartype metrics: ~datetime.datetime + :ivar logs: Last uploaded date for logs from kubernetes cluster. Defaults to current date time. + :vartype logs: ~datetime.datetime + :ivar usages: Last uploaded date for usages from kubernetes cluster. Defaults to current date + time. + :vartype usages: ~datetime.datetime + """ + + _attribute_map = { + "metrics": {"key": "metrics", "type": "iso-8601"}, + "logs": {"key": "logs", "type": "iso-8601"}, + "usages": {"key": "usages", "type": "iso-8601"}, + } + + def __init__( + self, + *, + metrics: Optional[datetime.datetime] = None, + logs: Optional[datetime.datetime] = None, + usages: Optional[datetime.datetime] = None, + **kwargs, + ): + """ + :keyword metrics: Last uploaded date for metrics from kubernetes cluster. Defaults to current + date time. + :paramtype metrics: ~datetime.datetime + :keyword logs: Last uploaded date for logs from kubernetes cluster. Defaults to current date + time. + :paramtype logs: ~datetime.datetime + :keyword usages: Last uploaded date for usages from kubernetes cluster. Defaults to current + date time. + :paramtype usages: ~datetime.datetime + """ + super(UploadWatermark, self).__init__(**kwargs) + self.metrics = metrics + self.logs = logs + self.usages = usages diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/__init__.py new file mode 100644 index 00000000000..36678c8408d --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/__init__.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._sql_server_databases_operations import SqlServerDatabasesOperations +from ._operations import Operations +from ._sql_managed_instances_operations import SqlManagedInstancesOperations +from ._failover_groups_operations import FailoverGroupsOperations +from ._sql_server_instances_operations import SqlServerInstancesOperations +from ._data_controllers_operations import DataControllersOperations +from ._active_directory_connectors_operations import ( + ActiveDirectoryConnectorsOperations, +) +from ._postgres_instances_operations import PostgresInstancesOperations + +__all__ = [ + "SqlServerDatabasesOperations", + "Operations", + "SqlManagedInstancesOperations", + "FailoverGroupsOperations", + "SqlServerInstancesOperations", + "DataControllersOperations", + "ActiveDirectoryConnectorsOperations", + "PostgresInstancesOperations", +] diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_active_directory_connectors_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_active_directory_connectors_operations.py new file mode 100644 index 00000000000..29330758e80 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_active_directory_connectors_operations.py @@ -0,0 +1,700 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.polling.base_polling import LROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_create_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + "activeDirectoryConnectorName": _SERIALIZER.url("active_directory_connector_name", active_directory_connector_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + "activeDirectoryConnectorName": _SERIALIZER.url("active_directory_connector_name", active_directory_connector_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + "activeDirectoryConnectorName": _SERIALIZER.url("active_directory_connector_name", active_directory_connector_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +# fmt: on +class ActiveDirectoryConnectorsOperations(object): + """ActiveDirectoryConnectorsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.ActiveDirectoryConnectorListResult"] + """List the active directory connectors associated with the given data controller. + + List the active directory connectors associated with the given data controller. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ActiveDirectoryConnectorListResult or the result + of cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.ActiveDirectoryConnectorListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ActiveDirectoryConnectorListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "ActiveDirectoryConnectorListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors"} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + active_directory_connector_resource, # type: "_models.ActiveDirectoryConnectorResource" + **kwargs, # type: Any + ): + # type: (...) -> "_models.ActiveDirectoryConnectorResource" + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ActiveDirectoryConnectorResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + active_directory_connector_resource, + "ActiveDirectoryConnectorResource", + ) + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + @distributed_trace + def begin_create( + self, + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + active_directory_connector_resource, # type: "_models.ActiveDirectoryConnectorResource" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.ActiveDirectoryConnectorResource"] + """Creates or replaces an Active Directory connector resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param active_directory_connector_name: The name of the Active Directory connector instance. + :type active_directory_connector_name: str + :param active_directory_connector_resource: desc. + :type active_directory_connector_resource: + ~azure_arc_data_management_client.models.ActiveDirectoryConnectorResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either ActiveDirectoryConnectorResource or the + result of cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure_arc_data_management_client.models.ActiveDirectoryConnectorResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ActiveDirectoryConnectorResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + active_directory_connector_resource=active_directory_connector_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = LROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes an Active Directory connector resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param active_directory_connector_name: The name of the Active Directory connector instance. + :type active_directory_connector_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = LROBasePolling(lro_delay, **kwargs) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.ActiveDirectoryConnectorResource" + """Retrieves an Active Directory connector resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param active_directory_connector_name: The name of the Active Directory connector instance. + :type active_directory_connector_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ActiveDirectoryConnectorResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.ActiveDirectoryConnectorResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ActiveDirectoryConnectorResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_data_controllers_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_data_controllers_operations.py new file mode 100644 index 00000000000..62322516fa3 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_data_controllers_operations.py @@ -0,0 +1,993 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.polling.base_polling import LROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_in_subscription_request( + subscription_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/dataControllers") + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_in_group_request( + subscription_id, # type: str + resource_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_put_data_controller_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_delete_data_controller_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_data_controller_request( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_patch_data_controller_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +# fmt: on +class DataControllersOperations(object): + """DataControllersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list_in_subscription( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PageOfDataControllerResource"] + """List dataController resources in the subscription. + + List dataController resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PageOfDataControllerResource or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.PageOfDataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PageOfDataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_in_subscription_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list_in_subscription.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_in_subscription_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "PageOfDataControllerResource", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_in_subscription.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/dataControllers"} # type: ignore + + @distributed_trace + def list_in_group( + self, + resource_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.PageOfDataControllerResource"] + """List dataController resources in the resource group. + + List dataController resources in the resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PageOfDataControllerResource or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.PageOfDataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PageOfDataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_in_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_in_group.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_in_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "PageOfDataControllerResource", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_in_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers"} # type: ignore + + def _put_data_controller_initial( + self, + resource_group_name, # type: str + data_controller_name, # type: str + data_controller_resource, # type: "_models.DataControllerResource" + **kwargs, # type: Any + ): + # type: (...) -> "_models.DataControllerResource" + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + data_controller_resource, "DataControllerResource" + ) + + request = build_put_data_controller_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._put_data_controller_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _put_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace + def begin_put_data_controller( + self, + resource_group_name, # type: str + data_controller_name, # type: str + data_controller_resource, # type: "_models.DataControllerResource" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.DataControllerResource"] + """Creates or replaces a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param data_controller_resource: desc. + :type data_controller_resource: ~azure_arc_data_management_client.models.DataControllerResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either DataControllerResource or the result of + cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure_arc_data_management_client.models.DataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._put_data_controller_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + data_controller_resource=data_controller_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = LROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_put_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + def _delete_data_controller_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_delete_data_controller_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=self._delete_data_controller_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace + def begin_delete_data_controller( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_data_controller_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = LROBasePolling(lro_delay, **kwargs) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace + def get_data_controller( + self, + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.DataControllerResource" + """Retrieves a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataControllerResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.DataControllerResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_get_data_controller_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=self.get_data_controller.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + def _patch_data_controller_initial( + self, + resource_group_name, # type: str + data_controller_name, # type: str + data_controller_resource, # type: "_models.DataControllerUpdate" + **kwargs, # type: Any + ): + # type: (...) -> Optional["_models.DataControllerResource"] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[Optional["_models.DataControllerResource"]] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + data_controller_resource, "DataControllerUpdate" + ) + + request = build_patch_data_controller_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._patch_data_controller_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _patch_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace + def begin_patch_data_controller( + self, + resource_group_name, # type: str + data_controller_name, # type: str + data_controller_resource, # type: "_models.DataControllerUpdate" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.DataControllerResource"] + """Updates a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param data_controller_resource: The update data controller resource. + :type data_controller_resource: ~azure_arc_data_management_client.models.DataControllerUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either DataControllerResource or the result of + cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure_arc_data_management_client.models.DataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._patch_data_controller_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + data_controller_resource=data_controller_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = LROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_patch_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_failover_groups_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_failover_groups_operations.py new file mode 100644 index 00000000000..be5cc3ff833 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_failover_groups_operations.py @@ -0,0 +1,698 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.polling.base_polling import LROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_create_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + failover_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + "failoverGroupName": _SERIALIZER.url("failover_group_name", failover_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + failover_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + "failoverGroupName": _SERIALIZER.url("failover_group_name", failover_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + failover_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + "failoverGroupName": _SERIALIZER.url("failover_group_name", failover_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +# fmt: on +class FailoverGroupsOperations(object): + """FailoverGroupsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.FailoverGroupListResult"] + """List the failover groups associated with the given sql managed instance. + + List the failover groups associated with the given sql managed instance. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either FailoverGroupListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.FailoverGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.FailoverGroupListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "FailoverGroupListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups"} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + failover_group_name, # type: str + failover_group_resource, # type: "_models.FailoverGroupResource" + **kwargs, # type: Any + ): + # type: (...) -> "_models.FailoverGroupResource" + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.FailoverGroupResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + failover_group_resource, "FailoverGroupResource" + ) + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "FailoverGroupResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "FailoverGroupResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore + + @distributed_trace + def begin_create( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + failover_group_name, # type: str + failover_group_resource, # type: "_models.FailoverGroupResource" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.FailoverGroupResource"] + """Creates or replaces a failover group resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param failover_group_name: The name of the Failover Group. + :type failover_group_name: str + :param failover_group_resource: desc. + :type failover_group_resource: ~azure_arc_data_management_client.models.FailoverGroupResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either FailoverGroupResource or the result of + cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure_arc_data_management_client.models.FailoverGroupResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.FailoverGroupResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + failover_group_resource=failover_group_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "FailoverGroupResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = LROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + failover_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + failover_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a failover group resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param failover_group_name: The name of the Failover Group. + :type failover_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = LROBasePolling(lro_delay, **kwargs) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + failover_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.FailoverGroupResource" + """Retrieves a failover group resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param failover_group_name: The name of the Failover Group. + :type failover_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FailoverGroupResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.FailoverGroupResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.FailoverGroupResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "FailoverGroupResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_operations.py new file mode 100644 index 00000000000..31b85d98d02 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_operations.py @@ -0,0 +1,175 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace + +from .. import models as _models +from .._vendor import _convert_request + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/providers/Microsoft.AzureArcData/operations") + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +# fmt: on +class Operations(object): + """Operations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.OperationListResult"] + """Lists all of the available Azure Data Services on Azure Arc API operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationListResult or the result of cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.OperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.OperationListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "OperationListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/providers/Microsoft.AzureArcData/operations"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_postgres_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_postgres_instances_operations.py new file mode 100644 index 00000000000..1f2a2b8383a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_postgres_instances_operations.py @@ -0,0 +1,907 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.polling.base_polling import LROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + subscription_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/postgresInstances") + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_by_resource_group_request( + subscription_id, # type: str + resource_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "postgresInstanceName": _SERIALIZER.url("postgres_instance_name", postgres_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_create_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "postgresInstanceName": _SERIALIZER.url("postgres_instance_name", postgres_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "postgresInstanceName": _SERIALIZER.url("postgres_instance_name", postgres_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_update_request( + subscription_id, # type: str + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "postgresInstanceName": _SERIALIZER.url("postgres_instance_name", postgres_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +# fmt: on +class PostgresInstancesOperations(object): + """PostgresInstancesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PostgresInstanceListResult"] + """List postgres Instance resources in the subscription. + + List postgres Instance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PostgresInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.PostgresInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "PostgresInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/postgresInstances"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.PostgresInstanceListResult"] + """List postgres Instance resources in the resource group. + + Get a postgres Instances list by Resource group name. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PostgresInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.PostgresInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "PostgresInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.PostgresInstance" + """Retrieves a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PostgresInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.PostgresInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize("PostgresInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + postgres_instance_name, # type: str + resource, # type: "_models.PostgresInstance" + **kwargs, # type: Any + ): + # type: (...) -> "_models.PostgresInstance" + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(resource, "PostgresInstance") + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "PostgresInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "PostgresInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + @distributed_trace + def begin_create( + self, + resource_group_name, # type: str + postgres_instance_name, # type: str + resource, # type: "_models.PostgresInstance" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.PostgresInstance"] + """Creates or replaces a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :param resource: The postgres instance. + :type resource: ~azure_arc_data_management_client.models.PostgresInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either PostgresInstance or the result of + cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure_arc_data_management_client.models.PostgresInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstance"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + resource=resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "PostgresInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = LROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = LROBasePolling(lro_delay, **kwargs) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + @distributed_trace + def update( + self, + resource_group_name, # type: str + postgres_instance_name, # type: str + parameters, # type: "_models.PostgresInstanceUpdate" + **kwargs, # type: Any + ): + # type: (...) -> "_models.PostgresInstance" + """Updates a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :param parameters: The Postgres Instance. + :type parameters: ~azure_arc_data_management_client.models.PostgresInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PostgresInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.PostgresInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(parameters, "PostgresInstanceUpdate") + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize("PostgresInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_sql_managed_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_sql_managed_instances_operations.py new file mode 100644 index 00000000000..89216917120 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_sql_managed_instances_operations.py @@ -0,0 +1,911 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.polling.base_polling import LROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + subscription_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlManagedInstances") + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_by_resource_group_request( + subscription_id, # type: str + resource_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_create_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_update_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +# fmt: on +class SqlManagedInstancesOperations(object): + """SqlManagedInstancesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.SqlManagedInstanceListResult"] + """List sqlManagedInstance resources in the subscription. + + List sqlManagedInstance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlManagedInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.SqlManagedInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlManagedInstances"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.SqlManagedInstanceListResult"] + """List sqlManagedInstance resources in the resource group. + + Gets all sqlManagedInstances in a resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlManagedInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.SqlManagedInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlManagedInstance" + """Retrieves a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlManagedInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlManagedInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + sql_managed_instance, # type: "_models.SqlManagedInstance" + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlManagedInstance" + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(sql_managed_instance, "SqlManagedInstance") + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + @distributed_trace + def begin_create( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + sql_managed_instance, # type: "_models.SqlManagedInstance" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.SqlManagedInstance"] + """Creates or replaces a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param sql_managed_instance: The SQL Managed Instance to be created or updated. + :type sql_managed_instance: ~azure_arc_data_management_client.models.SqlManagedInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either SqlManagedInstance or the result of + cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure_arc_data_management_client.models.SqlManagedInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + sql_managed_instance=sql_managed_instance, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = LROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = LROBasePolling(lro_delay, **kwargs) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + @distributed_trace + def update( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + parameters, # type: "_models.SqlManagedInstanceUpdate" + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlManagedInstance" + """Updates a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param parameters: The SQL Managed Instance. + :type parameters: ~azure_arc_data_management_client.models.SqlManagedInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlManagedInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlManagedInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(parameters, "SqlManagedInstanceUpdate") + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_sql_server_databases_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_sql_server_databases_operations.py new file mode 100644 index 00000000000..ff828a6ea81 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_sql_server_databases_operations.py @@ -0,0 +1,685 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_create_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + database_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + "databaseName": _SERIALIZER.url("database_name", database_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_delete_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + database_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + "databaseName": _SERIALIZER.url("database_name", database_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + database_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + "databaseName": _SERIALIZER.url("database_name", database_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_update_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + database_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + "databaseName": _SERIALIZER.url("database_name", database_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +# fmt: on +class SqlServerDatabasesOperations(object): + """SqlServerDatabasesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def create( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + database_name, # type: str + sql_server_database_resource, # type: "_models.SqlServerDatabaseResource" + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerDatabaseResource" + """Creates or replaces an Arc Sql Server Database. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param database_name: Name of the database. + :type database_name: str + :param sql_server_database_resource: The request body for database resource. + :type sql_server_database_resource: + ~azure_arc_data_management_client.models.SqlServerDatabaseResource + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerDatabaseResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlServerDatabaseResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerDatabaseResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + sql_server_database_resource, "SqlServerDatabaseResource" + ) + + request = build_create_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.create.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "SqlServerDatabaseResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + @distributed_trace + def delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + database_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + """Deletes an Arc Sql Server database resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param database_name: Name of the database. + :type database_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_delete_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + api_version=api_version, + template_url=self.delete.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + if cls: + return cls(pipeline_response, None, {}) + + delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + database_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerDatabaseResource" + """Retrieves an Arc Sql Server database. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param database_name: Name of the database. + :type database_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerDatabaseResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlServerDatabaseResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerDatabaseResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "SqlServerDatabaseResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + @distributed_trace + def update( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + database_name, # type: str + sql_server_database_update, # type: "_models.SqlServerDatabaseUpdate" + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerDatabaseResource" + """Updates an existing database. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param database_name: Name of the database. + :type database_name: str + :param sql_server_database_update: The requested database resource state. + :type sql_server_database_update: + ~azure_arc_data_management_client.models.SqlServerDatabaseUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerDatabaseResource, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlServerDatabaseResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerDatabaseResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + sql_server_database_update, "SqlServerDatabaseUpdate" + ) + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize( + "SqlServerDatabaseResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + @distributed_trace + def list( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.ArcSqlServerDatabaseListResult"] + """List the databases associated with the given Arc Sql Server. + + List the databases associated with the given Arc Sql Server. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ArcSqlServerDatabaseListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.ArcSqlServerDatabaseListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ArcSqlServerDatabaseListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "ArcSqlServerDatabaseListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_sql_server_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_sql_server_instances_operations.py new file mode 100644 index 00000000000..62d5133c546 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/operations/_sql_server_instances_operations.py @@ -0,0 +1,907 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.2, generator: @autorest/python@5.13.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.polling.base_polling import LROBasePolling +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + subscription_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerInstances") + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_by_resource_group_request( + subscription_id, # type: str + resource_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_create_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_update_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2023-01-15-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +# fmt: on +class SqlServerInstancesOperations(object): + """SqlServerInstancesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure_arc_data_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.SqlServerInstanceListResult"] + """List sqlServerInstance resources in the subscription. + + List sqlServerInstance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.SqlServerInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerInstances"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.SqlServerInstanceListResult"] + """List sqlServerInstance resources in the resource group. + + Gets all sqlServerInstances in a resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure_arc_data_management_client.models.SqlServerInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerInstance" + """Retrieves a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlServerInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize("SqlServerInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + sql_server_instance, # type: "_models.SqlServerInstance" + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerInstance" + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(sql_server_instance, "SqlServerInstance") + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + @distributed_trace + def begin_create( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + sql_server_instance, # type: "_models.SqlServerInstance" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.SqlServerInstance"] + """Creates or replaces a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param sql_server_instance: The SQL Server Instance to be created or updated. + :type sql_server_instance: ~azure_arc_data_management_client.models.SqlServerInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either SqlServerInstance or the result of + cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure_arc_data_management_client.models.SqlServerInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + sql_server_instance=sql_server_instance, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = LROBasePolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError(response=response) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be LROBasePolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = LROBasePolling(lro_delay, **kwargs) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + @distributed_trace + def update( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + parameters, # type: "_models.SqlServerInstanceUpdate" + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerInstance" + """Updates a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param parameters: The SQL Server Instance. + :type parameters: ~azure_arc_data_management_client.models.SqlServerInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerInstance, or the result of cls(response) + :rtype: ~azure_arc_data_management_client.models.SqlServerInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2023-01-15-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(parameters, "SqlServerInstanceUpdate") + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize("SqlServerInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/py.typed b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/py.typed new file mode 100644 index 00000000000..e5aff4f83af --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_1_2_0/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/__init__.py new file mode 100644 index 00000000000..8354fd14b34 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/__init__.py @@ -0,0 +1,254 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._azure_arc_data_management_client import AzureArcDataManagementClient +from ._version import VERSION + +__version__ = VERSION +__all__ = ["AzureArcDataManagementClient"] + +# `._patch.py` is used for handwritten extensions to the generated code +# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +from ._patch import patch_sdk + +patch_sdk() + +# SIG # Begin Windows Authenticode signature block +# MIIreAYJKoZIhvcNAQcCoIIraTCCK2UCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCexbdO1cjFEzp3 +# EjodPlPtbutuKvzQu6r/Il70G2Rn76CCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYDCCGVwCAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIGHIbOYTw2L1wWSU2zJEX+trJByYO543 +# Fch7NjD3GPk5MEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# Yo+4PaduC2D4+kMU0zV0RH89VVwrcaj7TUDHFA16oLWPlVsdqV44Keimg/9HxTxN +# GOkMX/oo+MngLkesOxuDrY2DuSC78RSCah/ygJ4qgSOrmC8OPLYaTlpjVh304ZXo +# apKIvAfTqPLzQ9Lx/5quojoIcA/bOTKw2r/O7UgLHaiLwY2QZ3FnWR5eWTRmSguv +# cooZrZcKTtDY8vp3Fjm+VgY1/08oRK5c/mh6TL2UOGorcP6oAHe60sBsWVpU04Fz +# ae0yTFzuuv+NAQPhftSD926KKiiE11czUzq4Dwc5e/Vl9tZeKLHWGg/r6bsY7BDA +# xecZ3EKMFYMcctmUPq9y56GCFygwghckBgorBgEEAYI3AwMBMYIXFDCCFxAGCSqG +# SIb3DQEHAqCCFwEwghb9AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFYBgsqhkiG9w0B +# CRABBKCCAUcEggFDMIIBPwIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCBd2USXf7RWjIKLRBcGYoRH83tqz/RloWBWmxEP4A3ooAIGZdXk9ACDGBIyMDI0 +# MDIyODE1MDMxNi41MlowBIACAfSggdikgdUwgdIxCzAJBgNVBAYTAlVTMRMwEQYD +# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy +# b3NvZnQgQ29ycG9yYXRpb24xLTArBgNVBAsTJE1pY3Jvc29mdCBJcmVsYW5kIE9w +# ZXJhdGlvbnMgTGltaXRlZDEmMCQGA1UECxMdVGhhbGVzIFRTUyBFU046MDg0Mi00 +# QkU2LUMyOUExJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2Wg +# ghF4MIIHJzCCBQ+gAwIBAgITMwAAAdqO1claANERsQABAAAB2jANBgkqhkiG9w0B +# AQsFADB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE +# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYD +# VQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDAeFw0yMzEwMTIxOTA2 +# NTlaFw0yNTAxMTAxOTA2NTlaMIHSMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2Fz +# aGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENv +# cnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBPcGVyYXRpb25z +# IExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjA4NDItNEJFNi1DMjlB +# MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNlMIICIjANBgkq +# hkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAk5AGCHa1UVHWPyNADg0N/xtxWtdI3TzQ +# I0o9JCjtLnuwKc9TQUoXjvDYvqoe3CbgScKUXZyu5cWn+Xs+kxCDbkTtfzEOa/Gv +# wEETqIBIA8J+tN5u68CxlZwliHLumuAK4F/s6J1emCxbXLynpWzuwPZq6n/S695j +# F5eUq2w+MwKmUeSTRtr4eAuGjQnrwp2OLcMzYrn3AfL3Gu2xgr5f16tsMZnaaZff +# vrlpLlDv+6APExWDPKPzTImfpQueScP2LiRRDFWGpXV1z8MXpQF67N+6SQx53u2v +# NQRkxHKVruqG/BR5CWDMJCGlmPP7OxCCleU9zO8Z3SKqvuUALB9UaiDmmUjN0TG+ +# 3VMDwmZ5/zX1pMrAfUhUQjBgsDq69LyRF0DpHG8xxv/+6U2Mi4Zx7LKQwBcTKdWs +# sb1W8rit+sKwYvePfQuaJ26D6jCtwKNBqBiasaTWEHKReKWj1gHxDLLlDUqEa4fr +# lXfMXLxrSTBsoFGzxVHge2g9jD3PUN1wl9kE7Z2HNffIAyKkIabpKa+a9q9GxeHL +# zTmOICkPI36zT9vuizbPyJFYYmToz265Pbj3eAVX/0ksaDlgkkIlcj7LGQ785edk +# my4a3T7NYt0dLhchcEbXug+7kqwV9FMdESWhHZ0jobBprEjIPJIdg628jJ2Vru7i +# V+d8KNj+opMCAwEAAaOCAUkwggFFMB0GA1UdDgQWBBShfI3JUT1mE5WLMRRXCE2A +# vw9fRTAfBgNVHSMEGDAWgBSfpxVdAF5iXYP05dJlpxtTNRnpcjBfBgNVHR8EWDBW +# MFSgUqBQhk5odHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2NybC9NaWNy +# b3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgxKS5jcmwwbAYIKwYBBQUH +# AQEEYDBeMFwGCCsGAQUFBzAChlBodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtp +# b3BzL2NlcnRzL01pY3Jvc29mdCUyMFRpbWUtU3RhbXAlMjBQQ0ElMjAyMDEwKDEp +# LmNydDAMBgNVHRMBAf8EAjAAMBYGA1UdJQEB/wQMMAoGCCsGAQUFBwMIMA4GA1Ud +# DwEB/wQEAwIHgDANBgkqhkiG9w0BAQsFAAOCAgEAuYNV1O24jSMAS3jU7Y4zwJTb +# ftMYzKGsavsXMoIQVpfG2iqT8g5tCuKrVxodWHa/K5DbifPdN04G/utyz+qc+M7G +# dcUvJk95pYuw24BFWZRWLJVheNdgHkPDNpZmBJxjwYovvIaPJauHvxYlSCHusTX7 +# lUPmHT/quz10FGoDMj1+FnPuymyO3y+fHnRYTFsFJIfut9psd6d2l6ptOZb9F9xp +# P4YUixP6DZ6PvBEoir9CGeygXyakU08dXWr9Yr+sX8KGi+SEkwO+Wq0RNaL3saiU +# 5IpqZkL1tiBw8p/Pbx53blYnLXRW1D0/n4L/Z058NrPVGZ45vbspt6CFrRJ89yuJ +# N85FW+o8NJref03t2FNjv7j0jx6+hp32F1nwJ8g49+3C3fFNfZGExkkJWgWVpsdy +# 99vzitoUzpzPkRiT7HVpUSJe2ArpHTGfXCMxcd/QBaVKOpGTO9KdErMWxnASXvhV +# qGUpWEj4KL1FP37oZzTFbMnvNAhQUTcmKLHn7sovwCsd8Fj1QUvPiydugntCKncg +# ANuRThkvSJDyPwjGtrtpJh9OhR5+Zy3d0zr19/gR6HYqH02wqKKmHnz0Cn/FLWMR +# KWt+Mv+D9luhpLl31rZ8Dn3ya5sO8sPnHk8/fvvTS+b9j48iGanZ9O+5Layd15kG +# bJOpxQ0dE2YKT6eNXecwggdxMIIFWaADAgECAhMzAAAAFcXna54Cm0mZAAAAAAAV +# MA0GCSqGSIb3DQEBCwUAMIGIMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGlu +# Z3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBv +# cmF0aW9uMTIwMAYDVQQDEylNaWNyb3NvZnQgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRo +# b3JpdHkgMjAxMDAeFw0yMTA5MzAxODIyMjVaFw0zMDA5MzAxODMyMjVaMHwxCzAJ +# BgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25k +# MR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jv +# c29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwMIICIjANBgkqhkiG9w0BAQEFAAOCAg8A +# MIICCgKCAgEA5OGmTOe0ciELeaLL1yR5vQ7VgtP97pwHB9KpbE51yMo1V/YBf2xK +# 4OK9uT4XYDP/XE/HZveVU3Fa4n5KWv64NmeFRiMMtY0Tz3cywBAY6GB9alKDRLem +# jkZrBxTzxXb1hlDcwUTIcVxRMTegCjhuje3XD9gmU3w5YQJ6xKr9cmmvHaus9ja+ +# NSZk2pg7uhp7M62AW36MEBydUv626GIl3GoPz130/o5Tz9bshVZN7928jaTjkY+y +# OSxRnOlwaQ3KNi1wjjHINSi947SHJMPgyY9+tVSP3PoFVZhtaDuaRr3tpK56KTes +# y+uDRedGbsoy1cCGMFxPLOJiss254o2I5JasAUq7vnGpF1tnYN74kpEeHT39IM9z +# fUGaRnXNxF803RKJ1v2lIH1+/NmeRd+2ci/bfV+AutuqfjbsNkz2K26oElHovwUD +# o9Fzpk03dJQcNIIP8BDyt0cY7afomXw/TNuvXsLz1dhzPUNOwTM5TI4CvEJoLhDq +# hFFG4tG9ahhaYQFzymeiXtcodgLiMxhy16cg8ML6EgrXY28MyTZki1ugpoMhXV8w +# dJGUlNi5UPkLiWHzNgY1GIRH29wb0f2y1BzFa/ZcUlFdEtsluq9QBXpsxREdcu+N +# +VLEhReTwDwV2xo3xwgVGD94q0W29R6HXtqPnhZyacaue7e3PmriLq0CAwEAAaOC +# Ad0wggHZMBIGCSsGAQQBgjcVAQQFAgMBAAEwIwYJKwYBBAGCNxUCBBYEFCqnUv5k +# xJq+gpE8RjUpzxD/LwTuMB0GA1UdDgQWBBSfpxVdAF5iXYP05dJlpxtTNRnpcjBc +# BgNVHSAEVTBTMFEGDCsGAQQBgjdMg30BATBBMD8GCCsGAQUFBwIBFjNodHRwOi8v +# d3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL0RvY3MvUmVwb3NpdG9yeS5odG0wEwYD +# VR0lBAwwCgYIKwYBBQUHAwgwGQYJKwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYD +# VR0PBAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAU1fZWy4/oolxi +# aNE9lJBb186aGMQwVgYDVR0fBE8wTTBLoEmgR4ZFaHR0cDovL2NybC5taWNyb3Nv +# ZnQuY29tL3BraS9jcmwvcHJvZHVjdHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMu +# Y3JsMFoGCCsGAQUFBwEBBE4wTDBKBggrBgEFBQcwAoY+aHR0cDovL3d3dy5taWNy +# b3NvZnQuY29tL3BraS9jZXJ0cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcnQw +# DQYJKoZIhvcNAQELBQADggIBAJ1VffwqreEsH2cBMSRb4Z5yS/ypb+pcFLY+Tkdk +# eLEGk5c9MTO1OdfCcTY/2mRsfNB1OW27DzHkwo/7bNGhlBgi7ulmZzpTTd2YurYe +# eNg2LpypglYAA7AFvonoaeC6Ce5732pvvinLbtg/SHUB2RjebYIM9W0jVOR4U3Uk +# V7ndn/OOPcbzaN9l9qRWqveVtihVJ9AkvUCgvxm2EhIRXT0n4ECWOKz3+SmJw7wX +# sFSFQrP8DJ6LGYnn8AtqgcKBGUIZUnWKNsIdw2FzLixre24/LAl4FOmRsqlb30mj +# dAy87JGA0j3mSj5mO0+7hvoyGtmW9I/2kQH2zsZ0/fZMcm8Qq3UwxTSwethQ/gpY +# 3UA8x1RtnWN0SCyxTkctwRQEcb9k+SS+c23Kjgm9swFXSVRk2XPXfx5bRAGOWhmR +# aw2fpCjcZxkoJLo4S5pu+yFUa2pFEUep8beuyOiJXk+d0tBMdrVXVAmxaQFEfnyh +# YWxz/gq77EFmPWn9y8FBSX5+k77L+DvktxW/tM4+pTFRhLy/AsGConsXHRWJjXD+ +# 57XQKBqJC4822rpM+Zv/Cuk0+CQ1ZyvgDbjmjJnW4SLq8CdCPSWU5nR0W2rRnj7t +# fqAxM328y+l7vzhwRNGQ8cirOoo6CGJ/2XBjU02N7oJtpQUQwXEGahC0HVUzWLOh +# cGbyoYIC1DCCAj0CAQEwggEAoYHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEGA1UE +# CBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9z +# b2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBPcGVy +# YXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjA4NDItNEJF +# Ni1DMjlBMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNloiMK +# AQEwBwYFKw4DAhoDFQBCoh8hiWMdRs2hjT/COFdGf+xIDaCBgzCBgKR+MHwxCzAJ +# BgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25k +# MR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jv +# c29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwMA0GCSqGSIb3DQEBBQUAAgUA6YmczzAi +# GA8yMDI0MDIyODE5NTE0M1oYDzIwMjQwMjI5MTk1MTQzWjB0MDoGCisGAQQBhFkK +# BAExLDAqMAoCBQDpiZzPAgEAMAcCAQACAggYMAcCAQACAhBoMAoCBQDpiu5PAgEA +# MDYGCisGAQQBhFkKBAIxKDAmMAwGCisGAQQBhFkKAwKgCjAIAgEAAgMHoSChCjAI +# AgEAAgMBhqAwDQYJKoZIhvcNAQEFBQADgYEANLW46trirC6mGJM0KFbCi0R4kLAT +# EG4lZ0KyXP1Owks7yQDNjpO1Cy0e2xRTT4YvXoL6UdzteUbSrZM6ED58e2jCO0t7 +# wTJNwRKwCnUuXSxSGpVnHbOLVlUbXlLyxRGAiNnug0caUpTRyAQYpgW7hWvrCnMH +# AI+79aInZPJSmgAxggQNMIIECQIBATCBkzB8MQswCQYDVQQGEwJVUzETMBEGA1UE +# CBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9z +# b2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQ +# Q0EgMjAxMAITMwAAAdqO1claANERsQABAAAB2jANBglghkgBZQMEAgEFAKCCAUow +# GgYJKoZIhvcNAQkDMQ0GCyqGSIb3DQEJEAEEMC8GCSqGSIb3DQEJBDEiBCB6eBwY +# Rfw5igP4Q0hfi+u11TuZHqixFDyHk96ktnJzCTCB+gYLKoZIhvcNAQkQAi8xgeow +# gecwgeQwgb0EICKlo2liwO+epN73kOPULT3TbQjmWOJutb+d0gI7GD3GMIGYMIGA +# pH4wfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcT +# B1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UE +# AxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTACEzMAAAHajtXJWgDREbEA +# AQAAAdowIgQgf2k2Bp0TwiCNjBrYnMawvi1P4mQCGvldlEYoXyx14e8wDQYJKoZI +# hvcNAQELBQAEggIAcw12D8/Wc0CHSxavLv6Ku/dcp0wDmSKr+BcesSUUFMDZIBrM +# vWT2vBcCHq/0x+wZtIr9uVjUwU7IMPQzWv1+q6cUUqlN70FL1ar3+hSbyeZ7Yehw +# nbvOI2o8ftUpXHwmvR5xtlGJOFEoNAoh0uTZPS5zbcOxBOnf+84T2zYQ2Cs/FPAd +# GddmblypAADthnFVDS/GCz2KYjoF7d8+noucXDQnAt1g2Iy19BBu9wbIXBS4luPP +# KuuI0pcKE/WaubBEws10N26lmY+8Odh0rzZir4AWC9XB1Ilmc9DcjPMHR89GRY4/ +# wHFbWIyhvEHP+SbrxflJlnc344RsKDfNSdgKY1dca+QMPzZI487kmJ34ZIWTL84m +# Ejh/CNhTDAr2RSttKzC1gob9brSf2a6B6b3/9X7vDTqFbo7L9XnmfUV9T5VwxYxl +# 85T1wLp3Ka9eQR2zJZEccaRhOId8PjjLyok9VvrZ2BOYA5ug9cJV4O9XT2L0VjXU +# Sqi1I17D1RjHtPM9BqXpAsOVltlZzpSsdYnpeysqm6CLF0z9ekjeSVd0K4WGRa31 +# XzUddHM6oACSxWRPkR25Sje0tafrXheHEcwxxkTr2632igck2rKv6RP/fNXVFQ68 +# 8Fmuktvp1zIljqeKHUAf1k/RGo7rv0vA3T0Bs+Z3Sx413yEYzwpoeO+9TjU= +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/_azure_arc_data_management_client.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/_azure_arc_data_management_client.py new file mode 100644 index 00000000000..161947bb548 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/_azure_arc_data_management_client.py @@ -0,0 +1,409 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from copy import deepcopy +from typing import TYPE_CHECKING + +from msrest import Deserializer, Serializer + +from azure.mgmt.core import ARMPipelineClient + +from . import models +from ._configuration import AzureArcDataManagementClientConfiguration +from .operations import ( + ActiveDirectoryConnectorsOperations, + DataControllersOperations, + FailoverGroupsOperations, + Operations, + PostgresInstancesOperations, + SqlManagedInstancesOperations, + SqlServerAvailabilityGroupsOperations, + SqlServerDatabasesOperations, + SqlServerInstancesOperations, + SqlServerLicensesOperations, +) + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.credentials import TokenCredential + from azure.core.rest import HttpRequest, HttpResponse + + +class AzureArcDataManagementClient( + object +): # pylint: disable=too-many-instance-attributes + """The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data + Services on Azure Arc Resources. + + :ivar sql_server_availability_groups: SqlServerAvailabilityGroupsOperations operations + :vartype sql_server_availability_groups: + azure.mgmt.azurearcdata.operations.SqlServerAvailabilityGroupsOperations + :ivar sql_server_databases: SqlServerDatabasesOperations operations + :vartype sql_server_databases: azure.mgmt.azurearcdata.operations.SqlServerDatabasesOperations + :ivar operations: Operations operations + :vartype operations: azure.mgmt.azurearcdata.operations.Operations + :ivar sql_managed_instances: SqlManagedInstancesOperations operations + :vartype sql_managed_instances: + azure.mgmt.azurearcdata.operations.SqlManagedInstancesOperations + :ivar failover_groups: FailoverGroupsOperations operations + :vartype failover_groups: azure.mgmt.azurearcdata.operations.FailoverGroupsOperations + :ivar sql_server_instances: SqlServerInstancesOperations operations + :vartype sql_server_instances: azure.mgmt.azurearcdata.operations.SqlServerInstancesOperations + :ivar sql_server_licenses: SqlServerLicensesOperations operations + :vartype sql_server_licenses: azure.mgmt.azurearcdata.operations.SqlServerLicensesOperations + :ivar data_controllers: DataControllersOperations operations + :vartype data_controllers: azure.mgmt.azurearcdata.operations.DataControllersOperations + :ivar active_directory_connectors: ActiveDirectoryConnectorsOperations operations + :vartype active_directory_connectors: + azure.mgmt.azurearcdata.operations.ActiveDirectoryConnectorsOperations + :ivar postgres_instances: PostgresInstancesOperations operations + :vartype postgres_instances: azure.mgmt.azurearcdata.operations.PostgresInstancesOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The ID of the target subscription. The value must be an UUID. + :type subscription_id: str + :param base_url: Service URL. Default value is "https://management.azure.com". + :type base_url: str + :keyword api_version: Api Version. Default value is "2024-03-01-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + base_url="https://management.azure.com", # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + self._config = AzureArcDataManagementClientConfiguration( + credential=credential, subscription_id=subscription_id, **kwargs + ) + self._client = ARMPipelineClient( + base_url=base_url, config=self._config, **kwargs + ) + + client_models = { + k: v for k, v in models.__dict__.items() if isinstance(v, type) + } + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + self._serialize.client_side_validation = False + self.sql_server_availability_groups = ( + SqlServerAvailabilityGroupsOperations( + self._client, self._config, self._serialize, self._deserialize + ) + ) + self.sql_server_databases = SqlServerDatabasesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize + ) + self.sql_managed_instances = SqlManagedInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.failover_groups = FailoverGroupsOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.sql_server_instances = SqlServerInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.sql_server_licenses = SqlServerLicensesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.data_controllers = DataControllersOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.active_directory_connectors = ActiveDirectoryConnectorsOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.postgres_instances = PostgresInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + + def _send_request( + self, + request, # type: HttpRequest + **kwargs, # type: Any + ): + # type: (...) -> HttpResponse + """Runs the network request through the client's chained policies. + + >>> from azure.core.rest import HttpRequest + >>> request = HttpRequest("GET", "https://www.example.org/") + + >>> response = client._send_request(request) + + + For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart + + :param request: The network request you want to make. Required. + :type request: ~azure.core.rest.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to False. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.rest.HttpResponse + """ + + request_copy = deepcopy(request) + request_copy.url = self._client.format_url(request_copy.url) + return self._client.send_request(request_copy, **kwargs) + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> AzureArcDataManagementClient + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCZElTlCgqxSkzj +# /XyJawlj1FR8+vAncADMu91Xx3eDJqCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIF9NKQf835x8M+bEyLn7ZreRDLbr+Qur +# lD/cbhAd/DeJMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# hsuikmCzYP6xSQEOIBaX/vUjrgQrbVQDqvyixnI+DbHN52V0vy3eJzlibJvTbUhQ +# MwC+kiaOZT+DN3x8OsEcpcg44FJh+MjRLFAWJ0SYSTskpIQF+Tabf9VMHm17Nio6 +# 5C4mfM6BNpwFRv84j69dH+bThByrd0nnZBYcnj9XLGlVMw7PK5bimFOYYk0vp4TY +# d4Tpwu+A49xAT3SljhdQ/W3Q+it/CCBAc/MfFHRWcpeyeKNaZa3coBjvwyFzM97b +# OWJP2gUh47BLH0ph+cUz5wz8eKoV9Y+1InFrd64jGd3ZUTmjfDpVVXMfNCdGukGf +# 0Xky0xNGUq3GMLfBtbITTqGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCD6u+98TYGMrxn9LKFMH9eTe3ipBuc22lG6IljNVXFpGAIGZdYHa6G9GBMyMDI0 +# MDIyODE1MDMwOS44MTZaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjE3OUUt +# NEJCMC04MjQ2MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzE5WhcNMjUwMTEwMTkwNzE5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRCQjAtODI0 +# NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKyHnPOhxbvRATnGjb/6fuBhh3ZLzotA +# xAgdLaZ/zkRFUdeSKzyNt3tqorMK7GDvcXdKs+qIMUbvenlH+w53ssPa6rYP760Z +# uFrABrfserf0kFayNXVzwT7jarJOEjnFMBp+yi+uwQ2TnJuxczceG5FDHrII6sF6 +# F879lP6ydY0BBZkZ9t39e/svNRieA5gUnv/YcM/bIMY/QYmd9F0B+ebFYi+PH4Ak +# XahNkFgK85OIaRrDGvhnxOa/5zGL7Oiii7+J9/QHkdJGlfnRfbQ3QXM/5/umBOKG +# 4JoFY1niZ5RVH5PT0+uCjwcqhTbnvUtfK+N+yB2b9rEZvp2Tv4ZwYzEd9A9VsYMu +# ZiCSbaFMk77LwVbklpnw4aHWJXJkEYmJvxRbcThE8FQyOoVkSuKc5OWZ2+WM/j50 +# oblA0tCU53AauvUOZRoQBh89nHK+m5pOXKXdYMJ+ceuLYF8h5y/cXLQMOmqLJz5l +# 7MLqGwU0zHV+MEO8L1Fo2zEEQ4iL4BX8YknKXonHGQacSCaLZot2kyJVRsFSxn0P +# lPvHVp0YdsCMzdeiw9jAZ7K9s1WxsZGEBrK/obipX6uxjEpyUA9mbVPljlb3R4MW +# I0E2xI/NM6F4Ac8Ceax3YWLT+aWCZeqiIMLxyyWZg+i1KY8ZEzMeNTKCEI5wF1wx +# qr6T1/MQo+8tAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUcF4XP26dV+8SusoA1XXQ +# 2TDSmdIwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBAMATzg6R/A0ldO7MqGxD1VJj +# i5yVA1hHb0Hc0Yjtv7WkxQ8iwfflulX5Us64tD3+3NT1JkphWzaAWf2wKdAw35Rx +# tQG1iON3HEZ0X23nde4Kg/Wfbx5rEHkZ9bzKnR/2N5A16+w/1pbwJzdfRcnJT3cL +# yawr/kYjMWd63OP0Glq70ua4WUE/Po5pU7rQRbWEoQozY24hAqOcwuRcm6Cb0JBe +# TOCeRBntEKgjKep4pRaQt7b9vusT97WeJcfaVosmmPtsZsawgnpIjbBa55tHfuk0 +# vDkZtbIXjU4mr5dns9dnanBdBS2PY3N3hIfCPEOszquwHLkfkFZ/9bxw8/eRJldt +# oukHo16afE/AqP/smmGJh5ZR0pmgW6QcX+61rdi5kDJTzCFaoMyYzUS0SEbyrDZ/ +# p2KOuKAYNngljiOlllct0uJVz2agfczGjjsKi2AS1WaXvOhgZNmGw42SFB1qaloa +# 8Kaux9Q2HHLE8gee/5rgOnx9zSbfVUc7IcRNodq6R7v+Rz+P6XKtOgyCqW/+rhPm +# p/n7Fq2BGTRkcy//hmS32p6qyglr2K4OoJDJXxFs6lwc8D86qlUeGjUyo7hVy5Vv +# yA+y0mGnEAuA85tsOcUPlzwWF5sv+B5fz35OW3X4Spk5SiNulnLFRPM5XCsSHqvc +# bC8R3qwj2w1evPhZxDuNMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRC +# QjAtODI0NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAbfPR1fBX6HxYfyPx8zYzJU5fIQyggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJvw4w +# IhgPMjAyNDAyMjgyMjE3NTBaGA8yMDI0MDIyOTIyMTc1MFowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym/DgIBADAHAgEAAgIFODAHAgEAAgIRUDAKAgUA6YsQjgIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAErMic/nNPp5tSOJsfCecCou9ByT +# N3G55pr1uxb+X3idhClgYGc3ljiCPGpHiDsoGXrc4dK+WWhXosUk2fv46uOPrhy1 +# 1gttQCsn+i9NRKfttUNZl3FIUO2oKEwmp78mrjzCAwD8dlydsjn4dHDCv8eIDkmb +# T8xHYmeUT9tHQQbPMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgqgJ2 +# yWHP25/V40D5Gw8EbLmMwgA0kOomkpvSQ4TVV44wgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCDj7lK/8jnlbTjPvc77DCCSb4TZApY9nJm5whsK/2kKwTCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB4NT8HxMVH35d +# AAEAAAHgMCIEIG01xKO9hBFTAtjUO/ZHX2/vm3tWdTGjY5wDebXC55bIMA0GCSqG +# SIb3DQEBCwUABIICAJsXgCCp03YYg4O0yRc6gUoOK31Shgzng+VfX6gXL8fzTDfD +# QiolM4pW0y8FlT9sOJsawDNGv/yfHqkJ34JEWVQTFkB0fK8tKqs1xFt1d7jk/17f +# +uGpqhwMJM6+1ryD/m0SJTegZIuXzhe+8rkG5EqUkGE7xrVH8UzT4tHwCAUZrjws +# 4Y5oRDM7oLbyYiuRqEJwiBh/P3R7ztjjjLjhKdp9hQOkXLoUXzMxubZb5qhFEUUx +# GVSfMD9jh9HyrJ2swJ6PirT+nS+fjrgo2y9UaH0j5dFbfYU1PCtO9aYmvQ3X63Xs +# TlVw6RTuzFvegMP5eAJTrLhpNebghiBLeVgSSh6ljt66A4/ESwqBGEj+v7AIRTLI +# qLTi74uGCN///KQD0IjB4NY495SngHBAy0TpFRu3+zMGvgdkh0p6dCyyzDCkTnQK +# s2m3gf2rXS49ANZAzx0yH1H6gCrJ9QnDp+U+JQWhX6TIgYlhW3zqE2Q9De0xNd3Z +# Lm+ilSoc4DjBMa0GtfDqYof0HNFvObkAXWOfzM1BaYmMFpblMMEwIg6hjQVBbSzU +# HQqaqWoDD3ADfJGnCF1/KJkcGyXFxiEk+H+nmY4pGQr36vsJYGMiQoWKlpnVjOUc +# OGAs67B7hWxQakqhN7N0SLcBNSfVK1rO7Fh55xAqmSqZ0nmJXMfGq0Eyz3QE +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/_configuration.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/_configuration.py new file mode 100644 index 00000000000..5ff1c78c32e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/_configuration.py @@ -0,0 +1,340 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ( + ARMChallengeAuthenticationPolicy, + ARMHttpLoggingPolicy, +) + +from ._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.credentials import TokenCredential + + +class AzureArcDataManagementClientConfiguration( + Configuration +): # pylint: disable=too-many-instance-attributes + """Configuration for AzureArcDataManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The ID of the target subscription. The value must be an UUID. + :type subscription_id: str + :keyword api_version: Api Version. Default value is "2024-03-01-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + super(AzureArcDataManagementClientConfiguration, self).__init__( + **kwargs + ) + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = api_version + self.credential_scopes = kwargs.pop( + "credential_scopes", ["https://management.azure.com/.default"] + ) + kwargs.setdefault("sdk_moniker", "mgmt-azurearcdata/{}".format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get( + "user_agent_policy" + ) or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get( + "headers_policy" + ) or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get("proxy_policy") or policies.ProxyPolicy( + **kwargs + ) + self.logging_policy = kwargs.get( + "logging_policy" + ) or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get( + "http_logging_policy" + ) or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get("retry_policy") or policies.RetryPolicy( + **kwargs + ) + self.custom_hook_policy = kwargs.get( + "custom_hook_policy" + ) or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get( + "redirect_policy" + ) or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get("authentication_policy") + if self.credential and not self.authentication_policy: + self.authentication_policy = ARMChallengeAuthenticationPolicy( + self.credential, *self.credential_scopes, **kwargs + ) + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDtX+CB3c6xxSi1 +# 93u7vOLAyA6f7Icrwx7fGn9deRUKV6CCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEINnEb600N+cwJmn9uohtcocZ5uJjDhSj +# 2i2ylPyn+hjBMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# oAwiakD6JnkpkEwVs2J2RTpcZR61DJ/ldztlr1Vz40NDbhX9SpakXf4rRlv30z2f +# 06q8ELN6wzSsaya3ziHtEFjaob3QtfG+lktzA111r0HDsNi5tYX6ikt8g/pf+Mbd +# 3yJtOcbCXE62lRJcRxFtByU+iHd40d2oiy8BV/MK/F8JsSU9v1xCjDczDsspKeu6 +# zKzmUjTOuoP9cwgJgzi6ndk6Sy14bD/pZDM71XXqRDQqMMCUEXhqNu/Pyw775Brb +# EKAVKEbQvNX/HSB3/h0yNpPIQHtu5ItCUht/sTNS+Z6MD0h9obM6eDremrxI/OiN +# Co3RShO6GKde9vQYSvBNAKGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCDk0Mz/1RF8O/BNOOIzlsWRp2wh6ydIkUejZTWfEMxsLgIGZdX8tm0hGBMyMDI0 +# MDIyODE1MDMwOC4yNTZaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjNCRDQt +# NEI4MC02OUMzMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzM1WhcNMjUwMTEwMTkwNzM1WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRCODAtNjlD +# MzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKl74Drau2O6LLrJO3HyTvO9aXai//eN +# yP5MLWZrmUGNOJMPwMI08V9zBfRPNcucreIYSyJHjkMIUGmuh0rPV5/2+UCLGrN1 +# P77n9fq/mdzXMN1FzqaPHdKElKneJQ8R6cP4dru2Gymmt1rrGcNe800CcD6d/Ndo +# ommkd196VqOtjZFA1XWu+GsFBeWHiez/PllqcM/eWntkQMs0lK0zmCfH+Bu7i1h+ +# FDRR8F7WzUr/7M3jhVdPpAfq2zYCA8ZVLNgEizY+vFmgx+zDuuU/GChDK7klDcCw +# +/gVoEuSOl5clQsydWQjJJX7Z2yV+1KC6G1JVqpP3dpKPAP/4udNqpR5HIeb8Ta1 +# JfjRUzSv3qSje5y9RYT/AjWNYQ7gsezuDWM/8cZ11kco1JvUyOQ8x/JDkMFqSRwj +# 1v+mc6LKKlj//dWCG/Hw9ppdlWJX6psDesQuQR7FV7eCqV/lfajoLpPNx/9zF1dv +# 8yXBdzmWJPeCie2XaQnrAKDqlG3zXux9tNQmz2L96TdxnIO2OGmYxBAAZAWoKbmt +# YI+Ciz4CYyO0Fm5Z3T40a5d7KJuftF6CToccc/Up/jpFfQitLfjd71cS+cLCeoQ+ +# q0n0IALvV+acbENouSOrjv/QtY4FIjHlI5zdJzJnGskVJ5ozhji0YRscv1WwJFAu +# yyCMQvLdmPddAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQU3/+fh7tNczEifEXlCQgF +# OXgMh6owHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBADP6whOFjD1ad8GkEJ9oLBuv +# fjndMyGQ9R4HgBKSlPt3pa0XVLcimrJlDnKGgFBiWwI6XOgw82hdolDiMDBLLWRM +# TJHWVeUY1gU4XB8OOIxBc9/Q83zb1c0RWEupgC48I+b+2x2VNgGJUsQIyPR2PiXQ +# hT5PyerMgag9OSodQjFwpNdGirna2rpV23EUwFeO5+3oSX4JeCNZvgyUOzKpyMvq +# Vaubo+Glf/psfW5tIcMjZVt0elswfq0qJNQgoYipbaTvv7xmixUJGTbixYifTwAi +# vPcKNdeisZmtts7OHbAM795ZvKLSEqXiRUjDYZyeHyAysMEALbIhdXgHEh60KoZy +# zlBXz3VxEirE7nhucNwM2tViOlwI7EkeU5hudctnXCG55JuMw/wb7c71RKimZA/K +# XlWpmBvkJkB0BZES8OCGDd+zY/T9BnTp8si36Tql84VfpYe9iHmy7PqqxqMF2Cn4 +# q2a0mEMnpBruDGE/gR9c8SVJ2ntkARy5SfluuJ/MB61yRvT1mUx3lyppO22ePjBj +# nwoEvVxbDjT1jhdMNdevOuDeJGzRLK9HNmTDC+TdZQlj+VMgIm8ZeEIRNF0oaviF +# +QZcUZLWzWbYq6yDok8EZKFiRR5otBoGLvaYFpxBZUE8mnLKuDlYobjrxh7lnwrx +# V/fMy0F9fSo2JxFmtLgtMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRC +# ODAtNjlDMzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUA942iGuYFrsE4wzWDd85EpM6RiwqggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJtH4w +# IhgPMjAyNDAyMjgyMTMyNDZaGA8yMDI0MDIyOTIxMzI0NlowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym0fgIBADAHAgEAAgII/jAHAgEAAgIRWzAKAgUA6YsF/gIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAJ6X7dDIGi9HtOCA2shzNFZ6YvoT +# Wvg61z5FKYPhplayQdORPpE+XeeXTwPqfv6/sx93z6zYNxiMgP+9fqXYnMxH965H +# 3HMYkoPxXPXklX+vnZ5Q+02VAKWS0NdI6kAFPBrJSLMZ752kT5HbPmUmHF0DaPyo +# Sj7xsnbEGsliDjFEMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQg65KY +# PLQVuF3pwlBQP2kSgvLpnk7b2aeWNuG7+iggnwwwgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCAVqdP//qjxGFhe2YboEXeb8I/pAof01CwhbxUH9U697TCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB5Y9qwPM9tAuj +# AAEAAAHlMCIEIJZiUB27oq8Piq7Is0oyatZIjipupHB/Q5BVrq0i72SaMA0GCSqG +# SIb3DQEBCwUABIICABVMqQmTxR1bvfiVO6z0ICiuNzbjEUC9+lrEqyFvglPGDvtF +# BBvvDA9eluucjX6YNjQtbfm4t8tiAZGDAc8LYzDwb5WGxRX7Tz609hUZ5CIhLxnw +# AgX8MKgcJvxIspV5BEj5ffN4pqgO9RaOj/4j2shNZFDbGWWhHnMipjoGMWr0KFSk +# 1RLB43vttOVPhVzRL4PbJUBLBs6NE0XnNVyzoMaHYBv3zt4D1BlAlWPptVY7t0cs +# NetBnNTFXlGXAKTze43J9UiAkXqnamD6tSlRHRdGlWhIzT88Xw+CdcQo+AlmFmcL +# 0cQ/e6MwC/drqK4EsV2PqQK8bFTxJfzFES+KU1Zg/F2gBBMJpR0G7VZgAT88bOWC +# qt+lmFp5iHtPeaONatLgZ9fO53cX/UQg6znEKkzo5B57pkzKDXrgS0y4kVo4wq9M +# P1Ifx8tRoH2rI1DZWxqadQtV6fvV3JfFZbIAW+hT5YN1D24T0OCy6X8rmI1O/Hfq +# ywfwp8yeoJmROsibidM7EOwQFRWV3rSZRkJQnlxK/bOSWPWJNGyzfTS81XcpL7zF +# m7FMEKTjKCnxkbYLVrKdaq/m4i1jZaLXNoOgddNOQuLFeDdlbjFI8ViFVzlFl/FC +# uH/f2uRhiukKlQ4k8Rcz16SdI5ZHTgbUAxiFqZteGyEYBM2Qbp3TtxPkh5fM +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/_patch.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/_patch.py new file mode 100644 index 00000000000..760cb96c8ae --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/_patch.py @@ -0,0 +1,268 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + + +# This file is used for handwritten extensions to the generated code. Example: +# https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +def patch_sdk(): + pass + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDulJay4qd9KKRB +# qBhRDFlz1GJlVZ5vICwtS/GPi1X2kaCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIMgZ8Me/bUPstKE7WqMaS1LilvsMM8Rf +# 50Zp5WZXHi8AMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# qYgFbRHq8P7UANg/CW+6pKEQ40hyI2BF0rGRJUOlIKIWZOVFZfFRAJW+vsuLA9VZ +# 1njJdgkQNs0mdhqvKK+nVHLzYv/USZg/7XVHFb0ln5iTkzm5ihrRLOy7DOvAYU+V +# bSUmgyh0n+8eTIKT/RfICvO4HkpwIZO+NvCtQ82eoM9e6PEUm1WTjiStq/uxwkWf +# /QikjpwqvY9IwGZ2eNdNMgXxCkWBqelcmeXiQtudxZkwibo9vFuAmcTHklOYPLKk +# SOJs0uS0lsXbBz6qhuuv47uxyAClXKE0IHRJJMaiFfjnFOgdZGxEF2rFFIB40zFn +# fOmrWFhOTjDZM94o8ja0kqGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCALopWIr1GKJpP3pqHFMpv1WdPLHl+PdXwu/YBCGf3WbQIGZdX8tm1FGBMyMDI0 +# MDIyODE1MDMwOC43NDJaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjNCRDQt +# NEI4MC02OUMzMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzM1WhcNMjUwMTEwMTkwNzM1WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRCODAtNjlD +# MzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKl74Drau2O6LLrJO3HyTvO9aXai//eN +# yP5MLWZrmUGNOJMPwMI08V9zBfRPNcucreIYSyJHjkMIUGmuh0rPV5/2+UCLGrN1 +# P77n9fq/mdzXMN1FzqaPHdKElKneJQ8R6cP4dru2Gymmt1rrGcNe800CcD6d/Ndo +# ommkd196VqOtjZFA1XWu+GsFBeWHiez/PllqcM/eWntkQMs0lK0zmCfH+Bu7i1h+ +# FDRR8F7WzUr/7M3jhVdPpAfq2zYCA8ZVLNgEizY+vFmgx+zDuuU/GChDK7klDcCw +# +/gVoEuSOl5clQsydWQjJJX7Z2yV+1KC6G1JVqpP3dpKPAP/4udNqpR5HIeb8Ta1 +# JfjRUzSv3qSje5y9RYT/AjWNYQ7gsezuDWM/8cZ11kco1JvUyOQ8x/JDkMFqSRwj +# 1v+mc6LKKlj//dWCG/Hw9ppdlWJX6psDesQuQR7FV7eCqV/lfajoLpPNx/9zF1dv +# 8yXBdzmWJPeCie2XaQnrAKDqlG3zXux9tNQmz2L96TdxnIO2OGmYxBAAZAWoKbmt +# YI+Ciz4CYyO0Fm5Z3T40a5d7KJuftF6CToccc/Up/jpFfQitLfjd71cS+cLCeoQ+ +# q0n0IALvV+acbENouSOrjv/QtY4FIjHlI5zdJzJnGskVJ5ozhji0YRscv1WwJFAu +# yyCMQvLdmPddAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQU3/+fh7tNczEifEXlCQgF +# OXgMh6owHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBADP6whOFjD1ad8GkEJ9oLBuv +# fjndMyGQ9R4HgBKSlPt3pa0XVLcimrJlDnKGgFBiWwI6XOgw82hdolDiMDBLLWRM +# TJHWVeUY1gU4XB8OOIxBc9/Q83zb1c0RWEupgC48I+b+2x2VNgGJUsQIyPR2PiXQ +# hT5PyerMgag9OSodQjFwpNdGirna2rpV23EUwFeO5+3oSX4JeCNZvgyUOzKpyMvq +# Vaubo+Glf/psfW5tIcMjZVt0elswfq0qJNQgoYipbaTvv7xmixUJGTbixYifTwAi +# vPcKNdeisZmtts7OHbAM795ZvKLSEqXiRUjDYZyeHyAysMEALbIhdXgHEh60KoZy +# zlBXz3VxEirE7nhucNwM2tViOlwI7EkeU5hudctnXCG55JuMw/wb7c71RKimZA/K +# XlWpmBvkJkB0BZES8OCGDd+zY/T9BnTp8si36Tql84VfpYe9iHmy7PqqxqMF2Cn4 +# q2a0mEMnpBruDGE/gR9c8SVJ2ntkARy5SfluuJ/MB61yRvT1mUx3lyppO22ePjBj +# nwoEvVxbDjT1jhdMNdevOuDeJGzRLK9HNmTDC+TdZQlj+VMgIm8ZeEIRNF0oaviF +# +QZcUZLWzWbYq6yDok8EZKFiRR5otBoGLvaYFpxBZUE8mnLKuDlYobjrxh7lnwrx +# V/fMy0F9fSo2JxFmtLgtMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRC +# ODAtNjlDMzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUA942iGuYFrsE4wzWDd85EpM6RiwqggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJtH4w +# IhgPMjAyNDAyMjgyMTMyNDZaGA8yMDI0MDIyOTIxMzI0NlowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym0fgIBADAHAgEAAgII/jAHAgEAAgIRWzAKAgUA6YsF/gIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAJ6X7dDIGi9HtOCA2shzNFZ6YvoT +# Wvg61z5FKYPhplayQdORPpE+XeeXTwPqfv6/sx93z6zYNxiMgP+9fqXYnMxH965H +# 3HMYkoPxXPXklX+vnZ5Q+02VAKWS0NdI6kAFPBrJSLMZ752kT5HbPmUmHF0DaPyo +# Sj7xsnbEGsliDjFEMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgxacI +# xK+E6TYrNlEouCawYIJp5Wzhyptr68EQ4aHKw28wgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCAVqdP//qjxGFhe2YboEXeb8I/pAof01CwhbxUH9U697TCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB5Y9qwPM9tAuj +# AAEAAAHlMCIEIJZiUB27oq8Piq7Is0oyatZIjipupHB/Q5BVrq0i72SaMA0GCSqG +# SIb3DQEBCwUABIICAKirRjPn7/n6AKmZ++dA35doukoUvQecBsWAlDOdF8a6r7tG +# g7Iv0HvzCbh0zj0pxraauTf8GcyqQUKFwPiGkLOuFj+zkt9TjSViyINL199yBnsv +# ngqn8WIzrn9MQQ6uLMseJ7BVJzXvYovWdRd29q4txTdiGzgjKzp8jCQkXnJMFc+v +# jw5WEaC5U6f3JhHqov2VU+0BHbHTV+56cM1WNTgS5EGe5oKtYQbJ6KpdAt9DZ0WL +# SOpoFmpoTrgwovhwkw7diIBWJIf+HeFRcUTlsFiwWsfPvOrNiyrmMrNlKrG31Kj4 +# qoMWsEuJBU8SZ6/CgCOkLOyN78EgJYTanTu1E9q9/+kO+zQ146/E0usHtieM5bTa +# mmVE6S1f/XGZ11cPe9ppBbF73RYZ+b+rLI03sd5S81aS1oxR1U52sFWgP1S6iBL1 +# SS5Orlv/4rrh9pcYXgGOxhn2dPs5gQaTegGqOmC/WWJHrYa+rXh+nrf0JYrcqz9n +# Slolo56O+zbQko3+ixA1c3tN7pjvH87HK+JinxvZ+ixsJQVx6SNXr8EAZbPwXX0y +# I/ey2CLK5fiksOxQ3fs9bmu8rfUts4JKpZCYaW6qsHbV/+CccRSwEZMvaud04/5O +# EvItuSn2177y3BVti2UBmV4ko/mN4X2UHTFIODetWqBC6m89SMi62QPmWe6Y +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/_vendor.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/_vendor.py new file mode 100644 index 00000000000..56c76a5e35a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/_vendor.py @@ -0,0 +1,272 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.pipeline.transport import HttpRequest + + +def _convert_request(request, files=None): + data = request.content if not files else None + request = HttpRequest( + method=request.method, + url=request.url, + headers=request.headers, + data=data, + ) + if files: + request.set_formdata_body(files) + return request + + +def _format_url_section(template, **kwargs): + components = template.split("/") + while components: + try: + return template.format(**kwargs) + except KeyError as key: + formatted_components = template.split("/") + components = [ + c + for c in formatted_components + if "{}".format(key.args[0]) not in c + ] + template = "/".join(components) + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBojAVkIHSwYAk3 +# CKsZWGH9TRb+lM+a8y+loGdwvjTmoaCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEILBlAzAO3gkElBw51kvwGEziXJKMJY4T +# xRqBk2hQmN9ZMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# aKrO/hJ8pX3oJAMZXsqVokX/9YQPqCvTORB9MJ1mNrc4Ppv/RyVNVy20IIGl0e6d +# IWw8kwtry78MmKCVYjWqmlqHjt31W0BB06mdXaq4GnG170HhMRjfJEkLnZvVdyMd +# R5JHqKCwSV8SPHF0/0HhwrhVs7F7NGayRYqBEizSGk10rFkhYPztmC2yEnWfusfl +# tWx3gLSaExYOSVoLVz6jj4LTXYUyqYT1UABPOpPs8yU+W7BXjU7KEApXdyJbtEzc +# GMxjeNGiEmQghRv4JcnH5UBzApG/RBNzs0at8Qvouf5cCvxCS4WYlvWR4c2FM5Ce +# 5XO4QDs6valGchDhH1RR9KGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCA1i1qYbZpJodnXMwTsLLdjss4MHGlGYvNtDEZcRlOWmQIGZdYHa6F8GBMyMDI0 +# MDIyODE1MDMwOC45NDdaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjE3OUUt +# NEJCMC04MjQ2MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzE5WhcNMjUwMTEwMTkwNzE5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRCQjAtODI0 +# NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKyHnPOhxbvRATnGjb/6fuBhh3ZLzotA +# xAgdLaZ/zkRFUdeSKzyNt3tqorMK7GDvcXdKs+qIMUbvenlH+w53ssPa6rYP760Z +# uFrABrfserf0kFayNXVzwT7jarJOEjnFMBp+yi+uwQ2TnJuxczceG5FDHrII6sF6 +# F879lP6ydY0BBZkZ9t39e/svNRieA5gUnv/YcM/bIMY/QYmd9F0B+ebFYi+PH4Ak +# XahNkFgK85OIaRrDGvhnxOa/5zGL7Oiii7+J9/QHkdJGlfnRfbQ3QXM/5/umBOKG +# 4JoFY1niZ5RVH5PT0+uCjwcqhTbnvUtfK+N+yB2b9rEZvp2Tv4ZwYzEd9A9VsYMu +# ZiCSbaFMk77LwVbklpnw4aHWJXJkEYmJvxRbcThE8FQyOoVkSuKc5OWZ2+WM/j50 +# oblA0tCU53AauvUOZRoQBh89nHK+m5pOXKXdYMJ+ceuLYF8h5y/cXLQMOmqLJz5l +# 7MLqGwU0zHV+MEO8L1Fo2zEEQ4iL4BX8YknKXonHGQacSCaLZot2kyJVRsFSxn0P +# lPvHVp0YdsCMzdeiw9jAZ7K9s1WxsZGEBrK/obipX6uxjEpyUA9mbVPljlb3R4MW +# I0E2xI/NM6F4Ac8Ceax3YWLT+aWCZeqiIMLxyyWZg+i1KY8ZEzMeNTKCEI5wF1wx +# qr6T1/MQo+8tAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUcF4XP26dV+8SusoA1XXQ +# 2TDSmdIwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBAMATzg6R/A0ldO7MqGxD1VJj +# i5yVA1hHb0Hc0Yjtv7WkxQ8iwfflulX5Us64tD3+3NT1JkphWzaAWf2wKdAw35Rx +# tQG1iON3HEZ0X23nde4Kg/Wfbx5rEHkZ9bzKnR/2N5A16+w/1pbwJzdfRcnJT3cL +# yawr/kYjMWd63OP0Glq70ua4WUE/Po5pU7rQRbWEoQozY24hAqOcwuRcm6Cb0JBe +# TOCeRBntEKgjKep4pRaQt7b9vusT97WeJcfaVosmmPtsZsawgnpIjbBa55tHfuk0 +# vDkZtbIXjU4mr5dns9dnanBdBS2PY3N3hIfCPEOszquwHLkfkFZ/9bxw8/eRJldt +# oukHo16afE/AqP/smmGJh5ZR0pmgW6QcX+61rdi5kDJTzCFaoMyYzUS0SEbyrDZ/ +# p2KOuKAYNngljiOlllct0uJVz2agfczGjjsKi2AS1WaXvOhgZNmGw42SFB1qaloa +# 8Kaux9Q2HHLE8gee/5rgOnx9zSbfVUc7IcRNodq6R7v+Rz+P6XKtOgyCqW/+rhPm +# p/n7Fq2BGTRkcy//hmS32p6qyglr2K4OoJDJXxFs6lwc8D86qlUeGjUyo7hVy5Vv +# yA+y0mGnEAuA85tsOcUPlzwWF5sv+B5fz35OW3X4Spk5SiNulnLFRPM5XCsSHqvc +# bC8R3qwj2w1evPhZxDuNMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRC +# QjAtODI0NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAbfPR1fBX6HxYfyPx8zYzJU5fIQyggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJvw4w +# IhgPMjAyNDAyMjgyMjE3NTBaGA8yMDI0MDIyOTIyMTc1MFowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym/DgIBADAHAgEAAgIFODAHAgEAAgIRUDAKAgUA6YsQjgIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAErMic/nNPp5tSOJsfCecCou9ByT +# N3G55pr1uxb+X3idhClgYGc3ljiCPGpHiDsoGXrc4dK+WWhXosUk2fv46uOPrhy1 +# 1gttQCsn+i9NRKfttUNZl3FIUO2oKEwmp78mrjzCAwD8dlydsjn4dHDCv8eIDkmb +# T8xHYmeUT9tHQQbPMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgx5xe +# 7vR/TNtpkt0/QaR4oQx8DdCcvQTSiMahn1sIMCUwgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCDj7lK/8jnlbTjPvc77DCCSb4TZApY9nJm5whsK/2kKwTCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB4NT8HxMVH35d +# AAEAAAHgMCIEIG01xKO9hBFTAtjUO/ZHX2/vm3tWdTGjY5wDebXC55bIMA0GCSqG +# SIb3DQEBCwUABIICAD+qPs+IKNqtIgnjQNjs3wds3Gbi8GqVIgnFvx3DyEKAlS/+ +# uO1xB1qeNxz2/UvSA3uzENxX21RbHXKC4eVHWXhkAKBfmyELxF6yPq1K/APsyODU +# M1Jf47mBuA0sEf4bdLqDi+7ie4qRg+iT5s52AVFupT9mwUuBTE/fepff8EbauR0N +# tHDFy23Yjzuzmbgco+WFr1bntiSMtv0eiJjnT3m3oYYjzqtPxIC4vs55kgNjP+5W +# eQY2VK40Vt2tyRsfIum6qNrJs0bEr+V/ZC92jx4ijAV1UD6R/RQ9Sx+SAOYpZIHl +# gm+jVE9jAG4bv/urPfCoOJVJTEO5zRRZmcay5PL7Rd4iXrZPVFN8L2GqSWQKC6MA +# wPbWcpna41lbBb0WSXb9bQ652rx+A2OyHmZzA5AXwGckgVMj6pk4s0LpXVB47Wim +# 9mJS+ACH/0r2Ypbb+Q22L+shd+EIrZTS30U2fwIxt15ugdkcuKeF9tO666Bu+R0u +# DpZAXyn83Wbs6hdLz0NAsjEN2O/HwYZ70Losy2jydB3KFssv9wKP4ZsiK9/NXAjj +# FNgRy1SRaEDlVE8a8mQqzzzMbJPg2rcvBjqUAKYcLtemxmAjWDll5XDXUWeZGNN6 +# oJhKIhBTnqR/jzrpnyQYRE11NAhIkp8VqcRJdzSEHyZPrz90S+ooqw1eBnJm +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/_version.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/_version.py new file mode 100644 index 00000000000..d73fc2b368c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/_version.py @@ -0,0 +1,244 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +VERSION = "1.1.02615.887" + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCFdZ59o67IXRoL +# wxuh4FfTx0IxcIMxuVvhu05LKSsUgqCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIDZONh25Tp+nUPldFXdrGyHc5nPBHrz/ +# votSb9cHX5H+MEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# bHvGdUqmiFKaDLSGM15g80WKjcPiRf55a/tJCaibEmrPrTColsJXCECCrrQrEKL2 +# yXNf6EiVBkqoC+BnNtrVxr4+xRZFwM4/i8r7ejkIUv9qVG1xgSEvF/DTD7EAQx/n +# obVB04DWuuKCL/ZcvJAqoiLi1DIlWlSXtiZkgnPPJv9nX5Llpv3jYEJKPVUQ3gv7 +# 0pod+69ExCbJaVI8yXEai+2SjfqjYJhJRcPLdHDUCOBcEz0/2ySRuJTpx8YyiNMw +# yjIA/6cCcKOhaP5t5ojMFmLeRPITSPLxdLy5OpbILyeZlBRx06miFf325HogiJEb +# ahRjq4Dzc/xE4KMEYR+cz6GCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCCchOfADrWkN4+vn8LVxT5Vn+91Bc/WwpmlIGxvHwJHswIGZdXk9AAlGBMyMDI0 +# MDIyODE1MDMxNS4zMjJaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjA4NDIt +# NEJFNi1DMjlBMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHajtXJWgDREbEAAQAAAdowDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NjU5WhcNMjUwMTEwMTkwNjU5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjowODQyLTRCRTYtQzI5 +# QTElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAJOQBgh2tVFR1j8jQA4NDf8bcVrXSN08 +# 0CNKPSQo7S57sCnPU0FKF47w2L6qHtwm4EnClF2cruXFp/l7PpMQg25E7X8xDmvx +# r8BBE6iASAPCfrTebuvAsZWcJYhy7prgCuBf7OidXpgsW1y8p6Vs7sD2aup/0uve +# YxeXlKtsPjMCplHkk0ba+HgLho0J68Kdji3DM2K59wHy9xrtsYK+X9erbDGZ2mmX +# 3765aS5Q7/ugDxMVgzyj80yJn6ULnknD9i4kUQxVhqV1dc/DF6UBeuzfukkMed7t +# rzUEZMRyla7qhvwUeQlgzCQhpZjz+zsQgpXlPczvGd0iqr7lACwfVGog5plIzdEx +# vt1TA8Jmef819aTKwH1IVEIwYLA6uvS8kRdA6RxvMcb//ulNjIuGceyykMAXEynV +# rLG9VvK4rfrCsGL3j30Lmidug+owrcCjQagYmrGk1hBykXilo9YB8Qyy5Q1KhGuH +# 65V3zFy8a0kwbKBRs8VR4HtoPYw9z1DdcJfZBO2dhzX3yAMipCGm6SmvmvavRsXh +# y805jiApDyN+s0/b7os2z8iRWGJk6M9uuT2493gFV/9JLGg5YJJCJXI+yxkO/OXn +# ZJsuGt0+zWLdHS4XIXBG17oPu5KsFfRTHREloR2dI6GwaaxIyDySHYOtvIydla7u +# 4lfnfCjY/qKTAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUoXyNyVE9ZhOVizEUVwhN +# gL8PX0UwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBALmDVdTtuI0jAEt41O2OM8CU +# 237TGMyhrGr7FzKCEFaXxtoqk/IObQriq1caHVh2vyuQ24nz3TdOBv7rcs/qnPjO +# xnXFLyZPeaWLsNuARVmUViyVYXjXYB5DwzaWZgScY8GKL7yGjyWrh78WJUgh7rE1 +# +5VD5h0/6rs9dBRqAzI9fhZz7spsjt8vnx50WExbBSSH7rfabHendpeqbTmW/Rfc +# aT+GFIsT+g2ej7wRKIq/QhnsoF8mpFNPHV1q/WK/rF/ChovkhJMDvlqtETWi97Go +# lOSKamZC9bYgcPKfz28ed25WJy10VtQ9P5+C/2dOfDaz1RmeOb27Kbegha0SfPcr +# iTfORVvqPDSa3n9N7dhTY7+49I8evoad9hdZ8CfIOPftwt3xTX2RhMZJCVoFlabH +# cvfb84raFM6cz5EYk+x1aVEiXtgK6R0xn1wjMXHf0AWlSjqRkzvSnRKzFsZwEl74 +# VahlKVhI+Ci9RT9+6Gc0xWzJ7zQIUFE3Jiix5+7KL8ArHfBY9UFLz4snboJ7Qip3 +# IADbkU4ZL0iQ8j8Ixra7aSYfToUefmct3dM69ff4Eeh2Kh9NsKiiph589Ap/xS1j +# ESlrfjL/g/ZboaS5d9a2fA598mubDvLD5x5PP37700vm/Y+PIhmp2fTvuS2sndeZ +# BmyTqcUNHRNmCk+njV3nMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjowODQyLTRC +# RTYtQzI5QTElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAQqIfIYljHUbNoY0/wjhXRn/sSA2ggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJnM8w +# IhgPMjAyNDAyMjgxOTUxNDNaGA8yMDI0MDIyOTE5NTE0M1owdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6YmczwIBADAHAgEAAgIIGDAHAgEAAgIQaDAKAgUA6YruTwIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBADS1uOra4qwuphiTNChWwotEeJCw +# ExBuJWdCslz9TsJLO8kAzY6TtQstHtsUU0+GL16C+lHc7XlG0q2TOhA+fHtowjtL +# e8EyTcESsAp1Ll0sUhqVZx2zi1ZVG15S8sURgIjZ7oNHGlKU0cgEGKYFu4Vr6wpz +# BwCPu/WiJ2TyUpoAMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHajtXJWgDREbEAAQAAAdowDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQg0zC5 +# bjXkx9VcJkoSKAxZHxNqoXJ9wCe/Cw1aOUSQMlMwgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCAipaNpYsDvnqTe95Dj1C09020I5ljibrW/ndICOxg9xjCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB2o7VyVoA0RGx +# AAEAAAHaMCIEIH9pNgadE8IgjYwa2JzGsL4tT+JkAhr5XZRGKF8sdeHvMA0GCSqG +# SIb3DQEBCwUABIICAGL7xe1Mh8mEUgrBPH8VwEFa8Jf5dIFfSzFUfm7Ci8qjooHo +# gO0evhX4De8Q5t8QltQkgZ2OZPKvaPAV8hh5sY08xDmS2NJ6Zy8tAISPnXAE4E2K +# U3B+DxrhyORDsO25Ji3hD/TdHkX8ZeAa0Z0Enuv9vOPEhwP7QPEGzAUiECPMItWR +# i8uTkKYcaeV79u0zsZFf0DUY7GcAnAb6r5+rklNFvVkchOt6eYh+zmWfgkPg+ujH +# kwiPtnVfs53lp0vbLjVCsZj/EH2uGZQaqLyiE74ma4Q8mgeigec7ETqBpuARV9tn +# L2yAM2R+b41oElSI3UtZ9KRm7Q7WBbQvNAFfuT5i27tKbynw13B8Oth/TuRmUqfR +# ihKGDv2DQRpdxdFICcCc8k3vyJ1LfU44uTGF3tHddoGBoDruSsp70BnofLw0Qg2s +# rNKO89QDKCKUKcnYo/fgHroPTk5p86vPr1quSxYuWnwg8f1OF5Q8P2dUJQ0+VoVP +# DjFtFVU3sqJkRWql8jpUHBwpF8eeNvQNH5ZCgmENyV7TBSqWVF4awIsiSsrXVvw5 +# MS0kVBa9I8MZmPRm6WjRT7ZMtO/Zvs4EntK2J+Ab8xFKE1s05QIz6rV7geD55mSP +# laeYWROtICOgb7w9PB+GIcwGmFJ8KKQmj7a+1ScenruYkcaN/Vz2w20bnicX +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/__init__.py new file mode 100644 index 00000000000..4d2c4b5b8e7 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/__init__.py @@ -0,0 +1,252 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._azure_arc_data_management_client import AzureArcDataManagementClient + +__all__ = ["AzureArcDataManagementClient"] + +# `._patch.py` is used for handwritten extensions to the generated code +# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +from ._patch import patch_sdk + +patch_sdk() + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBKWbiIr5g/O8ZP +# /x1jG9yc/w6mBqV7vRU5a+0RbVsGTqCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIF7T4Fd/B+VGlsFdz3nHEeIVfG+rj6pr +# m9Q77Ny1EVY4MEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# kyHtM7e4nl/kY5aVkzBNYNzCTurJOe6UV/u84aZBnhBDrm7QdIzXNSXeUcBp6d/a +# qA4V6VgEDHWLF0ngtsmDBHRTcSJJmdKKu2jaPSA2Z+8YRmHYy+LqiwtVwislv6wl +# 0x5CAX3sq7Ph4WRNYNpp7xjIQaLJUXhENSHFhsXi2LPa1SZZ9wd3DWeZYG+jLEBF +# BjqGlbXGfV41UsgQ4NcLbHZtH9dl6EwOrK7yYWlg26tUTEnH8s5h/8FMy63N9NGb +# mX+t6WTyJeP+PXfGMCQFudlmq9pYBxgTQFNZ96ozSmu/JOJaSMjLTKhosl9mmeSd +# 136mU9Y6HKKuwXwFqP7fvKGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCDyDArrRb3QEFIeiT/GARGUwsWvQuIRx2/K9BF0GlJPXgIGZdYHa6NyGBMyMDI0 +# MDIyODE1MDMxOC4wMTJaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjE3OUUt +# NEJCMC04MjQ2MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzE5WhcNMjUwMTEwMTkwNzE5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRCQjAtODI0 +# NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKyHnPOhxbvRATnGjb/6fuBhh3ZLzotA +# xAgdLaZ/zkRFUdeSKzyNt3tqorMK7GDvcXdKs+qIMUbvenlH+w53ssPa6rYP760Z +# uFrABrfserf0kFayNXVzwT7jarJOEjnFMBp+yi+uwQ2TnJuxczceG5FDHrII6sF6 +# F879lP6ydY0BBZkZ9t39e/svNRieA5gUnv/YcM/bIMY/QYmd9F0B+ebFYi+PH4Ak +# XahNkFgK85OIaRrDGvhnxOa/5zGL7Oiii7+J9/QHkdJGlfnRfbQ3QXM/5/umBOKG +# 4JoFY1niZ5RVH5PT0+uCjwcqhTbnvUtfK+N+yB2b9rEZvp2Tv4ZwYzEd9A9VsYMu +# ZiCSbaFMk77LwVbklpnw4aHWJXJkEYmJvxRbcThE8FQyOoVkSuKc5OWZ2+WM/j50 +# oblA0tCU53AauvUOZRoQBh89nHK+m5pOXKXdYMJ+ceuLYF8h5y/cXLQMOmqLJz5l +# 7MLqGwU0zHV+MEO8L1Fo2zEEQ4iL4BX8YknKXonHGQacSCaLZot2kyJVRsFSxn0P +# lPvHVp0YdsCMzdeiw9jAZ7K9s1WxsZGEBrK/obipX6uxjEpyUA9mbVPljlb3R4MW +# I0E2xI/NM6F4Ac8Ceax3YWLT+aWCZeqiIMLxyyWZg+i1KY8ZEzMeNTKCEI5wF1wx +# qr6T1/MQo+8tAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUcF4XP26dV+8SusoA1XXQ +# 2TDSmdIwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBAMATzg6R/A0ldO7MqGxD1VJj +# i5yVA1hHb0Hc0Yjtv7WkxQ8iwfflulX5Us64tD3+3NT1JkphWzaAWf2wKdAw35Rx +# tQG1iON3HEZ0X23nde4Kg/Wfbx5rEHkZ9bzKnR/2N5A16+w/1pbwJzdfRcnJT3cL +# yawr/kYjMWd63OP0Glq70ua4WUE/Po5pU7rQRbWEoQozY24hAqOcwuRcm6Cb0JBe +# TOCeRBntEKgjKep4pRaQt7b9vusT97WeJcfaVosmmPtsZsawgnpIjbBa55tHfuk0 +# vDkZtbIXjU4mr5dns9dnanBdBS2PY3N3hIfCPEOszquwHLkfkFZ/9bxw8/eRJldt +# oukHo16afE/AqP/smmGJh5ZR0pmgW6QcX+61rdi5kDJTzCFaoMyYzUS0SEbyrDZ/ +# p2KOuKAYNngljiOlllct0uJVz2agfczGjjsKi2AS1WaXvOhgZNmGw42SFB1qaloa +# 8Kaux9Q2HHLE8gee/5rgOnx9zSbfVUc7IcRNodq6R7v+Rz+P6XKtOgyCqW/+rhPm +# p/n7Fq2BGTRkcy//hmS32p6qyglr2K4OoJDJXxFs6lwc8D86qlUeGjUyo7hVy5Vv +# yA+y0mGnEAuA85tsOcUPlzwWF5sv+B5fz35OW3X4Spk5SiNulnLFRPM5XCsSHqvc +# bC8R3qwj2w1evPhZxDuNMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRC +# QjAtODI0NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAbfPR1fBX6HxYfyPx8zYzJU5fIQyggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJvw4w +# IhgPMjAyNDAyMjgyMjE3NTBaGA8yMDI0MDIyOTIyMTc1MFowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym/DgIBADAHAgEAAgIFODAHAgEAAgIRUDAKAgUA6YsQjgIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAErMic/nNPp5tSOJsfCecCou9ByT +# N3G55pr1uxb+X3idhClgYGc3ljiCPGpHiDsoGXrc4dK+WWhXosUk2fv46uOPrhy1 +# 1gttQCsn+i9NRKfttUNZl3FIUO2oKEwmp78mrjzCAwD8dlydsjn4dHDCv8eIDkmb +# T8xHYmeUT9tHQQbPMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgmm2c +# AAt8dzrfWiCAQOtpjzNXGFVYCBmMZzwFR+vu14cwgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCDj7lK/8jnlbTjPvc77DCCSb4TZApY9nJm5whsK/2kKwTCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB4NT8HxMVH35d +# AAEAAAHgMCIEIG01xKO9hBFTAtjUO/ZHX2/vm3tWdTGjY5wDebXC55bIMA0GCSqG +# SIb3DQEBCwUABIICAHc8rCx/VU9mReHrCRBkS3UKyeqI9J4tqOheqTqHtiZCmdTn +# Z/e/qyRswCi4ReR+e0zIwZQBkLTBUdpUxwYKWGnzJtgzGKjkpmAHTOlFoagbLbDj +# 0FovcJRMnK0PreKumXNL7jy6VGmRRYzDjIDC2uWgRQ3tP8LXNevYp0OYTekKldd3 +# D4as4TlDnM7b6zoxcNfNZi7kdP1KomiF2nH60/2cOLq72pDCYbUba0kSKh9iUFW/ +# ny5r49LdlObZJT3wBupn+en1MMWYMI1/A/BJcXc27rR8l67hPRTcypftxiSWv3aJ +# 3GYpNyh4x8ZLTxGsOz67UKDifMb6CP/7tzEUx+2luqD0ATVUmDf9Vz75dHneZPj4 +# z+LNy2PCzDLSnwIcVpd/M7W6CBAe+76H8+2nAt/qO6UPqbbdeHQgWIbJomYYN1hV +# qkIyUm8xy1VPYFwY0XvECUrjZKW3C1LT/0Eb/ls6oaXBWgL/Fx8ACom1zA/kuqTL +# 6LUzsztPcGgggKG5vyKMOUXfc0uIbuFA6bkyow2K8HiQRv3BXgSK5AnncwQLPKDY +# pNmY4U8BJyIdNdSt1q4BVFOA4/UyraUBxIcft0SjfpyYSZmEpvGjiE3XZXv44n/H +# r0hBLpa/lTod4+PWGuxm8kEXF/6v1YaRvSE0ijqDMdj13QBOdXR4dlV7rJXA +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/_azure_arc_data_management_client.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/_azure_arc_data_management_client.py new file mode 100644 index 00000000000..f11a1ec26d7 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/_azure_arc_data_management_client.py @@ -0,0 +1,401 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from copy import deepcopy +from typing import Any, Awaitable, TYPE_CHECKING + +from msrest import Deserializer, Serializer + +from azure.core.rest import AsyncHttpResponse, HttpRequest +from azure.mgmt.core import AsyncARMPipelineClient + +from .. import models +from ._configuration import AzureArcDataManagementClientConfiguration +from .operations import ( + ActiveDirectoryConnectorsOperations, + DataControllersOperations, + FailoverGroupsOperations, + Operations, + PostgresInstancesOperations, + SqlManagedInstancesOperations, + SqlServerAvailabilityGroupsOperations, + SqlServerDatabasesOperations, + SqlServerInstancesOperations, + SqlServerLicensesOperations, +) + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + + +class AzureArcDataManagementClient: # pylint: disable=too-many-instance-attributes + """The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data + Services on Azure Arc Resources. + + :ivar sql_server_availability_groups: SqlServerAvailabilityGroupsOperations operations + :vartype sql_server_availability_groups: + azure.mgmt.azurearcdata.aio.operations.SqlServerAvailabilityGroupsOperations + :ivar sql_server_databases: SqlServerDatabasesOperations operations + :vartype sql_server_databases: + azure.mgmt.azurearcdata.aio.operations.SqlServerDatabasesOperations + :ivar operations: Operations operations + :vartype operations: azure.mgmt.azurearcdata.aio.operations.Operations + :ivar sql_managed_instances: SqlManagedInstancesOperations operations + :vartype sql_managed_instances: + azure.mgmt.azurearcdata.aio.operations.SqlManagedInstancesOperations + :ivar failover_groups: FailoverGroupsOperations operations + :vartype failover_groups: azure.mgmt.azurearcdata.aio.operations.FailoverGroupsOperations + :ivar sql_server_instances: SqlServerInstancesOperations operations + :vartype sql_server_instances: + azure.mgmt.azurearcdata.aio.operations.SqlServerInstancesOperations + :ivar sql_server_licenses: SqlServerLicensesOperations operations + :vartype sql_server_licenses: + azure.mgmt.azurearcdata.aio.operations.SqlServerLicensesOperations + :ivar data_controllers: DataControllersOperations operations + :vartype data_controllers: azure.mgmt.azurearcdata.aio.operations.DataControllersOperations + :ivar active_directory_connectors: ActiveDirectoryConnectorsOperations operations + :vartype active_directory_connectors: + azure.mgmt.azurearcdata.aio.operations.ActiveDirectoryConnectorsOperations + :ivar postgres_instances: PostgresInstancesOperations operations + :vartype postgres_instances: azure.mgmt.azurearcdata.aio.operations.PostgresInstancesOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the target subscription. The value must be an UUID. + :type subscription_id: str + :param base_url: Service URL. Default value is "https://management.azure.com". + :type base_url: str + :keyword api_version: Api Version. Default value is "2024-03-01-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: str = "https://management.azure.com", + **kwargs: Any, + ) -> None: + self._config = AzureArcDataManagementClientConfiguration( + credential=credential, subscription_id=subscription_id, **kwargs + ) + self._client = AsyncARMPipelineClient( + base_url=base_url, config=self._config, **kwargs + ) + + client_models = { + k: v for k, v in models.__dict__.items() if isinstance(v, type) + } + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + self._serialize.client_side_validation = False + self.sql_server_availability_groups = ( + SqlServerAvailabilityGroupsOperations( + self._client, self._config, self._serialize, self._deserialize + ) + ) + self.sql_server_databases = SqlServerDatabasesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize + ) + self.sql_managed_instances = SqlManagedInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.failover_groups = FailoverGroupsOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.sql_server_instances = SqlServerInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.sql_server_licenses = SqlServerLicensesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.data_controllers = DataControllersOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.active_directory_connectors = ActiveDirectoryConnectorsOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.postgres_instances = PostgresInstancesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + + def _send_request( + self, request: HttpRequest, **kwargs: Any + ) -> Awaitable[AsyncHttpResponse]: + """Runs the network request through the client's chained policies. + + >>> from azure.core.rest import HttpRequest + >>> request = HttpRequest("GET", "https://www.example.org/") + + >>> response = await client._send_request(request) + + + For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart + + :param request: The network request you want to make. Required. + :type request: ~azure.core.rest.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to False. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.rest.AsyncHttpResponse + """ + + request_copy = deepcopy(request) + request_copy.url = self._client.format_url(request_copy.url) + return self._client.send_request(request_copy, **kwargs) + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "AzureArcDataManagementClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBti4Kr8vcQ/XlV +# nTPUVoWIzaMwoM/Kbcdjbpjs5b9zCKCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIOjMu3xD1RyHzwoOz2Vl9tPn1S05z0vP +# arr8WlzwlcGUMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# JHRtmqpzA6XuYOhkI+pxnIPg+clcXclA4VNmNIoPRY/oux/+QBpmqt56HKJRuYFB +# f+ErfAlo0ZZnECrBB31z2ztqN3UUslBxetYc8jXidX0bJLQrjOgqgMB2VM9Qi7Va +# KK61gU54PBzYhEaV0Eqc1sNKdlrRaW7iNc0abL/hFzuQ0VWoOAqZYgdh/EF3s3a4 +# IRLsfibYT/wfuZ5w/QXAaVMX3KbubG/FiLD8qKE8ZJbyAvy/im2Dm+C3en0FCSd1 +# 4gq4oHs2n/KVAzrSNq7Xr+Temwis/AkQswSPWSz7qf4RnwT0uDDLe8+dU2jRSc1w +# jZxeqJ2Y5z/lpHK/tJLs0KGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCBLImEQOkTU2XGW5u+Kzl4NzJZLcTc95//YPY8ufzzdQQIGZdX8tm1ZGBMyMDI0 +# MDIyODE1MDMwOC45OThaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjNCRDQt +# NEI4MC02OUMzMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzM1WhcNMjUwMTEwMTkwNzM1WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRCODAtNjlD +# MzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKl74Drau2O6LLrJO3HyTvO9aXai//eN +# yP5MLWZrmUGNOJMPwMI08V9zBfRPNcucreIYSyJHjkMIUGmuh0rPV5/2+UCLGrN1 +# P77n9fq/mdzXMN1FzqaPHdKElKneJQ8R6cP4dru2Gymmt1rrGcNe800CcD6d/Ndo +# ommkd196VqOtjZFA1XWu+GsFBeWHiez/PllqcM/eWntkQMs0lK0zmCfH+Bu7i1h+ +# FDRR8F7WzUr/7M3jhVdPpAfq2zYCA8ZVLNgEizY+vFmgx+zDuuU/GChDK7klDcCw +# +/gVoEuSOl5clQsydWQjJJX7Z2yV+1KC6G1JVqpP3dpKPAP/4udNqpR5HIeb8Ta1 +# JfjRUzSv3qSje5y9RYT/AjWNYQ7gsezuDWM/8cZ11kco1JvUyOQ8x/JDkMFqSRwj +# 1v+mc6LKKlj//dWCG/Hw9ppdlWJX6psDesQuQR7FV7eCqV/lfajoLpPNx/9zF1dv +# 8yXBdzmWJPeCie2XaQnrAKDqlG3zXux9tNQmz2L96TdxnIO2OGmYxBAAZAWoKbmt +# YI+Ciz4CYyO0Fm5Z3T40a5d7KJuftF6CToccc/Up/jpFfQitLfjd71cS+cLCeoQ+ +# q0n0IALvV+acbENouSOrjv/QtY4FIjHlI5zdJzJnGskVJ5ozhji0YRscv1WwJFAu +# yyCMQvLdmPddAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQU3/+fh7tNczEifEXlCQgF +# OXgMh6owHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBADP6whOFjD1ad8GkEJ9oLBuv +# fjndMyGQ9R4HgBKSlPt3pa0XVLcimrJlDnKGgFBiWwI6XOgw82hdolDiMDBLLWRM +# TJHWVeUY1gU4XB8OOIxBc9/Q83zb1c0RWEupgC48I+b+2x2VNgGJUsQIyPR2PiXQ +# hT5PyerMgag9OSodQjFwpNdGirna2rpV23EUwFeO5+3oSX4JeCNZvgyUOzKpyMvq +# Vaubo+Glf/psfW5tIcMjZVt0elswfq0qJNQgoYipbaTvv7xmixUJGTbixYifTwAi +# vPcKNdeisZmtts7OHbAM795ZvKLSEqXiRUjDYZyeHyAysMEALbIhdXgHEh60KoZy +# zlBXz3VxEirE7nhucNwM2tViOlwI7EkeU5hudctnXCG55JuMw/wb7c71RKimZA/K +# XlWpmBvkJkB0BZES8OCGDd+zY/T9BnTp8si36Tql84VfpYe9iHmy7PqqxqMF2Cn4 +# q2a0mEMnpBruDGE/gR9c8SVJ2ntkARy5SfluuJ/MB61yRvT1mUx3lyppO22ePjBj +# nwoEvVxbDjT1jhdMNdevOuDeJGzRLK9HNmTDC+TdZQlj+VMgIm8ZeEIRNF0oaviF +# +QZcUZLWzWbYq6yDok8EZKFiRR5otBoGLvaYFpxBZUE8mnLKuDlYobjrxh7lnwrx +# V/fMy0F9fSo2JxFmtLgtMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRC +# ODAtNjlDMzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUA942iGuYFrsE4wzWDd85EpM6RiwqggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJtH4w +# IhgPMjAyNDAyMjgyMTMyNDZaGA8yMDI0MDIyOTIxMzI0NlowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym0fgIBADAHAgEAAgII/jAHAgEAAgIRWzAKAgUA6YsF/gIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAJ6X7dDIGi9HtOCA2shzNFZ6YvoT +# Wvg61z5FKYPhplayQdORPpE+XeeXTwPqfv6/sx93z6zYNxiMgP+9fqXYnMxH965H +# 3HMYkoPxXPXklX+vnZ5Q+02VAKWS0NdI6kAFPBrJSLMZ752kT5HbPmUmHF0DaPyo +# Sj7xsnbEGsliDjFEMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQg4D8p +# eGTDmdiBtNx5QWO+2/zVjCv+LDcIyuIxKgs5sN0wgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCAVqdP//qjxGFhe2YboEXeb8I/pAof01CwhbxUH9U697TCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB5Y9qwPM9tAuj +# AAEAAAHlMCIEIJZiUB27oq8Piq7Is0oyatZIjipupHB/Q5BVrq0i72SaMA0GCSqG +# SIb3DQEBCwUABIICAFDteo987qSKwwLFfEvaWEY4zEA11K8q8+2SIDJ4vhKuuj4A +# tCc7U7nisCoe01c4Isv/C/NeTvafRNzGq6/+sqWVvqSTUjxzLc1hASg3fcvnj3wU +# BNo1dqvE+TaGdiqzKXJ5n3JhVS5rca9ElYAiBP9lbRBVT2Lj2wJQrcanVpAIYC/R +# RsTKa5Nzjbr4q428RfedkZKznuE/5uQo+QAAZGyM7FOliKngwJ23z6K0nlNVuTK/ +# XUEgoPxnjLDUk9yCBK6UHZnEF4dZZtk4TRIJ2nJuXg2Sd4rtH9NX/OO7ZO/AQ+p0 +# 7W3BB+uGfRP6JODqT5NiDIBy0AiRYDsp3gtp6+Qt6Tv5wG4ze8wOfhxATdreOtH0 +# wNRJs0FHBDKvu+pRedr0nTS+BDj2LTlGSlZ3TRn319KjMRPATH3hWuKbRx8UAmOc +# uIGAigqpV6/GV6L5EVZp/S/MtDF2WhHAwFb5kgjCsBxzif3zppLOHuVin9FylaiR +# LuWdIkVe0MUy/OrczKTMBqOxxNKwKrb8waiB8bqf8ERlj7X+JXhRH33UoIyWQzgb +# mlmWqEUnbJqd9ZfK1sFMS4ykF+IFSyAlj2t3robw3hH/QXJf4V2d0fis+goqJu3H +# ngqBZVEURLKechbdAzpsXVifLIvLhhpNT4uI12kw2+vD9F3awpezH7ZOR8fv +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/_configuration.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/_configuration.py new file mode 100644 index 00000000000..ad6a0c43aff --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/_configuration.py @@ -0,0 +1,334 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ( + ARMHttpLoggingPolicy, + AsyncARMChallengeAuthenticationPolicy, +) + +from .._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + + +class AzureArcDataManagementClientConfiguration( + Configuration +): # pylint: disable=too-many-instance-attributes + """Configuration for AzureArcDataManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the target subscription. The value must be an UUID. + :type subscription_id: str + :keyword api_version: Api Version. Default value is "2024-03-01-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any, + ) -> None: + super(AzureArcDataManagementClientConfiguration, self).__init__( + **kwargs + ) + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = api_version + self.credential_scopes = kwargs.pop( + "credential_scopes", ["https://management.azure.com/.default"] + ) + kwargs.setdefault("sdk_moniker", "mgmt-azurearcdata/{}".format(VERSION)) + self._configure(**kwargs) + + def _configure(self, **kwargs: Any) -> None: + self.user_agent_policy = kwargs.get( + "user_agent_policy" + ) or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get( + "headers_policy" + ) or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get("proxy_policy") or policies.ProxyPolicy( + **kwargs + ) + self.logging_policy = kwargs.get( + "logging_policy" + ) or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get( + "http_logging_policy" + ) or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get( + "retry_policy" + ) or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get( + "custom_hook_policy" + ) or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get( + "redirect_policy" + ) or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get("authentication_policy") + if self.credential and not self.authentication_policy: + self.authentication_policy = AsyncARMChallengeAuthenticationPolicy( + self.credential, *self.credential_scopes, **kwargs + ) + + +# SIG # Begin Windows Authenticode signature block +# MIIreAYJKoZIhvcNAQcCoIIraTCCK2UCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBDPLN30xbmg+fJ +# D05CsyGfjmxFHBFlGjjMiA2wvagLPKCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYDCCGVwCAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIIpLz22XzxEpPnVia2Pp9xXUlklrm8XK +# kkmXsmOozyVDMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# rJYL5L9TlaoF7J+7cqf/WAC2RvZK3+Ou+EpcBM0Oi88EEoJgYAkBGiD6Kr29gGAa +# ifcEgHaHtwDteXRHjBKvJZnPwj03Ueev2AHJXLlh9+302YX6Z7UCPArCO+BtHK0O +# +oRNIVvo/5B6ZOchNjfAMI/yPWpMDq+DKBkXdG4u2C9ruOWW7Qoj5JH4fVifuLhI +# Du5O85JRb4JCTnC3lP3TUiONCbwkytSMXlmBZsfTbFNzHMlHweOOMjaE0C/34hPS +# id75pkqGSEJXGetIRIBdY+c9hP3oXU4nT8Zb8YjWeGGiXgdCAo1bof5eoUOG+GSp +# R2n+loLmaM88wgY8HW+QnKGCFygwghckBgorBgEEAYI3AwMBMYIXFDCCFxAGCSqG +# SIb3DQEHAqCCFwEwghb9AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFYBgsqhkiG9w0B +# CRABBKCCAUcEggFDMIIBPwIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCCJGCFc9qXt11qJv4z2YwtK2Bo5jaY1RwjsqFG+0TrU7QIGZdXk8//8GBIyMDI0 +# MDIyODE1MDMxNC43OFowBIACAfSggdikgdUwgdIxCzAJBgNVBAYTAlVTMRMwEQYD +# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy +# b3NvZnQgQ29ycG9yYXRpb24xLTArBgNVBAsTJE1pY3Jvc29mdCBJcmVsYW5kIE9w +# ZXJhdGlvbnMgTGltaXRlZDEmMCQGA1UECxMdVGhhbGVzIFRTUyBFU046MDg0Mi00 +# QkU2LUMyOUExJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2Wg +# ghF4MIIHJzCCBQ+gAwIBAgITMwAAAdqO1claANERsQABAAAB2jANBgkqhkiG9w0B +# AQsFADB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE +# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYD +# VQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDAeFw0yMzEwMTIxOTA2 +# NTlaFw0yNTAxMTAxOTA2NTlaMIHSMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2Fz +# aGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENv +# cnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBPcGVyYXRpb25z +# IExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjA4NDItNEJFNi1DMjlB +# MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNlMIICIjANBgkq +# hkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAk5AGCHa1UVHWPyNADg0N/xtxWtdI3TzQ +# I0o9JCjtLnuwKc9TQUoXjvDYvqoe3CbgScKUXZyu5cWn+Xs+kxCDbkTtfzEOa/Gv +# wEETqIBIA8J+tN5u68CxlZwliHLumuAK4F/s6J1emCxbXLynpWzuwPZq6n/S695j +# F5eUq2w+MwKmUeSTRtr4eAuGjQnrwp2OLcMzYrn3AfL3Gu2xgr5f16tsMZnaaZff +# vrlpLlDv+6APExWDPKPzTImfpQueScP2LiRRDFWGpXV1z8MXpQF67N+6SQx53u2v +# NQRkxHKVruqG/BR5CWDMJCGlmPP7OxCCleU9zO8Z3SKqvuUALB9UaiDmmUjN0TG+ +# 3VMDwmZ5/zX1pMrAfUhUQjBgsDq69LyRF0DpHG8xxv/+6U2Mi4Zx7LKQwBcTKdWs +# sb1W8rit+sKwYvePfQuaJ26D6jCtwKNBqBiasaTWEHKReKWj1gHxDLLlDUqEa4fr +# lXfMXLxrSTBsoFGzxVHge2g9jD3PUN1wl9kE7Z2HNffIAyKkIabpKa+a9q9GxeHL +# zTmOICkPI36zT9vuizbPyJFYYmToz265Pbj3eAVX/0ksaDlgkkIlcj7LGQ785edk +# my4a3T7NYt0dLhchcEbXug+7kqwV9FMdESWhHZ0jobBprEjIPJIdg628jJ2Vru7i +# V+d8KNj+opMCAwEAAaOCAUkwggFFMB0GA1UdDgQWBBShfI3JUT1mE5WLMRRXCE2A +# vw9fRTAfBgNVHSMEGDAWgBSfpxVdAF5iXYP05dJlpxtTNRnpcjBfBgNVHR8EWDBW +# MFSgUqBQhk5odHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2NybC9NaWNy +# b3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgxKS5jcmwwbAYIKwYBBQUH +# AQEEYDBeMFwGCCsGAQUFBzAChlBodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtp +# b3BzL2NlcnRzL01pY3Jvc29mdCUyMFRpbWUtU3RhbXAlMjBQQ0ElMjAyMDEwKDEp +# LmNydDAMBgNVHRMBAf8EAjAAMBYGA1UdJQEB/wQMMAoGCCsGAQUFBwMIMA4GA1Ud +# DwEB/wQEAwIHgDANBgkqhkiG9w0BAQsFAAOCAgEAuYNV1O24jSMAS3jU7Y4zwJTb +# ftMYzKGsavsXMoIQVpfG2iqT8g5tCuKrVxodWHa/K5DbifPdN04G/utyz+qc+M7G +# dcUvJk95pYuw24BFWZRWLJVheNdgHkPDNpZmBJxjwYovvIaPJauHvxYlSCHusTX7 +# lUPmHT/quz10FGoDMj1+FnPuymyO3y+fHnRYTFsFJIfut9psd6d2l6ptOZb9F9xp +# P4YUixP6DZ6PvBEoir9CGeygXyakU08dXWr9Yr+sX8KGi+SEkwO+Wq0RNaL3saiU +# 5IpqZkL1tiBw8p/Pbx53blYnLXRW1D0/n4L/Z058NrPVGZ45vbspt6CFrRJ89yuJ +# N85FW+o8NJref03t2FNjv7j0jx6+hp32F1nwJ8g49+3C3fFNfZGExkkJWgWVpsdy +# 99vzitoUzpzPkRiT7HVpUSJe2ArpHTGfXCMxcd/QBaVKOpGTO9KdErMWxnASXvhV +# qGUpWEj4KL1FP37oZzTFbMnvNAhQUTcmKLHn7sovwCsd8Fj1QUvPiydugntCKncg +# ANuRThkvSJDyPwjGtrtpJh9OhR5+Zy3d0zr19/gR6HYqH02wqKKmHnz0Cn/FLWMR +# KWt+Mv+D9luhpLl31rZ8Dn3ya5sO8sPnHk8/fvvTS+b9j48iGanZ9O+5Layd15kG +# bJOpxQ0dE2YKT6eNXecwggdxMIIFWaADAgECAhMzAAAAFcXna54Cm0mZAAAAAAAV +# MA0GCSqGSIb3DQEBCwUAMIGIMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGlu +# Z3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBv +# cmF0aW9uMTIwMAYDVQQDEylNaWNyb3NvZnQgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRo +# b3JpdHkgMjAxMDAeFw0yMTA5MzAxODIyMjVaFw0zMDA5MzAxODMyMjVaMHwxCzAJ +# BgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25k +# MR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jv +# c29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwMIICIjANBgkqhkiG9w0BAQEFAAOCAg8A +# MIICCgKCAgEA5OGmTOe0ciELeaLL1yR5vQ7VgtP97pwHB9KpbE51yMo1V/YBf2xK +# 4OK9uT4XYDP/XE/HZveVU3Fa4n5KWv64NmeFRiMMtY0Tz3cywBAY6GB9alKDRLem +# jkZrBxTzxXb1hlDcwUTIcVxRMTegCjhuje3XD9gmU3w5YQJ6xKr9cmmvHaus9ja+ +# NSZk2pg7uhp7M62AW36MEBydUv626GIl3GoPz130/o5Tz9bshVZN7928jaTjkY+y +# OSxRnOlwaQ3KNi1wjjHINSi947SHJMPgyY9+tVSP3PoFVZhtaDuaRr3tpK56KTes +# y+uDRedGbsoy1cCGMFxPLOJiss254o2I5JasAUq7vnGpF1tnYN74kpEeHT39IM9z +# fUGaRnXNxF803RKJ1v2lIH1+/NmeRd+2ci/bfV+AutuqfjbsNkz2K26oElHovwUD +# o9Fzpk03dJQcNIIP8BDyt0cY7afomXw/TNuvXsLz1dhzPUNOwTM5TI4CvEJoLhDq +# hFFG4tG9ahhaYQFzymeiXtcodgLiMxhy16cg8ML6EgrXY28MyTZki1ugpoMhXV8w +# dJGUlNi5UPkLiWHzNgY1GIRH29wb0f2y1BzFa/ZcUlFdEtsluq9QBXpsxREdcu+N +# +VLEhReTwDwV2xo3xwgVGD94q0W29R6HXtqPnhZyacaue7e3PmriLq0CAwEAAaOC +# Ad0wggHZMBIGCSsGAQQBgjcVAQQFAgMBAAEwIwYJKwYBBAGCNxUCBBYEFCqnUv5k +# xJq+gpE8RjUpzxD/LwTuMB0GA1UdDgQWBBSfpxVdAF5iXYP05dJlpxtTNRnpcjBc +# BgNVHSAEVTBTMFEGDCsGAQQBgjdMg30BATBBMD8GCCsGAQUFBwIBFjNodHRwOi8v +# d3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL0RvY3MvUmVwb3NpdG9yeS5odG0wEwYD +# VR0lBAwwCgYIKwYBBQUHAwgwGQYJKwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYD +# VR0PBAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAU1fZWy4/oolxi +# aNE9lJBb186aGMQwVgYDVR0fBE8wTTBLoEmgR4ZFaHR0cDovL2NybC5taWNyb3Nv +# ZnQuY29tL3BraS9jcmwvcHJvZHVjdHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMu +# Y3JsMFoGCCsGAQUFBwEBBE4wTDBKBggrBgEFBQcwAoY+aHR0cDovL3d3dy5taWNy +# b3NvZnQuY29tL3BraS9jZXJ0cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcnQw +# DQYJKoZIhvcNAQELBQADggIBAJ1VffwqreEsH2cBMSRb4Z5yS/ypb+pcFLY+Tkdk +# eLEGk5c9MTO1OdfCcTY/2mRsfNB1OW27DzHkwo/7bNGhlBgi7ulmZzpTTd2YurYe +# eNg2LpypglYAA7AFvonoaeC6Ce5732pvvinLbtg/SHUB2RjebYIM9W0jVOR4U3Uk +# V7ndn/OOPcbzaN9l9qRWqveVtihVJ9AkvUCgvxm2EhIRXT0n4ECWOKz3+SmJw7wX +# sFSFQrP8DJ6LGYnn8AtqgcKBGUIZUnWKNsIdw2FzLixre24/LAl4FOmRsqlb30mj +# dAy87JGA0j3mSj5mO0+7hvoyGtmW9I/2kQH2zsZ0/fZMcm8Qq3UwxTSwethQ/gpY +# 3UA8x1RtnWN0SCyxTkctwRQEcb9k+SS+c23Kjgm9swFXSVRk2XPXfx5bRAGOWhmR +# aw2fpCjcZxkoJLo4S5pu+yFUa2pFEUep8beuyOiJXk+d0tBMdrVXVAmxaQFEfnyh +# YWxz/gq77EFmPWn9y8FBSX5+k77L+DvktxW/tM4+pTFRhLy/AsGConsXHRWJjXD+ +# 57XQKBqJC4822rpM+Zv/Cuk0+CQ1ZyvgDbjmjJnW4SLq8CdCPSWU5nR0W2rRnj7t +# fqAxM328y+l7vzhwRNGQ8cirOoo6CGJ/2XBjU02N7oJtpQUQwXEGahC0HVUzWLOh +# cGbyoYIC1DCCAj0CAQEwggEAoYHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEGA1UE +# CBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9z +# b2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBPcGVy +# YXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjA4NDItNEJF +# Ni1DMjlBMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNloiMK +# AQEwBwYFKw4DAhoDFQBCoh8hiWMdRs2hjT/COFdGf+xIDaCBgzCBgKR+MHwxCzAJ +# BgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25k +# MR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jv +# c29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwMA0GCSqGSIb3DQEBBQUAAgUA6YmczzAi +# GA8yMDI0MDIyODE5NTE0M1oYDzIwMjQwMjI5MTk1MTQzWjB0MDoGCisGAQQBhFkK +# BAExLDAqMAoCBQDpiZzPAgEAMAcCAQACAggYMAcCAQACAhBoMAoCBQDpiu5PAgEA +# MDYGCisGAQQBhFkKBAIxKDAmMAwGCisGAQQBhFkKAwKgCjAIAgEAAgMHoSChCjAI +# AgEAAgMBhqAwDQYJKoZIhvcNAQEFBQADgYEANLW46trirC6mGJM0KFbCi0R4kLAT +# EG4lZ0KyXP1Owks7yQDNjpO1Cy0e2xRTT4YvXoL6UdzteUbSrZM6ED58e2jCO0t7 +# wTJNwRKwCnUuXSxSGpVnHbOLVlUbXlLyxRGAiNnug0caUpTRyAQYpgW7hWvrCnMH +# AI+79aInZPJSmgAxggQNMIIECQIBATCBkzB8MQswCQYDVQQGEwJVUzETMBEGA1UE +# CBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9z +# b2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQ +# Q0EgMjAxMAITMwAAAdqO1claANERsQABAAAB2jANBglghkgBZQMEAgEFAKCCAUow +# GgYJKoZIhvcNAQkDMQ0GCyqGSIb3DQEJEAEEMC8GCSqGSIb3DQEJBDEiBCBFUPTO +# prUZ6ySKXnjo/NrYXNxHCqeSBKQfrZXp6caxKTCB+gYLKoZIhvcNAQkQAi8xgeow +# gecwgeQwgb0EICKlo2liwO+epN73kOPULT3TbQjmWOJutb+d0gI7GD3GMIGYMIGA +# pH4wfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcT +# B1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UE +# AxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTACEzMAAAHajtXJWgDREbEA +# AQAAAdowIgQgf2k2Bp0TwiCNjBrYnMawvi1P4mQCGvldlEYoXyx14e8wDQYJKoZI +# hvcNAQELBQAEggIAiSpfusyERdLB0ihSBl6TFmkpymcfEwVRGDpAkA4p2Rh+5qy+ +# q74OlMeT4VI0y4IsEgaBm0QILuXs26neYxBZM9slCIArmKbMvKMUpkINefZpxkqW +# 2oqtFtlFBDLklI0ylWfmIcxwVCsFmkpIITNTOMDTcHWNHoaFd6Og7ugT9rh0UPU+ +# 6U78JkKz/aFpKbL7nVVcCPzVpg4VSVMERWgXo32unWmCZIE27uR5McVBCQzV8+vT +# SBmRJUjH7OCRstsvb5s9Jq00U/pS4Qi8wXSdAjUF3cshE+O2+vjFnEJttn+wrYh8 +# Z6kd9LPVhXzy582U02Vfr/REBbYeJJL7ET893ai25ydwjaF+a+go+H/XwW9xchrZ +# t+1KvNG3Crf8YERRWCeMkD6cBdFMO28AqvUIo3Mb8vjnlHlAAInftAZjXX+uM+Ze +# WX0nHIpYdbvSJYx0iiBT23GDe61Q/edHl7kSM2dKw3qoWiYyCYJAMOC4g9HwVGbV +# P+W67WA8h+YFiHMfw80emES4kF0nbGG3rJWktiNdJiFwSKUFjULjZs5gK5xhp1pG +# TIOHqBUCVwwXMZUBA7N66i7MeNZ190RpJhY9XJGGr+m5FkjqTj3rLEl4BLhsLenG +# x1ZiKlA8FLTX4vB7WfILBSFhSgkDlRxbojh1HSimMhrT35xAvFNxPpZ72x4= +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/_patch.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/_patch.py new file mode 100644 index 00000000000..760cb96c8ae --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/_patch.py @@ -0,0 +1,268 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + + +# This file is used for handwritten extensions to the generated code. Example: +# https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +def patch_sdk(): + pass + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDulJay4qd9KKRB +# qBhRDFlz1GJlVZ5vICwtS/GPi1X2kaCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIMgZ8Me/bUPstKE7WqMaS1LilvsMM8Rf +# 50Zp5WZXHi8AMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# qYgFbRHq8P7UANg/CW+6pKEQ40hyI2BF0rGRJUOlIKIWZOVFZfFRAJW+vsuLA9VZ +# 1njJdgkQNs0mdhqvKK+nVHLzYv/USZg/7XVHFb0ln5iTkzm5ihrRLOy7DOvAYU+V +# bSUmgyh0n+8eTIKT/RfICvO4HkpwIZO+NvCtQ82eoM9e6PEUm1WTjiStq/uxwkWf +# /QikjpwqvY9IwGZ2eNdNMgXxCkWBqelcmeXiQtudxZkwibo9vFuAmcTHklOYPLKk +# SOJs0uS0lsXbBz6qhuuv47uxyAClXKE0IHRJJMaiFfjnFOgdZGxEF2rFFIB40zFn +# fOmrWFhOTjDZM94o8ja0kqGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCALopWIr1GKJpP3pqHFMpv1WdPLHl+PdXwu/YBCGf3WbQIGZdX8tm1FGBMyMDI0 +# MDIyODE1MDMwOC43NDJaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjNCRDQt +# NEI4MC02OUMzMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzM1WhcNMjUwMTEwMTkwNzM1WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRCODAtNjlD +# MzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKl74Drau2O6LLrJO3HyTvO9aXai//eN +# yP5MLWZrmUGNOJMPwMI08V9zBfRPNcucreIYSyJHjkMIUGmuh0rPV5/2+UCLGrN1 +# P77n9fq/mdzXMN1FzqaPHdKElKneJQ8R6cP4dru2Gymmt1rrGcNe800CcD6d/Ndo +# ommkd196VqOtjZFA1XWu+GsFBeWHiez/PllqcM/eWntkQMs0lK0zmCfH+Bu7i1h+ +# FDRR8F7WzUr/7M3jhVdPpAfq2zYCA8ZVLNgEizY+vFmgx+zDuuU/GChDK7klDcCw +# +/gVoEuSOl5clQsydWQjJJX7Z2yV+1KC6G1JVqpP3dpKPAP/4udNqpR5HIeb8Ta1 +# JfjRUzSv3qSje5y9RYT/AjWNYQ7gsezuDWM/8cZ11kco1JvUyOQ8x/JDkMFqSRwj +# 1v+mc6LKKlj//dWCG/Hw9ppdlWJX6psDesQuQR7FV7eCqV/lfajoLpPNx/9zF1dv +# 8yXBdzmWJPeCie2XaQnrAKDqlG3zXux9tNQmz2L96TdxnIO2OGmYxBAAZAWoKbmt +# YI+Ciz4CYyO0Fm5Z3T40a5d7KJuftF6CToccc/Up/jpFfQitLfjd71cS+cLCeoQ+ +# q0n0IALvV+acbENouSOrjv/QtY4FIjHlI5zdJzJnGskVJ5ozhji0YRscv1WwJFAu +# yyCMQvLdmPddAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQU3/+fh7tNczEifEXlCQgF +# OXgMh6owHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBADP6whOFjD1ad8GkEJ9oLBuv +# fjndMyGQ9R4HgBKSlPt3pa0XVLcimrJlDnKGgFBiWwI6XOgw82hdolDiMDBLLWRM +# TJHWVeUY1gU4XB8OOIxBc9/Q83zb1c0RWEupgC48I+b+2x2VNgGJUsQIyPR2PiXQ +# hT5PyerMgag9OSodQjFwpNdGirna2rpV23EUwFeO5+3oSX4JeCNZvgyUOzKpyMvq +# Vaubo+Glf/psfW5tIcMjZVt0elswfq0qJNQgoYipbaTvv7xmixUJGTbixYifTwAi +# vPcKNdeisZmtts7OHbAM795ZvKLSEqXiRUjDYZyeHyAysMEALbIhdXgHEh60KoZy +# zlBXz3VxEirE7nhucNwM2tViOlwI7EkeU5hudctnXCG55JuMw/wb7c71RKimZA/K +# XlWpmBvkJkB0BZES8OCGDd+zY/T9BnTp8si36Tql84VfpYe9iHmy7PqqxqMF2Cn4 +# q2a0mEMnpBruDGE/gR9c8SVJ2ntkARy5SfluuJ/MB61yRvT1mUx3lyppO22ePjBj +# nwoEvVxbDjT1jhdMNdevOuDeJGzRLK9HNmTDC+TdZQlj+VMgIm8ZeEIRNF0oaviF +# +QZcUZLWzWbYq6yDok8EZKFiRR5otBoGLvaYFpxBZUE8mnLKuDlYobjrxh7lnwrx +# V/fMy0F9fSo2JxFmtLgtMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRC +# ODAtNjlDMzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUA942iGuYFrsE4wzWDd85EpM6RiwqggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJtH4w +# IhgPMjAyNDAyMjgyMTMyNDZaGA8yMDI0MDIyOTIxMzI0NlowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym0fgIBADAHAgEAAgII/jAHAgEAAgIRWzAKAgUA6YsF/gIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAJ6X7dDIGi9HtOCA2shzNFZ6YvoT +# Wvg61z5FKYPhplayQdORPpE+XeeXTwPqfv6/sx93z6zYNxiMgP+9fqXYnMxH965H +# 3HMYkoPxXPXklX+vnZ5Q+02VAKWS0NdI6kAFPBrJSLMZ752kT5HbPmUmHF0DaPyo +# Sj7xsnbEGsliDjFEMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgxacI +# xK+E6TYrNlEouCawYIJp5Wzhyptr68EQ4aHKw28wgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCAVqdP//qjxGFhe2YboEXeb8I/pAof01CwhbxUH9U697TCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB5Y9qwPM9tAuj +# AAEAAAHlMCIEIJZiUB27oq8Piq7Is0oyatZIjipupHB/Q5BVrq0i72SaMA0GCSqG +# SIb3DQEBCwUABIICAKirRjPn7/n6AKmZ++dA35doukoUvQecBsWAlDOdF8a6r7tG +# g7Iv0HvzCbh0zj0pxraauTf8GcyqQUKFwPiGkLOuFj+zkt9TjSViyINL199yBnsv +# ngqn8WIzrn9MQQ6uLMseJ7BVJzXvYovWdRd29q4txTdiGzgjKzp8jCQkXnJMFc+v +# jw5WEaC5U6f3JhHqov2VU+0BHbHTV+56cM1WNTgS5EGe5oKtYQbJ6KpdAt9DZ0WL +# SOpoFmpoTrgwovhwkw7diIBWJIf+HeFRcUTlsFiwWsfPvOrNiyrmMrNlKrG31Kj4 +# qoMWsEuJBU8SZ6/CgCOkLOyN78EgJYTanTu1E9q9/+kO+zQ146/E0usHtieM5bTa +# mmVE6S1f/XGZ11cPe9ppBbF73RYZ+b+rLI03sd5S81aS1oxR1U52sFWgP1S6iBL1 +# SS5Orlv/4rrh9pcYXgGOxhn2dPs5gQaTegGqOmC/WWJHrYa+rXh+nrf0JYrcqz9n +# Slolo56O+zbQko3+ixA1c3tN7pjvH87HK+JinxvZ+ixsJQVx6SNXr8EAZbPwXX0y +# I/ey2CLK5fiksOxQ3fs9bmu8rfUts4JKpZCYaW6qsHbV/+CccRSwEZMvaud04/5O +# EvItuSn2177y3BVti2UBmV4ko/mN4X2UHTFIODetWqBC6m89SMi62QPmWe6Y +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/__init__.py new file mode 100644 index 00000000000..1247dfcbbc3 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/__init__.py @@ -0,0 +1,270 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._sql_server_availability_groups_operations import ( + SqlServerAvailabilityGroupsOperations, +) +from ._sql_server_databases_operations import SqlServerDatabasesOperations +from ._operations import Operations +from ._sql_managed_instances_operations import SqlManagedInstancesOperations +from ._failover_groups_operations import FailoverGroupsOperations +from ._sql_server_instances_operations import SqlServerInstancesOperations +from ._sql_server_licenses_operations import SqlServerLicensesOperations +from ._data_controllers_operations import DataControllersOperations +from ._active_directory_connectors_operations import ( + ActiveDirectoryConnectorsOperations, +) +from ._postgres_instances_operations import PostgresInstancesOperations + +__all__ = [ + "SqlServerAvailabilityGroupsOperations", + "SqlServerDatabasesOperations", + "Operations", + "SqlManagedInstancesOperations", + "FailoverGroupsOperations", + "SqlServerInstancesOperations", + "SqlServerLicensesOperations", + "DataControllersOperations", + "ActiveDirectoryConnectorsOperations", + "PostgresInstancesOperations", +] + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCxQkWxkZ1eqXh4 +# 4Dok9CF6k4MjB5aeGn7Guigm5QZ8D6CCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIP/FiJBNjCrPNyZ4i8SrzRiAm3Ao/WdY +# ahmPycghzKOPMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# IgG+84DYbjLcESwBDDmAf6LWLfLzcTxEiysVuUFQeR4xr+QgNLOa49yd3AAPG/zZ +# AQhQpor278wLRBsybJsiL3CcU9TFtZbpp0iPY6XDVEIBO/CfLK9pkYe4NxyZ24Kk +# DBRkFGOHsMhRZ7rMuqU1oL+r0nBlm74CqOILmR3+I2I9mhr1VbYl1M3nxRoqhUc0 +# 0/wAnoBfHCgxNipuHHJgD6MwNIZTpOCc3VCaq4Eerk85XWApOtxmyqk/hVhbkNiw +# GtMEJRBUFchWGFuHFw40NrJe6REF+H5RtwZ43Wq62xpNoKjEHSWbEApfLNs4rQJ2 +# 8th9RFP4SvKsT54VcOkIuKGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCBCS9SiBUi5Ly8/Y9olNwXHUXcDwi706O9rhr3EsfhPvQIGZdXk8/8/GBMyMDI0 +# MDIyODE1MDMwOS4zMTRaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjA4NDIt +# NEJFNi1DMjlBMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHajtXJWgDREbEAAQAAAdowDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NjU5WhcNMjUwMTEwMTkwNjU5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjowODQyLTRCRTYtQzI5 +# QTElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAJOQBgh2tVFR1j8jQA4NDf8bcVrXSN08 +# 0CNKPSQo7S57sCnPU0FKF47w2L6qHtwm4EnClF2cruXFp/l7PpMQg25E7X8xDmvx +# r8BBE6iASAPCfrTebuvAsZWcJYhy7prgCuBf7OidXpgsW1y8p6Vs7sD2aup/0uve +# YxeXlKtsPjMCplHkk0ba+HgLho0J68Kdji3DM2K59wHy9xrtsYK+X9erbDGZ2mmX +# 3765aS5Q7/ugDxMVgzyj80yJn6ULnknD9i4kUQxVhqV1dc/DF6UBeuzfukkMed7t +# rzUEZMRyla7qhvwUeQlgzCQhpZjz+zsQgpXlPczvGd0iqr7lACwfVGog5plIzdEx +# vt1TA8Jmef819aTKwH1IVEIwYLA6uvS8kRdA6RxvMcb//ulNjIuGceyykMAXEynV +# rLG9VvK4rfrCsGL3j30Lmidug+owrcCjQagYmrGk1hBykXilo9YB8Qyy5Q1KhGuH +# 65V3zFy8a0kwbKBRs8VR4HtoPYw9z1DdcJfZBO2dhzX3yAMipCGm6SmvmvavRsXh +# y805jiApDyN+s0/b7os2z8iRWGJk6M9uuT2493gFV/9JLGg5YJJCJXI+yxkO/OXn +# ZJsuGt0+zWLdHS4XIXBG17oPu5KsFfRTHREloR2dI6GwaaxIyDySHYOtvIydla7u +# 4lfnfCjY/qKTAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUoXyNyVE9ZhOVizEUVwhN +# gL8PX0UwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBALmDVdTtuI0jAEt41O2OM8CU +# 237TGMyhrGr7FzKCEFaXxtoqk/IObQriq1caHVh2vyuQ24nz3TdOBv7rcs/qnPjO +# xnXFLyZPeaWLsNuARVmUViyVYXjXYB5DwzaWZgScY8GKL7yGjyWrh78WJUgh7rE1 +# +5VD5h0/6rs9dBRqAzI9fhZz7spsjt8vnx50WExbBSSH7rfabHendpeqbTmW/Rfc +# aT+GFIsT+g2ej7wRKIq/QhnsoF8mpFNPHV1q/WK/rF/ChovkhJMDvlqtETWi97Go +# lOSKamZC9bYgcPKfz28ed25WJy10VtQ9P5+C/2dOfDaz1RmeOb27Kbegha0SfPcr +# iTfORVvqPDSa3n9N7dhTY7+49I8evoad9hdZ8CfIOPftwt3xTX2RhMZJCVoFlabH +# cvfb84raFM6cz5EYk+x1aVEiXtgK6R0xn1wjMXHf0AWlSjqRkzvSnRKzFsZwEl74 +# VahlKVhI+Ci9RT9+6Gc0xWzJ7zQIUFE3Jiix5+7KL8ArHfBY9UFLz4snboJ7Qip3 +# IADbkU4ZL0iQ8j8Ixra7aSYfToUefmct3dM69ff4Eeh2Kh9NsKiiph589Ap/xS1j +# ESlrfjL/g/ZboaS5d9a2fA598mubDvLD5x5PP37700vm/Y+PIhmp2fTvuS2sndeZ +# BmyTqcUNHRNmCk+njV3nMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjowODQyLTRC +# RTYtQzI5QTElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAQqIfIYljHUbNoY0/wjhXRn/sSA2ggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJnM8w +# IhgPMjAyNDAyMjgxOTUxNDNaGA8yMDI0MDIyOTE5NTE0M1owdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6YmczwIBADAHAgEAAgIIGDAHAgEAAgIQaDAKAgUA6YruTwIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBADS1uOra4qwuphiTNChWwotEeJCw +# ExBuJWdCslz9TsJLO8kAzY6TtQstHtsUU0+GL16C+lHc7XlG0q2TOhA+fHtowjtL +# e8EyTcESsAp1Ll0sUhqVZx2zi1ZVG15S8sURgIjZ7oNHGlKU0cgEGKYFu4Vr6wpz +# BwCPu/WiJ2TyUpoAMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHajtXJWgDREbEAAQAAAdowDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgq9ml +# Mb5+UEdzEBjAC3AskHBV5dZkFONCAaLHAQpPEsUwgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCAipaNpYsDvnqTe95Dj1C09020I5ljibrW/ndICOxg9xjCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB2o7VyVoA0RGx +# AAEAAAHaMCIEIH9pNgadE8IgjYwa2JzGsL4tT+JkAhr5XZRGKF8sdeHvMA0GCSqG +# SIb3DQEBCwUABIICAGEfbqMSQLoyl3WSie/WZ54aS7ZObRHhuYTI4dGFnthh9RZR +# 9ujcKNx6yP1FIaDuu+A2A6fz/t9v7crLq/WyEm1sa0SvHDkTgZbN/vdxvgHZ+KOT +# mPMwA4qiRgjgyFiLbxzExpajWcZplhq9ztVdM6j2Ul9RiF3wI3/ak30Nsadxjp0U +# 2Oq15+WZYznpiSwwtk9V/cIJRn76yW4igipfVYdmqICKGDrvWjU3svii7Z1sOIhX +# zk7h+P8tx/wFXy12XdHeByaxfhdbCjioDexIzF7bSV9Fc5sN84dd4gcsJAj9EvB0 +# 71Z816Ke0hPT07KvnZtabYFxLaZoSZsLL4hskl7va8++1lhLyOZhsNi1joKy5Xec +# QE7Y+1ywHb+iJL9jzqAMm51jk91lRImbTQO6HWfr640KpTxdJlDLZ2W0du7rYMjP +# iVZbA0vAEAqn7Q+HP62KUaCstutOST8OR7AoYKqaARxZUYeUuQoUwWEB0XFAc0+0 +# Ml5jzExkRKLvaVZ9Y/a1J5B5FlZ+Zgs+EVJimcUHoDgteXnF0H45Tbtbrj8iT4Ja +# bT5dwC//FiQwPKwzzLPs0kGm/P7xT3on3ZnSNaJWbXGYbtvNdaWh4B5T1EfDGdJV +# VlFgG8ksnshzT1eOtsvDMYyCzTVx+EBURDxzNFKEdtgXn662v1S4NySpleg9 +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_active_directory_connectors_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_active_directory_connectors_operations.py new file mode 100644 index 00000000000..230b28e0b18 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_active_directory_connectors_operations.py @@ -0,0 +1,774 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._active_directory_connectors_operations import ( + build_create_request_initial, + build_delete_request_initial, + build_get_request, + build_list_request, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class ActiveDirectoryConnectorsOperations: + """ActiveDirectoryConnectorsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, resource_group_name: str, data_controller_name: str, **kwargs: Any + ) -> AsyncIterable["_models.ActiveDirectoryConnectorListResult"]: + """List the active directory connectors associated with the given data controller. + + List the active directory connectors associated with the given data controller. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ActiveDirectoryConnectorListResult or the result + of cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ActiveDirectoryConnectorListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "ActiveDirectoryConnectorListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors"} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + data_controller_name: str, + active_directory_connector_name: str, + active_directory_connector_resource: "_models.ActiveDirectoryConnectorResource", + **kwargs: Any, + ) -> "_models.ActiveDirectoryConnectorResource": + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ActiveDirectoryConnectorResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + active_directory_connector_resource, + "ActiveDirectoryConnectorResource", + ) + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + @distributed_trace_async + async def begin_create( + self, + resource_group_name: str, + data_controller_name: str, + active_directory_connector_name: str, + active_directory_connector_resource: "_models.ActiveDirectoryConnectorResource", + **kwargs: Any, + ) -> AsyncLROPoller["_models.ActiveDirectoryConnectorResource"]: + """Creates or replaces an Active Directory connector resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param active_directory_connector_name: The name of the Active Directory connector instance. + :type active_directory_connector_name: str + :param active_directory_connector_resource: desc. + :type active_directory_connector_resource: + ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ActiveDirectoryConnectorResource or + the result of cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ActiveDirectoryConnectorResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + active_directory_connector_resource=active_directory_connector_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = AsyncARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + data_controller_name: str, + active_directory_connector_name: str, + **kwargs: Any, + ) -> None: + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + data_controller_name: str, + active_directory_connector_name: str, + **kwargs: Any, + ) -> AsyncLROPoller[None]: + """Deletes an Active Directory connector resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param active_directory_connector_name: The name of the Active Directory connector instance. + :type active_directory_connector_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + data_controller_name: str, + active_directory_connector_name: str, + **kwargs: Any, + ) -> "_models.ActiveDirectoryConnectorResource": + """Retrieves an Active Directory connector resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param active_directory_connector_name: The name of the Active Directory connector instance. + :type active_directory_connector_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ActiveDirectoryConnectorResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ActiveDirectoryConnectorResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCiUFS0g9NfSl1d +# HodG1RIgHMvLfo/+xxs5KV+41IKEaqCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIGsHDY11DqWqL+XL8x8HcIc7vOglw+xW +# /7MMWX5pEQZ1MEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# dXxGi/4WN1fOLpGcr7zevnoExE+itZzno2jE+PmO6XRq6azMd7met+jSFUswVAzd +# KF1+hFscMpuMF3mETkRkNraV3Fbk9ZBsDGH606t5+kKFhXt0TTo4PmyKcFdUv6HK +# 9/sH1eCu48pCiVxOpADf/B+pYqGXye0CN2dav5TQiztWRuZPuOjYmjkY3tenAG2U +# iCjKSFCzoJYWaw/ChJvKXCb0XB52prSpoQHjSMgIHudL0m2Z2ndFsHJL9KL7Ryv1 +# hcO/+d4vH5FvSlJsac90uqu1nC+Nx/k5KacXd/Z+G8H7zIzFZO7OSg3TRvbbDFO0 +# 7AR/24iSJaFzwGgIW4mzEKGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCC11afYG1YNcZWuZ+t+T6+kAWNVUaydTUJEAxIXb6fsjwIGZdYHa6HVGBMyMDI0 +# MDIyODE1MDMxMC4xNTZaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjE3OUUt +# NEJCMC04MjQ2MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzE5WhcNMjUwMTEwMTkwNzE5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRCQjAtODI0 +# NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKyHnPOhxbvRATnGjb/6fuBhh3ZLzotA +# xAgdLaZ/zkRFUdeSKzyNt3tqorMK7GDvcXdKs+qIMUbvenlH+w53ssPa6rYP760Z +# uFrABrfserf0kFayNXVzwT7jarJOEjnFMBp+yi+uwQ2TnJuxczceG5FDHrII6sF6 +# F879lP6ydY0BBZkZ9t39e/svNRieA5gUnv/YcM/bIMY/QYmd9F0B+ebFYi+PH4Ak +# XahNkFgK85OIaRrDGvhnxOa/5zGL7Oiii7+J9/QHkdJGlfnRfbQ3QXM/5/umBOKG +# 4JoFY1niZ5RVH5PT0+uCjwcqhTbnvUtfK+N+yB2b9rEZvp2Tv4ZwYzEd9A9VsYMu +# ZiCSbaFMk77LwVbklpnw4aHWJXJkEYmJvxRbcThE8FQyOoVkSuKc5OWZ2+WM/j50 +# oblA0tCU53AauvUOZRoQBh89nHK+m5pOXKXdYMJ+ceuLYF8h5y/cXLQMOmqLJz5l +# 7MLqGwU0zHV+MEO8L1Fo2zEEQ4iL4BX8YknKXonHGQacSCaLZot2kyJVRsFSxn0P +# lPvHVp0YdsCMzdeiw9jAZ7K9s1WxsZGEBrK/obipX6uxjEpyUA9mbVPljlb3R4MW +# I0E2xI/NM6F4Ac8Ceax3YWLT+aWCZeqiIMLxyyWZg+i1KY8ZEzMeNTKCEI5wF1wx +# qr6T1/MQo+8tAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUcF4XP26dV+8SusoA1XXQ +# 2TDSmdIwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBAMATzg6R/A0ldO7MqGxD1VJj +# i5yVA1hHb0Hc0Yjtv7WkxQ8iwfflulX5Us64tD3+3NT1JkphWzaAWf2wKdAw35Rx +# tQG1iON3HEZ0X23nde4Kg/Wfbx5rEHkZ9bzKnR/2N5A16+w/1pbwJzdfRcnJT3cL +# yawr/kYjMWd63OP0Glq70ua4WUE/Po5pU7rQRbWEoQozY24hAqOcwuRcm6Cb0JBe +# TOCeRBntEKgjKep4pRaQt7b9vusT97WeJcfaVosmmPtsZsawgnpIjbBa55tHfuk0 +# vDkZtbIXjU4mr5dns9dnanBdBS2PY3N3hIfCPEOszquwHLkfkFZ/9bxw8/eRJldt +# oukHo16afE/AqP/smmGJh5ZR0pmgW6QcX+61rdi5kDJTzCFaoMyYzUS0SEbyrDZ/ +# p2KOuKAYNngljiOlllct0uJVz2agfczGjjsKi2AS1WaXvOhgZNmGw42SFB1qaloa +# 8Kaux9Q2HHLE8gee/5rgOnx9zSbfVUc7IcRNodq6R7v+Rz+P6XKtOgyCqW/+rhPm +# p/n7Fq2BGTRkcy//hmS32p6qyglr2K4OoJDJXxFs6lwc8D86qlUeGjUyo7hVy5Vv +# yA+y0mGnEAuA85tsOcUPlzwWF5sv+B5fz35OW3X4Spk5SiNulnLFRPM5XCsSHqvc +# bC8R3qwj2w1evPhZxDuNMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRC +# QjAtODI0NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAbfPR1fBX6HxYfyPx8zYzJU5fIQyggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJvw4w +# IhgPMjAyNDAyMjgyMjE3NTBaGA8yMDI0MDIyOTIyMTc1MFowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym/DgIBADAHAgEAAgIFODAHAgEAAgIRUDAKAgUA6YsQjgIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAErMic/nNPp5tSOJsfCecCou9ByT +# N3G55pr1uxb+X3idhClgYGc3ljiCPGpHiDsoGXrc4dK+WWhXosUk2fv46uOPrhy1 +# 1gttQCsn+i9NRKfttUNZl3FIUO2oKEwmp78mrjzCAwD8dlydsjn4dHDCv8eIDkmb +# T8xHYmeUT9tHQQbPMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgb3Zb +# Bmx0GZDBLsLfPZ60VdImwwabtojifLZqGqYRBMIwgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCDj7lK/8jnlbTjPvc77DCCSb4TZApY9nJm5whsK/2kKwTCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB4NT8HxMVH35d +# AAEAAAHgMCIEIG01xKO9hBFTAtjUO/ZHX2/vm3tWdTGjY5wDebXC55bIMA0GCSqG +# SIb3DQEBCwUABIICADvVdV5+lhkruSfkHGLYPtsRqSMHzD/FWfsxAZu5S/IZmKrh +# VjzP1rStm28Avw+91EiIVxXddNYUc9TNBOUV2VR+S2eOzKGw/iP+2Avvp0sENleO +# ev295AtXtHXBx8bA9tBOsj+7QwE7G1ZFuON8zQ/OmxF2+xldMLqigIHT7B6UvsX6 +# 36lYnvaN0NXhv1kRNDxCPh0JLdvV50adTjHz5TWeJ7PrSQbosYf7sxdzGC+kOU1X +# qpTMKkRybw7ZY2lKwVyJmoRNj3Bg9N+IFDBLJUyTeygQ9Xyhva09B4ENLT3cf8Ou +# UUiOpfy+lAmGC77SKmiYr6SqOG/d5Kwjgi9JMd5ZK09h/AXBkC8VtYk1l+4fT9qZ +# VdaQIwZS8JXhSVcnnSMlycr5qdrxeH8DzFVdu77IYmuJafLqD0kx8+ecbHHmmngS +# pf6DseScW1cXDRyAgAo577vwRnSA5TUp+hQrr6zgtBH6CkTkRtPVh3JWyF3BxCDU +# wyjvxRnuFlqbYGC6sU4rN2EXAxSPhFXoT2L0S85AKGnDbo52GbptN/UwbpuoHlW3 +# 5TgZ/rT6gZ/WwBdCUugdQguSLeWi637LtY34InyvOoZKOp4H8gxCN+AO2rajgDzU +# nA0tFqlOWuMdKjI7i+j3kMUoQOwRTBzDcE4JQPv2gDWZFiZRCMT30i/vlgOi +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_data_controllers_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_data_controllers_operations.py new file mode 100644 index 00000000000..f1c43efba4f --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_data_controllers_operations.py @@ -0,0 +1,993 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._data_controllers_operations import ( + build_delete_data_controller_request_initial, + build_get_data_controller_request, + build_list_in_group_request, + build_list_in_subscription_request, + build_patch_data_controller_request_initial, + build_put_data_controller_request_initial, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class DataControllersOperations: + """DataControllersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list_in_subscription( + self, **kwargs: Any + ) -> AsyncIterable["_models.PageOfDataControllerResource"]: + """List dataController resources in the subscription. + + List dataController resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PageOfDataControllerResource or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.azurearcdata.models.PageOfDataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PageOfDataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_in_subscription_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list_in_subscription.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_in_subscription_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "PageOfDataControllerResource", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_in_subscription.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/dataControllers"} # type: ignore + + @distributed_trace + def list_in_group( + self, resource_group_name: str, **kwargs: Any + ) -> AsyncIterable["_models.PageOfDataControllerResource"]: + """List dataController resources in the resource group. + + List dataController resources in the resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PageOfDataControllerResource or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.azurearcdata.models.PageOfDataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PageOfDataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_in_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_in_group.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_in_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "PageOfDataControllerResource", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_in_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers"} # type: ignore + + async def _put_data_controller_initial( + self, + resource_group_name: str, + data_controller_name: str, + data_controller_resource: "_models.DataControllerResource", + **kwargs: Any, + ) -> "_models.DataControllerResource": + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + data_controller_resource, "DataControllerResource" + ) + + request = build_put_data_controller_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._put_data_controller_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _put_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace_async + async def begin_put_data_controller( + self, + resource_group_name: str, + data_controller_name: str, + data_controller_resource: "_models.DataControllerResource", + **kwargs: Any, + ) -> AsyncLROPoller["_models.DataControllerResource"]: + """Creates or replaces a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param data_controller_resource: desc. + :type data_controller_resource: ~azure.mgmt.azurearcdata.models.DataControllerResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either DataControllerResource or the result + of cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.azurearcdata.models.DataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._put_data_controller_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + data_controller_resource=data_controller_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = AsyncARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_put_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + async def _delete_data_controller_initial( # pylint: disable=inconsistent-return-statements + self, resource_group_name: str, data_controller_name: str, **kwargs: Any + ) -> None: + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_delete_data_controller_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=self._delete_data_controller_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace_async + async def begin_delete_data_controller( # pylint: disable=inconsistent-return-statements + self, resource_group_name: str, data_controller_name: str, **kwargs: Any + ) -> AsyncLROPoller[None]: + """Deletes a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_data_controller_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace_async + async def get_data_controller( + self, resource_group_name: str, data_controller_name: str, **kwargs: Any + ) -> "_models.DataControllerResource": + """Retrieves a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataControllerResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.DataControllerResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_get_data_controller_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=self.get_data_controller.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + async def _patch_data_controller_initial( + self, + resource_group_name: str, + data_controller_name: str, + data_controller_resource: "_models.DataControllerUpdate", + **kwargs: Any, + ) -> Optional["_models.DataControllerResource"]: + cls = kwargs.pop( + "cls", None + ) # type: ClsType[Optional["_models.DataControllerResource"]] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + data_controller_resource, "DataControllerUpdate" + ) + + request = build_patch_data_controller_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._patch_data_controller_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _patch_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace_async + async def begin_patch_data_controller( + self, + resource_group_name: str, + data_controller_name: str, + data_controller_resource: "_models.DataControllerUpdate", + **kwargs: Any, + ) -> AsyncLROPoller["_models.DataControllerResource"]: + """Updates a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param data_controller_resource: The update data controller resource. + :type data_controller_resource: ~azure.mgmt.azurearcdata.models.DataControllerUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either DataControllerResource or the result + of cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.azurearcdata.models.DataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._patch_data_controller_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + data_controller_resource=data_controller_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = AsyncARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_patch_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAqvbHn7MniX1xW +# X3fh75/CXXUyLOUpkJx38IMnoP6RjaCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIHGbOSLJxkJsqkOLUJF3020SnLDM0XLP +# iXuwJZ/H5dEyMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# Jg2/pCVyU1Jr79mqzde10WgchKIcNf6+hT1KDybGCPQ+ENFL8HOSP9oYU+kRoAsc +# XiS+l3esi9abtXEWj4y7Au6qF/psWI3irIO748kNGfUXt73MPsoXAtj+gaZL18WS +# eVLVV9h5Vk1DgCnMFWpaFtiFOhit/ynu4d8VzAdpaMqNANiDFZu3LmLw4uMedO6c +# lQclKCGcec55JBisnlt82WiL1zVn0urN/rxbDcxUClLpd49XIPJ31Wt4M4bAbE9q +# A+PxTZqIStGiwLMJGVB+9pyx14TZVIrZFDxQfz6Gzbv0oHsUGTKOgniqnRuhqv/R +# nmQfrJVSfkEgsrN5CIwHP6GCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCCU5fasX46o4IiCiruXJN5oi6tOGSAe6k9n2u83EGukwAIGZdX8tm1uGBMyMDI0 +# MDIyODE1MDMwOS4zOTdaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjNCRDQt +# NEI4MC02OUMzMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzM1WhcNMjUwMTEwMTkwNzM1WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRCODAtNjlD +# MzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKl74Drau2O6LLrJO3HyTvO9aXai//eN +# yP5MLWZrmUGNOJMPwMI08V9zBfRPNcucreIYSyJHjkMIUGmuh0rPV5/2+UCLGrN1 +# P77n9fq/mdzXMN1FzqaPHdKElKneJQ8R6cP4dru2Gymmt1rrGcNe800CcD6d/Ndo +# ommkd196VqOtjZFA1XWu+GsFBeWHiez/PllqcM/eWntkQMs0lK0zmCfH+Bu7i1h+ +# FDRR8F7WzUr/7M3jhVdPpAfq2zYCA8ZVLNgEizY+vFmgx+zDuuU/GChDK7klDcCw +# +/gVoEuSOl5clQsydWQjJJX7Z2yV+1KC6G1JVqpP3dpKPAP/4udNqpR5HIeb8Ta1 +# JfjRUzSv3qSje5y9RYT/AjWNYQ7gsezuDWM/8cZ11kco1JvUyOQ8x/JDkMFqSRwj +# 1v+mc6LKKlj//dWCG/Hw9ppdlWJX6psDesQuQR7FV7eCqV/lfajoLpPNx/9zF1dv +# 8yXBdzmWJPeCie2XaQnrAKDqlG3zXux9tNQmz2L96TdxnIO2OGmYxBAAZAWoKbmt +# YI+Ciz4CYyO0Fm5Z3T40a5d7KJuftF6CToccc/Up/jpFfQitLfjd71cS+cLCeoQ+ +# q0n0IALvV+acbENouSOrjv/QtY4FIjHlI5zdJzJnGskVJ5ozhji0YRscv1WwJFAu +# yyCMQvLdmPddAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQU3/+fh7tNczEifEXlCQgF +# OXgMh6owHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBADP6whOFjD1ad8GkEJ9oLBuv +# fjndMyGQ9R4HgBKSlPt3pa0XVLcimrJlDnKGgFBiWwI6XOgw82hdolDiMDBLLWRM +# TJHWVeUY1gU4XB8OOIxBc9/Q83zb1c0RWEupgC48I+b+2x2VNgGJUsQIyPR2PiXQ +# hT5PyerMgag9OSodQjFwpNdGirna2rpV23EUwFeO5+3oSX4JeCNZvgyUOzKpyMvq +# Vaubo+Glf/psfW5tIcMjZVt0elswfq0qJNQgoYipbaTvv7xmixUJGTbixYifTwAi +# vPcKNdeisZmtts7OHbAM795ZvKLSEqXiRUjDYZyeHyAysMEALbIhdXgHEh60KoZy +# zlBXz3VxEirE7nhucNwM2tViOlwI7EkeU5hudctnXCG55JuMw/wb7c71RKimZA/K +# XlWpmBvkJkB0BZES8OCGDd+zY/T9BnTp8si36Tql84VfpYe9iHmy7PqqxqMF2Cn4 +# q2a0mEMnpBruDGE/gR9c8SVJ2ntkARy5SfluuJ/MB61yRvT1mUx3lyppO22ePjBj +# nwoEvVxbDjT1jhdMNdevOuDeJGzRLK9HNmTDC+TdZQlj+VMgIm8ZeEIRNF0oaviF +# +QZcUZLWzWbYq6yDok8EZKFiRR5otBoGLvaYFpxBZUE8mnLKuDlYobjrxh7lnwrx +# V/fMy0F9fSo2JxFmtLgtMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRC +# ODAtNjlDMzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUA942iGuYFrsE4wzWDd85EpM6RiwqggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJtH4w +# IhgPMjAyNDAyMjgyMTMyNDZaGA8yMDI0MDIyOTIxMzI0NlowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym0fgIBADAHAgEAAgII/jAHAgEAAgIRWzAKAgUA6YsF/gIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAJ6X7dDIGi9HtOCA2shzNFZ6YvoT +# Wvg61z5FKYPhplayQdORPpE+XeeXTwPqfv6/sx93z6zYNxiMgP+9fqXYnMxH965H +# 3HMYkoPxXPXklX+vnZ5Q+02VAKWS0NdI6kAFPBrJSLMZ752kT5HbPmUmHF0DaPyo +# Sj7xsnbEGsliDjFEMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgaoew +# t1qysSPuDf2fU1SnRwx0os1yyXf+wvm1OPCUhw0wgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCAVqdP//qjxGFhe2YboEXeb8I/pAof01CwhbxUH9U697TCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB5Y9qwPM9tAuj +# AAEAAAHlMCIEIJZiUB27oq8Piq7Is0oyatZIjipupHB/Q5BVrq0i72SaMA0GCSqG +# SIb3DQEBCwUABIICAHtaugKRz3lU3ScOg/BMRklHfbR7jXKeQUgZjSHB9FP8DT7j +# O5ovhaYaHCLPRtKjpHNG67JHpBLUIlbpIIRc5K+rW4guUm3vWXoaHMfqwS0XPx4V +# xPavuGdSQIW8+r3lD3b8pESUu0EEwpfYJ6XWm+EGsP/GJ+1HgkqrrFvaaIjDRq50 +# 1RHjUn5Df+ChJUgCaIHJEtfsiFgOgu5VzUFOVpGEmRx7kCGerCYeX3ErEJwtqS8W +# WX1+WRFLZzdjIhePfEm2BGNBt/weny4xWVxJI3wqBVU+coIal13Jz1oFPs3kMl/g +# t0TQA+I1JetQdzUqyLqbJ14kp23gQEVr7hYcxjXaJaFy+OW67xtS7Eh0uxamo32s +# V7RiVSxMi2Pha2WLuWU+Pp9Zj65Pf9S5cncxKjn7HOcgg5rdt6kUDH4+KPw7SmvX +# dJZEFHzv9CRGRjv8gEQubU/OqMI9LgXGs8H17lUUe4YBt9Bo0fm8yJ1pm1cim7HM +# eL/Me93Sy73xQI4k73y7rUf7AfQiQD941W2CpY4tlC8hgccAvN3X+GLIAy60dTC+ +# c5jQGohz0yNXK9sKeW6WQoeeLTCT6V9GUpujfSAveaQufyz9CSjd5ozwQDGTIyVp +# pSZZavivxHNG+5EY5IyNheE2ckN+pSe/cAev30yhaYphtI3ppO19UBC4iddm +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_failover_groups_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_failover_groups_operations.py new file mode 100644 index 00000000000..9a4fd62bc14 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_failover_groups_operations.py @@ -0,0 +1,775 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._failover_groups_operations import ( + build_create_request_initial, + build_delete_request_initial, + build_get_request, + build_list_request, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class FailoverGroupsOperations: + """FailoverGroupsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, + resource_group_name: str, + sql_managed_instance_name: str, + **kwargs: Any, + ) -> AsyncIterable["_models.FailoverGroupListResult"]: + """List the failover groups associated with the given sql managed instance. + + List the failover groups associated with the given sql managed instance. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either FailoverGroupListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.azurearcdata.models.FailoverGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.FailoverGroupListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "FailoverGroupListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups"} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + sql_managed_instance_name: str, + failover_group_name: str, + failover_group_resource: "_models.FailoverGroupResource", + **kwargs: Any, + ) -> "_models.FailoverGroupResource": + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.FailoverGroupResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + failover_group_resource, "FailoverGroupResource" + ) + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "FailoverGroupResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "FailoverGroupResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore + + @distributed_trace_async + async def begin_create( + self, + resource_group_name: str, + sql_managed_instance_name: str, + failover_group_name: str, + failover_group_resource: "_models.FailoverGroupResource", + **kwargs: Any, + ) -> AsyncLROPoller["_models.FailoverGroupResource"]: + """Creates or replaces a failover group resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param failover_group_name: The name of the Failover Group. + :type failover_group_name: str + :param failover_group_resource: desc. + :type failover_group_resource: ~azure.mgmt.azurearcdata.models.FailoverGroupResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either FailoverGroupResource or the result + of cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.azurearcdata.models.FailoverGroupResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.FailoverGroupResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + failover_group_resource=failover_group_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "FailoverGroupResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = AsyncARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_managed_instance_name: str, + failover_group_name: str, + **kwargs: Any, + ) -> None: + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_managed_instance_name: str, + failover_group_name: str, + **kwargs: Any, + ) -> AsyncLROPoller[None]: + """Deletes a failover group resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param failover_group_name: The name of the Failover Group. + :type failover_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + sql_managed_instance_name: str, + failover_group_name: str, + **kwargs: Any, + ) -> "_models.FailoverGroupResource": + """Retrieves a failover group resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param failover_group_name: The name of the Failover Group. + :type failover_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FailoverGroupResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.FailoverGroupResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.FailoverGroupResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "FailoverGroupResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCD2XhpRCPorB7Bk +# qASVXD5qsBZ2zqESnbK0CGxGA7DqUaCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEILNPkvfKitByUEffspFOzsnOiQxyzzan +# lTbW858SHQkIMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# R2MEydXIxQM8vSyt4LmqYlEaq08fxBwUey/LNFmVxhthuZ/FtPabhfF/By0qdRIV +# YUb/MYKEo1ZP4mNRslwW3jZ7t/K4Uw/p+OrD3BCUuvKJ+8LWZ5K91j7HH/TMFJp9 +# I86CmDygvC8VkU5LDJqA7WuYLrDKxOTMsRWVrqacpWQPFsfquPvSs33gLB0lSB01 +# fCb4WwzYDmmRrMFpNzfR+dGJX9kaYS5mLVoA9WRYdljMQl7auRT6YYW02flN3ljK +# wpQb7BqpOVuR3aCIBynLIUdSmDEQa2BzuQpT0f2VKVybCA16vmo+8mz4ui4aVkc1 +# zdSrO3BDXZhjDgAJ3ZuocKGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCCzadnx3OvrHQShB/LSC+x8Ypq1xALlJpuYeNIgf96vtwIGZdX8tm2xGBMyMDI0 +# MDIyODE1MDMxMC4yOThaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjNCRDQt +# NEI4MC02OUMzMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzM1WhcNMjUwMTEwMTkwNzM1WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRCODAtNjlD +# MzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKl74Drau2O6LLrJO3HyTvO9aXai//eN +# yP5MLWZrmUGNOJMPwMI08V9zBfRPNcucreIYSyJHjkMIUGmuh0rPV5/2+UCLGrN1 +# P77n9fq/mdzXMN1FzqaPHdKElKneJQ8R6cP4dru2Gymmt1rrGcNe800CcD6d/Ndo +# ommkd196VqOtjZFA1XWu+GsFBeWHiez/PllqcM/eWntkQMs0lK0zmCfH+Bu7i1h+ +# FDRR8F7WzUr/7M3jhVdPpAfq2zYCA8ZVLNgEizY+vFmgx+zDuuU/GChDK7klDcCw +# +/gVoEuSOl5clQsydWQjJJX7Z2yV+1KC6G1JVqpP3dpKPAP/4udNqpR5HIeb8Ta1 +# JfjRUzSv3qSje5y9RYT/AjWNYQ7gsezuDWM/8cZ11kco1JvUyOQ8x/JDkMFqSRwj +# 1v+mc6LKKlj//dWCG/Hw9ppdlWJX6psDesQuQR7FV7eCqV/lfajoLpPNx/9zF1dv +# 8yXBdzmWJPeCie2XaQnrAKDqlG3zXux9tNQmz2L96TdxnIO2OGmYxBAAZAWoKbmt +# YI+Ciz4CYyO0Fm5Z3T40a5d7KJuftF6CToccc/Up/jpFfQitLfjd71cS+cLCeoQ+ +# q0n0IALvV+acbENouSOrjv/QtY4FIjHlI5zdJzJnGskVJ5ozhji0YRscv1WwJFAu +# yyCMQvLdmPddAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQU3/+fh7tNczEifEXlCQgF +# OXgMh6owHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBADP6whOFjD1ad8GkEJ9oLBuv +# fjndMyGQ9R4HgBKSlPt3pa0XVLcimrJlDnKGgFBiWwI6XOgw82hdolDiMDBLLWRM +# TJHWVeUY1gU4XB8OOIxBc9/Q83zb1c0RWEupgC48I+b+2x2VNgGJUsQIyPR2PiXQ +# hT5PyerMgag9OSodQjFwpNdGirna2rpV23EUwFeO5+3oSX4JeCNZvgyUOzKpyMvq +# Vaubo+Glf/psfW5tIcMjZVt0elswfq0qJNQgoYipbaTvv7xmixUJGTbixYifTwAi +# vPcKNdeisZmtts7OHbAM795ZvKLSEqXiRUjDYZyeHyAysMEALbIhdXgHEh60KoZy +# zlBXz3VxEirE7nhucNwM2tViOlwI7EkeU5hudctnXCG55JuMw/wb7c71RKimZA/K +# XlWpmBvkJkB0BZES8OCGDd+zY/T9BnTp8si36Tql84VfpYe9iHmy7PqqxqMF2Cn4 +# q2a0mEMnpBruDGE/gR9c8SVJ2ntkARy5SfluuJ/MB61yRvT1mUx3lyppO22ePjBj +# nwoEvVxbDjT1jhdMNdevOuDeJGzRLK9HNmTDC+TdZQlj+VMgIm8ZeEIRNF0oaviF +# +QZcUZLWzWbYq6yDok8EZKFiRR5otBoGLvaYFpxBZUE8mnLKuDlYobjrxh7lnwrx +# V/fMy0F9fSo2JxFmtLgtMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRC +# ODAtNjlDMzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUA942iGuYFrsE4wzWDd85EpM6RiwqggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJtH4w +# IhgPMjAyNDAyMjgyMTMyNDZaGA8yMDI0MDIyOTIxMzI0NlowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym0fgIBADAHAgEAAgII/jAHAgEAAgIRWzAKAgUA6YsF/gIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAJ6X7dDIGi9HtOCA2shzNFZ6YvoT +# Wvg61z5FKYPhplayQdORPpE+XeeXTwPqfv6/sx93z6zYNxiMgP+9fqXYnMxH965H +# 3HMYkoPxXPXklX+vnZ5Q+02VAKWS0NdI6kAFPBrJSLMZ752kT5HbPmUmHF0DaPyo +# Sj7xsnbEGsliDjFEMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgFeD9 +# iex3P7H2cWSG1Te3+EDGjmugR85ceal4j0T0cJ8wgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCAVqdP//qjxGFhe2YboEXeb8I/pAof01CwhbxUH9U697TCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB5Y9qwPM9tAuj +# AAEAAAHlMCIEIJZiUB27oq8Piq7Is0oyatZIjipupHB/Q5BVrq0i72SaMA0GCSqG +# SIb3DQEBCwUABIICADG2ry5U5uErl18F6bKuzZ8WACUCPHaH12rlN1Dsl5YMq1JW +# vWigVcOnH0HyvoVKHcgv1sKree3w6JoZQT28VbEj1NUrSlYrT5RF7cYK9PCAZDoq +# X5XJ67u4OTm3gZ5r/WAxXHFkjN7hrZWAb+XrwABv0Ww16xytyzjBIqTC/b/hI9Yh +# pwgsdEb0ExrQNN9eZea1+LeE9nblmzx/vKnz25xRB5Kb7hRKx06FpY/uVy2+wFmF +# txbXvjbpdipDxx2f/g/40q5/rfVOzNZ5T1XWySGErI/RlDRFnp/MbfPEUpfUm7lX +# YuaLvjRRr8r7G+z0c0J+tZ/JOF0ajmwdzl4Or+gSu/kK832+BsPoAb8X1+QBjxJr +# OS5NLYFwB/PS2RvhqEEU8Y/BuAE7EKbgDvj4ATK8OkClN6ArGjjL5GwG3LL71+j1 +# y80lxkhnj1h/59oueq1Pd8HKxAXSOFrWIAIvACvCvyyB7C0Z8zkLjFzmcXyn902w +# YsSnyLQeQN8rHhEGG3/YQhVj3hIGS+Zn/hmxl1S0H7A56lmRwu+t+3f2cohRxDkg +# G+/bLo5RlKVjw/Z0y6PSnproboyJdfCU28ii9Wuu70aiB3gYgqK1r6CzYamwKq0s +# AyioAhk7c8IIX9N8ZkLpMjUb4YeXk8sx5WPIe+/RTdLkP2Iyvcxy6KwxgbBy +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_operations.py new file mode 100644 index 00000000000..ddb5128a221 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_operations.py @@ -0,0 +1,377 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._operations import build_list_request + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class Operations: + """Operations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, **kwargs: Any + ) -> AsyncIterable["_models.OperationListResult"]: + """Lists all of the available Azure Data Services on Azure Arc API operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationListResult or the result of cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.azurearcdata.models.OperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.OperationListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "OperationListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/providers/Microsoft.AzureArcData/operations"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCA1sE/u/n2qFvhw +# iMzZHQF2b9ZOSE9IsnsxQDZRPIGG/aCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIMMG1/x3Jf5oqgwGdghSbskRvKWewHLI +# yGjnxn1ay7mlMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# JPe9dzqL0tjSsEFAJ1uNBF6RdTtCcAF0a01E9dyYrs7X/KqeetUEQv6YfH9N7Gia +# 7/HYATQlTaxtgw7P1he3PzHTuicBLNPI9rGusjJM8nlFg4OUyx06lfvUmnBhAnG/ +# 7Ni4qcTVzrDxv/N0SCSCfb5WLp89XJIorn/mS70GfrBIUaESdP9P4WgxLGRm/O4e +# jmuj/vc6sqsFqgtEhC3Krvwe/WQkcskfKWhNzewpB/SNp31AxNeRSiphVBoVeiXl +# Fv2jGV82gp6UbpGceg0g2QDl8jGZuqk/xhqVcH5g5OOEsV2BxHPh1sc5J7f99ZLY +# gbr1BQXXcplq/zoAklMAYaGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCCTY6kaBZCq2dq/YgIlTYs4KMQ0A6NH8pXeTwiyNjFuTAIGZdXk8/9kGBMyMDI0 +# MDIyODE1MDMwOS44MTJaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjA4NDIt +# NEJFNi1DMjlBMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHajtXJWgDREbEAAQAAAdowDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NjU5WhcNMjUwMTEwMTkwNjU5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjowODQyLTRCRTYtQzI5 +# QTElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAJOQBgh2tVFR1j8jQA4NDf8bcVrXSN08 +# 0CNKPSQo7S57sCnPU0FKF47w2L6qHtwm4EnClF2cruXFp/l7PpMQg25E7X8xDmvx +# r8BBE6iASAPCfrTebuvAsZWcJYhy7prgCuBf7OidXpgsW1y8p6Vs7sD2aup/0uve +# YxeXlKtsPjMCplHkk0ba+HgLho0J68Kdji3DM2K59wHy9xrtsYK+X9erbDGZ2mmX +# 3765aS5Q7/ugDxMVgzyj80yJn6ULnknD9i4kUQxVhqV1dc/DF6UBeuzfukkMed7t +# rzUEZMRyla7qhvwUeQlgzCQhpZjz+zsQgpXlPczvGd0iqr7lACwfVGog5plIzdEx +# vt1TA8Jmef819aTKwH1IVEIwYLA6uvS8kRdA6RxvMcb//ulNjIuGceyykMAXEynV +# rLG9VvK4rfrCsGL3j30Lmidug+owrcCjQagYmrGk1hBykXilo9YB8Qyy5Q1KhGuH +# 65V3zFy8a0kwbKBRs8VR4HtoPYw9z1DdcJfZBO2dhzX3yAMipCGm6SmvmvavRsXh +# y805jiApDyN+s0/b7os2z8iRWGJk6M9uuT2493gFV/9JLGg5YJJCJXI+yxkO/OXn +# ZJsuGt0+zWLdHS4XIXBG17oPu5KsFfRTHREloR2dI6GwaaxIyDySHYOtvIydla7u +# 4lfnfCjY/qKTAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUoXyNyVE9ZhOVizEUVwhN +# gL8PX0UwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBALmDVdTtuI0jAEt41O2OM8CU +# 237TGMyhrGr7FzKCEFaXxtoqk/IObQriq1caHVh2vyuQ24nz3TdOBv7rcs/qnPjO +# xnXFLyZPeaWLsNuARVmUViyVYXjXYB5DwzaWZgScY8GKL7yGjyWrh78WJUgh7rE1 +# +5VD5h0/6rs9dBRqAzI9fhZz7spsjt8vnx50WExbBSSH7rfabHendpeqbTmW/Rfc +# aT+GFIsT+g2ej7wRKIq/QhnsoF8mpFNPHV1q/WK/rF/ChovkhJMDvlqtETWi97Go +# lOSKamZC9bYgcPKfz28ed25WJy10VtQ9P5+C/2dOfDaz1RmeOb27Kbegha0SfPcr +# iTfORVvqPDSa3n9N7dhTY7+49I8evoad9hdZ8CfIOPftwt3xTX2RhMZJCVoFlabH +# cvfb84raFM6cz5EYk+x1aVEiXtgK6R0xn1wjMXHf0AWlSjqRkzvSnRKzFsZwEl74 +# VahlKVhI+Ci9RT9+6Gc0xWzJ7zQIUFE3Jiix5+7KL8ArHfBY9UFLz4snboJ7Qip3 +# IADbkU4ZL0iQ8j8Ixra7aSYfToUefmct3dM69ff4Eeh2Kh9NsKiiph589Ap/xS1j +# ESlrfjL/g/ZboaS5d9a2fA598mubDvLD5x5PP37700vm/Y+PIhmp2fTvuS2sndeZ +# BmyTqcUNHRNmCk+njV3nMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjowODQyLTRC +# RTYtQzI5QTElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAQqIfIYljHUbNoY0/wjhXRn/sSA2ggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJnM8w +# IhgPMjAyNDAyMjgxOTUxNDNaGA8yMDI0MDIyOTE5NTE0M1owdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6YmczwIBADAHAgEAAgIIGDAHAgEAAgIQaDAKAgUA6YruTwIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBADS1uOra4qwuphiTNChWwotEeJCw +# ExBuJWdCslz9TsJLO8kAzY6TtQstHtsUU0+GL16C+lHc7XlG0q2TOhA+fHtowjtL +# e8EyTcESsAp1Ll0sUhqVZx2zi1ZVG15S8sURgIjZ7oNHGlKU0cgEGKYFu4Vr6wpz +# BwCPu/WiJ2TyUpoAMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHajtXJWgDREbEAAQAAAdowDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgDfwH +# JZP/SQxKudzYazxrmKkDcHYZKHH1Z72kC/1KR3IwgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCAipaNpYsDvnqTe95Dj1C09020I5ljibrW/ndICOxg9xjCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB2o7VyVoA0RGx +# AAEAAAHaMCIEIH9pNgadE8IgjYwa2JzGsL4tT+JkAhr5XZRGKF8sdeHvMA0GCSqG +# SIb3DQEBCwUABIICAGA+bkUq0DgsA8awlU3YOVFzmhdZQ0V5XeVItM59wpo/rToh +# hjLkulwEqCOmFWV/VDMY1XVzadGCWIr5IBHJqttj/nVshPrz3jnl1eHN6ofNty00 +# yVqxE0tktifNbrwm+svaEjtEZ1L7EOn4e6iEvPAVlw5ZA8p3XvIswb4wyh1xOruk +# 0SX/VjOmfYqwlBKnT6b1pt+lAmB5Txv2dCX0UuAdWlrGkreEXHpSbk/GxdBtM/4C +# 9rVFEFZQsBLi0eG6LXvVFQQLZRgb1cUfjkTodxO+AO5tJCw1cjxfADJ0qe5IBTOp +# clRIi0h6aYD1vZkxtjSyZQmu2Eq7kvIW7L6RaPFHZA2XV3kmhpeAfbaroAHcb5Cr +# PkDve/zy5qbYIoHADgTZoTW5fASiWmhwU2hawgYj0cng9EGhMNtZT2hUmR2Dc7vC +# sgiaJE+UNVY4ThozW/V2OlFAOm66biXgcKHanLoyxXPBbHfygHeOb0ddEBsD1Q78 +# pOcP/ozvOsrVJCGn60078esu0u4Gu0RAH1tgNvvjojaoDEqRE8tr/25CEdARCKvo +# 3EBYq4ANllurToyHQNtn2VaXu7/h84TE7ISvx6S67k5uFW7CwJzrcNQf77MokfIN +# n11a70uZGNDQTGRgSeM4WUiNf39KYvGtN8521X8uLe+02nTwKMi46cNzPHJW +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_postgres_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_postgres_instances_operations.py new file mode 100644 index 00000000000..c8de87ac548 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_postgres_instances_operations.py @@ -0,0 +1,916 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._postgres_instances_operations import ( + build_create_request_initial, + build_delete_request_initial, + build_get_request, + build_list_by_resource_group_request, + build_list_request, + build_update_request, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class PostgresInstancesOperations: + """PostgresInstancesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, **kwargs: Any + ) -> AsyncIterable["_models.PostgresInstanceListResult"]: + """List postgres Instance resources in the subscription. + + List postgres Instance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PostgresInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.azurearcdata.models.PostgresInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "PostgresInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/postgresInstances"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, resource_group_name: str, **kwargs: Any + ) -> AsyncIterable["_models.PostgresInstanceListResult"]: + """List postgres Instance resources in the resource group. + + Get a postgres Instances list by Resource group name. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PostgresInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.azurearcdata.models.PostgresInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "PostgresInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + postgres_instance_name: str, + **kwargs: Any, + ) -> "_models.PostgresInstance": + """Retrieves a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PostgresInstance, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.PostgresInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize("PostgresInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + postgres_instance_name: str, + resource: "_models.PostgresInstance", + **kwargs: Any, + ) -> "_models.PostgresInstance": + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(resource, "PostgresInstance") + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "PostgresInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "PostgresInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_create( + self, + resource_group_name: str, + postgres_instance_name: str, + resource: "_models.PostgresInstance", + **kwargs: Any, + ) -> AsyncLROPoller["_models.PostgresInstance"]: + """Creates or replaces a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :param resource: The postgres instance. + :type resource: ~azure.mgmt.azurearcdata.models.PostgresInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either PostgresInstance or the result of + cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.azurearcdata.models.PostgresInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstance"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + resource=resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "PostgresInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = AsyncARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + postgres_instance_name: str, + **kwargs: Any, + ) -> None: + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + postgres_instance_name: str, + **kwargs: Any, + ) -> AsyncLROPoller[None]: + """Deletes a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + @distributed_trace_async + async def update( + self, + resource_group_name: str, + postgres_instance_name: str, + parameters: "_models.PostgresInstanceUpdate", + **kwargs: Any, + ) -> "_models.PostgresInstance": + """Updates a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :param parameters: The Postgres Instance. + :type parameters: ~azure.mgmt.azurearcdata.models.PostgresInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PostgresInstance, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.PostgresInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(parameters, "PostgresInstanceUpdate") + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize("PostgresInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCB8KeLnQZn6MDh3 +# AMPMNtlA4Lnxmym0Zp2m+gwV9ua4taCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEINPP7H+GMTsM4xf1vgZxiZi+paFNNwGl +# OfVilKyt4jwAMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# I+uY7waJuazG02RfDc2jy6rtxkZNgFEgPNnGvGKqUTpe8cKxtyyjfPNJU1VLrlPl +# dC1EkQYl2McYFyoSEiaMfW+Hhfz2IurkRCyX8jLa8tzhKSgD65iDGyBUP11a6tMQ +# mSnTJuf0w7cwQj+mtqN61HLCiuTWMOvZv3nIDPrHiASOMY1WuTAUqzrkOOlZw6DY +# rquvu5cZk0gaDq5lkkbrDZnsI0D7M3m+vw5YiQY6uMxSxBvgGtjkKzGvc06OzWr5 +# 2ZO9Izs46SEX8alCqOeGyUeiawXBnsgTssIstXm5ilfIEsG2rpmyhzmNkSHsmzm9 +# WAB7Pa4NN6afAIaMxmJD5aGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCDiGRMb6CcsESbSVBPYW2G+BQmNzqc5s9DGc4/J3uByZwIGZdYHa6U0GBMyMDI0 +# MDIyODE1MDMyNC45ODVaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjE3OUUt +# NEJCMC04MjQ2MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzE5WhcNMjUwMTEwMTkwNzE5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRCQjAtODI0 +# NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKyHnPOhxbvRATnGjb/6fuBhh3ZLzotA +# xAgdLaZ/zkRFUdeSKzyNt3tqorMK7GDvcXdKs+qIMUbvenlH+w53ssPa6rYP760Z +# uFrABrfserf0kFayNXVzwT7jarJOEjnFMBp+yi+uwQ2TnJuxczceG5FDHrII6sF6 +# F879lP6ydY0BBZkZ9t39e/svNRieA5gUnv/YcM/bIMY/QYmd9F0B+ebFYi+PH4Ak +# XahNkFgK85OIaRrDGvhnxOa/5zGL7Oiii7+J9/QHkdJGlfnRfbQ3QXM/5/umBOKG +# 4JoFY1niZ5RVH5PT0+uCjwcqhTbnvUtfK+N+yB2b9rEZvp2Tv4ZwYzEd9A9VsYMu +# ZiCSbaFMk77LwVbklpnw4aHWJXJkEYmJvxRbcThE8FQyOoVkSuKc5OWZ2+WM/j50 +# oblA0tCU53AauvUOZRoQBh89nHK+m5pOXKXdYMJ+ceuLYF8h5y/cXLQMOmqLJz5l +# 7MLqGwU0zHV+MEO8L1Fo2zEEQ4iL4BX8YknKXonHGQacSCaLZot2kyJVRsFSxn0P +# lPvHVp0YdsCMzdeiw9jAZ7K9s1WxsZGEBrK/obipX6uxjEpyUA9mbVPljlb3R4MW +# I0E2xI/NM6F4Ac8Ceax3YWLT+aWCZeqiIMLxyyWZg+i1KY8ZEzMeNTKCEI5wF1wx +# qr6T1/MQo+8tAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUcF4XP26dV+8SusoA1XXQ +# 2TDSmdIwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBAMATzg6R/A0ldO7MqGxD1VJj +# i5yVA1hHb0Hc0Yjtv7WkxQ8iwfflulX5Us64tD3+3NT1JkphWzaAWf2wKdAw35Rx +# tQG1iON3HEZ0X23nde4Kg/Wfbx5rEHkZ9bzKnR/2N5A16+w/1pbwJzdfRcnJT3cL +# yawr/kYjMWd63OP0Glq70ua4WUE/Po5pU7rQRbWEoQozY24hAqOcwuRcm6Cb0JBe +# TOCeRBntEKgjKep4pRaQt7b9vusT97WeJcfaVosmmPtsZsawgnpIjbBa55tHfuk0 +# vDkZtbIXjU4mr5dns9dnanBdBS2PY3N3hIfCPEOszquwHLkfkFZ/9bxw8/eRJldt +# oukHo16afE/AqP/smmGJh5ZR0pmgW6QcX+61rdi5kDJTzCFaoMyYzUS0SEbyrDZ/ +# p2KOuKAYNngljiOlllct0uJVz2agfczGjjsKi2AS1WaXvOhgZNmGw42SFB1qaloa +# 8Kaux9Q2HHLE8gee/5rgOnx9zSbfVUc7IcRNodq6R7v+Rz+P6XKtOgyCqW/+rhPm +# p/n7Fq2BGTRkcy//hmS32p6qyglr2K4OoJDJXxFs6lwc8D86qlUeGjUyo7hVy5Vv +# yA+y0mGnEAuA85tsOcUPlzwWF5sv+B5fz35OW3X4Spk5SiNulnLFRPM5XCsSHqvc +# bC8R3qwj2w1evPhZxDuNMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRC +# QjAtODI0NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAbfPR1fBX6HxYfyPx8zYzJU5fIQyggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJvw4w +# IhgPMjAyNDAyMjgyMjE3NTBaGA8yMDI0MDIyOTIyMTc1MFowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym/DgIBADAHAgEAAgIFODAHAgEAAgIRUDAKAgUA6YsQjgIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAErMic/nNPp5tSOJsfCecCou9ByT +# N3G55pr1uxb+X3idhClgYGc3ljiCPGpHiDsoGXrc4dK+WWhXosUk2fv46uOPrhy1 +# 1gttQCsn+i9NRKfttUNZl3FIUO2oKEwmp78mrjzCAwD8dlydsjn4dHDCv8eIDkmb +# T8xHYmeUT9tHQQbPMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgfev6 +# Ql6i9S+hIBu4HJCFQcp1EkcMadOzj61A+0AgAjQwgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCDj7lK/8jnlbTjPvc77DCCSb4TZApY9nJm5whsK/2kKwTCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB4NT8HxMVH35d +# AAEAAAHgMCIEIG01xKO9hBFTAtjUO/ZHX2/vm3tWdTGjY5wDebXC55bIMA0GCSqG +# SIb3DQEBCwUABIICAJkgV8p/pvWMn7zdkjRqP+Aw5Qbbk+eDfMZgHLg4VPPcygUp +# XxJb7gmGqm3bMCN0d33Z4a8IZO2Aekjap/8HW3rX8pFpZl/kNnb8/ZZJpqUMmRXt +# Z7/V5sjbouLWFOI5spS6Jeiw9aHGJ4zte5pI4B7ZEQLLWJXbb6lFE9badT3S/aA3 +# NnCLL3+Ywd2p89eWefH7v0n7stkgwcraNU44KcJuUEzF3j9c95U6ujBLnGEcoODI +# u/j1tU2ItYchYgCNUA+0e+06PRrTBeW1/8DeKTyOI0XIDOyVKDhr9eXntyzHa7MG +# X1uAWQqw6FV9G6ZUBtzIdhUoBk8afTCtszwfz6LNncltIlb6n3Pp7fk61fR5zC/2 +# bCclEWPRmmtwExIK7uQbPtKZj14Sy4ysL8Qa7VQXNw5XuxYOu35ofGe6FuOUNKYm +# E2y3XxEP2hP+lrzPezo0F5DFPhqWu77fLkb8PVN3s3NObVU8sE10m/So3kjBdWPB +# dY18JKTHoUUaXawfuD4PnIyOKqSJRycRBtuuhimnjeLOaBeJW/MEMj+xhIDLuOo8 +# 5sy7vO8BbYkuHnNkB1JXrrAjB4rd/5yGrlri0/ib6CiHsQM6EdMv8L6NUw+QWQSm +# GwRKucmv2qWmvgnommZhU3xGijaGnZfHSFacHCXgPX06i+dML5TbmI6SdMK7 +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_sql_managed_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_sql_managed_instances_operations.py new file mode 100644 index 00000000000..df638b1eb92 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_sql_managed_instances_operations.py @@ -0,0 +1,920 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._sql_managed_instances_operations import ( + build_create_request_initial, + build_delete_request_initial, + build_get_request, + build_list_by_resource_group_request, + build_list_request, + build_update_request, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class SqlManagedInstancesOperations: + """SqlManagedInstancesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, **kwargs: Any + ) -> AsyncIterable["_models.SqlManagedInstanceListResult"]: + """List sqlManagedInstance resources in the subscription. + + List sqlManagedInstance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlManagedInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.azurearcdata.models.SqlManagedInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlManagedInstances"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, resource_group_name: str, **kwargs: Any + ) -> AsyncIterable["_models.SqlManagedInstanceListResult"]: + """List sqlManagedInstance resources in the resource group. + + Gets all sqlManagedInstances in a resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlManagedInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.azurearcdata.models.SqlManagedInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + sql_managed_instance_name: str, + **kwargs: Any, + ) -> "_models.SqlManagedInstance": + """Retrieves a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlManagedInstance, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlManagedInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + sql_managed_instance_name: str, + sql_managed_instance: "_models.SqlManagedInstance", + **kwargs: Any, + ) -> "_models.SqlManagedInstance": + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(sql_managed_instance, "SqlManagedInstance") + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_create( + self, + resource_group_name: str, + sql_managed_instance_name: str, + sql_managed_instance: "_models.SqlManagedInstance", + **kwargs: Any, + ) -> AsyncLROPoller["_models.SqlManagedInstance"]: + """Creates or replaces a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param sql_managed_instance: The SQL Managed Instance to be created or updated. + :type sql_managed_instance: ~azure.mgmt.azurearcdata.models.SqlManagedInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either SqlManagedInstance or the result of + cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.azurearcdata.models.SqlManagedInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + sql_managed_instance=sql_managed_instance, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = AsyncARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_managed_instance_name: str, + **kwargs: Any, + ) -> None: + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_managed_instance_name: str, + **kwargs: Any, + ) -> AsyncLROPoller[None]: + """Deletes a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + @distributed_trace_async + async def update( + self, + resource_group_name: str, + sql_managed_instance_name: str, + parameters: "_models.SqlManagedInstanceUpdate", + **kwargs: Any, + ) -> "_models.SqlManagedInstance": + """Updates a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param parameters: The SQL Managed Instance. + :type parameters: ~azure.mgmt.azurearcdata.models.SqlManagedInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlManagedInstance, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlManagedInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(parameters, "SqlManagedInstanceUpdate") + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAomPeSAyYzIEPB +# 5kGIfozn4/3pe1pEiB95nCw+eaLHYKCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIPwrfs5GdPGuJTCtwYR6oMZLNQdNkMoe +# 7lwtcGOownjgMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# PdERuW9v6+NI9VvD5kDeOildkz9LtKMibFAAXhNfL2u06xLcm+TsWwG7CpP87nh5 +# YAJisfzSbQn8Zm4brAlsg/V0MshUnsFxQZ7vdP25jN9wQOg06mQV/faB5VpG+MKJ +# 9FB7849pfZwoD2n0ap/Tk7Kg31ezQeakvXq+ccsD1Z4Y8W5EL1+Ds4KeyPoUESvS +# dYwf+hXFmedst0kqE+kZOTjOUBu+IifvrqqG0sOFl+0x+se6WxkoB23ZtqzM23Mf +# fDxM/1VUnwb0f0qSx6G2SR+vCeLFLfE4DG5ix7Wr9ELWnS3YvNwyM5PgMp8wRSDz +# Sz1eakrUaQT8WbniAigFrqGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCDceAUjTitRX8/u6xGLhLoSHO7sjqiY7Bo12/2Uf+ypEAIGZdYHa6GxGBMyMDI0 +# MDIyODE1MDMwOS42NDlaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjE3OUUt +# NEJCMC04MjQ2MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzE5WhcNMjUwMTEwMTkwNzE5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRCQjAtODI0 +# NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKyHnPOhxbvRATnGjb/6fuBhh3ZLzotA +# xAgdLaZ/zkRFUdeSKzyNt3tqorMK7GDvcXdKs+qIMUbvenlH+w53ssPa6rYP760Z +# uFrABrfserf0kFayNXVzwT7jarJOEjnFMBp+yi+uwQ2TnJuxczceG5FDHrII6sF6 +# F879lP6ydY0BBZkZ9t39e/svNRieA5gUnv/YcM/bIMY/QYmd9F0B+ebFYi+PH4Ak +# XahNkFgK85OIaRrDGvhnxOa/5zGL7Oiii7+J9/QHkdJGlfnRfbQ3QXM/5/umBOKG +# 4JoFY1niZ5RVH5PT0+uCjwcqhTbnvUtfK+N+yB2b9rEZvp2Tv4ZwYzEd9A9VsYMu +# ZiCSbaFMk77LwVbklpnw4aHWJXJkEYmJvxRbcThE8FQyOoVkSuKc5OWZ2+WM/j50 +# oblA0tCU53AauvUOZRoQBh89nHK+m5pOXKXdYMJ+ceuLYF8h5y/cXLQMOmqLJz5l +# 7MLqGwU0zHV+MEO8L1Fo2zEEQ4iL4BX8YknKXonHGQacSCaLZot2kyJVRsFSxn0P +# lPvHVp0YdsCMzdeiw9jAZ7K9s1WxsZGEBrK/obipX6uxjEpyUA9mbVPljlb3R4MW +# I0E2xI/NM6F4Ac8Ceax3YWLT+aWCZeqiIMLxyyWZg+i1KY8ZEzMeNTKCEI5wF1wx +# qr6T1/MQo+8tAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUcF4XP26dV+8SusoA1XXQ +# 2TDSmdIwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBAMATzg6R/A0ldO7MqGxD1VJj +# i5yVA1hHb0Hc0Yjtv7WkxQ8iwfflulX5Us64tD3+3NT1JkphWzaAWf2wKdAw35Rx +# tQG1iON3HEZ0X23nde4Kg/Wfbx5rEHkZ9bzKnR/2N5A16+w/1pbwJzdfRcnJT3cL +# yawr/kYjMWd63OP0Glq70ua4WUE/Po5pU7rQRbWEoQozY24hAqOcwuRcm6Cb0JBe +# TOCeRBntEKgjKep4pRaQt7b9vusT97WeJcfaVosmmPtsZsawgnpIjbBa55tHfuk0 +# vDkZtbIXjU4mr5dns9dnanBdBS2PY3N3hIfCPEOszquwHLkfkFZ/9bxw8/eRJldt +# oukHo16afE/AqP/smmGJh5ZR0pmgW6QcX+61rdi5kDJTzCFaoMyYzUS0SEbyrDZ/ +# p2KOuKAYNngljiOlllct0uJVz2agfczGjjsKi2AS1WaXvOhgZNmGw42SFB1qaloa +# 8Kaux9Q2HHLE8gee/5rgOnx9zSbfVUc7IcRNodq6R7v+Rz+P6XKtOgyCqW/+rhPm +# p/n7Fq2BGTRkcy//hmS32p6qyglr2K4OoJDJXxFs6lwc8D86qlUeGjUyo7hVy5Vv +# yA+y0mGnEAuA85tsOcUPlzwWF5sv+B5fz35OW3X4Spk5SiNulnLFRPM5XCsSHqvc +# bC8R3qwj2w1evPhZxDuNMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRC +# QjAtODI0NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAbfPR1fBX6HxYfyPx8zYzJU5fIQyggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJvw4w +# IhgPMjAyNDAyMjgyMjE3NTBaGA8yMDI0MDIyOTIyMTc1MFowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym/DgIBADAHAgEAAgIFODAHAgEAAgIRUDAKAgUA6YsQjgIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAErMic/nNPp5tSOJsfCecCou9ByT +# N3G55pr1uxb+X3idhClgYGc3ljiCPGpHiDsoGXrc4dK+WWhXosUk2fv46uOPrhy1 +# 1gttQCsn+i9NRKfttUNZl3FIUO2oKEwmp78mrjzCAwD8dlydsjn4dHDCv8eIDkmb +# T8xHYmeUT9tHQQbPMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgvZ6+ +# QNSciCtmxPUqJQN+JN7OFAocUu/72peuwzG7ISIwgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCDj7lK/8jnlbTjPvc77DCCSb4TZApY9nJm5whsK/2kKwTCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB4NT8HxMVH35d +# AAEAAAHgMCIEIG01xKO9hBFTAtjUO/ZHX2/vm3tWdTGjY5wDebXC55bIMA0GCSqG +# SIb3DQEBCwUABIICAHqhmy5P6bFnmd7WSgTQV5lpK9w5vxcrI0YtmG1KAUmJpbsO +# Ehiar2A/zujZMAf42ZJ4bSUisxDd6pVMJhvzis42jcAfoS3Jf7zbq4T8j4snbZVE +# vFA/wblcTY7iQOE/oKPKAr3mCc6m+N69686J9mDiB7NL6feL/ch0MQthF9bPoV+h +# lLWdy/TvjT+7HkaPVrUsIeBF9YahGllcgDTvX8hIxayDCaLGBRH/kIk0FGvHDFXu +# yCxxNAZUmj4S1D3VKzaCdODGX2qaL4HmhJmIZ4ZYa8KmGX7ErUInvkWtZX6fBStf +# j5QLsDAjjB+/4d7WfzZrMqOUlJc4G/kJslu8BzZSL01M3GkNK5mDf8O50EHrjTPj +# Vp2TR+8+njbhq229vpA6v6kF6RA8SvHKmWDaqZ4Eukgusx4Qj7+N56CrM/Ch0fFw +# yS8ZhCNA4xEWo1mgF9Qzg6d/36Vg6CibaSkRr36RYD9e8O3x2HfO5RuuQRBOAzNy +# 6y6HzPH9Cc/rFO/U2YMFEbhwk4O4KvEsHD4f3XAeH3i9iVS+e7a5LpJ0wp7PFKRj +# +5OkNpKzHUfsDNntgoZA9P67tB9PUy1LvTqoniOQPWerg0TrJiVxSq49l1NDHXjB +# 4wVE4Uwh5K9jgd3IcoGmQhKpYcidnJ2m3+vZiBwycH+ifCj3zeJjhdXkU/kS +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_sql_server_availability_groups_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_sql_server_availability_groups_operations.py new file mode 100644 index 00000000000..49083e4591a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_sql_server_availability_groups_operations.py @@ -0,0 +1,1283 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._sql_server_availability_groups_operations import ( + build_create_availability_group_request_initial, + build_create_request, + build_delete_request_initial, + build_detail_view_request, + build_failover_request, + build_force_failover_allow_data_loss_request, + build_get_request, + build_list_request, + build_update_request_initial, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class SqlServerAvailabilityGroupsOperations: + """SqlServerAvailabilityGroupsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace_async + async def create( + self, + resource_group_name: str, + sql_server_instance_name: str, + availability_group_name: str, + sql_server_availability_group_resource: "_models.SqlServerAvailabilityGroupResource", + **kwargs: Any, + ) -> "_models.SqlServerAvailabilityGroupResource": + """Creates or replaces an Arc Sql Server Availability Group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param availability_group_name: Name of SQL Availability Group. + :type availability_group_name: str + :param sql_server_availability_group_resource: The request body for availability group + resource. + :type sql_server_availability_group_resource: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResource + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerAvailabilityGroupResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerAvailabilityGroupResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + sql_server_availability_group_resource, + "SqlServerAvailabilityGroupResource", + ) + + request = build_create_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.create.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_server_instance_name: str, + availability_group_name: str, + **kwargs: Any, + ) -> None: + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + response_headers = {} + if response.status_code == 202: + response_headers["Location"] = self._deserialize( + "str", response.headers.get("Location") + ) + + if cls: + return cls(pipeline_response, None, response_headers) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}"} # type: ignore + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_server_instance_name: str, + availability_group_name: str, + **kwargs: Any, + ) -> AsyncLROPoller[None]: + """Deletes an Arc Sql Server availability group resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param availability_group_name: Name of SQL Availability Group. + :type availability_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + sql_server_instance_name: str, + availability_group_name: str, + **kwargs: Any, + ) -> "_models.SqlServerAvailabilityGroupResource": + """Retrieves an Arc Sql Server availability group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param availability_group_name: Name of SQL Availability Group. + :type availability_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerAvailabilityGroupResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerAvailabilityGroupResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}"} # type: ignore + + async def _update_initial( + self, + resource_group_name: str, + sql_server_instance_name: str, + availability_group_name: str, + sql_server_availability_group_update: "_models.SqlServerAvailabilityGroupUpdate", + **kwargs: Any, + ) -> Optional["_models.SqlServerAvailabilityGroupResource"]: + cls = kwargs.pop( + "cls", None + ) # type: ClsType[Optional["_models.SqlServerAvailabilityGroupResource"]] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + sql_server_availability_group_update, + "SqlServerAvailabilityGroupUpdate", + ) + + request = build_update_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._update_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + deserialized = None + response_headers = {} + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + + if response.status_code == 202: + response_headers["Location"] = self._deserialize( + "str", response.headers.get("Location") + ) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + + _update_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}"} # type: ignore + + @distributed_trace_async + async def begin_update( + self, + resource_group_name: str, + sql_server_instance_name: str, + availability_group_name: str, + sql_server_availability_group_update: "_models.SqlServerAvailabilityGroupUpdate", + **kwargs: Any, + ) -> AsyncLROPoller["_models.SqlServerAvailabilityGroupResource"]: + """Updates an existing Availability Group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param availability_group_name: Name of SQL Availability Group. + :type availability_group_name: str + :param sql_server_availability_group_update: The requested server availability group resource + state. + :type sql_server_availability_group_update: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either SqlServerAvailabilityGroupResource + or the result of cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerAvailabilityGroupResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + sql_server_availability_group_update=sql_server_availability_group_update, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = AsyncARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}"} # type: ignore + + @distributed_trace_async + async def detail_view( + self, + resource_group_name: str, + sql_server_instance_name: str, + availability_group_name: str, + **kwargs: Any, + ) -> "_models.SqlServerAvailabilityGroupResource": + """Retrieves detailed properties of the Availability Group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param availability_group_name: Name of SQL Availability Group. + :type availability_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerAvailabilityGroupResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerAvailabilityGroupResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_detail_view_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + api_version=api_version, + template_url=self.detail_view.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + detail_view.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}/getDetailView"} # type: ignore + + @distributed_trace_async + async def failover( + self, + resource_group_name: str, + sql_server_instance_name: str, + availability_group_name: str, + **kwargs: Any, + ) -> "_models.SqlServerAvailabilityGroupResource": + """Request manual failover of the availability group to this server. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param availability_group_name: Name of SQL Availability Group. + :type availability_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerAvailabilityGroupResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerAvailabilityGroupResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_failover_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + api_version=api_version, + template_url=self.failover.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + failover.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}/failover"} # type: ignore + + @distributed_trace_async + async def force_failover_allow_data_loss( + self, + resource_group_name: str, + sql_server_instance_name: str, + availability_group_name: str, + **kwargs: Any, + ) -> "_models.SqlServerAvailabilityGroupResource": + """Request forced failover of the availability group to this server. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param availability_group_name: Name of SQL Availability Group. + :type availability_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerAvailabilityGroupResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerAvailabilityGroupResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_force_failover_allow_data_loss_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + api_version=api_version, + template_url=self.force_failover_allow_data_loss.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + force_failover_allow_data_loss.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}/forceFailoverAllowDataLoss"} # type: ignore + + async def _create_availability_group_initial( + self, + resource_group_name: str, + sql_server_instance_name: str, + create_ag_configuration: "_models.AvailabilityGroupCreateUpdateConfiguration", + **kwargs: Any, + ) -> Optional["_models.SqlServerAvailabilityGroupResource"]: + cls = kwargs.pop( + "cls", None + ) # type: ClsType[Optional["_models.SqlServerAvailabilityGroupResource"]] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + create_ag_configuration, + "AvailabilityGroupCreateUpdateConfiguration", + ) + + request = build_create_availability_group_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_availability_group_initial.metadata[ + "url" + ], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + deserialized = None + response_headers = {} + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + + if response.status_code == 202: + response_headers["Location"] = self._deserialize( + "str", response.headers.get("Location") + ) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + + _create_availability_group_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/createAvailabilityGroup"} # type: ignore + + @distributed_trace_async + async def begin_create_availability_group( + self, + resource_group_name: str, + sql_server_instance_name: str, + create_ag_configuration: "_models.AvailabilityGroupCreateUpdateConfiguration", + **kwargs: Any, + ) -> AsyncLROPoller["_models.SqlServerAvailabilityGroupResource"]: + """Create a SQL Server availability group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param create_ag_configuration: The configuration for the new SQL Server availability group + resource. + :type create_ag_configuration: + ~azure.mgmt.azurearcdata.models.AvailabilityGroupCreateUpdateConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either SqlServerAvailabilityGroupResource + or the result of cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerAvailabilityGroupResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_availability_group_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + create_ag_configuration=create_ag_configuration, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = AsyncARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create_availability_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/createAvailabilityGroup"} # type: ignore + + @distributed_trace + def list( + self, + resource_group_name: str, + sql_server_instance_name: str, + **kwargs: Any, + ) -> AsyncIterable["_models.ArcSqlServerAvailabilityGroupListResult"]: + """List the availability group associated with the given Arc Sql Server. + + List the availability group associated with the given Arc Sql Server. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ArcSqlServerAvailabilityGroupListResult or the + result of cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.azurearcdata.models.ArcSqlServerAvailabilityGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ArcSqlServerAvailabilityGroupListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "ArcSqlServerAvailabilityGroupListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCOmvTmqHE+pjfq +# 1dCFISYqSqedVrtUzT3eBLhh/soDYaCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIKZMm2ilAbEKUulmjozN2+YCT6l93LTv +# FOLIOpOCr14bMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# ewskFq/dZn+rlhmp2XYwt+9l8HLF3Rc3+6TJgn/Kql1//NzPFkgPZesiSo1XgmDN +# t5VbHVBYHpOhjxGXWNyXTt1GANdBZtOfu/1DCmJkXE+egZa/+oIeYJipRUZTtxNW +# tr7xsmWLMkJgqVdBf5aMytm3REB0T2c3nLViqTWdHYyv9SMwTXOrE5M58PZMTggH +# 5D/kY+birUtUTbMTmVAvPvRpKQfvYT3ctp7hnCUfkr17ijnvhv5FIRc+TkMDNetI +# y6nNpgvyYzVMiu3yiOvYJK1nDgkoIuQASb9Q9EevArLF/9zz7V9OIrgo/KZv/sg8 +# OF71WdP9trQwYqvMOVTdSqGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCC6/ks4nbdEyybZvUkaA1cr0zFMOyE21PpmaEhcR3bwJwIGZdYHa6IuGBMyMDI0 +# MDIyODE1MDMxMS4zMzNaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjE3OUUt +# NEJCMC04MjQ2MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzE5WhcNMjUwMTEwMTkwNzE5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRCQjAtODI0 +# NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKyHnPOhxbvRATnGjb/6fuBhh3ZLzotA +# xAgdLaZ/zkRFUdeSKzyNt3tqorMK7GDvcXdKs+qIMUbvenlH+w53ssPa6rYP760Z +# uFrABrfserf0kFayNXVzwT7jarJOEjnFMBp+yi+uwQ2TnJuxczceG5FDHrII6sF6 +# F879lP6ydY0BBZkZ9t39e/svNRieA5gUnv/YcM/bIMY/QYmd9F0B+ebFYi+PH4Ak +# XahNkFgK85OIaRrDGvhnxOa/5zGL7Oiii7+J9/QHkdJGlfnRfbQ3QXM/5/umBOKG +# 4JoFY1niZ5RVH5PT0+uCjwcqhTbnvUtfK+N+yB2b9rEZvp2Tv4ZwYzEd9A9VsYMu +# ZiCSbaFMk77LwVbklpnw4aHWJXJkEYmJvxRbcThE8FQyOoVkSuKc5OWZ2+WM/j50 +# oblA0tCU53AauvUOZRoQBh89nHK+m5pOXKXdYMJ+ceuLYF8h5y/cXLQMOmqLJz5l +# 7MLqGwU0zHV+MEO8L1Fo2zEEQ4iL4BX8YknKXonHGQacSCaLZot2kyJVRsFSxn0P +# lPvHVp0YdsCMzdeiw9jAZ7K9s1WxsZGEBrK/obipX6uxjEpyUA9mbVPljlb3R4MW +# I0E2xI/NM6F4Ac8Ceax3YWLT+aWCZeqiIMLxyyWZg+i1KY8ZEzMeNTKCEI5wF1wx +# qr6T1/MQo+8tAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUcF4XP26dV+8SusoA1XXQ +# 2TDSmdIwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBAMATzg6R/A0ldO7MqGxD1VJj +# i5yVA1hHb0Hc0Yjtv7WkxQ8iwfflulX5Us64tD3+3NT1JkphWzaAWf2wKdAw35Rx +# tQG1iON3HEZ0X23nde4Kg/Wfbx5rEHkZ9bzKnR/2N5A16+w/1pbwJzdfRcnJT3cL +# yawr/kYjMWd63OP0Glq70ua4WUE/Po5pU7rQRbWEoQozY24hAqOcwuRcm6Cb0JBe +# TOCeRBntEKgjKep4pRaQt7b9vusT97WeJcfaVosmmPtsZsawgnpIjbBa55tHfuk0 +# vDkZtbIXjU4mr5dns9dnanBdBS2PY3N3hIfCPEOszquwHLkfkFZ/9bxw8/eRJldt +# oukHo16afE/AqP/smmGJh5ZR0pmgW6QcX+61rdi5kDJTzCFaoMyYzUS0SEbyrDZ/ +# p2KOuKAYNngljiOlllct0uJVz2agfczGjjsKi2AS1WaXvOhgZNmGw42SFB1qaloa +# 8Kaux9Q2HHLE8gee/5rgOnx9zSbfVUc7IcRNodq6R7v+Rz+P6XKtOgyCqW/+rhPm +# p/n7Fq2BGTRkcy//hmS32p6qyglr2K4OoJDJXxFs6lwc8D86qlUeGjUyo7hVy5Vv +# yA+y0mGnEAuA85tsOcUPlzwWF5sv+B5fz35OW3X4Spk5SiNulnLFRPM5XCsSHqvc +# bC8R3qwj2w1evPhZxDuNMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRC +# QjAtODI0NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAbfPR1fBX6HxYfyPx8zYzJU5fIQyggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJvw4w +# IhgPMjAyNDAyMjgyMjE3NTBaGA8yMDI0MDIyOTIyMTc1MFowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym/DgIBADAHAgEAAgIFODAHAgEAAgIRUDAKAgUA6YsQjgIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAErMic/nNPp5tSOJsfCecCou9ByT +# N3G55pr1uxb+X3idhClgYGc3ljiCPGpHiDsoGXrc4dK+WWhXosUk2fv46uOPrhy1 +# 1gttQCsn+i9NRKfttUNZl3FIUO2oKEwmp78mrjzCAwD8dlydsjn4dHDCv8eIDkmb +# T8xHYmeUT9tHQQbPMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQg+W8P +# Bpbn8LE9PnPGIDTVDggtLYdbGtm0/QliXFl6YkEwgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCDj7lK/8jnlbTjPvc77DCCSb4TZApY9nJm5whsK/2kKwTCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB4NT8HxMVH35d +# AAEAAAHgMCIEIG01xKO9hBFTAtjUO/ZHX2/vm3tWdTGjY5wDebXC55bIMA0GCSqG +# SIb3DQEBCwUABIICAHZygMaCHKV9Ex+i57fYVFXYDEsQItPxEx7Zpv6oNSMx8g/P +# +oBCOCF4V7fAMQ9JDsT8CChMrmZSWdlt+Onam6YRdmLCizOkw/ZFfDISDAbthDkx +# r6PGkXrvv7mi2NmMdhdOk3p2FHvutZJVxLZiWtpQCUKihWkGYurZeINnW7EsfhCm +# 1i3BUeCkf7mKmvubE8lPc15dW4pgnm8W7LU2c54Z/zdSMMQHC0xgVg0dCAegp+Gc +# /LKVamSh7ar+JwKHo5mRv+u2F3FnZxHR5Ojj4ZVVtAVOj0iZH6+oedCjzm83ZvCY +# +Di9BEhqqQTCAV/rtsuOabRLoYrniYHD6ppxlpgxxu8Cs5bjidwXxsRnTE6UiHe3 +# iIJO6Fu8fCIY8+DP6VVx0EySkGIldHnO7m8EiyfdzJH69idzRNpmblxC4a7NFhLb +# nUxRZDMqNbRKsO0Onft9kY4e2x3dpn53iy0LuK1mrb6RUCnYK7cKZKfF+c4dR5UD +# JZpi+y7qywxIZfxJdbES+ad6NotTDdf/W031MwI8ZuXhiSDmQAZb3UIbPsyFuGaM +# 5o7YxH+JJ3Jm32PZko/ZB5UotDc23oAvadwZCE1wVvkRHsUjtDKvATMGyIJB4YCW +# /zaVlbeRA8napmoHfQvs9eXnE8v4wtoVq0JOxHFAdLtma++mmPN6OqJkUQVB +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_sql_server_databases_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_sql_server_databases_operations.py new file mode 100644 index 00000000000..f4611100efb --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_sql_server_databases_operations.py @@ -0,0 +1,877 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._sql_server_databases_operations import ( + build_create_request, + build_delete_request_initial, + build_get_request, + build_list_request, + build_update_request_initial, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class SqlServerDatabasesOperations: + """SqlServerDatabasesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace_async + async def create( + self, + resource_group_name: str, + sql_server_instance_name: str, + database_name: str, + sql_server_database_resource: "_models.SqlServerDatabaseResource", + **kwargs: Any, + ) -> "_models.SqlServerDatabaseResource": + """Creates or replaces an Arc Sql Server Database. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param database_name: Name of the database. + :type database_name: str + :param sql_server_database_resource: The request body for database resource. + :type sql_server_database_resource: ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResource + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerDatabaseResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerDatabaseResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + sql_server_database_resource, "SqlServerDatabaseResource" + ) + + request = build_create_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.create.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerDatabaseResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlServerDatabaseResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_server_instance_name: str, + database_name: str, + **kwargs: Any, + ) -> None: + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + response_headers = {} + if response.status_code == 202: + response_headers["Location"] = self._deserialize( + "str", response.headers.get("Location") + ) + + if cls: + return cls(pipeline_response, None, response_headers) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_server_instance_name: str, + database_name: str, + **kwargs: Any, + ) -> AsyncLROPoller[None]: + """Deletes an Arc Sql Server database resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param database_name: Name of the database. + :type database_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + sql_server_instance_name: str, + database_name: str, + **kwargs: Any, + ) -> "_models.SqlServerDatabaseResource": + """Retrieves an Arc Sql Server database. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param database_name: Name of the database. + :type database_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerDatabaseResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerDatabaseResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "SqlServerDatabaseResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + async def _update_initial( + self, + resource_group_name: str, + sql_server_instance_name: str, + database_name: str, + sql_server_database_update: "_models.SqlServerDatabaseUpdate", + **kwargs: Any, + ) -> Optional["_models.SqlServerDatabaseResource"]: + cls = kwargs.pop( + "cls", None + ) # type: ClsType[Optional["_models.SqlServerDatabaseResource"]] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + sql_server_database_update, "SqlServerDatabaseUpdate" + ) + + request = build_update_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._update_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + deserialized = None + response_headers = {} + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerDatabaseResource", pipeline_response + ) + + if response.status_code == 202: + response_headers["Location"] = self._deserialize( + "str", response.headers.get("Location") + ) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + + _update_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + @distributed_trace_async + async def begin_update( + self, + resource_group_name: str, + sql_server_instance_name: str, + database_name: str, + sql_server_database_update: "_models.SqlServerDatabaseUpdate", + **kwargs: Any, + ) -> AsyncLROPoller["_models.SqlServerDatabaseResource"]: + """Updates an existing database. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param database_name: Name of the database. + :type database_name: str + :param sql_server_database_update: The requested database resource state. + :type sql_server_database_update: ~azure.mgmt.azurearcdata.models.SqlServerDatabaseUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either SqlServerDatabaseResource or the + result of cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.azurearcdata.models.SqlServerDatabaseResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerDatabaseResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + sql_server_database_update=sql_server_database_update, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "SqlServerDatabaseResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = AsyncARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + @distributed_trace + def list( + self, + resource_group_name: str, + sql_server_instance_name: str, + **kwargs: Any, + ) -> AsyncIterable["_models.ArcSqlServerDatabaseListResult"]: + """List the databases associated with the given Arc Sql Server. + + List the databases associated with the given Arc Sql Server. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ArcSqlServerDatabaseListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.azurearcdata.models.ArcSqlServerDatabaseListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ArcSqlServerDatabaseListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "ArcSqlServerDatabaseListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIreAYJKoZIhvcNAQcCoIIraTCCK2UCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCB6YPAXcsCgv8zw +# BpuzFG5ueieRbrB58K2Jk0IJWC837aCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYDCCGVwCAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIAHciJ3AXE6WkuZEWrD38KK01fkDrhgm +# xg89LuJUZtFLMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# Xw0gG/fVlrkK0cNS9bhC8Gkz3F0ArJ8/0OxPmso6zcRGmgQI6dTzCTzR18wnJjJe +# zhCPc8Fr/TY/LmDE/V8jNMdcZSJ/SQhuNskgkUlfVIyekZDHps48/OslqPhlLmiw +# PxCcKfCif808ix/T/9yTFLPCuSY7RyhK/iuFb11/MtByX6tGrtzylVc9IEYAMJsl +# rF9mMJU/+PK2r1hAzPP4snZ5RU0sfQp8eDnmMHF5h0LWUUwGKqvS3KD0S0kQOuHm +# Ef63Jj/DIdqfWTbE4eKjpB8FvCcdiaWeYcGPal9H8f1su40l34Hp6klov4dDCkeZ +# 8fuBS7jtAW/QJeXV1xnU1aGCFygwghckBgorBgEEAYI3AwMBMYIXFDCCFxAGCSqG +# SIb3DQEHAqCCFwEwghb9AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFYBgsqhkiG9w0B +# CRABBKCCAUcEggFDMIIBPwIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCArmZcOkDlBLSGEVvJnf0YCGYi0idoKStsR/QLB6LGakQIGZdYHa6PjGBIyMDI0 +# MDIyODE1MDMxOS40NlowBIACAfSggdikgdUwgdIxCzAJBgNVBAYTAlVTMRMwEQYD +# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy +# b3NvZnQgQ29ycG9yYXRpb24xLTArBgNVBAsTJE1pY3Jvc29mdCBJcmVsYW5kIE9w +# ZXJhdGlvbnMgTGltaXRlZDEmMCQGA1UECxMdVGhhbGVzIFRTUyBFU046MTc5RS00 +# QkIwLTgyNDYxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2Wg +# ghF4MIIHJzCCBQ+gAwIBAgITMwAAAeDU/B8TFR9+XQABAAAB4DANBgkqhkiG9w0B +# AQsFADB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE +# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYD +# VQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDAeFw0yMzEwMTIxOTA3 +# MTlaFw0yNTAxMTAxOTA3MTlaMIHSMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2Fz +# aGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENv +# cnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBPcGVyYXRpb25z +# IExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjE3OUUtNEJCMC04MjQ2 +# MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNlMIICIjANBgkq +# hkiG9w0BAQEFAAOCAg8AMIICCgKCAgEArIec86HFu9EBOcaNv/p+4GGHdkvOi0DE +# CB0tpn/OREVR15IrPI23e2qiswrsYO9xd0qz6ogxRu96eUf7Dneyw9rqtg/vrRm4 +# WsAGt+x6t/SQVrI1dXPBPuNqsk4SOcUwGn7KL67BDZOcm7FzNx4bkUMesgjqwXoX +# zv2U/rJ1jQEFmRn23f17+y81GJ4DmBSe/9hwz9sgxj9BiZ30XQH55sViL48fgCRd +# qE2QWArzk4hpGsMa+GfE5r/nMYvs6KKLv4n39AeR0kaV+dF9tDdBcz/n+6YE4obg +# mgVjWeJnlFUfk9PT64KPByqFNue9S18r437IHZv2sRm+nZO/hnBjMR30D1Wxgy5m +# IJJtoUyTvsvBVuSWmfDhodYlcmQRiYm/FFtxOETwVDI6hWRK4pzk5Znb5Yz+PnSh +# uUDS0JTncBq69Q5lGhAGHz2ccr6bmk5cpd1gwn5x64tgXyHnL9xctAw6aosnPmXs +# wuobBTTMdX4wQ7wvUWjbMQRDiIvgFfxiScpeiccZBpxIJotmi3aTIlVGwVLGfQ+U +# +8dWnRh2wIzN16LD2MBnsr2zVbGxkYQGsr+huKlfq7GMSnJQD2ZtU+WOVvdHgxYj +# QTbEj80zoXgBzwJ5rHdhYtP5pYJl6qIgwvHLJZmD6LUpjxkTMx41MoIQjnAXXDGq +# vpPX8xCj7y0CAwEAAaOCAUkwggFFMB0GA1UdDgQWBBRwXhc/bp1X7xK6ygDVddDZ +# MNKZ0jAfBgNVHSMEGDAWgBSfpxVdAF5iXYP05dJlpxtTNRnpcjBfBgNVHR8EWDBW +# MFSgUqBQhk5odHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2NybC9NaWNy +# b3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgxKS5jcmwwbAYIKwYBBQUH +# AQEEYDBeMFwGCCsGAQUFBzAChlBodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtp +# b3BzL2NlcnRzL01pY3Jvc29mdCUyMFRpbWUtU3RhbXAlMjBQQ0ElMjAyMDEwKDEp +# LmNydDAMBgNVHRMBAf8EAjAAMBYGA1UdJQEB/wQMMAoGCCsGAQUFBwMIMA4GA1Ud +# DwEB/wQEAwIHgDANBgkqhkiG9w0BAQsFAAOCAgEAwBPODpH8DSV07syobEPVUmOL +# nJUDWEdvQdzRiO2/taTFDyLB9+W6VflSzri0Pf7c1PUmSmFbNoBZ/bAp0DDflHG1 +# AbWI43ccRnRfbed17gqD9Z9vHmsQeRn1vMqdH/Y3kDXr7D/WlvAnN19FyclPdwvJ +# rCv+RiMxZ3rc4/QaWrvS5rhZQT8+jmlTutBFtYShCjNjbiECo5zC5FyboJvQkF5M +# 4J5EGe0QqCMp6nilFpC3tv2+6xP3tZ4lx9pWiyaY+2xmxrCCekiNsFrnm0d+6TS8 +# ORm1sheNTiavl2ez12dqcF0FLY9jc3eEh8I8Q6zOq7AcuR+QVn/1vHDz95EmV22i +# 6QejXpp8T8Co/+yaYYmHllHSmaBbpBxf7rWt2LmQMlPMIVqgzJjNRLRIRvKsNn+n +# Yo64oBg2eCWOI6WWVy3S4lXPZqB9zMaOOwqLYBLVZpe86GBk2YbDjZIUHWpqWhrw +# pq7H1DYccsTyB57/muA6fH3NJt9VRzshxE2h2rpHu/5HP4/pcq06DIKpb/6uE+an +# +fsWrYEZNGRzL/+GZLfanqrKCWvYrg6gkMlfEWzqXBzwPzqqVR4aNTKjuFXLlW/I +# D7LSYacQC4Dzm2w5xQ+XPBYXmy/4Hl/Pfk5bdfhKmTlKI26WcsVE8zlcKxIeq9xs +# LxHerCPbDV68+FnEO40wggdxMIIFWaADAgECAhMzAAAAFcXna54Cm0mZAAAAAAAV +# MA0GCSqGSIb3DQEBCwUAMIGIMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGlu +# Z3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBv +# cmF0aW9uMTIwMAYDVQQDEylNaWNyb3NvZnQgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRo +# b3JpdHkgMjAxMDAeFw0yMTA5MzAxODIyMjVaFw0zMDA5MzAxODMyMjVaMHwxCzAJ +# BgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25k +# MR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jv +# c29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwMIICIjANBgkqhkiG9w0BAQEFAAOCAg8A +# MIICCgKCAgEA5OGmTOe0ciELeaLL1yR5vQ7VgtP97pwHB9KpbE51yMo1V/YBf2xK +# 4OK9uT4XYDP/XE/HZveVU3Fa4n5KWv64NmeFRiMMtY0Tz3cywBAY6GB9alKDRLem +# jkZrBxTzxXb1hlDcwUTIcVxRMTegCjhuje3XD9gmU3w5YQJ6xKr9cmmvHaus9ja+ +# NSZk2pg7uhp7M62AW36MEBydUv626GIl3GoPz130/o5Tz9bshVZN7928jaTjkY+y +# OSxRnOlwaQ3KNi1wjjHINSi947SHJMPgyY9+tVSP3PoFVZhtaDuaRr3tpK56KTes +# y+uDRedGbsoy1cCGMFxPLOJiss254o2I5JasAUq7vnGpF1tnYN74kpEeHT39IM9z +# fUGaRnXNxF803RKJ1v2lIH1+/NmeRd+2ci/bfV+AutuqfjbsNkz2K26oElHovwUD +# o9Fzpk03dJQcNIIP8BDyt0cY7afomXw/TNuvXsLz1dhzPUNOwTM5TI4CvEJoLhDq +# hFFG4tG9ahhaYQFzymeiXtcodgLiMxhy16cg8ML6EgrXY28MyTZki1ugpoMhXV8w +# dJGUlNi5UPkLiWHzNgY1GIRH29wb0f2y1BzFa/ZcUlFdEtsluq9QBXpsxREdcu+N +# +VLEhReTwDwV2xo3xwgVGD94q0W29R6HXtqPnhZyacaue7e3PmriLq0CAwEAAaOC +# Ad0wggHZMBIGCSsGAQQBgjcVAQQFAgMBAAEwIwYJKwYBBAGCNxUCBBYEFCqnUv5k +# xJq+gpE8RjUpzxD/LwTuMB0GA1UdDgQWBBSfpxVdAF5iXYP05dJlpxtTNRnpcjBc +# BgNVHSAEVTBTMFEGDCsGAQQBgjdMg30BATBBMD8GCCsGAQUFBwIBFjNodHRwOi8v +# d3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL0RvY3MvUmVwb3NpdG9yeS5odG0wEwYD +# VR0lBAwwCgYIKwYBBQUHAwgwGQYJKwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYD +# VR0PBAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAU1fZWy4/oolxi +# aNE9lJBb186aGMQwVgYDVR0fBE8wTTBLoEmgR4ZFaHR0cDovL2NybC5taWNyb3Nv +# ZnQuY29tL3BraS9jcmwvcHJvZHVjdHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMu +# Y3JsMFoGCCsGAQUFBwEBBE4wTDBKBggrBgEFBQcwAoY+aHR0cDovL3d3dy5taWNy +# b3NvZnQuY29tL3BraS9jZXJ0cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcnQw +# DQYJKoZIhvcNAQELBQADggIBAJ1VffwqreEsH2cBMSRb4Z5yS/ypb+pcFLY+Tkdk +# eLEGk5c9MTO1OdfCcTY/2mRsfNB1OW27DzHkwo/7bNGhlBgi7ulmZzpTTd2YurYe +# eNg2LpypglYAA7AFvonoaeC6Ce5732pvvinLbtg/SHUB2RjebYIM9W0jVOR4U3Uk +# V7ndn/OOPcbzaN9l9qRWqveVtihVJ9AkvUCgvxm2EhIRXT0n4ECWOKz3+SmJw7wX +# sFSFQrP8DJ6LGYnn8AtqgcKBGUIZUnWKNsIdw2FzLixre24/LAl4FOmRsqlb30mj +# dAy87JGA0j3mSj5mO0+7hvoyGtmW9I/2kQH2zsZ0/fZMcm8Qq3UwxTSwethQ/gpY +# 3UA8x1RtnWN0SCyxTkctwRQEcb9k+SS+c23Kjgm9swFXSVRk2XPXfx5bRAGOWhmR +# aw2fpCjcZxkoJLo4S5pu+yFUa2pFEUep8beuyOiJXk+d0tBMdrVXVAmxaQFEfnyh +# YWxz/gq77EFmPWn9y8FBSX5+k77L+DvktxW/tM4+pTFRhLy/AsGConsXHRWJjXD+ +# 57XQKBqJC4822rpM+Zv/Cuk0+CQ1ZyvgDbjmjJnW4SLq8CdCPSWU5nR0W2rRnj7t +# fqAxM328y+l7vzhwRNGQ8cirOoo6CGJ/2XBjU02N7oJtpQUQwXEGahC0HVUzWLOh +# cGbyoYIC1DCCAj0CAQEwggEAoYHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEGA1UE +# CBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9z +# b2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBPcGVy +# YXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjE3OUUtNEJC +# MC04MjQ2MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNloiMK +# AQEwBwYFKw4DAhoDFQBt89HV8FfofFh/I/HzNjMlTl8hDKCBgzCBgKR+MHwxCzAJ +# BgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25k +# MR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jv +# c29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwMA0GCSqGSIb3DQEBBQUAAgUA6Ym/DjAi +# GA8yMDI0MDIyODIyMTc1MFoYDzIwMjQwMjI5MjIxNzUwWjB0MDoGCisGAQQBhFkK +# BAExLDAqMAoCBQDpib8OAgEAMAcCAQACAgU4MAcCAQACAhFQMAoCBQDpixCOAgEA +# MDYGCisGAQQBhFkKBAIxKDAmMAwGCisGAQQBhFkKAwKgCjAIAgEAAgMHoSChCjAI +# AgEAAgMBhqAwDQYJKoZIhvcNAQEFBQADgYEASsyJz+c0+nm1I4mx8J5wKi70HJM3 +# cbnmmvW7Fv5feJ2EKWBgZzeWOII8akeIOygZetzh0r5ZaFeixSTZ+/jq44+uHLXW +# C21AKyf6L01Ep+21Q1mXcUhQ7agoTCanvyauPMIDAPx2XJ2yOfh0cMK/x4gOSZtP +# zEdiZ5RP20dBBs8xggQNMIIECQIBATCBkzB8MQswCQYDVQQGEwJVUzETMBEGA1UE +# CBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9z +# b2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQ +# Q0EgMjAxMAITMwAAAeDU/B8TFR9+XQABAAAB4DANBglghkgBZQMEAgEFAKCCAUow +# GgYJKoZIhvcNAQkDMQ0GCyqGSIb3DQEJEAEEMC8GCSqGSIb3DQEJBDEiBCA76Y+c +# 68eQl9rfD1vci97orZ5SkjUtihtB7SOhZ128+zCB+gYLKoZIhvcNAQkQAi8xgeow +# gecwgeQwgb0EIOPuUr/yOeVtOM+9zvsMIJJvhNkClj2cmbnCGwr/aQrBMIGYMIGA +# pH4wfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcT +# B1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UE +# AxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTACEzMAAAHg1PwfExUffl0A +# AQAAAeAwIgQgbTXEo72EEVMC2NQ79kdfb++be1Z1MaNjnAN5tcLnlsgwDQYJKoZI +# hvcNAQELBQAEggIAKNshkw1Skjg9+hPvx6w+Ur8lPTo8/wcJ0S70i30/uVCPMdIQ +# U8wFD3fo9TZgnKcRK07gZy6pmA5uTxVP6VRLMcZckRf2QG0pYNokQGIrKdgvdIPo +# ftoFx8/OqDANR9TGJEAeEDq4OPDBrt/tuh3k2jsB95amPA2TNXOKfIdgn+jGyCTR +# L8khhHOqTY9rLX88xswYooI49tcszmr+wilLSXNLUMD5V30flC69/RJZ0+I41Lv2 +# 505LiigCSxhQbfMmeV1Jz+tRYix404lENjg2pqKiHbn+khcBXoeR0UriNifY7aOI +# fZ2UwdMrmFpJ5qgCrDzZ1szCmdnYAOLhyRyplQlN0WDRpFq51hmGxU8fykMzLwlD +# JQPrEaM+g589/dgNOKyVaKd6J+Gk3xS11G8q8NCX0E7EDEuBKuYGMCGeQpiF2h5T +# wZF5Sdf/lGz7muoZhBgjRXarX+mOVFDZNev1whAbHEWwlhsmf8MSrHWd/bUzBMQs +# eppqyXRFOsU5uI5duIjWosIzMhCIo/rJK3HVSGLUHFaRGJWPTNv9mFzNzV4022VS +# 9/85OqegOthT/HsvvtdQEb0wzd/qZqZDaQM3u9HZGsmBFOIGqdcAyGzhoTtgkmrV +# i2Vx3oyI8z7sh49eIHnMz/oUh/xRs/sPwUhvUhkigm85U1bfQk/coIeVHHg= +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_sql_server_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_sql_server_instances_operations.py new file mode 100644 index 00000000000..32a31ee8756 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_sql_server_instances_operations.py @@ -0,0 +1,1394 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import ( + AsyncLROPoller, + AsyncNoPolling, + AsyncPollingMethod, +) +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._sql_server_instances_operations import ( + build_create_request_initial, + build_delete_request_initial, + build_get_request, + build_get_telemetry_request_initial, + build_list_by_resource_group_request, + build_list_request, + build_post_upgrade_request, + build_pre_upgrade_request, + build_update_request_initial, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class SqlServerInstancesOperations: + """SqlServerInstancesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, **kwargs: Any + ) -> AsyncIterable["_models.SqlServerInstanceListResult"]: + """List sqlServerInstance resources in the subscription. + + List sqlServerInstance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.azurearcdata.models.SqlServerInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerInstances"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, resource_group_name: str, **kwargs: Any + ) -> AsyncIterable["_models.SqlServerInstanceListResult"]: + """List sqlServerInstance resources in the resource group. + + Gets all sqlServerInstances in a resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.azurearcdata.models.SqlServerInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + sql_server_instance_name: str, + **kwargs: Any, + ) -> "_models.SqlServerInstance": + """Retrieves a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerInstance, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize("SqlServerInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + sql_server_instance_name: str, + sql_server_instance: "_models.SqlServerInstance", + **kwargs: Any, + ) -> "_models.SqlServerInstance": + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(sql_server_instance, "SqlServerInstance") + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_create( + self, + resource_group_name: str, + sql_server_instance_name: str, + sql_server_instance: "_models.SqlServerInstance", + **kwargs: Any, + ) -> AsyncLROPoller["_models.SqlServerInstance"]: + """Creates or replaces a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param sql_server_instance: The SQL Server Instance to be created or updated. + :type sql_server_instance: ~azure.mgmt.azurearcdata.models.SqlServerInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either SqlServerInstance or the result of + cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.azurearcdata.models.SqlServerInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + sql_server_instance=sql_server_instance, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = AsyncARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_server_instance_name: str, + **kwargs: Any, + ) -> None: + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_server_instance_name: str, + **kwargs: Any, + ) -> AsyncLROPoller[None]: + """Deletes a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + async def _update_initial( + self, + resource_group_name: str, + sql_server_instance_name: str, + parameters: "_models.SqlServerInstanceUpdate", + **kwargs: Any, + ) -> Optional["_models.SqlServerInstance"]: + cls = kwargs.pop( + "cls", None + ) # type: ClsType[Optional["_models.SqlServerInstance"]] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(parameters, "SqlServerInstanceUpdate") + + request = build_update_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._update_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + deserialized = None + response_headers = {} + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if response.status_code == 202: + response_headers["Location"] = self._deserialize( + "str", response.headers.get("Location") + ) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + + _update_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + @distributed_trace_async + async def begin_update( + self, + resource_group_name: str, + sql_server_instance_name: str, + parameters: "_models.SqlServerInstanceUpdate", + **kwargs: Any, + ) -> AsyncLROPoller["_models.SqlServerInstance"]: + """Updates a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param parameters: The SQL Server Instance. + :type parameters: ~azure.mgmt.azurearcdata.models.SqlServerInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either SqlServerInstance or the result of + cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.azurearcdata.models.SqlServerInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + parameters=parameters, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = AsyncARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + async def _get_telemetry_initial( + self, + resource_group_name: str, + sql_server_instance_name: str, + sql_server_instance_telemetry_request: "_models.SqlServerInstanceTelemetryRequest", + **kwargs: Any, + ) -> Optional["_models.SqlServerInstanceTelemetryResponse"]: + cls = kwargs.pop( + "cls", None + ) # type: ClsType[Optional["_models.SqlServerInstanceTelemetryResponse"]] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + sql_server_instance_telemetry_request, + "SqlServerInstanceTelemetryRequest", + ) + + request = build_get_telemetry_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._get_telemetry_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + deserialized = None + response_headers = {} + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerInstanceTelemetryResponse", pipeline_response + ) + + if response.status_code == 202: + response_headers["Location"] = self._deserialize( + "str", response.headers.get("Location") + ) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + + _get_telemetry_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/getTelemetry"} # type: ignore + + @distributed_trace_async + async def begin_get_telemetry( + self, + resource_group_name: str, + sql_server_instance_name: str, + sql_server_instance_telemetry_request: "_models.SqlServerInstanceTelemetryRequest", + **kwargs: Any, + ) -> AsyncLROPoller[ + AsyncItemPaged["_models.SqlServerInstanceTelemetryResponse"] + ]: + """Retrieves SQL Server instance telemetry. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param sql_server_instance_telemetry_request: Contains the parameters to get SQL Server + instance telemetry. + :type sql_server_instance_telemetry_request: + ~azure.mgmt.azurearcdata.models.SqlServerInstanceTelemetryRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for + this operation to not poll, or pass in your own initialized polling object for a personal + polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of AsyncLROPoller that returns an iterator like instance of either + SqlServerInstanceTelemetryResponse or the result of cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.azurearcdata.models.SqlServerInstanceTelemetryResponse]] + :raises: ~azure.core.exceptions.HttpResponseError + """ + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstanceTelemetryResponse"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + _json = self._serialize.body( + sql_server_instance_telemetry_request, + "SqlServerInstanceTelemetryRequest", + ) + + request = build_get_telemetry_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.begin_get_telemetry.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + _json = self._serialize.body( + sql_server_instance_telemetry_request, + "SqlServerInstanceTelemetryRequest", + ) + + request = build_get_telemetry_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstanceTelemetryResponse", pipeline_response + ) + list_of_elem = deserialized.rows + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstanceTelemetryResponse"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_telemetry_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + sql_server_instance_telemetry_request=sql_server_instance_telemetry_request, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + async def internal_get_next(next_link=None): + if next_link is None: + return pipeline_response + return await get_next(next_link) + + return AsyncItemPaged(internal_get_next, extract_data) + + if polling is True: + polling_method = AsyncARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = AsyncNoPolling() + else: + polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return AsyncLROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_get_telemetry.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/getTelemetry"} # type: ignore + + @distributed_trace_async + async def pre_upgrade( + self, + resource_group_name: str, + sql_server_instance_name: str, + **kwargs: Any, + ) -> "_models.SqlServerInstance": + """Request Upgrade Permission before upgrading. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerInstance, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_pre_upgrade_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self.pre_upgrade.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize("SqlServerInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + pre_upgrade.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/preUpgrade"} # type: ignore + + @distributed_trace_async + async def post_upgrade( + self, + resource_group_name: str, + sql_server_instance_name: str, + **kwargs: Any, + ) -> "_models.SqlServerInstance": + """Clean up after upgrading. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerInstance, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_post_upgrade_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self.post_upgrade.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize("SqlServerInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + post_upgrade.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/postUpgrade"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAELzpA5Sx2wnG5 +# DoyqZzGStTPLRODty5JktEE62QbJg6CCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIKBVvBEJx9HQGAgqlPaQzKXk/fhNIf9N +# puwei/qfGza+MEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# a9JCTfGUDTQHOQa4FiPHRTzmrOvFURo4dFEsD8KoqTamcT473yUkDoPPnVIh/+HK +# /R6W5Rw2+BjO80/pfb3mmrN+13p/PBD3euaYG7HbT4wqaOaaIwHv5moWD3rY660u +# RepfYYtncvQORfRngtuqbjMIM9pw6po3NfMROaL4XT70usr/eT2NMHy/mIoD4q4e +# 1eJv43mS7nsjlObbvB58WALabER2m3eIiWUaHc/0W29kwR0IcNPp7i2uW7hEhjaa +# fobp12neT1clz/PDhybc0J+e9t+Uja7U2fLm8GuVQYSycqxk5i8NwFQwii7mJLjP +# uXSE9AMMIRVOm+2bp2CyfqGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCCWwmNYYuHagSNPA+4BRWPMxoTfM6/iyb+pnHly5n8mLQIGZdX8tm1+GBMyMDI0 +# MDIyODE1MDMwOS42MDJaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjNCRDQt +# NEI4MC02OUMzMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzM1WhcNMjUwMTEwMTkwNzM1WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRCODAtNjlD +# MzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKl74Drau2O6LLrJO3HyTvO9aXai//eN +# yP5MLWZrmUGNOJMPwMI08V9zBfRPNcucreIYSyJHjkMIUGmuh0rPV5/2+UCLGrN1 +# P77n9fq/mdzXMN1FzqaPHdKElKneJQ8R6cP4dru2Gymmt1rrGcNe800CcD6d/Ndo +# ommkd196VqOtjZFA1XWu+GsFBeWHiez/PllqcM/eWntkQMs0lK0zmCfH+Bu7i1h+ +# FDRR8F7WzUr/7M3jhVdPpAfq2zYCA8ZVLNgEizY+vFmgx+zDuuU/GChDK7klDcCw +# +/gVoEuSOl5clQsydWQjJJX7Z2yV+1KC6G1JVqpP3dpKPAP/4udNqpR5HIeb8Ta1 +# JfjRUzSv3qSje5y9RYT/AjWNYQ7gsezuDWM/8cZ11kco1JvUyOQ8x/JDkMFqSRwj +# 1v+mc6LKKlj//dWCG/Hw9ppdlWJX6psDesQuQR7FV7eCqV/lfajoLpPNx/9zF1dv +# 8yXBdzmWJPeCie2XaQnrAKDqlG3zXux9tNQmz2L96TdxnIO2OGmYxBAAZAWoKbmt +# YI+Ciz4CYyO0Fm5Z3T40a5d7KJuftF6CToccc/Up/jpFfQitLfjd71cS+cLCeoQ+ +# q0n0IALvV+acbENouSOrjv/QtY4FIjHlI5zdJzJnGskVJ5ozhji0YRscv1WwJFAu +# yyCMQvLdmPddAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQU3/+fh7tNczEifEXlCQgF +# OXgMh6owHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBADP6whOFjD1ad8GkEJ9oLBuv +# fjndMyGQ9R4HgBKSlPt3pa0XVLcimrJlDnKGgFBiWwI6XOgw82hdolDiMDBLLWRM +# TJHWVeUY1gU4XB8OOIxBc9/Q83zb1c0RWEupgC48I+b+2x2VNgGJUsQIyPR2PiXQ +# hT5PyerMgag9OSodQjFwpNdGirna2rpV23EUwFeO5+3oSX4JeCNZvgyUOzKpyMvq +# Vaubo+Glf/psfW5tIcMjZVt0elswfq0qJNQgoYipbaTvv7xmixUJGTbixYifTwAi +# vPcKNdeisZmtts7OHbAM795ZvKLSEqXiRUjDYZyeHyAysMEALbIhdXgHEh60KoZy +# zlBXz3VxEirE7nhucNwM2tViOlwI7EkeU5hudctnXCG55JuMw/wb7c71RKimZA/K +# XlWpmBvkJkB0BZES8OCGDd+zY/T9BnTp8si36Tql84VfpYe9iHmy7PqqxqMF2Cn4 +# q2a0mEMnpBruDGE/gR9c8SVJ2ntkARy5SfluuJ/MB61yRvT1mUx3lyppO22ePjBj +# nwoEvVxbDjT1jhdMNdevOuDeJGzRLK9HNmTDC+TdZQlj+VMgIm8ZeEIRNF0oaviF +# +QZcUZLWzWbYq6yDok8EZKFiRR5otBoGLvaYFpxBZUE8mnLKuDlYobjrxh7lnwrx +# V/fMy0F9fSo2JxFmtLgtMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRC +# ODAtNjlDMzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUA942iGuYFrsE4wzWDd85EpM6RiwqggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJtH4w +# IhgPMjAyNDAyMjgyMTMyNDZaGA8yMDI0MDIyOTIxMzI0NlowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym0fgIBADAHAgEAAgII/jAHAgEAAgIRWzAKAgUA6YsF/gIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAJ6X7dDIGi9HtOCA2shzNFZ6YvoT +# Wvg61z5FKYPhplayQdORPpE+XeeXTwPqfv6/sx93z6zYNxiMgP+9fqXYnMxH965H +# 3HMYkoPxXPXklX+vnZ5Q+02VAKWS0NdI6kAFPBrJSLMZ752kT5HbPmUmHF0DaPyo +# Sj7xsnbEGsliDjFEMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQg6bOV +# Jzyat/XvMq071qfoW/3CMYvMbcAujHStS9i/kc4wgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCAVqdP//qjxGFhe2YboEXeb8I/pAof01CwhbxUH9U697TCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB5Y9qwPM9tAuj +# AAEAAAHlMCIEIJZiUB27oq8Piq7Is0oyatZIjipupHB/Q5BVrq0i72SaMA0GCSqG +# SIb3DQEBCwUABIICAA43T7t24pSfh1PnHN8LOWgGFlIAPzAxco3rdjGqeyDfnDR/ +# OE6w7a8SPzbwDYgEjLw2bIF9ei/VE6kjSupMudSsxLCOo+jfJW5u1vlQMtwigFIe +# JwzVkMWFzNmv8WU5qVnt4TrGS2Tj5Q/hf0l8TXd86bKTlDAvgUKgHtpW1ZGYwWyp +# Ju9B+0PosJzqrE43MZEI9bxxLlW6s9/jq7T5cY2FRJ2Yn6enXUdLp0h2/kAteRbz +# e9DWJmeYsjZ9iND0qvgLUploH3oJjmcnbUoFITemurBqeuUnaGKL8C6I6Qn/HFjm +# acA43qpEydvk6lHw6O/tQqjxk37gzlB1sFMPwAe/Jse3xLGNUbCARfWnN5LkTElz +# 6LtSfON8RmUfEX6zzISO4jcojK2Ja/pYqjb22EN1iDJI1SvKjRDYeW7nzvDceDuc +# 284TN8KepKLwtfLlO/3KyeqJAHBOnBHN1Il2k460ZVUZpJtEgQp209hVXLuVWzDS +# rZdAkbXjS05/gKp/13XxQrchW5qdb4lFUZDMeTkVkttdDH9Z696Qp4LuDhYRjJO1 +# UI4ln2jFBd9LMdfH6/ncvVT4JxJMEtUDJFkXFeWtdEthK16gRjUg8KaYI3C1TnZ1 +# OFfx5MPrHTdpNiiBVH3/XlqR8SHs8TDKN+iEZgLIwIqVNlf4uagXHtR+bSrR +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_sql_server_licenses_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_sql_server_licenses_operations.py new file mode 100644 index 00000000000..481a0b8b6d0 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/aio/operations/_sql_server_licenses_operations.py @@ -0,0 +1,780 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._sql_server_licenses_operations import ( + build_create_request, + build_delete_request, + build_get_request, + build_list_by_resource_group_request, + build_list_request, + build_update_request, +) + +T = TypeVar("T") +ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], + Any, + ] +] + + +class SqlServerLicensesOperations: + """SqlServerLicensesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, **kwargs: Any + ) -> AsyncIterable["_models.SqlServerLicenseListResult"]: + """List sqlServerLicense resources in the subscription. + + List sqlServerLicense resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerLicenseListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.azurearcdata.models.SqlServerLicenseListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerLicenseListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerLicenseListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerLicenses"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, resource_group_name: str, **kwargs: Any + ) -> AsyncIterable["_models.SqlServerLicenseListResult"]: + """List sqlServerLicense resources in the resource group. + + Gets all sqlServerLicenses in a resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerLicenseListResult or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.azurearcdata.models.SqlServerLicenseListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerLicenseListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerLicenseListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + sql_server_license_name: str, + **kwargs: Any, + ) -> "_models.SqlServerLicense": + """Retrieves a SQL Server license resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_license_name: Name of SQL Server License. + :type sql_server_license_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerLicense, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerLicense + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerLicense"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_license_name=sql_server_license_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize("SqlServerLicense", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses/{sqlServerLicenseName}"} # type: ignore + + @distributed_trace_async + async def create( + self, + resource_group_name: str, + sql_server_license_name: str, + sql_server_license: "_models.SqlServerLicense", + **kwargs: Any, + ) -> "_models.SqlServerLicense": + """Creates or replaces a SQL Server license resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_license_name: Name of SQL Server License. + :type sql_server_license_name: str + :param sql_server_license: The SQL Server license to be created or updated. + :type sql_server_license: ~azure.mgmt.azurearcdata.models.SqlServerLicense + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerLicense, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerLicense + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerLicense"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(sql_server_license, "SqlServerLicense") + + request = build_create_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_license_name=sql_server_license_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.create.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerLicense", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlServerLicense", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses/{sqlServerLicenseName}"} # type: ignore + + @distributed_trace_async + async def delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + sql_server_license_name: str, + **kwargs: Any, + ) -> None: + """Deletes a SQL Server license resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_license_name: Name of SQL Server License. + :type sql_server_license_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_delete_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_license_name=sql_server_license_name, + api_version=api_version, + template_url=self.delete.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses/{sqlServerLicenseName}"} # type: ignore + + @distributed_trace_async + async def update( + self, + resource_group_name: str, + sql_server_license_name: str, + parameters: "_models.SqlServerLicenseUpdate", + **kwargs: Any, + ) -> "_models.SqlServerLicense": + """Updates a SQL Server license resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_license_name: Name of SQL Server License. + :type sql_server_license_name: str + :param parameters: The SQL Server license. + :type parameters: ~azure.mgmt.azurearcdata.models.SqlServerLicenseUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerLicense, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerLicense + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerLicense"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(parameters, "SqlServerLicenseUpdate") + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_license_name=sql_server_license_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize("SqlServerLicense", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses/{sqlServerLicenseName}"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBTvOcnpqsDralf +# av79WJHZTmK6sOnmOkQ/7GMTFT6fJKCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIN6xx0iJOrob8SE4zjV+W+3XdcQjzPzS +# i23i7X5P+AAbMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# pwgCZzKvRfA3M4k1eTWOKCI5C5wIRAeEvEh3kfYvFCP9HeU8m0HoPzsODAMBVRt6 +# ugOZCKW+EEQWNrWSp+kGgxRqQibtlJhvdm8Q69ZuLv8xThgfrWf2EmNFBK2EfELa +# CjwyBBgsWvuA1gJua3dUW2qSCgQz8sT0+eG4lBczxxDXDSNVHw/wszhXLS4zC+d+ +# S5vNGO2Zq5n/C7riuUm870jRderbI2sOTek5yp9YLZ1JI+AEB/WbWTDZvrKQfXp5 +# Z7WIHIIVEZuQNaBtOTicj2/EG4oVIIr6QJYdwkUGjmB7GdgJAWRzMLJWt2K2agjb +# ZZBQI/+whf7XJ+s1yETUZaGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCASCOubO0jf18igUOwPytIWnoIhGEjD0TSjzOMv8zIeuwIGZdYHa6HfGBMyMDI0 +# MDIyODE1MDMxMC4yODdaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjE3OUUt +# NEJCMC04MjQ2MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzE5WhcNMjUwMTEwMTkwNzE5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRCQjAtODI0 +# NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKyHnPOhxbvRATnGjb/6fuBhh3ZLzotA +# xAgdLaZ/zkRFUdeSKzyNt3tqorMK7GDvcXdKs+qIMUbvenlH+w53ssPa6rYP760Z +# uFrABrfserf0kFayNXVzwT7jarJOEjnFMBp+yi+uwQ2TnJuxczceG5FDHrII6sF6 +# F879lP6ydY0BBZkZ9t39e/svNRieA5gUnv/YcM/bIMY/QYmd9F0B+ebFYi+PH4Ak +# XahNkFgK85OIaRrDGvhnxOa/5zGL7Oiii7+J9/QHkdJGlfnRfbQ3QXM/5/umBOKG +# 4JoFY1niZ5RVH5PT0+uCjwcqhTbnvUtfK+N+yB2b9rEZvp2Tv4ZwYzEd9A9VsYMu +# ZiCSbaFMk77LwVbklpnw4aHWJXJkEYmJvxRbcThE8FQyOoVkSuKc5OWZ2+WM/j50 +# oblA0tCU53AauvUOZRoQBh89nHK+m5pOXKXdYMJ+ceuLYF8h5y/cXLQMOmqLJz5l +# 7MLqGwU0zHV+MEO8L1Fo2zEEQ4iL4BX8YknKXonHGQacSCaLZot2kyJVRsFSxn0P +# lPvHVp0YdsCMzdeiw9jAZ7K9s1WxsZGEBrK/obipX6uxjEpyUA9mbVPljlb3R4MW +# I0E2xI/NM6F4Ac8Ceax3YWLT+aWCZeqiIMLxyyWZg+i1KY8ZEzMeNTKCEI5wF1wx +# qr6T1/MQo+8tAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUcF4XP26dV+8SusoA1XXQ +# 2TDSmdIwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBAMATzg6R/A0ldO7MqGxD1VJj +# i5yVA1hHb0Hc0Yjtv7WkxQ8iwfflulX5Us64tD3+3NT1JkphWzaAWf2wKdAw35Rx +# tQG1iON3HEZ0X23nde4Kg/Wfbx5rEHkZ9bzKnR/2N5A16+w/1pbwJzdfRcnJT3cL +# yawr/kYjMWd63OP0Glq70ua4WUE/Po5pU7rQRbWEoQozY24hAqOcwuRcm6Cb0JBe +# TOCeRBntEKgjKep4pRaQt7b9vusT97WeJcfaVosmmPtsZsawgnpIjbBa55tHfuk0 +# vDkZtbIXjU4mr5dns9dnanBdBS2PY3N3hIfCPEOszquwHLkfkFZ/9bxw8/eRJldt +# oukHo16afE/AqP/smmGJh5ZR0pmgW6QcX+61rdi5kDJTzCFaoMyYzUS0SEbyrDZ/ +# p2KOuKAYNngljiOlllct0uJVz2agfczGjjsKi2AS1WaXvOhgZNmGw42SFB1qaloa +# 8Kaux9Q2HHLE8gee/5rgOnx9zSbfVUc7IcRNodq6R7v+Rz+P6XKtOgyCqW/+rhPm +# p/n7Fq2BGTRkcy//hmS32p6qyglr2K4OoJDJXxFs6lwc8D86qlUeGjUyo7hVy5Vv +# yA+y0mGnEAuA85tsOcUPlzwWF5sv+B5fz35OW3X4Spk5SiNulnLFRPM5XCsSHqvc +# bC8R3qwj2w1evPhZxDuNMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRC +# QjAtODI0NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAbfPR1fBX6HxYfyPx8zYzJU5fIQyggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJvw4w +# IhgPMjAyNDAyMjgyMjE3NTBaGA8yMDI0MDIyOTIyMTc1MFowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym/DgIBADAHAgEAAgIFODAHAgEAAgIRUDAKAgUA6YsQjgIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAErMic/nNPp5tSOJsfCecCou9ByT +# N3G55pr1uxb+X3idhClgYGc3ljiCPGpHiDsoGXrc4dK+WWhXosUk2fv46uOPrhy1 +# 1gttQCsn+i9NRKfttUNZl3FIUO2oKEwmp78mrjzCAwD8dlydsjn4dHDCv8eIDkmb +# T8xHYmeUT9tHQQbPMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgy0Aa +# JOswHg6+x87QLsnvUvceYiRSIZBAGjjcuUU9iXswgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCDj7lK/8jnlbTjPvc77DCCSb4TZApY9nJm5whsK/2kKwTCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB4NT8HxMVH35d +# AAEAAAHgMCIEIG01xKO9hBFTAtjUO/ZHX2/vm3tWdTGjY5wDebXC55bIMA0GCSqG +# SIb3DQEBCwUABIICAE9xsS02qyl/40PO5RU2/sUch8XDiYRw3qkVq4YyDOBG4KQn +# 5AaJ+zunrV3JXDKMCcp5Bhcto11MBCb6AqbEnNdPKQWvt2UGxi3QHjtt3m6uqlbL +# T6gs7TqzfXgjV2cwnF150k7CkN5wByJ/HKGmgnyXnoIROSfrMFM0maDcOvKGQGz0 +# SefYecq8RtO6uhVwOV6cqrxStsEbVN+mBiM7l7tSheT0xEcPIOnt6Q2bbiEiPzYL +# 4btI7VB9QM5pImQWPRqJVcVd6Wcd8fa1vfgqBoCAt/ud477zG+8G8t0zopaamkwW +# xeorC5KS1ux8Y5969lijCVUq+9Y6SNpjYiwCEqM9DaJ1OlYuoZmzEBOsw8dpaMTT +# YqfWuOAj9ga+PTcdUwYyqnQ8fWfdDhLgVP/6wvyshJ2sXkTOL/75bXvUtF4wxNa4 +# RO2GhMW/J/he/P7cfFFalGgf5iVIX1wcfjX9aJPv26zG81af0r9zq/W8dU2MQ6+t +# 3k+a49lqEp6X3i9frswWL3Isv2WqsWo+5OxDeeQ1Su39QLcVDUjrl2qZwD1BnsVq +# 3FZvSuGGG+rLmIvmHcBcKHbcaiIY3vKNyzLd9vasqu6UBV2HokCIabJppiZVJA8a +# lnOP+ubv3jApxfzFPbX+L44eTGuJLns/V0aExQ4DxvTet8/TjxQ3JQP7guo7 +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/models/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/models/__init__.py new file mode 100644 index 00000000000..328feb25a12 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/models/__init__.py @@ -0,0 +1,630 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import ActiveDirectoryConnectorDNSDetails + from ._models_py3 import ActiveDirectoryConnectorDomainDetails + from ._models_py3 import ActiveDirectoryConnectorListResult + from ._models_py3 import ActiveDirectoryConnectorProperties + from ._models_py3 import ActiveDirectoryConnectorResource + from ._models_py3 import ActiveDirectoryConnectorSpec + from ._models_py3 import ActiveDirectoryConnectorStatus + from ._models_py3 import ActiveDirectoryDomainController + from ._models_py3 import ActiveDirectoryDomainControllers + from ._models_py3 import ActiveDirectoryInformation + from ._models_py3 import ArcSqlServerAvailabilityGroupListResult + from ._models_py3 import ArcSqlServerDatabaseListResult + from ._models_py3 import AvailabilityGroupConfigure + from ._models_py3 import AvailabilityGroupCreateUpdateConfiguration + from ._models_py3 import AvailabilityGroupCreateUpdateReplicaConfiguration + from ._models_py3 import AvailabilityGroupInfo + from ._models_py3 import AvailabilityGroupState + from ._models_py3 import BackupPolicy + from ._models_py3 import BasicLoginInformation + from ._models_py3 import CommonSku + from ._models_py3 import DataControllerProperties + from ._models_py3 import DataControllerResource + from ._models_py3 import DataControllerUpdate + from ._models_py3 import ErrorAdditionalInfo + from ._models_py3 import ErrorDetail + from ._models_py3 import ErrorResponse + from ._models_py3 import ExtendedLocation + from ._models_py3 import FailoverCluster + from ._models_py3 import FailoverGroupListResult + from ._models_py3 import FailoverGroupProperties + from ._models_py3 import FailoverGroupResource + from ._models_py3 import FailoverGroupSpec + from ._models_py3 import K8SActiveDirectory + from ._models_py3 import K8SActiveDirectoryConnector + from ._models_py3 import K8SNetworkSettings + from ._models_py3 import K8SResourceRequirements + from ._models_py3 import K8SScheduling + from ._models_py3 import K8SSchedulingOptions + from ._models_py3 import K8SSecurity + from ._models_py3 import K8SSettings + from ._models_py3 import K8StransparentDataEncryption + from ._models_py3 import KeytabInformation + from ._models_py3 import LogAnalyticsWorkspaceConfig + from ._models_py3 import Migration + from ._models_py3 import MigrationAssessment + from ._models_py3 import Monitoring + from ._models_py3 import OnPremiseProperty + from ._models_py3 import Operation + from ._models_py3 import OperationDisplay + from ._models_py3 import OperationListResult + from ._models_py3 import PageOfDataControllerResource + from ._models_py3 import PostgresInstance + from ._models_py3 import PostgresInstanceListResult + from ._models_py3 import PostgresInstanceProperties + from ._models_py3 import PostgresInstanceSku + from ._models_py3 import PostgresInstanceUpdate + from ._models_py3 import ProxyResource + from ._models_py3 import Resource + from ._models_py3 import ( + SqlAvailabilityGroupDatabaseReplicaResourceProperties, + ) + from ._models_py3 import SqlAvailabilityGroupDhcpListenerProperties + from ._models_py3 import ( + SqlAvailabilityGroupIpV4AddressesAndMasksPropertiesItem, + ) + from ._models_py3 import SqlAvailabilityGroupReplicaResourceProperties + from ._models_py3 import SqlAvailabilityGroupStaticIPListenerProperties + from ._models_py3 import SqlManagedInstance + from ._models_py3 import SqlManagedInstanceK8SRaw + from ._models_py3 import SqlManagedInstanceK8SSpec + from ._models_py3 import SqlManagedInstanceListResult + from ._models_py3 import SqlManagedInstanceProperties + from ._models_py3 import SqlManagedInstanceSku + from ._models_py3 import SqlManagedInstanceUpdate + from ._models_py3 import SqlServerAvailabilityGroupResource + from ._models_py3 import SqlServerAvailabilityGroupResourceProperties + from ._models_py3 import ( + SqlServerAvailabilityGroupResourcePropertiesDatabases, + ) + from ._models_py3 import ( + SqlServerAvailabilityGroupResourcePropertiesReplicas, + ) + from ._models_py3 import SqlServerAvailabilityGroupUpdate + from ._models_py3 import SqlServerDatabaseResource + from ._models_py3 import SqlServerDatabaseResourceProperties + from ._models_py3 import ( + SqlServerDatabaseResourcePropertiesBackupInformation, + ) + from ._models_py3 import SqlServerDatabaseResourcePropertiesDatabaseOptions + from ._models_py3 import SqlServerDatabaseUpdate + from ._models_py3 import SqlServerInstance + from ._models_py3 import SqlServerInstanceListResult + from ._models_py3 import SqlServerInstanceProperties + from ._models_py3 import SqlServerInstanceTelemetryColumn + from ._models_py3 import SqlServerInstanceTelemetryRequest + from ._models_py3 import SqlServerInstanceTelemetryResponse + from ._models_py3 import SqlServerInstanceUpdate + from ._models_py3 import SqlServerInstanceUpdateProperties + from ._models_py3 import SqlServerLicense + from ._models_py3 import SqlServerLicenseListResult + from ._models_py3 import SqlServerLicenseProperties + from ._models_py3 import SqlServerLicenseUpdate + from ._models_py3 import SqlServerLicenseUpdateProperties + from ._models_py3 import SystemData + from ._models_py3 import TrackedResource + from ._models_py3 import UploadServicePrincipal + from ._models_py3 import UploadWatermark +except (SyntaxError, ImportError): + from ._models import ActiveDirectoryConnectorDNSDetails # type: ignore + from ._models import ActiveDirectoryConnectorDomainDetails # type: ignore + from ._models import ActiveDirectoryConnectorListResult # type: ignore + from ._models import ActiveDirectoryConnectorProperties # type: ignore + from ._models import ActiveDirectoryConnectorResource # type: ignore + from ._models import ActiveDirectoryConnectorSpec # type: ignore + from ._models import ActiveDirectoryConnectorStatus # type: ignore + from ._models import ActiveDirectoryDomainController # type: ignore + from ._models import ActiveDirectoryDomainControllers # type: ignore + from ._models import ActiveDirectoryInformation # type: ignore + from ._models import ArcSqlServerAvailabilityGroupListResult # type: ignore + from ._models import ArcSqlServerDatabaseListResult # type: ignore + from ._models import AvailabilityGroupConfigure # type: ignore + from ._models import AvailabilityGroupCreateUpdateConfiguration # type: ignore + from ._models import AvailabilityGroupCreateUpdateReplicaConfiguration # type: ignore + from ._models import AvailabilityGroupInfo # type: ignore + from ._models import AvailabilityGroupState # type: ignore + from ._models import BackupPolicy # type: ignore + from ._models import BasicLoginInformation # type: ignore + from ._models import CommonSku # type: ignore + from ._models import DataControllerProperties # type: ignore + from ._models import DataControllerResource # type: ignore + from ._models import DataControllerUpdate # type: ignore + from ._models import ErrorAdditionalInfo # type: ignore + from ._models import ErrorDetail # type: ignore + from ._models import ErrorResponse # type: ignore + from ._models import ExtendedLocation # type: ignore + from ._models import FailoverCluster # type: ignore + from ._models import FailoverGroupListResult # type: ignore + from ._models import FailoverGroupProperties # type: ignore + from ._models import FailoverGroupResource # type: ignore + from ._models import FailoverGroupSpec # type: ignore + from ._models import K8SActiveDirectory # type: ignore + from ._models import K8SActiveDirectoryConnector # type: ignore + from ._models import K8SNetworkSettings # type: ignore + from ._models import K8SResourceRequirements # type: ignore + from ._models import K8SScheduling # type: ignore + from ._models import K8SSchedulingOptions # type: ignore + from ._models import K8SSecurity # type: ignore + from ._models import K8SSettings # type: ignore + from ._models import K8StransparentDataEncryption # type: ignore + from ._models import KeytabInformation # type: ignore + from ._models import LogAnalyticsWorkspaceConfig # type: ignore + from ._models import Migration # type: ignore + from ._models import MigrationAssessment # type: ignore + from ._models import Monitoring # type: ignore + from ._models import OnPremiseProperty # type: ignore + from ._models import Operation # type: ignore + from ._models import OperationDisplay # type: ignore + from ._models import OperationListResult # type: ignore + from ._models import PageOfDataControllerResource # type: ignore + from ._models import PostgresInstance # type: ignore + from ._models import PostgresInstanceListResult # type: ignore + from ._models import PostgresInstanceProperties # type: ignore + from ._models import PostgresInstanceSku # type: ignore + from ._models import PostgresInstanceUpdate # type: ignore + from ._models import ProxyResource # type: ignore + from ._models import Resource # type: ignore + from ._models import SqlAvailabilityGroupDatabaseReplicaResourceProperties # type: ignore + from ._models import SqlAvailabilityGroupDhcpListenerProperties # type: ignore + from ._models import SqlAvailabilityGroupIpV4AddressesAndMasksPropertiesItem # type: ignore + from ._models import SqlAvailabilityGroupReplicaResourceProperties # type: ignore + from ._models import SqlAvailabilityGroupStaticIPListenerProperties # type: ignore + from ._models import SqlManagedInstance # type: ignore + from ._models import SqlManagedInstanceK8SRaw # type: ignore + from ._models import SqlManagedInstanceK8SSpec # type: ignore + from ._models import SqlManagedInstanceListResult # type: ignore + from ._models import SqlManagedInstanceProperties # type: ignore + from ._models import SqlManagedInstanceSku # type: ignore + from ._models import SqlManagedInstanceUpdate # type: ignore + from ._models import SqlServerAvailabilityGroupResource # type: ignore + from ._models import SqlServerAvailabilityGroupResourceProperties # type: ignore + from ._models import SqlServerAvailabilityGroupResourcePropertiesDatabases # type: ignore + from ._models import SqlServerAvailabilityGroupResourcePropertiesReplicas # type: ignore + from ._models import SqlServerAvailabilityGroupUpdate # type: ignore + from ._models import SqlServerDatabaseResource # type: ignore + from ._models import SqlServerDatabaseResourceProperties # type: ignore + from ._models import SqlServerDatabaseResourcePropertiesBackupInformation # type: ignore + from ._models import SqlServerDatabaseResourcePropertiesDatabaseOptions # type: ignore + from ._models import SqlServerDatabaseUpdate # type: ignore + from ._models import SqlServerInstance # type: ignore + from ._models import SqlServerInstanceListResult # type: ignore + from ._models import SqlServerInstanceProperties # type: ignore + from ._models import SqlServerInstanceTelemetryColumn # type: ignore + from ._models import SqlServerInstanceTelemetryRequest # type: ignore + from ._models import SqlServerInstanceTelemetryResponse # type: ignore + from ._models import SqlServerInstanceUpdate # type: ignore + from ._models import SqlServerInstanceUpdateProperties # type: ignore + from ._models import SqlServerLicense # type: ignore + from ._models import SqlServerLicenseListResult # type: ignore + from ._models import SqlServerLicenseProperties # type: ignore + from ._models import SqlServerLicenseUpdate # type: ignore + from ._models import SqlServerLicenseUpdateProperties # type: ignore + from ._models import SystemData # type: ignore + from ._models import TrackedResource # type: ignore + from ._models import UploadServicePrincipal # type: ignore + from ._models import UploadWatermark # type: ignore + +from ._azure_arc_data_management_client_enums import ( + AccountProvisioningMode, + ActivationState, + AggregationType, + AlwaysOnRole, + ArcSqlManagedInstanceLicenseType, + ArcSqlServerAvailabilityMode, + ArcSqlServerFailoverMode, + ArcSqlServerLicenseType, + AutomatedBackupPreference, + BillingPlan, + ClusterType, + ConnectionStatus, + CreatedByType, + DatabaseCreateMode, + DatabaseState, + DbFailover, + DefenderStatus, + DifferentialBackupHours, + DtcSupport, + EditionType, + ExtendedLocationTypes, + FailoverGroupPartnerSyncMode, + FailureConditionLevel, + HostType, + Infrastructure, + InstanceFailoverGroupRole, + LicenseCategory, + OperationOrigin, + PrimaryAllowConnections, + ProvisioningState, + RecoveryMode, + ReplicationPartnerType, + ScopeType, + SecondaryAllowConnections, + SeedingMode, + SqlManagedInstanceSkuTier, + SqlServerInstanceTelemetryColumnType, + SqlVersion, + State, +) + +__all__ = [ + "ActiveDirectoryConnectorDNSDetails", + "ActiveDirectoryConnectorDomainDetails", + "ActiveDirectoryConnectorListResult", + "ActiveDirectoryConnectorProperties", + "ActiveDirectoryConnectorResource", + "ActiveDirectoryConnectorSpec", + "ActiveDirectoryConnectorStatus", + "ActiveDirectoryDomainController", + "ActiveDirectoryDomainControllers", + "ActiveDirectoryInformation", + "ArcSqlServerAvailabilityGroupListResult", + "ArcSqlServerDatabaseListResult", + "AvailabilityGroupConfigure", + "AvailabilityGroupCreateUpdateConfiguration", + "AvailabilityGroupCreateUpdateReplicaConfiguration", + "AvailabilityGroupInfo", + "AvailabilityGroupState", + "BackupPolicy", + "BasicLoginInformation", + "CommonSku", + "DataControllerProperties", + "DataControllerResource", + "DataControllerUpdate", + "ErrorAdditionalInfo", + "ErrorDetail", + "ErrorResponse", + "ExtendedLocation", + "FailoverCluster", + "FailoverGroupListResult", + "FailoverGroupProperties", + "FailoverGroupResource", + "FailoverGroupSpec", + "K8SActiveDirectory", + "K8SActiveDirectoryConnector", + "K8SNetworkSettings", + "K8SResourceRequirements", + "K8SScheduling", + "K8SSchedulingOptions", + "K8SSecurity", + "K8SSettings", + "K8StransparentDataEncryption", + "KeytabInformation", + "LogAnalyticsWorkspaceConfig", + "Migration", + "MigrationAssessment", + "Monitoring", + "OnPremiseProperty", + "Operation", + "OperationDisplay", + "OperationListResult", + "PageOfDataControllerResource", + "PostgresInstance", + "PostgresInstanceListResult", + "PostgresInstanceProperties", + "PostgresInstanceSku", + "PostgresInstanceUpdate", + "ProxyResource", + "Resource", + "SqlAvailabilityGroupDatabaseReplicaResourceProperties", + "SqlAvailabilityGroupDhcpListenerProperties", + "SqlAvailabilityGroupIpV4AddressesAndMasksPropertiesItem", + "SqlAvailabilityGroupReplicaResourceProperties", + "SqlAvailabilityGroupStaticIPListenerProperties", + "SqlManagedInstance", + "SqlManagedInstanceK8SRaw", + "SqlManagedInstanceK8SSpec", + "SqlManagedInstanceListResult", + "SqlManagedInstanceProperties", + "SqlManagedInstanceSku", + "SqlManagedInstanceUpdate", + "SqlServerAvailabilityGroupResource", + "SqlServerAvailabilityGroupResourceProperties", + "SqlServerAvailabilityGroupResourcePropertiesDatabases", + "SqlServerAvailabilityGroupResourcePropertiesReplicas", + "SqlServerAvailabilityGroupUpdate", + "SqlServerDatabaseResource", + "SqlServerDatabaseResourceProperties", + "SqlServerDatabaseResourcePropertiesBackupInformation", + "SqlServerDatabaseResourcePropertiesDatabaseOptions", + "SqlServerDatabaseUpdate", + "SqlServerInstance", + "SqlServerInstanceListResult", + "SqlServerInstanceProperties", + "SqlServerInstanceTelemetryColumn", + "SqlServerInstanceTelemetryRequest", + "SqlServerInstanceTelemetryResponse", + "SqlServerInstanceUpdate", + "SqlServerInstanceUpdateProperties", + "SqlServerLicense", + "SqlServerLicenseListResult", + "SqlServerLicenseProperties", + "SqlServerLicenseUpdate", + "SqlServerLicenseUpdateProperties", + "SystemData", + "TrackedResource", + "UploadServicePrincipal", + "UploadWatermark", + "AccountProvisioningMode", + "ActivationState", + "AggregationType", + "AlwaysOnRole", + "ArcSqlManagedInstanceLicenseType", + "ArcSqlServerAvailabilityMode", + "ArcSqlServerFailoverMode", + "ArcSqlServerLicenseType", + "AutomatedBackupPreference", + "BillingPlan", + "ClusterType", + "ConnectionStatus", + "CreatedByType", + "DatabaseCreateMode", + "DatabaseState", + "DbFailover", + "DefenderStatus", + "DifferentialBackupHours", + "DtcSupport", + "EditionType", + "ExtendedLocationTypes", + "FailoverGroupPartnerSyncMode", + "FailureConditionLevel", + "HostType", + "Infrastructure", + "InstanceFailoverGroupRole", + "LicenseCategory", + "OperationOrigin", + "PrimaryAllowConnections", + "ProvisioningState", + "RecoveryMode", + "ReplicationPartnerType", + "ScopeType", + "SecondaryAllowConnections", + "SeedingMode", + "SqlManagedInstanceSkuTier", + "SqlServerInstanceTelemetryColumnType", + "SqlVersion", + "State", +] + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCCYDeqYhXlUzYv +# Td2rNxAQ3igVn8IfeN92glLsEdkx2qCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIGvlpblwsovy0iaumVhv0KEpPvt0C/V3 +# Mb6z00IG3BADMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# UQjbePjuIcMIhqKwGbfLc1SS05aL2XQGv7yN8v2GuPONN2pKHPM425K3R6x6zfSB +# Tt+KuRT7ao5pFonibfmhxGYQZB2hkEBtQ7wtKNby7XYp5k3YeHoovzLU8SqPGORo +# BLKHllk9R+RSeHo7F3ryscc+HFXD9Fd4h2Pceg1QNHvo4n8DkHM5/lplBAW0NG2L +# 7OcZJ6aKCAhywpIE1t9CSnaxlER9ADfRHV3g9KNJwgrT89zyuD0ZcmMgoG1hz+HA +# UTLCsVMkIzNffuf7GNk+ttjeV4K6+Y+64p7NCKUay2wLwrqdH3JD8H1y5Pr1L0gk +# /mOF7BF8Htbh5G3fh9tiP6GCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCBeCq5v98HT0YMg8LVnCJ94i/elizzBjfj3tIglu4JYsQIGZdYHa6ITGBMyMDI0 +# MDIyODE1MDMxMC45NzlaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjE3OUUt +# NEJCMC04MjQ2MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzE5WhcNMjUwMTEwMTkwNzE5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRCQjAtODI0 +# NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKyHnPOhxbvRATnGjb/6fuBhh3ZLzotA +# xAgdLaZ/zkRFUdeSKzyNt3tqorMK7GDvcXdKs+qIMUbvenlH+w53ssPa6rYP760Z +# uFrABrfserf0kFayNXVzwT7jarJOEjnFMBp+yi+uwQ2TnJuxczceG5FDHrII6sF6 +# F879lP6ydY0BBZkZ9t39e/svNRieA5gUnv/YcM/bIMY/QYmd9F0B+ebFYi+PH4Ak +# XahNkFgK85OIaRrDGvhnxOa/5zGL7Oiii7+J9/QHkdJGlfnRfbQ3QXM/5/umBOKG +# 4JoFY1niZ5RVH5PT0+uCjwcqhTbnvUtfK+N+yB2b9rEZvp2Tv4ZwYzEd9A9VsYMu +# ZiCSbaFMk77LwVbklpnw4aHWJXJkEYmJvxRbcThE8FQyOoVkSuKc5OWZ2+WM/j50 +# oblA0tCU53AauvUOZRoQBh89nHK+m5pOXKXdYMJ+ceuLYF8h5y/cXLQMOmqLJz5l +# 7MLqGwU0zHV+MEO8L1Fo2zEEQ4iL4BX8YknKXonHGQacSCaLZot2kyJVRsFSxn0P +# lPvHVp0YdsCMzdeiw9jAZ7K9s1WxsZGEBrK/obipX6uxjEpyUA9mbVPljlb3R4MW +# I0E2xI/NM6F4Ac8Ceax3YWLT+aWCZeqiIMLxyyWZg+i1KY8ZEzMeNTKCEI5wF1wx +# qr6T1/MQo+8tAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUcF4XP26dV+8SusoA1XXQ +# 2TDSmdIwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBAMATzg6R/A0ldO7MqGxD1VJj +# i5yVA1hHb0Hc0Yjtv7WkxQ8iwfflulX5Us64tD3+3NT1JkphWzaAWf2wKdAw35Rx +# tQG1iON3HEZ0X23nde4Kg/Wfbx5rEHkZ9bzKnR/2N5A16+w/1pbwJzdfRcnJT3cL +# yawr/kYjMWd63OP0Glq70ua4WUE/Po5pU7rQRbWEoQozY24hAqOcwuRcm6Cb0JBe +# TOCeRBntEKgjKep4pRaQt7b9vusT97WeJcfaVosmmPtsZsawgnpIjbBa55tHfuk0 +# vDkZtbIXjU4mr5dns9dnanBdBS2PY3N3hIfCPEOszquwHLkfkFZ/9bxw8/eRJldt +# oukHo16afE/AqP/smmGJh5ZR0pmgW6QcX+61rdi5kDJTzCFaoMyYzUS0SEbyrDZ/ +# p2KOuKAYNngljiOlllct0uJVz2agfczGjjsKi2AS1WaXvOhgZNmGw42SFB1qaloa +# 8Kaux9Q2HHLE8gee/5rgOnx9zSbfVUc7IcRNodq6R7v+Rz+P6XKtOgyCqW/+rhPm +# p/n7Fq2BGTRkcy//hmS32p6qyglr2K4OoJDJXxFs6lwc8D86qlUeGjUyo7hVy5Vv +# yA+y0mGnEAuA85tsOcUPlzwWF5sv+B5fz35OW3X4Spk5SiNulnLFRPM5XCsSHqvc +# bC8R3qwj2w1evPhZxDuNMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRC +# QjAtODI0NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAbfPR1fBX6HxYfyPx8zYzJU5fIQyggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJvw4w +# IhgPMjAyNDAyMjgyMjE3NTBaGA8yMDI0MDIyOTIyMTc1MFowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym/DgIBADAHAgEAAgIFODAHAgEAAgIRUDAKAgUA6YsQjgIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAErMic/nNPp5tSOJsfCecCou9ByT +# N3G55pr1uxb+X3idhClgYGc3ljiCPGpHiDsoGXrc4dK+WWhXosUk2fv46uOPrhy1 +# 1gttQCsn+i9NRKfttUNZl3FIUO2oKEwmp78mrjzCAwD8dlydsjn4dHDCv8eIDkmb +# T8xHYmeUT9tHQQbPMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgu9lN +# gPe7hkGMroIzuBCna1sgrv+oVQJdot5WiVXIEoUwgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCDj7lK/8jnlbTjPvc77DCCSb4TZApY9nJm5whsK/2kKwTCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB4NT8HxMVH35d +# AAEAAAHgMCIEIG01xKO9hBFTAtjUO/ZHX2/vm3tWdTGjY5wDebXC55bIMA0GCSqG +# SIb3DQEBCwUABIICACU3G5Quh+W7orCF+UooOHNplsNBJz5YooZfxhfLIB+Ae2Ie +# gEgVXFpGXHnsiGh9JIvxAswkK/qvCKxqZA0g/5W+56u6OK3bF8NvBCfwgA9FKx/n +# XHG4cGQz0jEHWfKpnoRBMFVNPdPN6Nv4speQ4gPku2ok+fMw4l0UWvpU4Gba7OQA +# aEEQ+JJj8pKDOa/C3H/9rZiDIz/XzQoV1ao/+Ey/QYFXDwQF6z0Gq4kmgUXmTKUI +# gx8ld4EpW6E11SUuBZurW9op7HlBowaE1ywYP6t3ksmWHQt5azquGLdWo+9idthF +# hAYk6fD88Cuv+wE7LH9GQJJlxvMMKb1/7pAS2J2GJBLCD7LeG2X1KcnbNqJbpV8a +# DKOei16aKr60/FmaLRF3LdN5BCUSj1aUNjokr6xBolzPiOP6qLo3KdXEm4aN+QxG +# 65IkBXxJ8LuuzQCrOiEyr+fDXK34rIAUzv4Se6P5AtseM6DPM7yKwwdwdn60cjrg +# X7OudKNpS/naNoEDXJgxY65Bt0Vjq04g0erMbQpt11fZ4NvWQrIqCs82F0KzxcFi +# 1BQ+Ka0j6Zkor1TZDAzHoUTw9bkC2AVvzcT3kTmzRZ+a5HfFW5j2kyWQ9Tu/VyYR +# jjAIkSPHg5wpDsW067XtUUjIyv9RDjlSCX9Hl+bTl2cCMbLPVuqTa2wbbf0h +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/models/_azure_arc_data_management_client_enums.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/models/_azure_arc_data_management_client_enums.py new file mode 100644 index 00000000000..9309665bd57 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/models/_azure_arc_data_management_client_enums.py @@ -0,0 +1,629 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum +from six import with_metaclass +from azure.core import CaseInsensitiveEnumMeta + + +class AccountProvisioningMode( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + """The service account provisioning mode for this Active Directory connector.""" + + AUTOMATIC = "automatic" + MANUAL = "manual" + + +class ActivationState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """The activation state of the license.""" + + ACTIVATED = "Activated" + DEACTIVATED = "Deactivated" + + +class AggregationType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """The aggregation type to use for the numerical columns in the dataset.""" + + AVERAGE = "Average" + MINIMUM = "Minimum" + MAXIMUM = "Maximum" + SUM = "Sum" + COUNT = "Count" + + +class AlwaysOnRole(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """The role of the SQL Server, based on availability.""" + + NONE = "None" + FAILOVER_CLUSTER_INSTANCE = "FailoverClusterInstance" + FAILOVER_CLUSTER_NODE = "FailoverClusterNode" + AVAILABILITY_GROUP_REPLICA = "AvailabilityGroupReplica" + + +class ArcSqlManagedInstanceLicenseType( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + """The license type to apply for this managed instance.""" + + BASE_PRICE = "BasePrice" + LICENSE_INCLUDED = "LicenseIncluded" + DISASTER_RECOVERY = "DisasterRecovery" + + +class ArcSqlServerAvailabilityMode( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + """Property that determines whether a given availability replica can run in synchronous-commit + mode + """ + + SYNCHRONOUS_COMMIT = "SYNCHRONOUS_COMMIT" + ASYNCHRONOUS_COMMIT = "ASYNCHRONOUS_COMMIT" + + +class ArcSqlServerFailoverMode( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + """Property to set the failover mode of the availability group replica""" + + AUTOMATIC = "AUTOMATIC" + MANUAL = "MANUAL" + EXTERNAL = "EXTERNAL" + + +class ArcSqlServerLicenseType( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + """SQL Server license type.""" + + UNDEFINED = "Undefined" + FREE = "Free" + HADR = "HADR" + SERVER_CAL = "ServerCAL" + LICENSE_ONLY = "LicenseOnly" + PAYG = "PAYG" + PAID = "Paid" + + +class AutomatedBackupPreference( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + """Preferred replica for running automated backups.""" + + PRIMARY = "PRIMARY" + SECONDARY_ONLY = "SECONDARY_ONLY" + SECONDARY = "SECONDARY" + NONE = "NONE" + + +class BillingPlan(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """SQL Server license type.""" + + PAYG = "PAYG" + PAID = "Paid" + + +class ClusterType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """Set to WSFC when availability group is on a failover cluster instance on a Windows Server + failover cluster. Set to NONE when availability group not using WSFC for cluster coordination. + """ + + WSFC = "WSFC" + NONE = "NONE" + + +class ConnectionStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """The cloud connectivity status.""" + + CONNECTED = "Connected" + DISCONNECTED = "Disconnected" + REGISTERED = "Registered" + UNKNOWN = "Unknown" + + +class CreatedByType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity that created the resource.""" + + USER = "User" + APPLICATION = "Application" + MANAGED_IDENTITY = "ManagedIdentity" + KEY = "Key" + + +class DatabaseCreateMode(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """Database create mode. PointInTimeRestore: Create a database by restoring a point in time backup + of an existing database. sourceDatabaseId and restorePointInTime must be specified. + """ + + DEFAULT = "Default" + POINT_IN_TIME_RESTORE = "PointInTimeRestore" + + +class DatabaseState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """State of the database.""" + + ONLINE = "Online" + RESTORING = "Restoring" + RECOVERING = "Recovering" + RECOVERY_PENDING = "RecoveryPending" + SUSPECT = "Suspect" + EMERGENCY = "Emergency" + OFFLINE = "Offline" + COPYING = "Copying" + OFFLINE_SECONDARY = "OfflineSecondary" + + +class DbFailover(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """Specifies whether the availability group supports failover for database health conditions.""" + + ON = "ON" + OFF = "OFF" + + +class DefenderStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """Status of Azure Defender.""" + + PROTECTED = "Protected" + UNPROTECTED = "Unprotected" + UNKNOWN = "Unknown" + + +class DifferentialBackupHours( + with_metaclass(CaseInsensitiveEnumMeta, int, Enum) +): + """The differential backup interval in hours.""" + + TWELVE = 12 + TWENTY_FOUR = 24 + + +class DtcSupport(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """Specifies whether DTC support has been enabled for this availability group.""" + + PER_DB = "PER_DB" + NONE = "NONE" + + +class EditionType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """SQL Server edition.""" + + EVALUATION = "Evaluation" + ENTERPRISE = "Enterprise" + STANDARD = "Standard" + WEB = "Web" + DEVELOPER = "Developer" + EXPRESS = "Express" + BUSINESS_INTELLIGENCE = "Business Intelligence" + + +class ExtendedLocationTypes(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """The type of extendedLocation.""" + + CUSTOM_LOCATION = "CustomLocation" + + +class FailoverGroupPartnerSyncMode( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + """The partner sync mode of the SQL managed instance.""" + + ASYNC_ENUM = "async" + SYNC = "sync" + + +class FailureConditionLevel(with_metaclass(CaseInsensitiveEnumMeta, int, Enum)): + """User-defined failure condition level under which an automatic failover must be triggered.""" + + ONE = 1 + TWO = 2 + THREE = 3 + FOUR = 4 + FIVE = 5 + + +class HostType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """Type of host for Azure Arc SQL Server""" + + AZURE_VIRTUAL_MACHINE = "Azure Virtual Machine" + AZURE_VM_WARE_VIRTUAL_MACHINE = "Azure VMWare Virtual Machine" + AZURE_KUBERNETES_SERVICE = "Azure Kubernetes Service" + AWS_VM_WARE_VIRTUAL_MACHINE = "AWS VMWare Virtual Machine" + AWS_KUBERNETES_SERVICE = "AWS Kubernetes Service" + GCP_VM_WARE_VIRTUAL_MACHINE = "GCP VMWare Virtual Machine" + GCP_KUBERNETES_SERVICE = "GCP Kubernetes Service" + CONTAINER = "Container" + VIRTUAL_MACHINE = "Virtual Machine" + PHYSICAL_SERVER = "Physical Server" + AWS_VIRTUAL_MACHINE = "AWS Virtual Machine" + GCP_VIRTUAL_MACHINE = "GCP Virtual Machine" + OTHER = "Other" + + +class Infrastructure(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """The infrastructure the data controller is running on.""" + + AZURE = "azure" + GCP = "gcp" + AWS = "aws" + ALIBABA = "alibaba" + ONPREMISES = "onpremises" + OTHER = "other" + + +class InstanceFailoverGroupRole( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + """The role of the SQL managed instance in this failover group.""" + + PRIMARY = "primary" + SECONDARY = "secondary" + FORCE_PRIMARY_ALLOW_DATA_LOSS = "force-primary-allow-data-loss" + FORCE_SECONDARY = "force-secondary" + + +class LicenseCategory(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """This property represents the choice between SQL Server Core and ESU licenses.""" + + CORE = "Core" + + +class OperationOrigin(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """The intended executor of the operation.""" + + USER = "user" + SYSTEM = "system" + + +class PrimaryAllowConnections( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + """Whether the primary replica should allow all connections or only READ_WRITE connections + (disallowing ReadOnly connections) + """ + + ALL = "ALL" + READ_WRITE = "READ_WRITE" + + +class ProvisioningState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """The provisioning state of the failover group resource.""" + + SUCCEEDED = "Succeeded" + FAILED = "Failed" + CANCELED = "Canceled" + ACCEPTED = "Accepted" + + +class RecoveryMode(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """Status of the database.""" + + FULL = "Full" + BULK_LOGGED = "Bulk-logged" + SIMPLE = "Simple" + + +class ReplicationPartnerType( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + + SQL_SERVER = "SQLServer" + AZURE_SQLVM = "AzureSQLVM" + AZURE_SQL_MANAGED_INSTANCE = "AzureSQLManagedInstance" + UNKNOWN = "Unknown" + + +class ScopeType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """The Azure scope to which the license will apply.""" + + TENANT = "Tenant" + SUBSCRIPTION = "Subscription" + RESOURCE_GROUP = "ResourceGroup" + + +class SecondaryAllowConnections( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + """Whether the secondary replica should allow all connections, no connections, or only ReadOnly + connections. + """ + + NO = "NO" + ALL = "ALL" + READ_ONLY = "READ_ONLY" + + +class SeedingMode(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """Specifies how the secondary replica will be initially seeded. AUTOMATIC enables direct seeding. + This method will seed the secondary replica over the network. This method does not require you + to backup and restore a copy of the primary database on the replica. MANUAL specifies manual + seeding (default). This method requires you to create a backup of the database on the primary + replica and manually restore that backup on the secondary replica. + """ + + AUTOMATIC = "AUTOMATIC" + MANUAL = "MANUAL" + + +class SqlManagedInstanceSkuTier( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + """The pricing tier for the instance.""" + + GENERAL_PURPOSE = "GeneralPurpose" + BUSINESS_CRITICAL = "BusinessCritical" + + +class SqlServerInstanceTelemetryColumnType( + with_metaclass(CaseInsensitiveEnumMeta, str, Enum) +): + """The type of the telemetry column.""" + + BOOL = "bool" + DATETIME = "datetime" + INT = "int" + LONG = "long" + DOUBLE = "double" + STRING = "string" + GUID = "guid" + TIMESPAN = "timespan" + + +class SqlVersion(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """SQL Server version.""" + + SQL_SERVER2012 = "SQL Server 2012" + SQL_SERVER2014 = "SQL Server 2014" + SQL_SERVER2016 = "SQL Server 2016" + SQL_SERVER2017 = "SQL Server 2017" + SQL_SERVER2019 = "SQL Server 2019" + SQL_SERVER2022 = "SQL Server 2022" + UNKNOWN = "Unknown" + + +class State(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """The activation state of the license.""" + + ACTIVATED = "Activated" + DEACTIVATED = "Deactivated" + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDHEyEci3gtuj9g +# EkSCDamZUQIeXTRkZhMVoan0p4iuDqCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIAM2riITYvPLI8M5N4cFUmQBUoG/Z9e4 +# ysBkJqNoBksOMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# i4eQLYkJwpYxgexMtHxoOTcTDnFV2LQhJjMeCImYOiY7Pd84hXAF9G24BkLpRETk +# ibXInFxaPDs4nY89Eb6MHthlcQLRxxd++b/OhHEOTGPkb+n4wsYH7ve84mxHEdgO +# bejsepizxV2YnCEFfBIjao3Hcik742CTb4/QU7Us4aWInMbs0mhrmP1joojK7x8P +# Fe6OhoFIniZJuhuZvqMdUTpsq+gX/4pixdAelpYlLocj9wItgS8BpZeNBjLEjbrd +# 5B4T7aA9h+4qn5yjFi8Gae1h9jENxiECnU1CvX2ucNZ9AHeEQ77xujl6efOcweiS +# yQYPFHMmF4Xe0Pg+QI4aVKGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCBCb+8Uh1z0peSlprRnXv85nEZYHGPjq/8/trO5lzHEmwIGZdX8tm1MGBMyMDI0 +# MDIyODE1MDMwOC44MzFaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjNCRDQt +# NEI4MC02OUMzMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzM1WhcNMjUwMTEwMTkwNzM1WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRCODAtNjlD +# MzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKl74Drau2O6LLrJO3HyTvO9aXai//eN +# yP5MLWZrmUGNOJMPwMI08V9zBfRPNcucreIYSyJHjkMIUGmuh0rPV5/2+UCLGrN1 +# P77n9fq/mdzXMN1FzqaPHdKElKneJQ8R6cP4dru2Gymmt1rrGcNe800CcD6d/Ndo +# ommkd196VqOtjZFA1XWu+GsFBeWHiez/PllqcM/eWntkQMs0lK0zmCfH+Bu7i1h+ +# FDRR8F7WzUr/7M3jhVdPpAfq2zYCA8ZVLNgEizY+vFmgx+zDuuU/GChDK7klDcCw +# +/gVoEuSOl5clQsydWQjJJX7Z2yV+1KC6G1JVqpP3dpKPAP/4udNqpR5HIeb8Ta1 +# JfjRUzSv3qSje5y9RYT/AjWNYQ7gsezuDWM/8cZ11kco1JvUyOQ8x/JDkMFqSRwj +# 1v+mc6LKKlj//dWCG/Hw9ppdlWJX6psDesQuQR7FV7eCqV/lfajoLpPNx/9zF1dv +# 8yXBdzmWJPeCie2XaQnrAKDqlG3zXux9tNQmz2L96TdxnIO2OGmYxBAAZAWoKbmt +# YI+Ciz4CYyO0Fm5Z3T40a5d7KJuftF6CToccc/Up/jpFfQitLfjd71cS+cLCeoQ+ +# q0n0IALvV+acbENouSOrjv/QtY4FIjHlI5zdJzJnGskVJ5ozhji0YRscv1WwJFAu +# yyCMQvLdmPddAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQU3/+fh7tNczEifEXlCQgF +# OXgMh6owHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBADP6whOFjD1ad8GkEJ9oLBuv +# fjndMyGQ9R4HgBKSlPt3pa0XVLcimrJlDnKGgFBiWwI6XOgw82hdolDiMDBLLWRM +# TJHWVeUY1gU4XB8OOIxBc9/Q83zb1c0RWEupgC48I+b+2x2VNgGJUsQIyPR2PiXQ +# hT5PyerMgag9OSodQjFwpNdGirna2rpV23EUwFeO5+3oSX4JeCNZvgyUOzKpyMvq +# Vaubo+Glf/psfW5tIcMjZVt0elswfq0qJNQgoYipbaTvv7xmixUJGTbixYifTwAi +# vPcKNdeisZmtts7OHbAM795ZvKLSEqXiRUjDYZyeHyAysMEALbIhdXgHEh60KoZy +# zlBXz3VxEirE7nhucNwM2tViOlwI7EkeU5hudctnXCG55JuMw/wb7c71RKimZA/K +# XlWpmBvkJkB0BZES8OCGDd+zY/T9BnTp8si36Tql84VfpYe9iHmy7PqqxqMF2Cn4 +# q2a0mEMnpBruDGE/gR9c8SVJ2ntkARy5SfluuJ/MB61yRvT1mUx3lyppO22ePjBj +# nwoEvVxbDjT1jhdMNdevOuDeJGzRLK9HNmTDC+TdZQlj+VMgIm8ZeEIRNF0oaviF +# +QZcUZLWzWbYq6yDok8EZKFiRR5otBoGLvaYFpxBZUE8mnLKuDlYobjrxh7lnwrx +# V/fMy0F9fSo2JxFmtLgtMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRC +# ODAtNjlDMzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUA942iGuYFrsE4wzWDd85EpM6RiwqggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJtH4w +# IhgPMjAyNDAyMjgyMTMyNDZaGA8yMDI0MDIyOTIxMzI0NlowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym0fgIBADAHAgEAAgII/jAHAgEAAgIRWzAKAgUA6YsF/gIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAJ6X7dDIGi9HtOCA2shzNFZ6YvoT +# Wvg61z5FKYPhplayQdORPpE+XeeXTwPqfv6/sx93z6zYNxiMgP+9fqXYnMxH965H +# 3HMYkoPxXPXklX+vnZ5Q+02VAKWS0NdI6kAFPBrJSLMZ752kT5HbPmUmHF0DaPyo +# Sj7xsnbEGsliDjFEMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQghO+U +# tPvGOcjj+kpGmQ5+a3k+bSiZIgwMrRlQi3kzb+cwgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCAVqdP//qjxGFhe2YboEXeb8I/pAof01CwhbxUH9U697TCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB5Y9qwPM9tAuj +# AAEAAAHlMCIEIJZiUB27oq8Piq7Is0oyatZIjipupHB/Q5BVrq0i72SaMA0GCSqG +# SIb3DQEBCwUABIICADuZZ9ylkx1lZcLFbJdh4d6AQR/vDpDNF55xeyEnfP+vsAgm +# PbzQ+aFWbkhXIxR8MtNF9PjIwcz+T6U63xKQjw3S8C2hN4aCvQFXuMX2+csrza1a +# SCkix+aZa/tzDS5ejIPWwudnR3cWaMCXMSfDzFbstgCdGVRTP80qdk5EEMF98qsX +# jw55cBS7lzMBrAh+A7L1Oub5+Btm9so+45jldaZs85aj42PtLM4WkU+HGN/wHpJj +# WisHxTR+2i+8pSLj4aX74jGOUPFKMLv3vksqiRbv6v2jK0WWHEYllDsFUVA8zeSp +# 8S8fweJcEtmaCiECzSNrWquh6Qq10e4k9LX7JGTCUw2kuawlsw+xxrwrHx0You1h +# M5ZspMhpvaYhjSxrXsJtWD23jvPqNHLzNNEo2ea9Fa47oKYak4z0yBcrBHA4c8DL +# Rf9QnIOUQY9HJPT/zyGnPbPIM95DeobLC548xoL/+k2W7uQ8TKqsh6oJpDbl1AsY +# GgCJQA/PEqVOh14cyEOrDht0RxP+iMVIqskh6O1Xwp9WU7+tHF09R7Y+X0fGuwWl +# yHRpv9pHIi/usU/zOQcK2Oss7vfEcsYhZ++cJlVz+Ffr+e1rVbTkDzmo6HueHGno +# yhPfMvPWeVlY1cYdILXG9vFPG+N9vR4LVRaJ5xPrrQ6OQYk1A3yD2gH7mJLg +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/models/_models.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/models/_models.py new file mode 100644 index 00000000000..93527d9f64c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/models/_models.py @@ -0,0 +1,5571 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + + +class ActiveDirectoryConnectorDNSDetails(msrest.serialization.Model): + """DNS server details. + + All required parameters must be populated in order to send to Azure. + + :ivar domain_name: DNS domain name for which DNS lookups should be forwarded to the Active + Directory DNS servers. + :vartype domain_name: str + :ivar nameserver_ip_addresses: Required. List of Active Directory DNS server IP addresses. + :vartype nameserver_ip_addresses: list[str] + :ivar replicas: Replica count for DNS proxy service. Default value is 1. + :vartype replicas: long + :ivar prefer_k8_s_dns_for_ptr_lookups: Flag indicating whether to prefer Kubernetes DNS server + response over AD DNS server response for IP address lookups. + :vartype prefer_k8_s_dns_for_ptr_lookups: bool + """ + + _validation = { + "nameserver_ip_addresses": {"required": True}, + } + + _attribute_map = { + "domain_name": {"key": "domainName", "type": "str"}, + "nameserver_ip_addresses": { + "key": "nameserverIPAddresses", + "type": "[str]", + }, + "replicas": {"key": "replicas", "type": "long"}, + "prefer_k8_s_dns_for_ptr_lookups": { + "key": "preferK8sDnsForPtrLookups", + "type": "bool", + }, + } + + def __init__(self, **kwargs): + """ + :keyword domain_name: DNS domain name for which DNS lookups should be forwarded to the Active + Directory DNS servers. + :paramtype domain_name: str + :keyword nameserver_ip_addresses: Required. List of Active Directory DNS server IP addresses. + :paramtype nameserver_ip_addresses: list[str] + :keyword replicas: Replica count for DNS proxy service. Default value is 1. + :paramtype replicas: long + :keyword prefer_k8_s_dns_for_ptr_lookups: Flag indicating whether to prefer Kubernetes DNS + server response over AD DNS server response for IP address lookups. + :paramtype prefer_k8_s_dns_for_ptr_lookups: bool + """ + super(ActiveDirectoryConnectorDNSDetails, self).__init__(**kwargs) + self.domain_name = kwargs.get("domain_name", None) + self.nameserver_ip_addresses = kwargs["nameserver_ip_addresses"] + self.replicas = kwargs.get("replicas", 1) + self.prefer_k8_s_dns_for_ptr_lookups = kwargs.get( + "prefer_k8_s_dns_for_ptr_lookups", True + ) + + +class ActiveDirectoryConnectorDomainDetails(msrest.serialization.Model): + """Active Directory domain details. + + All required parameters must be populated in order to send to Azure. + + :ivar realm: Required. Name (uppercase) of the Active Directory domain that this AD connector + will be associated with. + :vartype realm: str + :ivar netbios_domain_name: NETBIOS name of the Active Directory domain. + :vartype netbios_domain_name: str + :ivar service_account_provisioning: The service account provisioning mode for this Active + Directory connector. Possible values include: "automatic", "manual". Default value: "manual". + :vartype service_account_provisioning: str or + ~azure.mgmt.azurearcdata.models.AccountProvisioningMode + :ivar ou_distinguished_name: The distinguished name of the Active Directory Organizational + Unit. + :vartype ou_distinguished_name: str + :ivar domain_controllers: null. + :vartype domain_controllers: ~azure.mgmt.azurearcdata.models.ActiveDirectoryDomainControllers + """ + + _validation = { + "realm": {"required": True}, + } + + _attribute_map = { + "realm": {"key": "realm", "type": "str"}, + "netbios_domain_name": {"key": "netbiosDomainName", "type": "str"}, + "service_account_provisioning": { + "key": "serviceAccountProvisioning", + "type": "str", + }, + "ou_distinguished_name": {"key": "ouDistinguishedName", "type": "str"}, + "domain_controllers": { + "key": "domainControllers", + "type": "ActiveDirectoryDomainControllers", + }, + } + + def __init__(self, **kwargs): + """ + :keyword realm: Required. Name (uppercase) of the Active Directory domain that this AD + connector will be associated with. + :paramtype realm: str + :keyword netbios_domain_name: NETBIOS name of the Active Directory domain. + :paramtype netbios_domain_name: str + :keyword service_account_provisioning: The service account provisioning mode for this Active + Directory connector. Possible values include: "automatic", "manual". Default value: "manual". + :paramtype service_account_provisioning: str or + ~azure.mgmt.azurearcdata.models.AccountProvisioningMode + :keyword ou_distinguished_name: The distinguished name of the Active Directory Organizational + Unit. + :paramtype ou_distinguished_name: str + :keyword domain_controllers: null. + :paramtype domain_controllers: ~azure.mgmt.azurearcdata.models.ActiveDirectoryDomainControllers + """ + super(ActiveDirectoryConnectorDomainDetails, self).__init__(**kwargs) + self.realm = kwargs["realm"] + self.netbios_domain_name = kwargs.get("netbios_domain_name", None) + self.service_account_provisioning = kwargs.get( + "service_account_provisioning", "manual" + ) + self.ou_distinguished_name = kwargs.get("ou_distinguished_name", None) + self.domain_controllers = kwargs.get("domain_controllers", None) + + +class ActiveDirectoryConnectorListResult(msrest.serialization.Model): + """A list of active directory connectors. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[ActiveDirectoryConnectorResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(ActiveDirectoryConnectorListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ActiveDirectoryConnectorProperties(msrest.serialization.Model): + """The properties of an Active Directory connector resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar domain_service_account_login_information: Username and password for domain service + account authentication. + :vartype domain_service_account_login_information: + ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :ivar provisioning_state: The provisioning state of the Active Directory connector resource. + :vartype provisioning_state: str + :ivar spec: Required. null. + :vartype spec: ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorSpec + :ivar status: null. + :vartype status: ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorStatus + """ + + _validation = { + "provisioning_state": {"readonly": True}, + "spec": {"required": True}, + } + + _attribute_map = { + "domain_service_account_login_information": { + "key": "domainServiceAccountLoginInformation", + "type": "BasicLoginInformation", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "spec": {"key": "spec", "type": "ActiveDirectoryConnectorSpec"}, + "status": {"key": "status", "type": "ActiveDirectoryConnectorStatus"}, + } + + def __init__(self, **kwargs): + """ + :keyword domain_service_account_login_information: Username and password for domain service + account authentication. + :paramtype domain_service_account_login_information: + ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :keyword spec: Required. null. + :paramtype spec: ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorSpec + :keyword status: null. + :paramtype status: ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorStatus + """ + super(ActiveDirectoryConnectorProperties, self).__init__(**kwargs) + self.domain_service_account_login_information = kwargs.get( + "domain_service_account_login_information", None + ) + self.provisioning_state = None + self.spec = kwargs["spec"] + self.status = kwargs.get("status", None) + + +class Resource(msrest.serialization.Model): + """Common fields that are returned in the response for all Azure Resource Manager resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + } + + def __init__(self, **kwargs): + """ """ + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.system_data = None + + +class ActiveDirectoryConnectorResource(Resource): + """Active directory connector resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar properties: Required. null. + :vartype properties: ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "properties": { + "key": "properties", + "type": "ActiveDirectoryConnectorProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword properties: Required. null. + :paramtype properties: ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorProperties + """ + super(ActiveDirectoryConnectorResource, self).__init__(**kwargs) + self.properties = kwargs["properties"] + + +class ActiveDirectoryConnectorSpec(msrest.serialization.Model): + """The specifications of the AD Kubernetes resource. + + All required parameters must be populated in order to send to Azure. + + :ivar active_directory: Required. null. + :vartype active_directory: + ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorDomainDetails + :ivar dns: Required. null. + :vartype dns: ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorDNSDetails + """ + + _validation = { + "active_directory": {"required": True}, + "dns": {"required": True}, + } + + _attribute_map = { + "active_directory": { + "key": "activeDirectory", + "type": "ActiveDirectoryConnectorDomainDetails", + }, + "dns": {"key": "dns", "type": "ActiveDirectoryConnectorDNSDetails"}, + } + + def __init__(self, **kwargs): + """ + :keyword active_directory: Required. null. + :paramtype active_directory: + ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorDomainDetails + :keyword dns: Required. null. + :paramtype dns: ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorDNSDetails + """ + super(ActiveDirectoryConnectorSpec, self).__init__(**kwargs) + self.active_directory = kwargs["active_directory"] + self.dns = kwargs["dns"] + + +class ActiveDirectoryConnectorStatus(msrest.serialization.Model): + """The status of the Kubernetes custom resource. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar last_update_time: The time that the custom resource was last updated. + :vartype last_update_time: str + :ivar observed_generation: The version of the replicaSet associated with the AD connector + custom resource. + :vartype observed_generation: long + :ivar state: The state of the AD connector custom resource. + :vartype state: str + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "last_update_time": {"key": "lastUpdateTime", "type": "str"}, + "observed_generation": {"key": "observedGeneration", "type": "long"}, + "state": {"key": "state", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword last_update_time: The time that the custom resource was last updated. + :paramtype last_update_time: str + :keyword observed_generation: The version of the replicaSet associated with the AD connector + custom resource. + :paramtype observed_generation: long + :keyword state: The state of the AD connector custom resource. + :paramtype state: str + """ + super(ActiveDirectoryConnectorStatus, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.last_update_time = kwargs.get("last_update_time", None) + self.observed_generation = kwargs.get("observed_generation", None) + self.state = kwargs.get("state", None) + + +class ActiveDirectoryDomainController(msrest.serialization.Model): + """Information about a domain controller in the AD domain. + + All required parameters must be populated in order to send to Azure. + + :ivar hostname: Required. Fully-qualified domain name of a domain controller in the AD domain. + :vartype hostname: str + """ + + _validation = { + "hostname": {"required": True}, + } + + _attribute_map = { + "hostname": {"key": "hostname", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword hostname: Required. Fully-qualified domain name of a domain controller in the AD + domain. + :paramtype hostname: str + """ + super(ActiveDirectoryDomainController, self).__init__(**kwargs) + self.hostname = kwargs["hostname"] + + +class ActiveDirectoryDomainControllers(msrest.serialization.Model): + """Details about the Active Directory domain controllers associated with this AD connector instance. + + :ivar primary_domain_controller: Information about the Primary Domain Controller (PDC) in the + AD domain. + :vartype primary_domain_controller: + ~azure.mgmt.azurearcdata.models.ActiveDirectoryDomainController + :ivar secondary_domain_controllers: null. + :vartype secondary_domain_controllers: + list[~azure.mgmt.azurearcdata.models.ActiveDirectoryDomainController] + """ + + _attribute_map = { + "primary_domain_controller": { + "key": "primaryDomainController", + "type": "ActiveDirectoryDomainController", + }, + "secondary_domain_controllers": { + "key": "secondaryDomainControllers", + "type": "[ActiveDirectoryDomainController]", + }, + } + + def __init__(self, **kwargs): + """ + :keyword primary_domain_controller: Information about the Primary Domain Controller (PDC) in + the AD domain. + :paramtype primary_domain_controller: + ~azure.mgmt.azurearcdata.models.ActiveDirectoryDomainController + :keyword secondary_domain_controllers: null. + :paramtype secondary_domain_controllers: + list[~azure.mgmt.azurearcdata.models.ActiveDirectoryDomainController] + """ + super(ActiveDirectoryDomainControllers, self).__init__(**kwargs) + self.primary_domain_controller = kwargs.get( + "primary_domain_controller", None + ) + self.secondary_domain_controllers = kwargs.get( + "secondary_domain_controllers", None + ) + + +class ActiveDirectoryInformation(msrest.serialization.Model): + """Active Directory information that related to the resource. + + :ivar keytab_information: Keytab information that is used for the Sql Managed Instance when + Active Directory authentication is used. + :vartype keytab_information: ~azure.mgmt.azurearcdata.models.KeytabInformation + """ + + _attribute_map = { + "keytab_information": { + "key": "keytabInformation", + "type": "KeytabInformation", + }, + } + + def __init__(self, **kwargs): + """ + :keyword keytab_information: Keytab information that is used for the Sql Managed Instance when + Active Directory authentication is used. + :paramtype keytab_information: ~azure.mgmt.azurearcdata.models.KeytabInformation + """ + super(ActiveDirectoryInformation, self).__init__(**kwargs) + self.keytab_information = kwargs.get("keytab_information", None) + + +class ArcSqlServerAvailabilityGroupListResult(msrest.serialization.Model): + """A list of Arc Sql Server Availability Groups. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of Arc Sql Server Availability Groups. + :vartype value: list[~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": { + "key": "value", + "type": "[SqlServerAvailabilityGroupResource]", + }, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(ArcSqlServerAvailabilityGroupListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ArcSqlServerDatabaseListResult(msrest.serialization.Model): + """A list of Arc Sql Server database. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of Arc Sql Server database. + :vartype value: list[~azure.mgmt.azurearcdata.models.SqlServerDatabaseResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlServerDatabaseResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(ArcSqlServerDatabaseListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class AvailabilityGroupConfigure(msrest.serialization.Model): + """The specifications of the availability group replica configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar endpoint_name: Name of the mirroring endpoint URL. + :vartype endpoint_name: str + :ivar endpoint_url: Mirroring endpoint URL of availability group replica. + :vartype endpoint_url: str + :ivar endpoint_connect_login: The login which will connect to the mirroring endpoint. + :vartype endpoint_connect_login: str + :ivar availability_mode: Property that determines whether a given availability replica can run + in synchronous-commit mode. Possible values include: "SYNCHRONOUS_COMMIT", + "ASYNCHRONOUS_COMMIT". + :vartype availability_mode: str or ~azure.mgmt.azurearcdata.models.ArcSqlServerAvailabilityMode + :ivar availability_mode_description: The Availability Synchronization mode of the availability + group replica. + :vartype availability_mode_description: str + :ivar failover_mode: Property to set the failover mode of the availability group replica. + Possible values include: "AUTOMATIC", "MANUAL", "EXTERNAL". + :vartype failover_mode: str or ~azure.mgmt.azurearcdata.models.ArcSqlServerFailoverMode + :ivar failover_mode_description: The failover mode of the availability group replica. + :vartype failover_mode_description: str + :ivar session_timeout: The time-out period of availability group session replica, in seconds. + :vartype session_timeout: int + :ivar primary_allow_connections: Whether the primary replica should allow all connections or + only READ_WRITE connections (disallowing ReadOnly connections). Possible values include: "ALL", + "READ_WRITE". + :vartype primary_allow_connections: str or + ~azure.mgmt.azurearcdata.models.PrimaryAllowConnections + :ivar primary_role_allow_connections_description: Whether the availability allows all + connections or only read-write connections. + :vartype primary_role_allow_connections_description: str + :ivar secondary_allow_connections: Whether the secondary replica should allow all connections, + no connections, or only ReadOnly connections. Possible values include: "NO", "ALL", + "READ_ONLY". + :vartype secondary_allow_connections: str or + ~azure.mgmt.azurearcdata.models.SecondaryAllowConnections + :ivar secondary_role_allow_connections_description: Whether an availability replica that is + performing the secondary role (that is, a secondary replica) can accept connections from + clients. + :vartype secondary_role_allow_connections_description: str + :ivar replica_create_date: Date that the replica was created. + :vartype replica_create_date: ~datetime.datetime + :ivar replica_modify_date: Date that the replica was modified. + :vartype replica_modify_date: ~datetime.datetime + :ivar backup_priority: Represents the user-specified priority for performing backups on this + replica relative to the other replicas in the same availability group. + :vartype backup_priority: int + :ivar read_only_routing_url: Connectivity endpoint (URL) of the read only availability replica. + :vartype read_only_routing_url: str + :ivar read_write_routing_url: Connectivity endpoint (URL) of the read write availability + replica. + :vartype read_write_routing_url: str + :ivar seeding_mode: Specifies how the secondary replica will be initially seeded. AUTOMATIC + enables direct seeding. This method will seed the secondary replica over the network. This + method does not require you to backup and restore a copy of the primary database on the + replica. MANUAL specifies manual seeding (default). This method requires you to create a backup + of the database on the primary replica and manually restore that backup on the secondary + replica. Possible values include: "AUTOMATIC", "MANUAL". + :vartype seeding_mode: str or ~azure.mgmt.azurearcdata.models.SeedingMode + :ivar seeding_mode_description: Describes seeding mode. + :vartype seeding_mode_description: str + """ + + _validation = { + "availability_mode_description": {"readonly": True}, + "failover_mode_description": {"readonly": True}, + "primary_role_allow_connections_description": {"readonly": True}, + "secondary_role_allow_connections_description": {"readonly": True}, + "replica_create_date": {"readonly": True}, + "replica_modify_date": {"readonly": True}, + "seeding_mode_description": {"readonly": True}, + } + + _attribute_map = { + "endpoint_name": {"key": "endpointName", "type": "str"}, + "endpoint_url": {"key": "endpointUrl", "type": "str"}, + "endpoint_connect_login": { + "key": "endpointConnectLogin", + "type": "str", + }, + "availability_mode": {"key": "availabilityMode", "type": "str"}, + "availability_mode_description": { + "key": "availabilityModeDescription", + "type": "str", + }, + "failover_mode": {"key": "failoverMode", "type": "str"}, + "failover_mode_description": { + "key": "failoverModeDescription", + "type": "str", + }, + "session_timeout": {"key": "sessionTimeout", "type": "int"}, + "primary_allow_connections": { + "key": "primaryAllowConnections", + "type": "str", + }, + "primary_role_allow_connections_description": { + "key": "primaryRoleAllowConnectionsDescription", + "type": "str", + }, + "secondary_allow_connections": { + "key": "secondaryAllowConnections", + "type": "str", + }, + "secondary_role_allow_connections_description": { + "key": "secondaryRoleAllowConnectionsDescription", + "type": "str", + }, + "replica_create_date": {"key": "replicaCreateDate", "type": "iso-8601"}, + "replica_modify_date": {"key": "replicaModifyDate", "type": "iso-8601"}, + "backup_priority": {"key": "backupPriority", "type": "int"}, + "read_only_routing_url": {"key": "readOnlyRoutingUrl", "type": "str"}, + "read_write_routing_url": {"key": "readWriteRoutingUrl", "type": "str"}, + "seeding_mode": {"key": "seedingMode", "type": "str"}, + "seeding_mode_description": { + "key": "seedingModeDescription", + "type": "str", + }, + } + + def __init__(self, **kwargs): + """ + :keyword endpoint_name: Name of the mirroring endpoint URL. + :paramtype endpoint_name: str + :keyword endpoint_url: Mirroring endpoint URL of availability group replica. + :paramtype endpoint_url: str + :keyword endpoint_connect_login: The login which will connect to the mirroring endpoint. + :paramtype endpoint_connect_login: str + :keyword availability_mode: Property that determines whether a given availability replica can + run in synchronous-commit mode. Possible values include: "SYNCHRONOUS_COMMIT", + "ASYNCHRONOUS_COMMIT". + :paramtype availability_mode: str or + ~azure.mgmt.azurearcdata.models.ArcSqlServerAvailabilityMode + :keyword failover_mode: Property to set the failover mode of the availability group replica. + Possible values include: "AUTOMATIC", "MANUAL", "EXTERNAL". + :paramtype failover_mode: str or ~azure.mgmt.azurearcdata.models.ArcSqlServerFailoverMode + :keyword session_timeout: The time-out period of availability group session replica, in + seconds. + :paramtype session_timeout: int + :keyword primary_allow_connections: Whether the primary replica should allow all connections or + only READ_WRITE connections (disallowing ReadOnly connections). Possible values include: "ALL", + "READ_WRITE". + :paramtype primary_allow_connections: str or + ~azure.mgmt.azurearcdata.models.PrimaryAllowConnections + :keyword secondary_allow_connections: Whether the secondary replica should allow all + connections, no connections, or only ReadOnly connections. Possible values include: "NO", + "ALL", "READ_ONLY". + :paramtype secondary_allow_connections: str or + ~azure.mgmt.azurearcdata.models.SecondaryAllowConnections + :keyword backup_priority: Represents the user-specified priority for performing backups on this + replica relative to the other replicas in the same availability group. + :paramtype backup_priority: int + :keyword read_only_routing_url: Connectivity endpoint (URL) of the read only availability + replica. + :paramtype read_only_routing_url: str + :keyword read_write_routing_url: Connectivity endpoint (URL) of the read write availability + replica. + :paramtype read_write_routing_url: str + :keyword seeding_mode: Specifies how the secondary replica will be initially seeded. AUTOMATIC + enables direct seeding. This method will seed the secondary replica over the network. This + method does not require you to backup and restore a copy of the primary database on the + replica. MANUAL specifies manual seeding (default). This method requires you to create a backup + of the database on the primary replica and manually restore that backup on the secondary + replica. Possible values include: "AUTOMATIC", "MANUAL". + :paramtype seeding_mode: str or ~azure.mgmt.azurearcdata.models.SeedingMode + """ + super(AvailabilityGroupConfigure, self).__init__(**kwargs) + self.endpoint_name = kwargs.get("endpoint_name", None) + self.endpoint_url = kwargs.get("endpoint_url", None) + self.endpoint_connect_login = kwargs.get("endpoint_connect_login", None) + self.availability_mode = kwargs.get("availability_mode", None) + self.availability_mode_description = None + self.failover_mode = kwargs.get("failover_mode", None) + self.failover_mode_description = None + self.session_timeout = kwargs.get("session_timeout", None) + self.primary_allow_connections = kwargs.get( + "primary_allow_connections", None + ) + self.primary_role_allow_connections_description = None + self.secondary_allow_connections = kwargs.get( + "secondary_allow_connections", None + ) + self.secondary_role_allow_connections_description = None + self.replica_create_date = None + self.replica_modify_date = None + self.backup_priority = kwargs.get("backup_priority", None) + self.read_only_routing_url = kwargs.get("read_only_routing_url", None) + self.read_write_routing_url = kwargs.get("read_write_routing_url", None) + self.seeding_mode = kwargs.get("seeding_mode", None) + self.seeding_mode_description = None + + +class AvailabilityGroupCreateUpdateConfiguration(msrest.serialization.Model): + """Options used in creating an availability group. + + :ivar availability_group_name: Name of the availability group. + :vartype availability_group_name: str + :ivar replicas: List of availability group replicas. + :vartype replicas: + list[~azure.mgmt.azurearcdata.models.AvailabilityGroupCreateUpdateReplicaConfiguration] + :ivar databases: List of databases to include in the availability group. + :vartype databases: list[str] + :ivar automated_backup_preference: Preferred replica for running automated backups. Possible + values include: "PRIMARY", "SECONDARY_ONLY", "SECONDARY", "NONE". + :vartype automated_backup_preference: str or + ~azure.mgmt.azurearcdata.models.AutomatedBackupPreference + :ivar failure_condition_level: User-defined failure condition level under which an automatic + failover must be triggered. Possible values include: 1, 2, 3, 4, 5. + :vartype failure_condition_level: int or ~azure.mgmt.azurearcdata.models.FailureConditionLevel + :ivar health_check_timeout: Wait time (in milliseconds) for the sp_server_diagnostics system + stored procedure to return server-health information, before the server instance is assumed to + be slow or not responding. + :vartype health_check_timeout: int + :ivar db_failover: Specifies whether the availability group supports failover for database + health conditions. Possible values include: "ON", "OFF". + :vartype db_failover: str or ~azure.mgmt.azurearcdata.models.DbFailover + :ivar dtc_support: Specifies whether DTC support has been enabled for this availability group. + Possible values include: "PER_DB", "NONE". + :vartype dtc_support: str or ~azure.mgmt.azurearcdata.models.DtcSupport + :ivar required_synchronized_secondaries_to_commit: The number of secondary replicas that must + be in a synchronized state for a commit to complete. + :vartype required_synchronized_secondaries_to_commit: int + :ivar cluster_type: Set to WSFC when availability group is on a failover cluster instance on a + Windows Server failover cluster. Set to NONE when availability group not using WSFC for cluster + coordination. Possible values include: "WSFC", "NONE". + :vartype cluster_type: str or ~azure.mgmt.azurearcdata.models.ClusterType + :ivar listener: The listener for the sql server availability group. + :vartype listener: + ~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupStaticIPListenerProperties + """ + + _attribute_map = { + "availability_group_name": { + "key": "availabilityGroupName", + "type": "str", + }, + "replicas": { + "key": "replicas", + "type": "[AvailabilityGroupCreateUpdateReplicaConfiguration]", + }, + "databases": {"key": "databases", "type": "[str]"}, + "automated_backup_preference": { + "key": "automatedBackupPreference", + "type": "str", + }, + "failure_condition_level": { + "key": "failureConditionLevel", + "type": "int", + }, + "health_check_timeout": {"key": "healthCheckTimeout", "type": "int"}, + "db_failover": {"key": "dbFailover", "type": "str"}, + "dtc_support": {"key": "dtcSupport", "type": "str"}, + "required_synchronized_secondaries_to_commit": { + "key": "requiredSynchronizedSecondariesToCommit", + "type": "int", + }, + "cluster_type": {"key": "clusterType", "type": "str"}, + "listener": { + "key": "listener", + "type": "SqlAvailabilityGroupStaticIPListenerProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword availability_group_name: Name of the availability group. + :paramtype availability_group_name: str + :keyword replicas: List of availability group replicas. + :paramtype replicas: + list[~azure.mgmt.azurearcdata.models.AvailabilityGroupCreateUpdateReplicaConfiguration] + :keyword databases: List of databases to include in the availability group. + :paramtype databases: list[str] + :keyword automated_backup_preference: Preferred replica for running automated backups. Possible + values include: "PRIMARY", "SECONDARY_ONLY", "SECONDARY", "NONE". + :paramtype automated_backup_preference: str or + ~azure.mgmt.azurearcdata.models.AutomatedBackupPreference + :keyword failure_condition_level: User-defined failure condition level under which an automatic + failover must be triggered. Possible values include: 1, 2, 3, 4, 5. + :paramtype failure_condition_level: int or + ~azure.mgmt.azurearcdata.models.FailureConditionLevel + :keyword health_check_timeout: Wait time (in milliseconds) for the sp_server_diagnostics system + stored procedure to return server-health information, before the server instance is assumed to + be slow or not responding. + :paramtype health_check_timeout: int + :keyword db_failover: Specifies whether the availability group supports failover for database + health conditions. Possible values include: "ON", "OFF". + :paramtype db_failover: str or ~azure.mgmt.azurearcdata.models.DbFailover + :keyword dtc_support: Specifies whether DTC support has been enabled for this availability + group. Possible values include: "PER_DB", "NONE". + :paramtype dtc_support: str or ~azure.mgmt.azurearcdata.models.DtcSupport + :keyword required_synchronized_secondaries_to_commit: The number of secondary replicas that + must be in a synchronized state for a commit to complete. + :paramtype required_synchronized_secondaries_to_commit: int + :keyword cluster_type: Set to WSFC when availability group is on a failover cluster instance on + a Windows Server failover cluster. Set to NONE when availability group not using WSFC for + cluster coordination. Possible values include: "WSFC", "NONE". + :paramtype cluster_type: str or ~azure.mgmt.azurearcdata.models.ClusterType + :keyword listener: The listener for the sql server availability group. + :paramtype listener: + ~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupStaticIPListenerProperties + """ + super(AvailabilityGroupCreateUpdateConfiguration, self).__init__( + **kwargs + ) + self.availability_group_name = kwargs.get( + "availability_group_name", None + ) + self.replicas = kwargs.get("replicas", None) + self.databases = kwargs.get("databases", None) + self.automated_backup_preference = kwargs.get( + "automated_backup_preference", None + ) + self.failure_condition_level = kwargs.get( + "failure_condition_level", None + ) + self.health_check_timeout = kwargs.get("health_check_timeout", None) + self.db_failover = kwargs.get("db_failover", None) + self.dtc_support = kwargs.get("dtc_support", None) + self.required_synchronized_secondaries_to_commit = kwargs.get( + "required_synchronized_secondaries_to_commit", None + ) + self.cluster_type = kwargs.get("cluster_type", None) + self.listener = kwargs.get("listener", None) + + +class AvailabilityGroupCreateUpdateReplicaConfiguration( + msrest.serialization.Model +): + """The specifications of the availability group replica configuration. + + :ivar server_instance: the server instance hosting the replica. + :vartype server_instance: str + :ivar endpoint_name: Name of the database mirroring endpoint URL for the availability group + replica. + :vartype endpoint_name: str + :ivar endpoint_url: Database mirroring endpoint URL of availability group replica. + :vartype endpoint_url: str + :ivar endpoint_connect_login: The login which will connect to the mirroring endpoint. + :vartype endpoint_connect_login: str + :ivar availability_mode: Property that determines whether a given availability replica can run + in synchronous-commit mode. Possible values include: "SYNCHRONOUS_COMMIT", + "ASYNCHRONOUS_COMMIT". + :vartype availability_mode: str or ~azure.mgmt.azurearcdata.models.ArcSqlServerAvailabilityMode + :ivar failover_mode: Property to set the failover mode of the availability group replica. + Possible values include: "AUTOMATIC", "MANUAL", "EXTERNAL". + :vartype failover_mode: str or ~azure.mgmt.azurearcdata.models.ArcSqlServerFailoverMode + :ivar seeding_mode: Specifies how the secondary replica will be initially seeded. AUTOMATIC + enables direct seeding. This method will seed the secondary replica over the network. This + method does not require you to backup and restore a copy of the primary database on the + replica. MANUAL specifies manual seeding (default). This method requires you to create a backup + of the database on the primary replica and manually restore that backup on the secondary + replica. Possible values include: "AUTOMATIC", "MANUAL". + :vartype seeding_mode: str or ~azure.mgmt.azurearcdata.models.SeedingMode + :ivar backup_priority: Represents the user-specified priority for performing backups on this + replica relative to the other replicas in the same availability group. + :vartype backup_priority: int + :ivar secondary_role_allow_connections: Whether the secondary replica should allow all + connections, no connections, or only ReadOnly connections. Possible values include: "NO", + "ALL", "READ_ONLY". + :vartype secondary_role_allow_connections: str or + ~azure.mgmt.azurearcdata.models.SecondaryAllowConnections + :ivar secondary_role_read_only_routing_url: Connectivity endpoint (URL) of the read only + availability replica. + :vartype secondary_role_read_only_routing_url: str + :ivar primary_role_allow_connections: Whether the primary replica should allow all connections + or only READ_WRITE connections (disallowing ReadOnly connections). Possible values include: + "ALL", "READ_WRITE". + :vartype primary_role_allow_connections: str or + ~azure.mgmt.azurearcdata.models.PrimaryAllowConnections + :ivar primary_role_read_only_routing_list: List of read only routing URLs. + :vartype primary_role_read_only_routing_list: list[str] + :ivar primary_role_read_write_routing_url: Connectivity endpoint (URL) of the read write + availability replica. + :vartype primary_role_read_write_routing_url: str + :ivar session_timeout: The time-out period of availability group session replica, in seconds. + :vartype session_timeout: int + """ + + _attribute_map = { + "server_instance": {"key": "serverInstance", "type": "str"}, + "endpoint_name": {"key": "endpointName", "type": "str"}, + "endpoint_url": {"key": "endpointUrl", "type": "str"}, + "endpoint_connect_login": { + "key": "endpointConnectLogin", + "type": "str", + }, + "availability_mode": {"key": "availabilityMode", "type": "str"}, + "failover_mode": {"key": "failoverMode", "type": "str"}, + "seeding_mode": {"key": "seedingMode", "type": "str"}, + "backup_priority": {"key": "backupPriority", "type": "int"}, + "secondary_role_allow_connections": { + "key": "secondaryRoleAllowConnections", + "type": "str", + }, + "secondary_role_read_only_routing_url": { + "key": "secondaryRoleReadOnlyRoutingUrl", + "type": "str", + }, + "primary_role_allow_connections": { + "key": "primaryRoleAllowConnections", + "type": "str", + }, + "primary_role_read_only_routing_list": { + "key": "primaryRoleReadOnlyRoutingList", + "type": "[str]", + }, + "primary_role_read_write_routing_url": { + "key": "primaryRoleReadWriteRoutingUrl", + "type": "str", + }, + "session_timeout": {"key": "sessionTimeout", "type": "int"}, + } + + def __init__(self, **kwargs): + """ + :keyword server_instance: the server instance hosting the replica. + :paramtype server_instance: str + :keyword endpoint_name: Name of the database mirroring endpoint URL for the availability group + replica. + :paramtype endpoint_name: str + :keyword endpoint_url: Database mirroring endpoint URL of availability group replica. + :paramtype endpoint_url: str + :keyword endpoint_connect_login: The login which will connect to the mirroring endpoint. + :paramtype endpoint_connect_login: str + :keyword availability_mode: Property that determines whether a given availability replica can + run in synchronous-commit mode. Possible values include: "SYNCHRONOUS_COMMIT", + "ASYNCHRONOUS_COMMIT". + :paramtype availability_mode: str or + ~azure.mgmt.azurearcdata.models.ArcSqlServerAvailabilityMode + :keyword failover_mode: Property to set the failover mode of the availability group replica. + Possible values include: "AUTOMATIC", "MANUAL", "EXTERNAL". + :paramtype failover_mode: str or ~azure.mgmt.azurearcdata.models.ArcSqlServerFailoverMode + :keyword seeding_mode: Specifies how the secondary replica will be initially seeded. AUTOMATIC + enables direct seeding. This method will seed the secondary replica over the network. This + method does not require you to backup and restore a copy of the primary database on the + replica. MANUAL specifies manual seeding (default). This method requires you to create a backup + of the database on the primary replica and manually restore that backup on the secondary + replica. Possible values include: "AUTOMATIC", "MANUAL". + :paramtype seeding_mode: str or ~azure.mgmt.azurearcdata.models.SeedingMode + :keyword backup_priority: Represents the user-specified priority for performing backups on this + replica relative to the other replicas in the same availability group. + :paramtype backup_priority: int + :keyword secondary_role_allow_connections: Whether the secondary replica should allow all + connections, no connections, or only ReadOnly connections. Possible values include: "NO", + "ALL", "READ_ONLY". + :paramtype secondary_role_allow_connections: str or + ~azure.mgmt.azurearcdata.models.SecondaryAllowConnections + :keyword secondary_role_read_only_routing_url: Connectivity endpoint (URL) of the read only + availability replica. + :paramtype secondary_role_read_only_routing_url: str + :keyword primary_role_allow_connections: Whether the primary replica should allow all + connections or only READ_WRITE connections (disallowing ReadOnly connections). Possible values + include: "ALL", "READ_WRITE". + :paramtype primary_role_allow_connections: str or + ~azure.mgmt.azurearcdata.models.PrimaryAllowConnections + :keyword primary_role_read_only_routing_list: List of read only routing URLs. + :paramtype primary_role_read_only_routing_list: list[str] + :keyword primary_role_read_write_routing_url: Connectivity endpoint (URL) of the read write + availability replica. + :paramtype primary_role_read_write_routing_url: str + :keyword session_timeout: The time-out period of availability group session replica, in + seconds. + :paramtype session_timeout: int + """ + super(AvailabilityGroupCreateUpdateReplicaConfiguration, self).__init__( + **kwargs + ) + self.server_instance = kwargs.get("server_instance", None) + self.endpoint_name = kwargs.get("endpoint_name", None) + self.endpoint_url = kwargs.get("endpoint_url", None) + self.endpoint_connect_login = kwargs.get("endpoint_connect_login", None) + self.availability_mode = kwargs.get("availability_mode", None) + self.failover_mode = kwargs.get("failover_mode", None) + self.seeding_mode = kwargs.get("seeding_mode", None) + self.backup_priority = kwargs.get("backup_priority", None) + self.secondary_role_allow_connections = kwargs.get( + "secondary_role_allow_connections", None + ) + self.secondary_role_read_only_routing_url = kwargs.get( + "secondary_role_read_only_routing_url", None + ) + self.primary_role_allow_connections = kwargs.get( + "primary_role_allow_connections", None + ) + self.primary_role_read_only_routing_list = kwargs.get( + "primary_role_read_only_routing_list", None + ) + self.primary_role_read_write_routing_url = kwargs.get( + "primary_role_read_write_routing_url", None + ) + self.session_timeout = kwargs.get("session_timeout", None) + + +class AvailabilityGroupInfo(msrest.serialization.Model): + """The specifications of the availability group state. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar failure_condition_level: User-defined failure condition level under which an automatic + failover must be triggered. + :vartype failure_condition_level: int + :ivar health_check_timeout: Wait time (in milliseconds) for the sp_server_diagnostics system + stored procedure to return server-health information, before the server instance is assumed to + be slow or not responding. + :vartype health_check_timeout: int + :ivar automated_backup_preference_description: Preferred location for performing backups on the + availability databases in this availability group. + :vartype automated_backup_preference_description: str + :ivar version: SQL Server availability group current version. + :vartype version: int + :ivar basic_features: Specifies whether this is a basic availability group. + :vartype basic_features: bool + :ivar dtc_support: Specifies whether DTC support has been enabled for this availability group. + :vartype dtc_support: bool + :ivar db_failover: Specifies whether the availability group supports failover for database + health conditions. + :vartype db_failover: bool + :ivar is_distributed: Specifies whether this is a distributed availability group. + :vartype is_distributed: bool + :ivar cluster_type_description: SQL Server availability group cluster type description. + :vartype cluster_type_description: str + :ivar required_synchronized_secondaries_to_commit: The number of secondary replicas that must + be in a synchronized state for a commit to complete. + :vartype required_synchronized_secondaries_to_commit: int + :ivar is_contained: SQL Server availability group contained system databases. + :vartype is_contained: bool + :ivar primary_replica: Name of the server instance that is hosting the current primary replica. + :vartype primary_replica: str + :ivar primary_recovery_health_description: Indicates the recovery health of the primary + replica. + :vartype primary_recovery_health_description: str + :ivar secondary_recovery_health_description: Indicates the recovery health of a secondary + replica. + :vartype secondary_recovery_health_description: str + :ivar synchronization_health_description: Reflects a roll-up of the synchronization health of + all availability replicas in the availability group. + :vartype synchronization_health_description: str + :ivar replication_partner_type: Possible values include: "SQLServer", "AzureSQLVM", + "AzureSQLManagedInstance", "Unknown". + :vartype replication_partner_type: str or + ~azure.mgmt.azurearcdata.models.ReplicationPartnerType + :ivar listener: The listener for the sql server availability group. + :vartype listener: + ~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupStaticIPListenerProperties + """ + + _validation = { + "automated_backup_preference_description": {"readonly": True}, + "version": {"readonly": True}, + "cluster_type_description": {"readonly": True}, + "primary_replica": {"readonly": True}, + "primary_recovery_health_description": {"readonly": True}, + "secondary_recovery_health_description": {"readonly": True}, + "synchronization_health_description": {"readonly": True}, + "replication_partner_type": {"readonly": True}, + } + + _attribute_map = { + "failure_condition_level": { + "key": "failureConditionLevel", + "type": "int", + }, + "health_check_timeout": {"key": "healthCheckTimeout", "type": "int"}, + "automated_backup_preference_description": { + "key": "automatedBackupPreferenceDescription", + "type": "str", + }, + "version": {"key": "version", "type": "int"}, + "basic_features": {"key": "basicFeatures", "type": "bool"}, + "dtc_support": {"key": "dtcSupport", "type": "bool"}, + "db_failover": {"key": "dbFailover", "type": "bool"}, + "is_distributed": {"key": "isDistributed", "type": "bool"}, + "cluster_type_description": { + "key": "clusterTypeDescription", + "type": "str", + }, + "required_synchronized_secondaries_to_commit": { + "key": "requiredSynchronizedSecondariesToCommit", + "type": "int", + }, + "is_contained": {"key": "isContained", "type": "bool"}, + "primary_replica": {"key": "primaryReplica", "type": "str"}, + "primary_recovery_health_description": { + "key": "primaryRecoveryHealthDescription", + "type": "str", + }, + "secondary_recovery_health_description": { + "key": "secondaryRecoveryHealthDescription", + "type": "str", + }, + "synchronization_health_description": { + "key": "synchronizationHealthDescription", + "type": "str", + }, + "replication_partner_type": { + "key": "replicationPartnerType", + "type": "str", + }, + "listener": { + "key": "listener", + "type": "SqlAvailabilityGroupStaticIPListenerProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword failure_condition_level: User-defined failure condition level under which an automatic + failover must be triggered. + :paramtype failure_condition_level: int + :keyword health_check_timeout: Wait time (in milliseconds) for the sp_server_diagnostics system + stored procedure to return server-health information, before the server instance is assumed to + be slow or not responding. + :paramtype health_check_timeout: int + :keyword basic_features: Specifies whether this is a basic availability group. + :paramtype basic_features: bool + :keyword dtc_support: Specifies whether DTC support has been enabled for this availability + group. + :paramtype dtc_support: bool + :keyword db_failover: Specifies whether the availability group supports failover for database + health conditions. + :paramtype db_failover: bool + :keyword is_distributed: Specifies whether this is a distributed availability group. + :paramtype is_distributed: bool + :keyword required_synchronized_secondaries_to_commit: The number of secondary replicas that + must be in a synchronized state for a commit to complete. + :paramtype required_synchronized_secondaries_to_commit: int + :keyword is_contained: SQL Server availability group contained system databases. + :paramtype is_contained: bool + :keyword listener: The listener for the sql server availability group. + :paramtype listener: + ~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupStaticIPListenerProperties + """ + super(AvailabilityGroupInfo, self).__init__(**kwargs) + self.failure_condition_level = kwargs.get( + "failure_condition_level", None + ) + self.health_check_timeout = kwargs.get("health_check_timeout", None) + self.automated_backup_preference_description = None + self.version = None + self.basic_features = kwargs.get("basic_features", None) + self.dtc_support = kwargs.get("dtc_support", None) + self.db_failover = kwargs.get("db_failover", None) + self.is_distributed = kwargs.get("is_distributed", None) + self.cluster_type_description = None + self.required_synchronized_secondaries_to_commit = kwargs.get( + "required_synchronized_secondaries_to_commit", None + ) + self.is_contained = kwargs.get("is_contained", None) + self.primary_replica = None + self.primary_recovery_health_description = None + self.secondary_recovery_health_description = None + self.synchronization_health_description = None + self.replication_partner_type = None + self.listener = kwargs.get("listener", None) + + +class AvailabilityGroupState(msrest.serialization.Model): + """The specifications of the availability group state. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar availability_group_replica_role: Current Always On availability groups role of the + availability group replica. + :vartype availability_group_replica_role: str + :ivar operational_state_description: Current operational state of the availability group + replica. + :vartype operational_state_description: str + :ivar recovery_health_description: Recovery health of the availability group replica. + :vartype recovery_health_description: str + :ivar synchronization_health_description: Reflects a rollup of the database synchronization + state (synchronization_state) of all joined availability databases (also known as replicas) and + the availability mode of the replica (synchronous-commit or asynchronous-commit mode). The + rollup will reflect the least healthy accumulated state the databases on the replica. + :vartype synchronization_health_description: str + :ivar connected_state_description: Whether a secondary replica is currently connected to the + primary replica. + :vartype connected_state_description: str + :ivar last_connect_error_description: Text description of the last connection error of the + availability group replica. + :vartype last_connect_error_description: str + :ivar last_connect_error_timestamp: Date and time timestamp indicating when the last connect + error occurred. + :vartype last_connect_error_timestamp: ~datetime.datetime + """ + + _validation = { + "availability_group_replica_role": {"readonly": True}, + "operational_state_description": {"readonly": True}, + "recovery_health_description": {"readonly": True}, + "synchronization_health_description": {"readonly": True}, + "connected_state_description": {"readonly": True}, + "last_connect_error_description": {"readonly": True}, + "last_connect_error_timestamp": {"readonly": True}, + } + + _attribute_map = { + "availability_group_replica_role": { + "key": "availabilityGroupReplicaRole", + "type": "str", + }, + "operational_state_description": { + "key": "operationalStateDescription", + "type": "str", + }, + "recovery_health_description": { + "key": "recoveryHealthDescription", + "type": "str", + }, + "synchronization_health_description": { + "key": "synchronizationHealthDescription", + "type": "str", + }, + "connected_state_description": { + "key": "connectedStateDescription", + "type": "str", + }, + "last_connect_error_description": { + "key": "lastConnectErrorDescription", + "type": "str", + }, + "last_connect_error_timestamp": { + "key": "lastConnectErrorTimestamp", + "type": "iso-8601", + }, + } + + def __init__(self, **kwargs): + """ """ + super(AvailabilityGroupState, self).__init__(**kwargs) + self.availability_group_replica_role = None + self.operational_state_description = None + self.recovery_health_description = None + self.synchronization_health_description = None + self.connected_state_description = None + self.last_connect_error_description = None + self.last_connect_error_timestamp = None + + +class BackupPolicy(msrest.serialization.Model): + """The backup profile for the SQL server. + + :ivar retention_period_days: The retention period for all the databases in this managed + instance. + :vartype retention_period_days: int + :ivar full_backup_days: The value indicating days between full backups. + :vartype full_backup_days: int + :ivar differential_backup_hours: The differential backup interval in hours. Possible values + include: 12, 24. + :vartype differential_backup_hours: int or + ~azure.mgmt.azurearcdata.models.DifferentialBackupHours + :ivar transaction_log_backup_minutes: The value indicating minutes between transaction log + backups. + :vartype transaction_log_backup_minutes: int + """ + + _validation = { + "retention_period_days": {"maximum": 35, "minimum": 0}, + "full_backup_days": {"maximum": 7, "minimum": 0}, + "transaction_log_backup_minutes": {"maximum": 60, "minimum": 0}, + } + + _attribute_map = { + "retention_period_days": {"key": "retentionPeriodDays", "type": "int"}, + "full_backup_days": {"key": "fullBackupDays", "type": "int"}, + "differential_backup_hours": { + "key": "differentialBackupHours", + "type": "int", + }, + "transaction_log_backup_minutes": { + "key": "transactionLogBackupMinutes", + "type": "int", + }, + } + + def __init__(self, **kwargs): + """ + :keyword retention_period_days: The retention period for all the databases in this managed + instance. + :paramtype retention_period_days: int + :keyword full_backup_days: The value indicating days between full backups. + :paramtype full_backup_days: int + :keyword differential_backup_hours: The differential backup interval in hours. Possible values + include: 12, 24. + :paramtype differential_backup_hours: int or + ~azure.mgmt.azurearcdata.models.DifferentialBackupHours + :keyword transaction_log_backup_minutes: The value indicating minutes between transaction log + backups. + :paramtype transaction_log_backup_minutes: int + """ + super(BackupPolicy, self).__init__(**kwargs) + self.retention_period_days = kwargs.get("retention_period_days", None) + self.full_backup_days = kwargs.get("full_backup_days", None) + self.differential_backup_hours = kwargs.get( + "differential_backup_hours", None + ) + self.transaction_log_backup_minutes = kwargs.get( + "transaction_log_backup_minutes", None + ) + + +class BasicLoginInformation(msrest.serialization.Model): + """Username and password for basic login authentication. + + :ivar username: Login username. + :vartype username: str + :ivar password: Login password. + :vartype password: str + """ + + _attribute_map = { + "username": {"key": "username", "type": "str"}, + "password": {"key": "password", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword username: Login username. + :paramtype username: str + :keyword password: Login password. + :paramtype password: str + """ + super(BasicLoginInformation, self).__init__(**kwargs) + self.username = kwargs.get("username", None) + self.password = kwargs.get("password", None) + + +class CommonSku(msrest.serialization.Model): + """The resource model definition representing SKU for ARM resources. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the SKU. It is typically a letter+number code. + :vartype name: str + :ivar dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used + for dev/test purpose. + :vartype dev: bool + :ivar size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :vartype size: str + :ivar family: If the service has different generations of hardware, for the same SKU, then that + can be captured here. + :vartype family: str + :ivar capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :vartype capacity: int + """ + + _validation = { + "name": {"required": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + } + + def __init__(self, **kwargs): + """ + :keyword name: Required. The name of the SKU. It is typically a letter+number code. + :paramtype name: str + :keyword dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :paramtype dev: bool + :keyword size: The SKU size. When the name field is the combination of tier and some other + value, this would be the standalone code. + :paramtype size: str + :keyword family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :paramtype family: str + :keyword capacity: If the SKU supports scale out/in then the capacity integer should be + included. If scale out/in is not possible for the resource this may be omitted. + :paramtype capacity: int + """ + super(CommonSku, self).__init__(**kwargs) + self.name = kwargs["name"] + self.dev = kwargs.get("dev", True) + self.size = kwargs.get("size", None) + self.family = kwargs.get("family", None) + self.capacity = kwargs.get("capacity", None) + + +class DataControllerProperties(msrest.serialization.Model): + """The data controller properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar infrastructure: The infrastructure the data controller is running on. Possible values + include: "azure", "gcp", "aws", "alibaba", "onpremises", "other". Default value: "other". + :vartype infrastructure: str or ~azure.mgmt.azurearcdata.models.Infrastructure + :ivar on_premise_property: Properties from the Kubernetes data controller. + :vartype on_premise_property: ~azure.mgmt.azurearcdata.models.OnPremiseProperty + :ivar k8_s_raw: The raw kubernetes information. + :vartype k8_s_raw: any + :ivar upload_watermark: Properties on upload watermark. Mostly timestamp for each upload data + type. + :vartype upload_watermark: ~azure.mgmt.azurearcdata.models.UploadWatermark + :ivar last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :vartype last_uploaded_date: ~datetime.datetime + :ivar basic_login_information: Deprecated. Azure Arc Data Services data controller no longer + expose any endpoint. All traffic are exposed through Kubernetes native API. + :vartype basic_login_information: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :ivar metrics_dashboard_credential: Login credential for metrics dashboard on the Kubernetes + cluster. + :vartype metrics_dashboard_credential: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :ivar logs_dashboard_credential: Login credential for logs dashboard on the Kubernetes cluster. + :vartype logs_dashboard_credential: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :ivar log_analytics_workspace_config: Log analytics workspace id and primary key. + :vartype log_analytics_workspace_config: + ~azure.mgmt.azurearcdata.models.LogAnalyticsWorkspaceConfig + :ivar upload_service_principal: Deprecated. Service principal is deprecated in favor of Arc + Kubernetes service extension managed identity. + :vartype upload_service_principal: ~azure.mgmt.azurearcdata.models.UploadServicePrincipal + :ivar provisioning_state: The provisioning state of the Arc Data Controller resource. + :vartype provisioning_state: str + :ivar cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :vartype cluster_id: str + :ivar extension_id: If a CustomLocation is provided, this contains the ARM id of the extension + the custom location belongs to. + :vartype extension_id: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "infrastructure": {"key": "infrastructure", "type": "str"}, + "on_premise_property": { + "key": "onPremiseProperty", + "type": "OnPremiseProperty", + }, + "k8_s_raw": {"key": "k8sRaw", "type": "object"}, + "upload_watermark": { + "key": "uploadWatermark", + "type": "UploadWatermark", + }, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "metrics_dashboard_credential": { + "key": "metricsDashboardCredential", + "type": "BasicLoginInformation", + }, + "logs_dashboard_credential": { + "key": "logsDashboardCredential", + "type": "BasicLoginInformation", + }, + "log_analytics_workspace_config": { + "key": "logAnalyticsWorkspaceConfig", + "type": "LogAnalyticsWorkspaceConfig", + }, + "upload_service_principal": { + "key": "uploadServicePrincipal", + "type": "UploadServicePrincipal", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "cluster_id": {"key": "clusterId", "type": "str"}, + "extension_id": {"key": "extensionId", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword infrastructure: The infrastructure the data controller is running on. Possible values + include: "azure", "gcp", "aws", "alibaba", "onpremises", "other". Default value: "other". + :paramtype infrastructure: str or ~azure.mgmt.azurearcdata.models.Infrastructure + :keyword on_premise_property: Properties from the Kubernetes data controller. + :paramtype on_premise_property: ~azure.mgmt.azurearcdata.models.OnPremiseProperty + :keyword k8_s_raw: The raw kubernetes information. + :paramtype k8_s_raw: any + :keyword upload_watermark: Properties on upload watermark. Mostly timestamp for each upload + data type. + :paramtype upload_watermark: ~azure.mgmt.azurearcdata.models.UploadWatermark + :keyword last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current + date time. + :paramtype last_uploaded_date: ~datetime.datetime + :keyword basic_login_information: Deprecated. Azure Arc Data Services data controller no longer + expose any endpoint. All traffic are exposed through Kubernetes native API. + :paramtype basic_login_information: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :keyword metrics_dashboard_credential: Login credential for metrics dashboard on the Kubernetes + cluster. + :paramtype metrics_dashboard_credential: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :keyword logs_dashboard_credential: Login credential for logs dashboard on the Kubernetes + cluster. + :paramtype logs_dashboard_credential: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :keyword log_analytics_workspace_config: Log analytics workspace id and primary key. + :paramtype log_analytics_workspace_config: + ~azure.mgmt.azurearcdata.models.LogAnalyticsWorkspaceConfig + :keyword upload_service_principal: Deprecated. Service principal is deprecated in favor of Arc + Kubernetes service extension managed identity. + :paramtype upload_service_principal: ~azure.mgmt.azurearcdata.models.UploadServicePrincipal + :keyword cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :paramtype cluster_id: str + :keyword extension_id: If a CustomLocation is provided, this contains the ARM id of the + extension the custom location belongs to. + :paramtype extension_id: str + """ + super(DataControllerProperties, self).__init__(**kwargs) + self.infrastructure = kwargs.get("infrastructure", "other") + self.on_premise_property = kwargs.get("on_premise_property", None) + self.k8_s_raw = kwargs.get("k8_s_raw", None) + self.upload_watermark = kwargs.get("upload_watermark", None) + self.last_uploaded_date = kwargs.get("last_uploaded_date", None) + self.basic_login_information = kwargs.get( + "basic_login_information", None + ) + self.metrics_dashboard_credential = kwargs.get( + "metrics_dashboard_credential", None + ) + self.logs_dashboard_credential = kwargs.get( + "logs_dashboard_credential", None + ) + self.log_analytics_workspace_config = kwargs.get( + "log_analytics_workspace_config", None + ) + self.upload_service_principal = kwargs.get( + "upload_service_principal", None + ) + self.provisioning_state = None + self.cluster_id = kwargs.get("cluster_id", None) + self.extension_id = kwargs.get("extension_id", None) + + +class TrackedResource(Resource): + """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + """ + super(TrackedResource, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + self.location = kwargs["location"] + + +class DataControllerResource(TrackedResource): + """Data controller resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar extended_location: The extendedLocation of the resource. + :vartype extended_location: ~azure.mgmt.azurearcdata.models.ExtendedLocation + :ivar properties: Required. The data controller's properties. + :vartype properties: ~azure.mgmt.azurearcdata.models.DataControllerProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "properties": {"key": "properties", "type": "DataControllerProperties"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword extended_location: The extendedLocation of the resource. + :paramtype extended_location: ~azure.mgmt.azurearcdata.models.ExtendedLocation + :keyword properties: Required. The data controller's properties. + :paramtype properties: ~azure.mgmt.azurearcdata.models.DataControllerProperties + """ + super(DataControllerResource, self).__init__(**kwargs) + self.extended_location = kwargs.get("extended_location", None) + self.properties = kwargs["properties"] + + +class DataControllerUpdate(msrest.serialization.Model): + """Used for updating a data controller resource. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: The data controller's properties. + :vartype properties: ~azure.mgmt.azurearcdata.models.DataControllerProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": {"key": "properties", "type": "DataControllerProperties"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The data controller's properties. + :paramtype properties: ~azure.mgmt.azurearcdata.models.DataControllerProperties + """ + super(DataControllerUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + self.properties = kwargs.get("properties", None) + + +class ErrorAdditionalInfo(msrest.serialization.Model): + """The resource management error additional info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: The additional info type. + :vartype type: str + :ivar info: The additional info. + :vartype info: any + """ + + _validation = { + "type": {"readonly": True}, + "info": {"readonly": True}, + } + + _attribute_map = { + "type": {"key": "type", "type": "str"}, + "info": {"key": "info", "type": "object"}, + } + + def __init__(self, **kwargs): + """ """ + super(ErrorAdditionalInfo, self).__init__(**kwargs) + self.type = None + self.info = None + + +class ErrorDetail(msrest.serialization.Model): + """The error detail. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar code: The error code. + :vartype code: str + :ivar message: The error message. + :vartype message: str + :ivar target: The error target. + :vartype target: str + :ivar details: The error details. + :vartype details: list[~azure.mgmt.azurearcdata.models.ErrorDetail] + :ivar additional_info: The error additional info. + :vartype additional_info: list[~azure.mgmt.azurearcdata.models.ErrorAdditionalInfo] + """ + + _validation = { + "code": {"readonly": True}, + "message": {"readonly": True}, + "target": {"readonly": True}, + "details": {"readonly": True}, + "additional_info": {"readonly": True}, + } + + _attribute_map = { + "code": {"key": "code", "type": "str"}, + "message": {"key": "message", "type": "str"}, + "target": {"key": "target", "type": "str"}, + "details": {"key": "details", "type": "[ErrorDetail]"}, + "additional_info": { + "key": "additionalInfo", + "type": "[ErrorAdditionalInfo]", + }, + } + + def __init__(self, **kwargs): + """ """ + super(ErrorDetail, self).__init__(**kwargs) + self.code = None + self.message = None + self.target = None + self.details = None + self.additional_info = None + + +class ErrorResponse(msrest.serialization.Model): + """Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). + + :ivar error: The error object. + :vartype error: ~azure.mgmt.azurearcdata.models.ErrorDetail + """ + + _attribute_map = { + "error": {"key": "error", "type": "ErrorDetail"}, + } + + def __init__(self, **kwargs): + """ + :keyword error: The error object. + :paramtype error: ~azure.mgmt.azurearcdata.models.ErrorDetail + """ + super(ErrorResponse, self).__init__(**kwargs) + self.error = kwargs.get("error", None) + + +class ExtendedLocation(msrest.serialization.Model): + """The complex type of the extended location. + + :ivar name: The name of the extended location. + :vartype name: str + :ivar type: The type of the extended location. Possible values include: "CustomLocation". + :vartype type: str or ~azure.mgmt.azurearcdata.models.ExtendedLocationTypes + """ + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword name: The name of the extended location. + :paramtype name: str + :keyword type: The type of the extended location. Possible values include: "CustomLocation". + :paramtype type: str or ~azure.mgmt.azurearcdata.models.ExtendedLocationTypes + """ + super(ExtendedLocation, self).__init__(**kwargs) + self.name = kwargs.get("name", None) + self.type = kwargs.get("type", None) + + +class FailoverCluster(msrest.serialization.Model): + """Failover Cluster Instance properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The GUID of the SQL Server's underlying Failover Cluster. + :vartype id: str + :ivar network_name: The network name to connect to the SQL FCI. + :vartype network_name: str + :ivar sql_instance_ids: The ARM IDs of the Arc SQL Server resources, belonging to the current + server's Failover cluster. + :vartype sql_instance_ids: list[str] + :ivar host_names: The host names which are part of the SQL FCI resource group. + :vartype host_names: list[str] + """ + + _validation = { + "id": {"readonly": True}, + "network_name": {"readonly": True}, + "sql_instance_ids": {"readonly": True}, + "host_names": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "network_name": {"key": "networkName", "type": "str"}, + "sql_instance_ids": {"key": "sqlInstanceIds", "type": "[str]"}, + "host_names": {"key": "hostNames", "type": "[str]"}, + } + + def __init__(self, **kwargs): + """ """ + super(FailoverCluster, self).__init__(**kwargs) + self.id = None + self.network_name = None + self.sql_instance_ids = None + self.host_names = None + + +class FailoverGroupListResult(msrest.serialization.Model): + """A list of failover groups. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of failover group results. + :vartype value: list[~azure.mgmt.azurearcdata.models.FailoverGroupResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[FailoverGroupResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(FailoverGroupListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class FailoverGroupProperties(msrest.serialization.Model): + """The properties of a failover group resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar provisioning_state: The provisioning state of the failover group resource. Possible + values include: "Succeeded", "Failed", "Canceled", "Accepted". + :vartype provisioning_state: str or ~azure.mgmt.azurearcdata.models.ProvisioningState + :ivar partner_managed_instance_id: Required. The resource ID of the partner SQL managed + instance. + :vartype partner_managed_instance_id: str + :ivar spec: Required. The specifications of the failover group resource. + :vartype spec: ~azure.mgmt.azurearcdata.models.FailoverGroupSpec + :ivar status: The status of the failover group custom resource. + :vartype status: any + """ + + _validation = { + "provisioning_state": {"readonly": True}, + "partner_managed_instance_id": {"required": True}, + "spec": {"required": True}, + } + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "partner_managed_instance_id": { + "key": "partnerManagedInstanceId", + "type": "str", + }, + "spec": {"key": "spec", "type": "FailoverGroupSpec"}, + "status": {"key": "status", "type": "object"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword partner_managed_instance_id: Required. The resource ID of the partner SQL managed + instance. + :paramtype partner_managed_instance_id: str + :keyword spec: Required. The specifications of the failover group resource. + :paramtype spec: ~azure.mgmt.azurearcdata.models.FailoverGroupSpec + :keyword status: The status of the failover group custom resource. + :paramtype status: any + """ + super(FailoverGroupProperties, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.provisioning_state = None + self.partner_managed_instance_id = kwargs["partner_managed_instance_id"] + self.spec = kwargs["spec"] + self.status = kwargs.get("status", None) + + +class FailoverGroupResource(Resource): + """A failover group resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar properties: Required. null. + :vartype properties: ~azure.mgmt.azurearcdata.models.FailoverGroupProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "properties": {"key": "properties", "type": "FailoverGroupProperties"}, + } + + def __init__(self, **kwargs): + """ + :keyword properties: Required. null. + :paramtype properties: ~azure.mgmt.azurearcdata.models.FailoverGroupProperties + """ + super(FailoverGroupResource, self).__init__(**kwargs) + self.properties = kwargs["properties"] + + +class FailoverGroupSpec(msrest.serialization.Model): + """The specifications of the failover group resource. + + All required parameters must be populated in order to send to Azure. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar shared_name: The shared name of the failover group for this SQL managed instance. Both + SQL managed instance and its partner have to use the same shared name. + :vartype shared_name: str + :ivar source_mi: The name of the SQL managed instance with this failover group role. + :vartype source_mi: str + :ivar partner_mi: The name of the partner SQL managed instance. + :vartype partner_mi: str + :ivar partner_mirroring_url: The mirroring endpoint URL of the partner SQL managed instance. + :vartype partner_mirroring_url: str + :ivar partner_mirroring_cert: The mirroring endpoint public certificate for the partner SQL + managed instance. Only PEM format is supported. + :vartype partner_mirroring_cert: str + :ivar partner_sync_mode: The partner sync mode of the SQL managed instance. Possible values + include: "async", "sync". Default value: "async". + :vartype partner_sync_mode: str or ~azure.mgmt.azurearcdata.models.FailoverGroupPartnerSyncMode + :ivar role: Required. The role of the SQL managed instance in this failover group. Possible + values include: "primary", "secondary", "force-primary-allow-data-loss", "force-secondary". + Default value: "primary". + :vartype role: str or ~azure.mgmt.azurearcdata.models.InstanceFailoverGroupRole + """ + + _validation = { + "role": {"required": True}, + } + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "shared_name": {"key": "sharedName", "type": "str"}, + "source_mi": {"key": "sourceMI", "type": "str"}, + "partner_mi": {"key": "partnerMI", "type": "str"}, + "partner_mirroring_url": {"key": "partnerMirroringURL", "type": "str"}, + "partner_mirroring_cert": { + "key": "partnerMirroringCert", + "type": "str", + }, + "partner_sync_mode": {"key": "partnerSyncMode", "type": "str"}, + "role": {"key": "role", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword shared_name: The shared name of the failover group for this SQL managed instance. Both + SQL managed instance and its partner have to use the same shared name. + :paramtype shared_name: str + :keyword source_mi: The name of the SQL managed instance with this failover group role. + :paramtype source_mi: str + :keyword partner_mi: The name of the partner SQL managed instance. + :paramtype partner_mi: str + :keyword partner_mirroring_url: The mirroring endpoint URL of the partner SQL managed instance. + :paramtype partner_mirroring_url: str + :keyword partner_mirroring_cert: The mirroring endpoint public certificate for the partner SQL + managed instance. Only PEM format is supported. + :paramtype partner_mirroring_cert: str + :keyword partner_sync_mode: The partner sync mode of the SQL managed instance. Possible values + include: "async", "sync". Default value: "async". + :paramtype partner_sync_mode: str or + ~azure.mgmt.azurearcdata.models.FailoverGroupPartnerSyncMode + :keyword role: Required. The role of the SQL managed instance in this failover group. Possible + values include: "primary", "secondary", "force-primary-allow-data-loss", "force-secondary". + Default value: "primary". + :paramtype role: str or ~azure.mgmt.azurearcdata.models.InstanceFailoverGroupRole + """ + super(FailoverGroupSpec, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.shared_name = kwargs.get("shared_name", None) + self.source_mi = kwargs.get("source_mi", None) + self.partner_mi = kwargs.get("partner_mi", None) + self.partner_mirroring_url = kwargs.get("partner_mirroring_url", None) + self.partner_mirroring_cert = kwargs.get("partner_mirroring_cert", None) + self.partner_sync_mode = kwargs.get("partner_sync_mode", "async") + self.role = kwargs.get("role", "primary") + + +class K8SActiveDirectory(msrest.serialization.Model): + """The kubernetes active directory information. + + :ivar connector: + :vartype connector: ~azure.mgmt.azurearcdata.models.K8SActiveDirectoryConnector + :ivar account_name: Account name for AAD. + :vartype account_name: str + :ivar keytab_secret: Keytab secret used to authenticate with Active Directory. + :vartype keytab_secret: str + :ivar encryption_types: An array of encryption types. + :vartype encryption_types: list[str] + """ + + _attribute_map = { + "connector": { + "key": "connector", + "type": "K8SActiveDirectoryConnector", + }, + "account_name": {"key": "accountName", "type": "str"}, + "keytab_secret": {"key": "keytabSecret", "type": "str"}, + "encryption_types": {"key": "encryptionTypes", "type": "[str]"}, + } + + def __init__(self, **kwargs): + """ + :keyword connector: + :paramtype connector: ~azure.mgmt.azurearcdata.models.K8SActiveDirectoryConnector + :keyword account_name: Account name for AAD. + :paramtype account_name: str + :keyword keytab_secret: Keytab secret used to authenticate with Active Directory. + :paramtype keytab_secret: str + :keyword encryption_types: An array of encryption types. + :paramtype encryption_types: list[str] + """ + super(K8SActiveDirectory, self).__init__(**kwargs) + self.connector = kwargs.get("connector", None) + self.account_name = kwargs.get("account_name", None) + self.keytab_secret = kwargs.get("keytab_secret", None) + self.encryption_types = kwargs.get("encryption_types", None) + + +class K8SActiveDirectoryConnector(msrest.serialization.Model): + """K8SActiveDirectoryConnector. + + :ivar name: Name of the connector. + :vartype name: str + :ivar namespace: Name space of the connector. + :vartype namespace: str + """ + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "namespace": {"key": "namespace", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword name: Name of the connector. + :paramtype name: str + :keyword namespace: Name space of the connector. + :paramtype namespace: str + """ + super(K8SActiveDirectoryConnector, self).__init__(**kwargs) + self.name = kwargs.get("name", None) + self.namespace = kwargs.get("namespace", None) + + +class K8SNetworkSettings(msrest.serialization.Model): + """The kubernetes network settings information. + + :ivar forceencryption: If 1, then SQL Server forces all connections to be encrypted. By + default, this option is 0. + :vartype forceencryption: int + :ivar tlsciphers: Specifies which ciphers are allowed by SQL Server for TLS. + :vartype tlsciphers: str + :ivar tlsprotocols: A comma-separated list of which TLS protocols are allowed by SQL Server. + :vartype tlsprotocols: str + """ + + _attribute_map = { + "forceencryption": {"key": "forceencryption", "type": "int"}, + "tlsciphers": {"key": "tlsciphers", "type": "str"}, + "tlsprotocols": {"key": "tlsprotocols", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword forceencryption: If 1, then SQL Server forces all connections to be encrypted. By + default, this option is 0. + :paramtype forceencryption: int + :keyword tlsciphers: Specifies which ciphers are allowed by SQL Server for TLS. + :paramtype tlsciphers: str + :keyword tlsprotocols: A comma-separated list of which TLS protocols are allowed by SQL Server. + :paramtype tlsprotocols: str + """ + super(K8SNetworkSettings, self).__init__(**kwargs) + self.forceencryption = kwargs.get("forceencryption", None) + self.tlsciphers = kwargs.get("tlsciphers", None) + self.tlsprotocols = kwargs.get("tlsprotocols", None) + + +class K8SResourceRequirements(msrest.serialization.Model): + """The kubernetes resource limits and requests used to restrict or reserve resource usage. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar requests: Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' + request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default + 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and + maximum 'memory' is '128Gi'. + :vartype requests: dict[str, str] + :ivar limits: Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request + must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' + is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum + 'memory' is '128Gi'. + :vartype limits: dict[str, str] + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "requests": {"key": "requests", "type": "{str}"}, + "limits": {"key": "limits", "type": "{str}"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword requests: Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' + request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default + 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and + maximum 'memory' is '128Gi'. + :paramtype requests: dict[str, str] + :keyword limits: Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request + must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' + is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum + 'memory' is '128Gi'. + :paramtype limits: dict[str, str] + """ + super(K8SResourceRequirements, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.requests = kwargs.get("requests", None) + self.limits = kwargs.get("limits", None) + + +class K8SScheduling(msrest.serialization.Model): + """The kubernetes scheduling information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar default: The kubernetes scheduling options. It describes restrictions used to help + Kubernetes select appropriate nodes to host the database service. + :vartype default: ~azure.mgmt.azurearcdata.models.K8SSchedulingOptions + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "default": {"key": "default", "type": "K8SSchedulingOptions"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword default: The kubernetes scheduling options. It describes restrictions used to help + Kubernetes select appropriate nodes to host the database service. + :paramtype default: ~azure.mgmt.azurearcdata.models.K8SSchedulingOptions + """ + super(K8SScheduling, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.default = kwargs.get("default", None) + + +class K8SSchedulingOptions(msrest.serialization.Model): + """The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar resources: The kubernetes resource limits and requests used to restrict or reserve + resource usage. + :vartype resources: ~azure.mgmt.azurearcdata.models.K8SResourceRequirements + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "resources": {"key": "resources", "type": "K8SResourceRequirements"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword resources: The kubernetes resource limits and requests used to restrict or reserve + resource usage. + :paramtype resources: ~azure.mgmt.azurearcdata.models.K8SResourceRequirements + """ + super(K8SSchedulingOptions, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.resources = kwargs.get("resources", None) + + +class K8SSecurity(msrest.serialization.Model): + """The kubernetes security information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar admin_login_secret: Admin login secret key. + :vartype admin_login_secret: str + :ivar service_certificate_secret: Service certificate secret used. + :vartype service_certificate_secret: str + :ivar active_directory: The kubernetes active directory information. + :vartype active_directory: ~azure.mgmt.azurearcdata.models.K8SActiveDirectory + :ivar transparent_data_encryption: Transparent data encryption information. + :vartype transparent_data_encryption: + ~azure.mgmt.azurearcdata.models.K8StransparentDataEncryption + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "admin_login_secret": {"key": "adminLoginSecret", "type": "str"}, + "service_certificate_secret": { + "key": "serviceCertificateSecret", + "type": "str", + }, + "active_directory": { + "key": "activeDirectory", + "type": "K8SActiveDirectory", + }, + "transparent_data_encryption": { + "key": "transparentDataEncryption", + "type": "K8StransparentDataEncryption", + }, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword admin_login_secret: Admin login secret key. + :paramtype admin_login_secret: str + :keyword service_certificate_secret: Service certificate secret used. + :paramtype service_certificate_secret: str + :keyword active_directory: The kubernetes active directory information. + :paramtype active_directory: ~azure.mgmt.azurearcdata.models.K8SActiveDirectory + :keyword transparent_data_encryption: Transparent data encryption information. + :paramtype transparent_data_encryption: + ~azure.mgmt.azurearcdata.models.K8StransparentDataEncryption + """ + super(K8SSecurity, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.admin_login_secret = kwargs.get("admin_login_secret", None) + self.service_certificate_secret = kwargs.get( + "service_certificate_secret", None + ) + self.active_directory = kwargs.get("active_directory", None) + self.transparent_data_encryption = kwargs.get( + "transparent_data_encryption", None + ) + + +class K8SSettings(msrest.serialization.Model): + """The kubernetes settings information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar network: The kubernetes network settings information. + :vartype network: ~azure.mgmt.azurearcdata.models.K8SNetworkSettings + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "network": {"key": "network", "type": "K8SNetworkSettings"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword network: The kubernetes network settings information. + :paramtype network: ~azure.mgmt.azurearcdata.models.K8SNetworkSettings + """ + super(K8SSettings, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.network = kwargs.get("network", None) + + +class K8StransparentDataEncryption(msrest.serialization.Model): + """Transparent data encryption information. + + :ivar mode: Transparent data encryption mode. Can be Service Managed, Customer managed or + disabled. + :vartype mode: str + :ivar protector_secret: Protector secret for customer managed Transparent data encryption mode. + :vartype protector_secret: str + """ + + _attribute_map = { + "mode": {"key": "mode", "type": "str"}, + "protector_secret": {"key": "protectorSecret", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword mode: Transparent data encryption mode. Can be Service Managed, Customer managed or + disabled. + :paramtype mode: str + :keyword protector_secret: Protector secret for customer managed Transparent data encryption + mode. + :paramtype protector_secret: str + """ + super(K8StransparentDataEncryption, self).__init__(**kwargs) + self.mode = kwargs.get("mode", None) + self.protector_secret = kwargs.get("protector_secret", None) + + +class KeytabInformation(msrest.serialization.Model): + """Keytab used for authenticate with Active Directory. + + :ivar keytab: A base64-encoded keytab. + :vartype keytab: str + """ + + _attribute_map = { + "keytab": {"key": "keytab", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword keytab: A base64-encoded keytab. + :paramtype keytab: str + """ + super(KeytabInformation, self).__init__(**kwargs) + self.keytab = kwargs.get("keytab", None) + + +class LogAnalyticsWorkspaceConfig(msrest.serialization.Model): + """Log analytics workspace id and primary key. + + :ivar workspace_id: Azure Log Analytics workspace ID. + :vartype workspace_id: str + :ivar primary_key: Primary key of the workspace. + :vartype primary_key: str + """ + + _attribute_map = { + "workspace_id": {"key": "workspaceId", "type": "str"}, + "primary_key": {"key": "primaryKey", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword workspace_id: Azure Log Analytics workspace ID. + :paramtype workspace_id: str + :keyword primary_key: Primary key of the workspace. + :paramtype primary_key: str + """ + super(LogAnalyticsWorkspaceConfig, self).__init__(**kwargs) + self.workspace_id = kwargs.get("workspace_id", None) + self.primary_key = kwargs.get("primary_key", None) + + +class Migration(msrest.serialization.Model): + """Migration related configuration. + + :ivar assessment: Migration assessments related configuration. + :vartype assessment: ~azure.mgmt.azurearcdata.models.MigrationAssessment + """ + + _attribute_map = { + "assessment": {"key": "assessment", "type": "MigrationAssessment"}, + } + + def __init__(self, **kwargs): + """ + :keyword assessment: Migration assessments related configuration. + :paramtype assessment: ~azure.mgmt.azurearcdata.models.MigrationAssessment + """ + super(Migration, self).__init__(**kwargs) + self.assessment = kwargs.get("assessment", None) + + +class MigrationAssessment(msrest.serialization.Model): + """The migration assessment related configuration. + + :ivar enabled: Indicates if migration assessment is enabled for this SQL Server instance. + :vartype enabled: bool + """ + + _attribute_map = { + "enabled": {"key": "enabled", "type": "bool"}, + } + + def __init__(self, **kwargs): + """ + :keyword enabled: Indicates if migration assessment is enabled for this SQL Server instance. + :paramtype enabled: bool + """ + super(MigrationAssessment, self).__init__(**kwargs) + self.enabled = kwargs.get("enabled", None) + + +class Monitoring(msrest.serialization.Model): + """The monitoring configuration. + + :ivar enabled: Indicates if monitoring is enabled for this SQL Server instance. + :vartype enabled: bool + """ + + _attribute_map = { + "enabled": {"key": "enabled", "type": "bool"}, + } + + def __init__(self, **kwargs): + """ + :keyword enabled: Indicates if monitoring is enabled for this SQL Server instance. + :paramtype enabled: bool + """ + super(Monitoring, self).__init__(**kwargs) + self.enabled = kwargs.get("enabled", None) + + +class OnPremiseProperty(msrest.serialization.Model): + """Properties from the Kubernetes data controller. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Required. A globally unique ID identifying the associated Kubernetes cluster. + :vartype id: str + :ivar public_signing_key: Required. Certificate that contains the Kubernetes cluster public key + used to verify signing. + :vartype public_signing_key: str + :ivar signing_certificate_thumbprint: Unique thumbprint returned to customer to verify the + certificate being uploaded. + :vartype signing_certificate_thumbprint: str + """ + + _validation = { + "id": {"required": True}, + "public_signing_key": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "public_signing_key": {"key": "publicSigningKey", "type": "str"}, + "signing_certificate_thumbprint": { + "key": "signingCertificateThumbprint", + "type": "str", + }, + } + + def __init__(self, **kwargs): + """ + :keyword id: Required. A globally unique ID identifying the associated Kubernetes cluster. + :paramtype id: str + :keyword public_signing_key: Required. Certificate that contains the Kubernetes cluster public + key used to verify signing. + :paramtype public_signing_key: str + :keyword signing_certificate_thumbprint: Unique thumbprint returned to customer to verify the + certificate being uploaded. + :paramtype signing_certificate_thumbprint: str + """ + super(OnPremiseProperty, self).__init__(**kwargs) + self.id = kwargs["id"] + self.public_signing_key = kwargs["public_signing_key"] + self.signing_certificate_thumbprint = kwargs.get( + "signing_certificate_thumbprint", None + ) + + +class Operation(msrest.serialization.Model): + """Azure Data Services on Azure Arc operation definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the operation being performed on this particular object. + :vartype name: str + :ivar display: Required. The localized display information for this particular operation / + action. + :vartype display: ~azure.mgmt.azurearcdata.models.OperationDisplay + :ivar origin: The intended executor of the operation. Possible values include: "user", + "system". + :vartype origin: str or ~azure.mgmt.azurearcdata.models.OperationOrigin + :ivar is_data_action: Required. Indicates whether the operation is a data action. + :vartype is_data_action: bool + :ivar properties: Additional descriptions for the operation. + :vartype properties: dict[str, any] + """ + + _validation = { + "name": {"required": True}, + "display": {"required": True}, + "origin": {"readonly": True}, + "is_data_action": {"required": True}, + "properties": {"readonly": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "display": {"key": "display", "type": "OperationDisplay"}, + "origin": {"key": "origin", "type": "str"}, + "is_data_action": {"key": "isDataAction", "type": "bool"}, + "properties": {"key": "properties", "type": "{object}"}, + } + + def __init__(self, **kwargs): + """ + :keyword name: Required. The name of the operation being performed on this particular object. + :paramtype name: str + :keyword display: Required. The localized display information for this particular operation / + action. + :paramtype display: ~azure.mgmt.azurearcdata.models.OperationDisplay + :keyword is_data_action: Required. Indicates whether the operation is a data action. + :paramtype is_data_action: bool + """ + super(Operation, self).__init__(**kwargs) + self.name = kwargs["name"] + self.display = kwargs["display"] + self.origin = None + self.is_data_action = kwargs["is_data_action"] + self.properties = None + + +class OperationDisplay(msrest.serialization.Model): + """Display metadata associated with the operation. + + All required parameters must be populated in order to send to Azure. + + :ivar provider: Required. The localized friendly form of the resource provider name. + :vartype provider: str + :ivar resource: Required. The localized friendly form of the resource type related to this + action/operation. + :vartype resource: str + :ivar operation: Required. The localized friendly name for the operation. + :vartype operation: str + :ivar description: Required. The localized friendly description for the operation. + :vartype description: str + """ + + _validation = { + "provider": {"required": True}, + "resource": {"required": True}, + "operation": {"required": True}, + "description": {"required": True}, + } + + _attribute_map = { + "provider": {"key": "provider", "type": "str"}, + "resource": {"key": "resource", "type": "str"}, + "operation": {"key": "operation", "type": "str"}, + "description": {"key": "description", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword provider: Required. The localized friendly form of the resource provider name. + :paramtype provider: str + :keyword resource: Required. The localized friendly form of the resource type related to this + action/operation. + :paramtype resource: str + :keyword operation: Required. The localized friendly name for the operation. + :paramtype operation: str + :keyword description: Required. The localized friendly description for the operation. + :paramtype description: str + """ + super(OperationDisplay, self).__init__(**kwargs) + self.provider = kwargs["provider"] + self.resource = kwargs["resource"] + self.operation = kwargs["operation"] + self.description = kwargs["description"] + + +class OperationListResult(msrest.serialization.Model): + """Result of the request to list Azure Data Services on Azure Arc operations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure.mgmt.azurearcdata.models.Operation] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[Operation]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(OperationListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class PageOfDataControllerResource(msrest.serialization.Model): + """A list of data controllers. + + :ivar value: Array of results. + :vartype value: list[~azure.mgmt.azurearcdata.models.DataControllerResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _attribute_map = { + "value": {"key": "value", "type": "[DataControllerResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword value: Array of results. + :paramtype value: list[~azure.mgmt.azurearcdata.models.DataControllerResource] + :keyword next_link: Link to retrieve next page of results. + :paramtype next_link: str + """ + super(PageOfDataControllerResource, self).__init__(**kwargs) + self.value = kwargs.get("value", None) + self.next_link = kwargs.get("next_link", None) + + +class PostgresInstance(TrackedResource): + """A Postgres Instance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar extended_location: The extendedLocation of the resource. + :vartype extended_location: ~azure.mgmt.azurearcdata.models.ExtendedLocation + :ivar properties: Required. null. + :vartype properties: ~azure.mgmt.azurearcdata.models.PostgresInstanceProperties + :ivar sku: Resource sku. + :vartype sku: ~azure.mgmt.azurearcdata.models.PostgresInstanceSku + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "properties": { + "key": "properties", + "type": "PostgresInstanceProperties", + }, + "sku": {"key": "sku", "type": "PostgresInstanceSku"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword extended_location: The extendedLocation of the resource. + :paramtype extended_location: ~azure.mgmt.azurearcdata.models.ExtendedLocation + :keyword properties: Required. null. + :paramtype properties: ~azure.mgmt.azurearcdata.models.PostgresInstanceProperties + :keyword sku: Resource sku. + :paramtype sku: ~azure.mgmt.azurearcdata.models.PostgresInstanceSku + """ + super(PostgresInstance, self).__init__(**kwargs) + self.extended_location = kwargs.get("extended_location", None) + self.properties = kwargs["properties"] + self.sku = kwargs.get("sku", None) + + +class PostgresInstanceListResult(msrest.serialization.Model): + """A list of PostgresInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure.mgmt.azurearcdata.models.PostgresInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[PostgresInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(PostgresInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class PostgresInstanceProperties(msrest.serialization.Model): + """Postgres Instance properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar data_controller_id: The data controller id. + :vartype data_controller_id: str + :ivar admin: The instance admin. + :vartype admin: str + :ivar basic_login_information: Username and password for basic authentication. + :vartype basic_login_information: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :ivar k8_s_raw: The raw kubernetes information. + :vartype k8_s_raw: any + :ivar last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :vartype last_uploaded_date: ~datetime.datetime + :ivar provisioning_state: The provisioning state of the Azure Arc-enabled PostgreSQL instance. + :vartype provisioning_state: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "data_controller_id": {"key": "dataControllerId", "type": "str"}, + "admin": {"key": "admin", "type": "str"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "k8_s_raw": {"key": "k8sRaw", "type": "object"}, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword data_controller_id: The data controller id. + :paramtype data_controller_id: str + :keyword admin: The instance admin. + :paramtype admin: str + :keyword basic_login_information: Username and password for basic authentication. + :paramtype basic_login_information: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :keyword k8_s_raw: The raw kubernetes information. + :paramtype k8_s_raw: any + :keyword last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current + date time. + :paramtype last_uploaded_date: ~datetime.datetime + """ + super(PostgresInstanceProperties, self).__init__(**kwargs) + self.data_controller_id = kwargs.get("data_controller_id", None) + self.admin = kwargs.get("admin", None) + self.basic_login_information = kwargs.get( + "basic_login_information", None + ) + self.k8_s_raw = kwargs.get("k8_s_raw", None) + self.last_uploaded_date = kwargs.get("last_uploaded_date", None) + self.provisioning_state = None + + +class PostgresInstanceSku(CommonSku): + """The resource model definition representing SKU for Azure Database for PostgresSQL - Azure Arc. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the SKU. It is typically a letter+number code. + :vartype name: str + :ivar dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used + for dev/test purpose. + :vartype dev: bool + :ivar size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :vartype size: str + :ivar family: If the service has different generations of hardware, for the same SKU, then that + can be captured here. + :vartype family: str + :ivar capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :vartype capacity: int + :ivar tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier. The only acceptable values to pass in are None and "Hyperscale". The + default value is "Hyperscale". + :vartype tier: str + """ + + _validation = { + "name": {"required": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + "tier": {"key": "tier", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword name: Required. The name of the SKU. It is typically a letter+number code. + :paramtype name: str + :keyword dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :paramtype dev: bool + :keyword size: The SKU size. When the name field is the combination of tier and some other + value, this would be the standalone code. + :paramtype size: str + :keyword family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :paramtype family: str + :keyword capacity: If the SKU supports scale out/in then the capacity integer should be + included. If scale out/in is not possible for the resource this may be omitted. + :paramtype capacity: int + :keyword tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier. The only acceptable values to pass in are None and "Hyperscale". The + default value is "Hyperscale". + :paramtype tier: str + """ + super(PostgresInstanceSku, self).__init__(**kwargs) + self.tier = kwargs.get("tier", "Hyperscale") + + +class PostgresInstanceUpdate(msrest.serialization.Model): + """An update to a Postgres Instance. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: Postgres Instance properties. + :vartype properties: ~azure.mgmt.azurearcdata.models.PostgresInstanceProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": { + "key": "properties", + "type": "PostgresInstanceProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: Postgres Instance properties. + :paramtype properties: ~azure.mgmt.azurearcdata.models.PostgresInstanceProperties + """ + super(PostgresInstanceUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + self.properties = kwargs.get("properties", None) + + +class ProxyResource(Resource): + """The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + } + + def __init__(self, **kwargs): + """ """ + super(ProxyResource, self).__init__(**kwargs) + + +class SqlAvailabilityGroupDatabaseReplicaResourceProperties( + msrest.serialization.Model +): + """The properties of Arc Sql availability group database replica resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar database_name: the database name. + :vartype database_name: str + :ivar replica_name: the database replica name. + :vartype replica_name: str + :ivar is_local: Whether the availability database is local. + :vartype is_local: bool + :ivar is_primary_replica: Returns 1 if the replica is primary, or 0 if it is a secondary + replica. + :vartype is_primary_replica: bool + :ivar synchronization_state_description: Description of the data-movement state. + :vartype synchronization_state_description: str + :ivar is_commit_participant: Whether this replica is transaction committer. + :vartype is_commit_participant: bool + :ivar synchronization_health_description: Description of the health of database. + :vartype synchronization_health_description: str + :ivar database_state_description: Description of the database state of the availability + replica. + :vartype database_state_description: str + :ivar is_suspended: Whether this data movement is suspended. + :vartype is_suspended: bool + :ivar suspend_reason_description: Description of the database suspended state reason. + :vartype suspend_reason_description: str + """ + + _validation = { + "replica_name": {"readonly": True}, + "is_local": {"readonly": True}, + "is_primary_replica": {"readonly": True}, + "synchronization_state_description": {"readonly": True}, + "is_commit_participant": {"readonly": True}, + "synchronization_health_description": {"readonly": True}, + "database_state_description": {"readonly": True}, + "is_suspended": {"readonly": True}, + "suspend_reason_description": {"readonly": True}, + } + + _attribute_map = { + "database_name": {"key": "databaseName", "type": "str"}, + "replica_name": {"key": "replicaName", "type": "str"}, + "is_local": {"key": "isLocal", "type": "bool"}, + "is_primary_replica": {"key": "isPrimaryReplica", "type": "bool"}, + "synchronization_state_description": { + "key": "synchronizationStateDescription", + "type": "str", + }, + "is_commit_participant": {"key": "isCommitParticipant", "type": "bool"}, + "synchronization_health_description": { + "key": "synchronizationHealthDescription", + "type": "str", + }, + "database_state_description": { + "key": "databaseStateDescription", + "type": "str", + }, + "is_suspended": {"key": "isSuspended", "type": "bool"}, + "suspend_reason_description": { + "key": "suspendReasonDescription", + "type": "str", + }, + } + + def __init__(self, **kwargs): + """ + :keyword database_name: the database name. + :paramtype database_name: str + """ + super( + SqlAvailabilityGroupDatabaseReplicaResourceProperties, self + ).__init__(**kwargs) + self.database_name = kwargs.get("database_name", None) + self.replica_name = None + self.is_local = None + self.is_primary_replica = None + self.synchronization_state_description = None + self.is_commit_participant = None + self.synchronization_health_description = None + self.database_state_description = None + self.is_suspended = None + self.suspend_reason_description = None + + +class SqlAvailabilityGroupDhcpListenerProperties(msrest.serialization.Model): + """The properties of a DHCP Arc Sql availability group listener. + + :ivar dns_name: the DNS name for the listener. + :vartype dns_name: str + :ivar subnet: The IPV4 subnet for the listener. + :vartype subnet: str + :ivar mask: The netmask for the listener. + :vartype mask: str + :ivar port: Network port for the listener. Default is 1433. + :vartype port: int + """ + + _attribute_map = { + "dns_name": {"key": "dnsName", "type": "str"}, + "subnet": {"key": "subnet", "type": "str"}, + "mask": {"key": "mask", "type": "str"}, + "port": {"key": "port", "type": "int"}, + } + + def __init__(self, **kwargs): + """ + :keyword dns_name: the DNS name for the listener. + :paramtype dns_name: str + :keyword subnet: The IPV4 subnet for the listener. + :paramtype subnet: str + :keyword mask: The netmask for the listener. + :paramtype mask: str + :keyword port: Network port for the listener. Default is 1433. + :paramtype port: int + """ + super(SqlAvailabilityGroupDhcpListenerProperties, self).__init__( + **kwargs + ) + self.dns_name = kwargs.get("dns_name", None) + self.subnet = kwargs.get("subnet", None) + self.mask = kwargs.get("mask", None) + self.port = kwargs.get("port", None) + + +class SqlAvailabilityGroupIpV4AddressesAndMasksPropertiesItem( + msrest.serialization.Model +): + """SqlAvailabilityGroupIpV4AddressesAndMasksPropertiesItem. + + :ivar ip_address: IPV4 address. + :vartype ip_address: str + :ivar mask: IPV4 netmask. + :vartype mask: str + """ + + _attribute_map = { + "ip_address": {"key": "ipAddress", "type": "str"}, + "mask": {"key": "mask", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword ip_address: IPV4 address. + :paramtype ip_address: str + :keyword mask: IPV4 netmask. + :paramtype mask: str + """ + super( + SqlAvailabilityGroupIpV4AddressesAndMasksPropertiesItem, self + ).__init__(**kwargs) + self.ip_address = kwargs.get("ip_address", None) + self.mask = kwargs.get("mask", None) + + +class SqlAvailabilityGroupReplicaResourceProperties(msrest.serialization.Model): + """The properties of Arc Sql availability group replica resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar replica_id: ID GUID of the availability group. + :vartype replica_id: str + :ivar replica_name: the replica name. + :vartype replica_name: str + :ivar configure: null. + :vartype configure: ~azure.mgmt.azurearcdata.models.AvailabilityGroupConfigure + :ivar state: null. + :vartype state: ~azure.mgmt.azurearcdata.models.AvailabilityGroupState + """ + + _validation = { + "replica_id": { + "readonly": True, + "pattern": r"^[A-Za-z0-9]{8}-([A-Za-z0-9]{4}-){3}[A-Za-z0-9]{12}$", + }, + } + + _attribute_map = { + "replica_id": {"key": "replicaId", "type": "str"}, + "replica_name": {"key": "replicaName", "type": "str"}, + "configure": {"key": "configure", "type": "AvailabilityGroupConfigure"}, + "state": {"key": "state", "type": "AvailabilityGroupState"}, + } + + def __init__(self, **kwargs): + """ + :keyword replica_name: the replica name. + :paramtype replica_name: str + :keyword configure: null. + :paramtype configure: ~azure.mgmt.azurearcdata.models.AvailabilityGroupConfigure + :keyword state: null. + :paramtype state: ~azure.mgmt.azurearcdata.models.AvailabilityGroupState + """ + super(SqlAvailabilityGroupReplicaResourceProperties, self).__init__( + **kwargs + ) + self.replica_id = None + self.replica_name = kwargs.get("replica_name", None) + self.configure = kwargs.get("configure", None) + self.state = kwargs.get("state", None) + + +class SqlAvailabilityGroupStaticIPListenerProperties( + msrest.serialization.Model +): + """The properties of a static IP Arc Sql availability group listener. + + :ivar dns_name: the DNS name for the listener. + :vartype dns_name: str + :ivar ip_v4_addresses_and_masks: IP V4 Addresses and masks for the listener. + :vartype ip_v4_addresses_and_masks: + list[~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupIpV4AddressesAndMasksPropertiesItem] + :ivar ip_v6_addresses: IP V6 Addresses for the listener. + :vartype ip_v6_addresses: list[str] + :ivar port: Network port for the listener. Default is 1433. + :vartype port: int + """ + + _attribute_map = { + "dns_name": {"key": "dnsName", "type": "str"}, + "ip_v4_addresses_and_masks": { + "key": "ipV4AddressesAndMasks", + "type": "[SqlAvailabilityGroupIpV4AddressesAndMasksPropertiesItem]", + }, + "ip_v6_addresses": {"key": "ipV6Addresses", "type": "[str]"}, + "port": {"key": "port", "type": "int"}, + } + + def __init__(self, **kwargs): + """ + :keyword dns_name: the DNS name for the listener. + :paramtype dns_name: str + :keyword ip_v4_addresses_and_masks: IP V4 Addresses and masks for the listener. + :paramtype ip_v4_addresses_and_masks: + list[~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupIpV4AddressesAndMasksPropertiesItem] + :keyword ip_v6_addresses: IP V6 Addresses for the listener. + :paramtype ip_v6_addresses: list[str] + :keyword port: Network port for the listener. Default is 1433. + :paramtype port: int + """ + super(SqlAvailabilityGroupStaticIPListenerProperties, self).__init__( + **kwargs + ) + self.dns_name = kwargs.get("dns_name", None) + self.ip_v4_addresses_and_masks = kwargs.get( + "ip_v4_addresses_and_masks", None + ) + self.ip_v6_addresses = kwargs.get("ip_v6_addresses", None) + self.port = kwargs.get("port", None) + + +class SqlManagedInstance(TrackedResource): + """A SqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: Required. null. + :vartype properties: ~azure.mgmt.azurearcdata.models.SqlManagedInstanceProperties + :ivar extended_location: The extendedLocation of the resource. + :vartype extended_location: ~azure.mgmt.azurearcdata.models.ExtendedLocation + :ivar sku: Resource sku. + :vartype sku: ~azure.mgmt.azurearcdata.models.SqlManagedInstanceSku + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlManagedInstanceProperties", + }, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "sku": {"key": "sku", "type": "SqlManagedInstanceSku"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: Required. null. + :paramtype properties: ~azure.mgmt.azurearcdata.models.SqlManagedInstanceProperties + :keyword extended_location: The extendedLocation of the resource. + :paramtype extended_location: ~azure.mgmt.azurearcdata.models.ExtendedLocation + :keyword sku: Resource sku. + :paramtype sku: ~azure.mgmt.azurearcdata.models.SqlManagedInstanceSku + """ + super(SqlManagedInstance, self).__init__(**kwargs) + self.properties = kwargs["properties"] + self.extended_location = kwargs.get("extended_location", None) + self.sku = kwargs.get("sku", None) + + +class SqlManagedInstanceK8SRaw(msrest.serialization.Model): + """The raw kubernetes information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar spec: The kubernetes spec information. + :vartype spec: ~azure.mgmt.azurearcdata.models.SqlManagedInstanceK8SSpec + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "spec": {"key": "spec", "type": "SqlManagedInstanceK8SSpec"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword spec: The kubernetes spec information. + :paramtype spec: ~azure.mgmt.azurearcdata.models.SqlManagedInstanceK8SSpec + """ + super(SqlManagedInstanceK8SRaw, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.spec = kwargs.get("spec", None) + + +class SqlManagedInstanceK8SSpec(msrest.serialization.Model): + """The kubernetes spec information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar scheduling: The kubernetes scheduling information. + :vartype scheduling: ~azure.mgmt.azurearcdata.models.K8SScheduling + :ivar replicas: This option specifies the number of SQL Managed Instance replicas that will be + deployed in your Kubernetes cluster for high availability purposes. If sku.tier is + BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is + GeneralPurpose, replicas must be '1'. + :vartype replicas: int + :ivar security: The kubernetes security information. + :vartype security: ~azure.mgmt.azurearcdata.models.K8SSecurity + :ivar settings: The kubernetes settings information. + :vartype settings: ~azure.mgmt.azurearcdata.models.K8SSettings + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "scheduling": {"key": "scheduling", "type": "K8SScheduling"}, + "replicas": {"key": "replicas", "type": "int"}, + "security": {"key": "security", "type": "K8SSecurity"}, + "settings": {"key": "settings", "type": "K8SSettings"}, + } + + def __init__(self, **kwargs): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword scheduling: The kubernetes scheduling information. + :paramtype scheduling: ~azure.mgmt.azurearcdata.models.K8SScheduling + :keyword replicas: This option specifies the number of SQL Managed Instance replicas that will + be deployed in your Kubernetes cluster for high availability purposes. If sku.tier is + BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is + GeneralPurpose, replicas must be '1'. + :paramtype replicas: int + :keyword security: The kubernetes security information. + :paramtype security: ~azure.mgmt.azurearcdata.models.K8SSecurity + :keyword settings: The kubernetes settings information. + :paramtype settings: ~azure.mgmt.azurearcdata.models.K8SSettings + """ + super(SqlManagedInstanceK8SSpec, self).__init__(**kwargs) + self.additional_properties = kwargs.get("additional_properties", None) + self.scheduling = kwargs.get("scheduling", None) + self.replicas = kwargs.get("replicas", None) + self.security = kwargs.get("security", None) + self.settings = kwargs.get("settings", None) + + +class SqlManagedInstanceListResult(msrest.serialization.Model): + """A list of SqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure.mgmt.azurearcdata.models.SqlManagedInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlManagedInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(SqlManagedInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SqlManagedInstanceProperties(msrest.serialization.Model): + """Properties of sqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar data_controller_id: null. + :vartype data_controller_id: str + :ivar admin: The instance admin user. + :vartype admin: str + :ivar start_time: The instance start time. + :vartype start_time: str + :ivar end_time: The instance end time. + :vartype end_time: str + :ivar k8_s_raw: The raw kubernetes information. + :vartype k8_s_raw: ~azure.mgmt.azurearcdata.models.SqlManagedInstanceK8SRaw + :ivar basic_login_information: Username and password for basic authentication. + :vartype basic_login_information: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :ivar last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :vartype last_uploaded_date: ~datetime.datetime + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Managed Instance + resource. + :vartype provisioning_state: str + :ivar active_directory_information: Active Directory information related to this SQL Managed + Instance. + :vartype active_directory_information: + ~azure.mgmt.azurearcdata.models.ActiveDirectoryInformation + :ivar license_type: The license type to apply for this managed instance. Possible values + include: "BasePrice", "LicenseIncluded", "DisasterRecovery". Default value: "BasePrice". + :vartype license_type: str or ~azure.mgmt.azurearcdata.models.ArcSqlManagedInstanceLicenseType + :ivar cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :vartype cluster_id: str + :ivar extension_id: If a CustomLocation is provided, this contains the ARM id of the extension + the custom location belongs to. + :vartype extension_id: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "data_controller_id": {"key": "dataControllerId", "type": "str"}, + "admin": {"key": "admin", "type": "str"}, + "start_time": {"key": "startTime", "type": "str"}, + "end_time": {"key": "endTime", "type": "str"}, + "k8_s_raw": {"key": "k8sRaw", "type": "SqlManagedInstanceK8SRaw"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "active_directory_information": { + "key": "activeDirectoryInformation", + "type": "ActiveDirectoryInformation", + }, + "license_type": {"key": "licenseType", "type": "str"}, + "cluster_id": {"key": "clusterId", "type": "str"}, + "extension_id": {"key": "extensionId", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword data_controller_id: null. + :paramtype data_controller_id: str + :keyword admin: The instance admin user. + :paramtype admin: str + :keyword start_time: The instance start time. + :paramtype start_time: str + :keyword end_time: The instance end time. + :paramtype end_time: str + :keyword k8_s_raw: The raw kubernetes information. + :paramtype k8_s_raw: ~azure.mgmt.azurearcdata.models.SqlManagedInstanceK8SRaw + :keyword basic_login_information: Username and password for basic authentication. + :paramtype basic_login_information: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :keyword last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current + date time. + :paramtype last_uploaded_date: ~datetime.datetime + :keyword active_directory_information: Active Directory information related to this SQL Managed + Instance. + :paramtype active_directory_information: + ~azure.mgmt.azurearcdata.models.ActiveDirectoryInformation + :keyword license_type: The license type to apply for this managed instance. Possible values + include: "BasePrice", "LicenseIncluded", "DisasterRecovery". Default value: "BasePrice". + :paramtype license_type: str or + ~azure.mgmt.azurearcdata.models.ArcSqlManagedInstanceLicenseType + :keyword cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :paramtype cluster_id: str + :keyword extension_id: If a CustomLocation is provided, this contains the ARM id of the + extension the custom location belongs to. + :paramtype extension_id: str + """ + super(SqlManagedInstanceProperties, self).__init__(**kwargs) + self.data_controller_id = kwargs.get("data_controller_id", None) + self.admin = kwargs.get("admin", None) + self.start_time = kwargs.get("start_time", None) + self.end_time = kwargs.get("end_time", None) + self.k8_s_raw = kwargs.get("k8_s_raw", None) + self.basic_login_information = kwargs.get( + "basic_login_information", None + ) + self.last_uploaded_date = kwargs.get("last_uploaded_date", None) + self.provisioning_state = None + self.active_directory_information = kwargs.get( + "active_directory_information", None + ) + self.license_type = kwargs.get("license_type", "BasePrice") + self.cluster_id = kwargs.get("cluster_id", None) + self.extension_id = kwargs.get("extension_id", None) + + +class SqlManagedInstanceSku(msrest.serialization.Model): + """The resource model definition representing SKU for Azure Managed Instance - Azure Arc. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar name: The name of the SKU. Has constant value: "vCore". + :vartype name: str + :ivar tier: The pricing tier for the instance. Possible values include: "GeneralPurpose", + "BusinessCritical". Default value: "GeneralPurpose". + :vartype tier: str or ~azure.mgmt.azurearcdata.models.SqlManagedInstanceSkuTier + :ivar dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used + for dev/test purpose. + :vartype dev: bool + :ivar size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :vartype size: str + :ivar family: The SKU family. + :vartype family: str + :ivar capacity: The SKU capacity. + :vartype capacity: int + """ + + _validation = { + "name": {"required": True, "constant": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "tier": {"key": "tier", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + } + + name = "vCore" + + def __init__(self, **kwargs): + """ + :keyword tier: The pricing tier for the instance. Possible values include: "GeneralPurpose", + "BusinessCritical". Default value: "GeneralPurpose". + :paramtype tier: str or ~azure.mgmt.azurearcdata.models.SqlManagedInstanceSkuTier + :keyword dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :paramtype dev: bool + :keyword size: The SKU size. When the name field is the combination of tier and some other + value, this would be the standalone code. + :paramtype size: str + :keyword family: The SKU family. + :paramtype family: str + :keyword capacity: The SKU capacity. + :paramtype capacity: int + """ + super(SqlManagedInstanceSku, self).__init__(**kwargs) + self.tier = kwargs.get("tier", "GeneralPurpose") + self.dev = kwargs.get("dev", True) + self.size = kwargs.get("size", None) + self.family = kwargs.get("family", None) + self.capacity = kwargs.get("capacity", None) + + +class SqlManagedInstanceUpdate(msrest.serialization.Model): + """An update to a SQL Managed Instance. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + """ + super(SqlManagedInstanceUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + + +class SqlServerAvailabilityGroupResource(TrackedResource): + """Arc Sql Server Availability Group. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: Required. Properties of Arc Sql Server availability group. + :vartype properties: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResourceProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlServerAvailabilityGroupResourceProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: Required. Properties of Arc Sql Server availability group. + :paramtype properties: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResourceProperties + """ + super(SqlServerAvailabilityGroupResource, self).__init__(**kwargs) + self.properties = kwargs["properties"] + + +class SqlServerAvailabilityGroupResourceProperties(msrest.serialization.Model): + """The properties of Arc Sql Server availability group resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar availability_group_id: ID GUID of the availability group. + :vartype availability_group_id: str + :ivar server_name: the SQL server name. + :vartype server_name: str + :ivar instance_name: the SQL Server Instance name. + :vartype instance_name: str + :ivar collection_timestamp: Timestamp for when the data was collected from the client machine. + :vartype collection_timestamp: ~datetime.datetime + :ivar info: Availability Group Info. + :vartype info: ~azure.mgmt.azurearcdata.models.AvailabilityGroupInfo + :ivar replicas: A list of Availability Group Replicas. + :vartype replicas: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResourcePropertiesReplicas + :ivar databases: A list of Availability Group Database Replicas. + :vartype databases: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResourcePropertiesDatabases + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Server availability + group resource. + :vartype provisioning_state: str + """ + + _validation = { + "availability_group_id": { + "readonly": True, + "pattern": r"^[A-Za-z0-9]{8}-([A-Za-z0-9]{4}-){3}[A-Za-z0-9]{12}$", + }, + "server_name": {"readonly": True}, + "instance_name": {"readonly": True}, + "collection_timestamp": {"readonly": True}, + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "availability_group_id": {"key": "availabilityGroupId", "type": "str"}, + "server_name": {"key": "serverName", "type": "str"}, + "instance_name": {"key": "instanceName", "type": "str"}, + "collection_timestamp": { + "key": "collectionTimestamp", + "type": "iso-8601", + }, + "info": {"key": "info", "type": "AvailabilityGroupInfo"}, + "replicas": { + "key": "replicas", + "type": "SqlServerAvailabilityGroupResourcePropertiesReplicas", + }, + "databases": { + "key": "databases", + "type": "SqlServerAvailabilityGroupResourcePropertiesDatabases", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword info: Availability Group Info. + :paramtype info: ~azure.mgmt.azurearcdata.models.AvailabilityGroupInfo + :keyword replicas: A list of Availability Group Replicas. + :paramtype replicas: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResourcePropertiesReplicas + :keyword databases: A list of Availability Group Database Replicas. + :paramtype databases: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResourcePropertiesDatabases + """ + super(SqlServerAvailabilityGroupResourceProperties, self).__init__( + **kwargs + ) + self.availability_group_id = None + self.server_name = None + self.instance_name = None + self.collection_timestamp = None + self.info = kwargs.get("info", None) + self.replicas = kwargs.get("replicas", None) + self.databases = kwargs.get("databases", None) + self.provisioning_state = None + + +class SqlServerAvailabilityGroupResourcePropertiesDatabases( + msrest.serialization.Model +): + """A list of Availability Group Database Replicas. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of Availability Group Database Replicas. + :vartype value: + list[~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupDatabaseReplicaResourceProperties] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": { + "key": "value", + "type": "[SqlAvailabilityGroupDatabaseReplicaResourceProperties]", + }, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword value: Array of Availability Group Database Replicas. + :paramtype value: + list[~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupDatabaseReplicaResourceProperties] + """ + super( + SqlServerAvailabilityGroupResourcePropertiesDatabases, self + ).__init__(**kwargs) + self.value = kwargs.get("value", None) + self.next_link = None + + +class SqlServerAvailabilityGroupResourcePropertiesReplicas( + msrest.serialization.Model +): + """A list of Availability Group Replicas. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of Availability Group Replicas. + :vartype value: + list[~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupReplicaResourceProperties] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": { + "key": "value", + "type": "[SqlAvailabilityGroupReplicaResourceProperties]", + }, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword value: Array of Availability Group Replicas. + :paramtype value: + list[~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupReplicaResourceProperties] + """ + super( + SqlServerAvailabilityGroupResourcePropertiesReplicas, self + ).__init__(**kwargs) + self.value = kwargs.get("value", None) + self.next_link = None + + +class SqlServerAvailabilityGroupUpdate(msrest.serialization.Model): + """An update to availability group resource. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: The Server Availability Group's properties. + :vartype properties: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResourceProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": { + "key": "properties", + "type": "SqlServerAvailabilityGroupResourceProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The Server Availability Group's properties. + :paramtype properties: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResourceProperties + """ + super(SqlServerAvailabilityGroupUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + self.properties = kwargs.get("properties", None) + + +class SqlServerDatabaseResource(TrackedResource): + """Arc Sql Server database. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: Required. Properties of Arc Sql Server database. + :vartype properties: ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResourceProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlServerDatabaseResourceProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: Required. Properties of Arc Sql Server database. + :paramtype properties: ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResourceProperties + """ + super(SqlServerDatabaseResource, self).__init__(**kwargs) + self.properties = kwargs["properties"] + + +class SqlServerDatabaseResourceProperties(msrest.serialization.Model): + """The properties of Arc Sql Server database resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar collation_name: Collation of the database. + :vartype collation_name: str + :ivar database_creation_date: Creation date of the database. + :vartype database_creation_date: ~datetime.datetime + :ivar compatibility_level: Compatibility level of the database. + :vartype compatibility_level: int + :ivar size_mb: Size of the database. + :vartype size_mb: float + :ivar space_available_mb: Space left of the database. + :vartype space_available_mb: float + :ivar state: State of the database. Possible values include: "Online", "Restoring", + "Recovering", "RecoveryPending", "Suspect", "Emergency", "Offline", "Copying", + "OfflineSecondary". + :vartype state: str or ~azure.mgmt.azurearcdata.models.DatabaseState + :ivar is_read_only: Whether the database is read only or not. + :vartype is_read_only: bool + :ivar recovery_mode: Status of the database. Possible values include: "Full", "Bulk-logged", + "Simple". + :vartype recovery_mode: str or ~azure.mgmt.azurearcdata.models.RecoveryMode + :ivar database_options: List of features that are enabled for the database. + :vartype database_options: + ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResourcePropertiesDatabaseOptions + :ivar backup_information: + :vartype backup_information: + ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResourcePropertiesBackupInformation + :ivar backup_policy: The backup profile for the SQL server. + :vartype backup_policy: ~azure.mgmt.azurearcdata.models.BackupPolicy + :ivar earliest_restore_date: This records the earliest start date and time that restore is + available for this database (ISO8601 format). + :vartype earliest_restore_date: ~datetime.datetime + :ivar create_mode: Database create mode. PointInTimeRestore: Create a database by restoring a + point in time backup of an existing database. sourceDatabaseId and restorePointInTime must be + specified. Possible values include: "Default", "PointInTimeRestore". + :vartype create_mode: str or ~azure.mgmt.azurearcdata.models.DatabaseCreateMode + :ivar source_database_id: The resource identifier of the source database associated with create + operation of this database. + :vartype source_database_id: str + :ivar restore_point_in_time: Conditional. If createMode is PointInTimeRestore, this value is + required. Specifies the point in time (ISO8601 format) of the source database that will be + restored to create the new database. + :vartype restore_point_in_time: ~datetime.datetime + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Server database + resource. + :vartype provisioning_state: str + :ivar last_database_upload_time: The time when last successful database upload was performed. + :vartype last_database_upload_time: ~datetime.datetime + """ + + _validation = { + "compatibility_level": {"maximum": 200, "minimum": 80}, + "earliest_restore_date": {"readonly": True}, + "provisioning_state": {"readonly": True}, + "last_database_upload_time": {"readonly": True}, + } + + _attribute_map = { + "collation_name": {"key": "collationName", "type": "str"}, + "database_creation_date": { + "key": "databaseCreationDate", + "type": "iso-8601", + }, + "compatibility_level": {"key": "compatibilityLevel", "type": "int"}, + "size_mb": {"key": "sizeMB", "type": "float"}, + "space_available_mb": {"key": "spaceAvailableMB", "type": "float"}, + "state": {"key": "state", "type": "str"}, + "is_read_only": {"key": "isReadOnly", "type": "bool"}, + "recovery_mode": {"key": "recoveryMode", "type": "str"}, + "database_options": { + "key": "databaseOptions", + "type": "SqlServerDatabaseResourcePropertiesDatabaseOptions", + }, + "backup_information": { + "key": "backupInformation", + "type": "SqlServerDatabaseResourcePropertiesBackupInformation", + }, + "backup_policy": {"key": "backupPolicy", "type": "BackupPolicy"}, + "earliest_restore_date": { + "key": "earliestRestoreDate", + "type": "iso-8601", + }, + "create_mode": {"key": "createMode", "type": "str"}, + "source_database_id": {"key": "sourceDatabaseId", "type": "str"}, + "restore_point_in_time": { + "key": "restorePointInTime", + "type": "iso-8601", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "last_database_upload_time": { + "key": "lastDatabaseUploadTime", + "type": "iso-8601", + }, + } + + def __init__(self, **kwargs): + """ + :keyword collation_name: Collation of the database. + :paramtype collation_name: str + :keyword database_creation_date: Creation date of the database. + :paramtype database_creation_date: ~datetime.datetime + :keyword compatibility_level: Compatibility level of the database. + :paramtype compatibility_level: int + :keyword size_mb: Size of the database. + :paramtype size_mb: float + :keyword space_available_mb: Space left of the database. + :paramtype space_available_mb: float + :keyword state: State of the database. Possible values include: "Online", "Restoring", + "Recovering", "RecoveryPending", "Suspect", "Emergency", "Offline", "Copying", + "OfflineSecondary". + :paramtype state: str or ~azure.mgmt.azurearcdata.models.DatabaseState + :keyword is_read_only: Whether the database is read only or not. + :paramtype is_read_only: bool + :keyword recovery_mode: Status of the database. Possible values include: "Full", "Bulk-logged", + "Simple". + :paramtype recovery_mode: str or ~azure.mgmt.azurearcdata.models.RecoveryMode + :keyword database_options: List of features that are enabled for the database. + :paramtype database_options: + ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResourcePropertiesDatabaseOptions + :keyword backup_information: + :paramtype backup_information: + ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResourcePropertiesBackupInformation + :keyword backup_policy: The backup profile for the SQL server. + :paramtype backup_policy: ~azure.mgmt.azurearcdata.models.BackupPolicy + :keyword create_mode: Database create mode. PointInTimeRestore: Create a database by restoring + a point in time backup of an existing database. sourceDatabaseId and restorePointInTime must be + specified. Possible values include: "Default", "PointInTimeRestore". + :paramtype create_mode: str or ~azure.mgmt.azurearcdata.models.DatabaseCreateMode + :keyword source_database_id: The resource identifier of the source database associated with + create operation of this database. + :paramtype source_database_id: str + :keyword restore_point_in_time: Conditional. If createMode is PointInTimeRestore, this value is + required. Specifies the point in time (ISO8601 format) of the source database that will be + restored to create the new database. + :paramtype restore_point_in_time: ~datetime.datetime + """ + super(SqlServerDatabaseResourceProperties, self).__init__(**kwargs) + self.collation_name = kwargs.get("collation_name", None) + self.database_creation_date = kwargs.get("database_creation_date", None) + self.compatibility_level = kwargs.get("compatibility_level", None) + self.size_mb = kwargs.get("size_mb", None) + self.space_available_mb = kwargs.get("space_available_mb", None) + self.state = kwargs.get("state", None) + self.is_read_only = kwargs.get("is_read_only", None) + self.recovery_mode = kwargs.get("recovery_mode", None) + self.database_options = kwargs.get("database_options", None) + self.backup_information = kwargs.get("backup_information", None) + self.backup_policy = kwargs.get("backup_policy", None) + self.earliest_restore_date = None + self.create_mode = kwargs.get("create_mode", None) + self.source_database_id = kwargs.get("source_database_id", None) + self.restore_point_in_time = kwargs.get("restore_point_in_time", None) + self.provisioning_state = None + self.last_database_upload_time = None + + +class SqlServerDatabaseResourcePropertiesBackupInformation( + msrest.serialization.Model +): + """SqlServerDatabaseResourcePropertiesBackupInformation. + + :ivar last_full_backup: Date time of last full backup. + :vartype last_full_backup: ~datetime.datetime + :ivar last_log_backup: Date time of last log backup. + :vartype last_log_backup: ~datetime.datetime + """ + + _attribute_map = { + "last_full_backup": {"key": "lastFullBackup", "type": "iso-8601"}, + "last_log_backup": {"key": "lastLogBackup", "type": "iso-8601"}, + } + + def __init__(self, **kwargs): + """ + :keyword last_full_backup: Date time of last full backup. + :paramtype last_full_backup: ~datetime.datetime + :keyword last_log_backup: Date time of last log backup. + :paramtype last_log_backup: ~datetime.datetime + """ + super( + SqlServerDatabaseResourcePropertiesBackupInformation, self + ).__init__(**kwargs) + self.last_full_backup = kwargs.get("last_full_backup", None) + self.last_log_backup = kwargs.get("last_log_backup", None) + + +class SqlServerDatabaseResourcePropertiesDatabaseOptions( + msrest.serialization.Model +): + """List of features that are enabled for the database. + + :ivar is_auto_close_on: + :vartype is_auto_close_on: bool + :ivar is_auto_shrink_on: + :vartype is_auto_shrink_on: bool + :ivar is_auto_create_stats_on: + :vartype is_auto_create_stats_on: bool + :ivar is_auto_update_stats_on: + :vartype is_auto_update_stats_on: bool + :ivar is_remote_data_archive_enabled: + :vartype is_remote_data_archive_enabled: bool + :ivar is_memory_optimization_enabled: + :vartype is_memory_optimization_enabled: bool + :ivar is_encrypted: + :vartype is_encrypted: bool + :ivar is_trustworthy_on: + :vartype is_trustworthy_on: bool + """ + + _attribute_map = { + "is_auto_close_on": {"key": "isAutoCloseOn", "type": "bool"}, + "is_auto_shrink_on": {"key": "isAutoShrinkOn", "type": "bool"}, + "is_auto_create_stats_on": { + "key": "isAutoCreateStatsOn", + "type": "bool", + }, + "is_auto_update_stats_on": { + "key": "isAutoUpdateStatsOn", + "type": "bool", + }, + "is_remote_data_archive_enabled": { + "key": "isRemoteDataArchiveEnabled", + "type": "bool", + }, + "is_memory_optimization_enabled": { + "key": "isMemoryOptimizationEnabled", + "type": "bool", + }, + "is_encrypted": {"key": "isEncrypted", "type": "bool"}, + "is_trustworthy_on": {"key": "isTrustworthyOn", "type": "bool"}, + } + + def __init__(self, **kwargs): + """ + :keyword is_auto_close_on: + :paramtype is_auto_close_on: bool + :keyword is_auto_shrink_on: + :paramtype is_auto_shrink_on: bool + :keyword is_auto_create_stats_on: + :paramtype is_auto_create_stats_on: bool + :keyword is_auto_update_stats_on: + :paramtype is_auto_update_stats_on: bool + :keyword is_remote_data_archive_enabled: + :paramtype is_remote_data_archive_enabled: bool + :keyword is_memory_optimization_enabled: + :paramtype is_memory_optimization_enabled: bool + :keyword is_encrypted: + :paramtype is_encrypted: bool + :keyword is_trustworthy_on: + :paramtype is_trustworthy_on: bool + """ + super( + SqlServerDatabaseResourcePropertiesDatabaseOptions, self + ).__init__(**kwargs) + self.is_auto_close_on = kwargs.get("is_auto_close_on", None) + self.is_auto_shrink_on = kwargs.get("is_auto_shrink_on", None) + self.is_auto_create_stats_on = kwargs.get( + "is_auto_create_stats_on", None + ) + self.is_auto_update_stats_on = kwargs.get( + "is_auto_update_stats_on", None + ) + self.is_remote_data_archive_enabled = kwargs.get( + "is_remote_data_archive_enabled", None + ) + self.is_memory_optimization_enabled = kwargs.get( + "is_memory_optimization_enabled", None + ) + self.is_encrypted = kwargs.get("is_encrypted", None) + self.is_trustworthy_on = kwargs.get("is_trustworthy_on", None) + + +class SqlServerDatabaseUpdate(msrest.serialization.Model): + """An update to database resource. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: The data controller's properties. + :vartype properties: ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResourceProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": { + "key": "properties", + "type": "SqlServerDatabaseResourceProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The data controller's properties. + :paramtype properties: ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResourceProperties + """ + super(SqlServerDatabaseUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + self.properties = kwargs.get("properties", None) + + +class SqlServerInstance(TrackedResource): + """A SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: null. + :vartype properties: ~azure.mgmt.azurearcdata.models.SqlServerInstanceProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlServerInstanceProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: null. + :paramtype properties: ~azure.mgmt.azurearcdata.models.SqlServerInstanceProperties + """ + super(SqlServerInstance, self).__init__(**kwargs) + self.properties = kwargs.get("properties", None) + + +class SqlServerInstanceListResult(msrest.serialization.Model): + """A list of SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure.mgmt.azurearcdata.models.SqlServerInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlServerInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(SqlServerInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SqlServerInstanceProperties(msrest.serialization.Model): + """Properties of SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar version: SQL Server version. Possible values include: "SQL Server 2012", "SQL Server + 2014", "SQL Server 2016", "SQL Server 2017", "SQL Server 2019", "SQL Server 2022", "Unknown". + :vartype version: str or ~azure.mgmt.azurearcdata.models.SqlVersion + :ivar edition: SQL Server edition. Possible values include: "Evaluation", "Enterprise", + "Standard", "Web", "Developer", "Express", "Business Intelligence". + :vartype edition: str or ~azure.mgmt.azurearcdata.models.EditionType + :ivar container_resource_id: ARM Resource id of the container resource (Azure Arc for Servers). + :vartype container_resource_id: str + :ivar create_time: The time when the resource was created. + :vartype create_time: str + :ivar v_core: The number of logical processors used by the SQL Server instance. + :vartype v_core: str + :ivar cores: The number of total cores of the Operating System Environment (OSE) hosting the + SQL Server instance. + :vartype cores: str + :ivar status: The cloud connectivity status. Possible values include: "Connected", + "Disconnected", "Registered", "Unknown". + :vartype status: str or ~azure.mgmt.azurearcdata.models.ConnectionStatus + :ivar patch_level: SQL Server update level. + :vartype patch_level: str + :ivar collation: SQL Server collation. + :vartype collation: str + :ivar current_version: SQL Server current version. + :vartype current_version: str + :ivar instance_name: SQL Server instance name. + :vartype instance_name: str + :ivar tcp_dynamic_ports: Dynamic TCP ports used by SQL Server. + :vartype tcp_dynamic_ports: str + :ivar tcp_static_ports: Static TCP ports used by SQL Server. + :vartype tcp_static_ports: str + :ivar product_id: SQL Server product ID. + :vartype product_id: str + :ivar license_type: SQL Server license type. Possible values include: "Undefined", "Free", + "HADR", "ServerCAL", "LicenseOnly", "PAYG", "Paid". + :vartype license_type: str or ~azure.mgmt.azurearcdata.models.ArcSqlServerLicenseType + :ivar azure_defender_status_last_updated: Timestamp of last Azure Defender status update. + :vartype azure_defender_status_last_updated: ~datetime.datetime + :ivar azure_defender_status: Status of Azure Defender. Possible values include: "Protected", + "Unprotected", "Unknown". + :vartype azure_defender_status: str or ~azure.mgmt.azurearcdata.models.DefenderStatus + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Server resource. + :vartype provisioning_state: str + :ivar last_inventory_upload_time: The time when last successful inventory upload was performed. + :vartype last_inventory_upload_time: ~datetime.datetime + :ivar last_usage_upload_time: The time when last successful usage upload was performed. + :vartype last_usage_upload_time: ~datetime.datetime + :ivar host_type: Type of host for Azure Arc SQL Server. Possible values include: "Azure Virtual + Machine", "Azure VMWare Virtual Machine", "Azure Kubernetes Service", "AWS VMWare Virtual + Machine", "AWS Kubernetes Service", "GCP VMWare Virtual Machine", "GCP Kubernetes Service", + "Container", "Virtual Machine", "Physical Server", "AWS Virtual Machine", "GCP Virtual + Machine", "Other". + :vartype host_type: str or ~azure.mgmt.azurearcdata.models.HostType + :ivar always_on_role: The role of the SQL Server, based on availability. Possible values + include: "None", "FailoverClusterInstance", "FailoverClusterNode", "AvailabilityGroupReplica". + :vartype always_on_role: str or ~azure.mgmt.azurearcdata.models.AlwaysOnRole + :ivar failover_cluster: Failover Cluster Instance properties. + :vartype failover_cluster: ~azure.mgmt.azurearcdata.models.FailoverCluster + :ivar backup_policy: The backup profile for the SQL server. + :vartype backup_policy: ~azure.mgmt.azurearcdata.models.BackupPolicy + :ivar upgrade_locked_until: Upgrade Action for this resource is locked until it expires. The + Expiration time indicated by this value. It is not locked when it is empty. + :vartype upgrade_locked_until: ~datetime.datetime + :ivar monitoring: The monitoring configuration. + :vartype monitoring: ~azure.mgmt.azurearcdata.models.Monitoring + :ivar migration: Migration related configuration. + :vartype migration: ~azure.mgmt.azurearcdata.models.Migration + """ + + _validation = { + "container_resource_id": {"readonly": True}, + "create_time": {"readonly": True}, + "v_core": {"readonly": True}, + "status": {"readonly": True}, + "patch_level": {"readonly": True}, + "collation": {"readonly": True}, + "current_version": {"readonly": True}, + "tcp_dynamic_ports": {"readonly": True}, + "tcp_static_ports": {"readonly": True}, + "product_id": {"readonly": True}, + "license_type": {"readonly": True}, + "azure_defender_status_last_updated": {"readonly": True}, + "azure_defender_status": {"readonly": True}, + "provisioning_state": {"readonly": True}, + "last_inventory_upload_time": {"readonly": True}, + "last_usage_upload_time": {"readonly": True}, + "always_on_role": {"readonly": True}, + } + + _attribute_map = { + "version": {"key": "version", "type": "str"}, + "edition": {"key": "edition", "type": "str"}, + "container_resource_id": {"key": "containerResourceId", "type": "str"}, + "create_time": {"key": "createTime", "type": "str"}, + "v_core": {"key": "vCore", "type": "str"}, + "cores": {"key": "cores", "type": "str"}, + "status": {"key": "status", "type": "str"}, + "patch_level": {"key": "patchLevel", "type": "str"}, + "collation": {"key": "collation", "type": "str"}, + "current_version": {"key": "currentVersion", "type": "str"}, + "instance_name": {"key": "instanceName", "type": "str"}, + "tcp_dynamic_ports": {"key": "tcpDynamicPorts", "type": "str"}, + "tcp_static_ports": {"key": "tcpStaticPorts", "type": "str"}, + "product_id": {"key": "productId", "type": "str"}, + "license_type": {"key": "licenseType", "type": "str"}, + "azure_defender_status_last_updated": { + "key": "azureDefenderStatusLastUpdated", + "type": "iso-8601", + }, + "azure_defender_status": {"key": "azureDefenderStatus", "type": "str"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "last_inventory_upload_time": { + "key": "lastInventoryUploadTime", + "type": "iso-8601", + }, + "last_usage_upload_time": { + "key": "lastUsageUploadTime", + "type": "iso-8601", + }, + "host_type": {"key": "hostType", "type": "str"}, + "always_on_role": {"key": "alwaysOnRole", "type": "str"}, + "failover_cluster": { + "key": "failoverCluster", + "type": "FailoverCluster", + }, + "backup_policy": {"key": "backupPolicy", "type": "BackupPolicy"}, + "upgrade_locked_until": { + "key": "upgradeLockedUntil", + "type": "iso-8601", + }, + "monitoring": {"key": "monitoring", "type": "Monitoring"}, + "migration": {"key": "migration", "type": "Migration"}, + } + + def __init__(self, **kwargs): + """ + :keyword version: SQL Server version. Possible values include: "SQL Server 2012", "SQL Server + 2014", "SQL Server 2016", "SQL Server 2017", "SQL Server 2019", "SQL Server 2022", "Unknown". + :paramtype version: str or ~azure.mgmt.azurearcdata.models.SqlVersion + :keyword edition: SQL Server edition. Possible values include: "Evaluation", "Enterprise", + "Standard", "Web", "Developer", "Express", "Business Intelligence". + :paramtype edition: str or ~azure.mgmt.azurearcdata.models.EditionType + :keyword cores: The number of total cores of the Operating System Environment (OSE) hosting the + SQL Server instance. + :paramtype cores: str + :keyword instance_name: SQL Server instance name. + :paramtype instance_name: str + :keyword host_type: Type of host for Azure Arc SQL Server. Possible values include: "Azure + Virtual Machine", "Azure VMWare Virtual Machine", "Azure Kubernetes Service", "AWS VMWare + Virtual Machine", "AWS Kubernetes Service", "GCP VMWare Virtual Machine", "GCP Kubernetes + Service", "Container", "Virtual Machine", "Physical Server", "AWS Virtual Machine", "GCP + Virtual Machine", "Other". + :paramtype host_type: str or ~azure.mgmt.azurearcdata.models.HostType + :keyword failover_cluster: Failover Cluster Instance properties. + :paramtype failover_cluster: ~azure.mgmt.azurearcdata.models.FailoverCluster + :keyword backup_policy: The backup profile for the SQL server. + :paramtype backup_policy: ~azure.mgmt.azurearcdata.models.BackupPolicy + :keyword upgrade_locked_until: Upgrade Action for this resource is locked until it expires. The + Expiration time indicated by this value. It is not locked when it is empty. + :paramtype upgrade_locked_until: ~datetime.datetime + :keyword monitoring: The monitoring configuration. + :paramtype monitoring: ~azure.mgmt.azurearcdata.models.Monitoring + :keyword migration: Migration related configuration. + :paramtype migration: ~azure.mgmt.azurearcdata.models.Migration + """ + super(SqlServerInstanceProperties, self).__init__(**kwargs) + self.version = kwargs.get("version", None) + self.edition = kwargs.get("edition", None) + self.container_resource_id = None + self.create_time = None + self.v_core = None + self.cores = kwargs.get("cores", None) + self.status = None + self.patch_level = None + self.collation = None + self.current_version = None + self.instance_name = kwargs.get("instance_name", None) + self.tcp_dynamic_ports = None + self.tcp_static_ports = None + self.product_id = None + self.license_type = None + self.azure_defender_status_last_updated = None + self.azure_defender_status = None + self.provisioning_state = None + self.last_inventory_upload_time = None + self.last_usage_upload_time = None + self.host_type = kwargs.get("host_type", None) + self.always_on_role = None + self.failover_cluster = kwargs.get("failover_cluster", None) + self.backup_policy = kwargs.get("backup_policy", None) + self.upgrade_locked_until = kwargs.get("upgrade_locked_until", None) + self.monitoring = kwargs.get("monitoring", None) + self.migration = kwargs.get("migration", None) + + +class SqlServerInstanceTelemetryColumn(msrest.serialization.Model): + """The telemetry column for the SQL Server instance. + + :ivar name: The name of the telemetry column. + :vartype name: str + :ivar type: The type of the telemetry column. Possible values include: "bool", "datetime", + "int", "long", "double", "string", "guid", "timespan". + :vartype type: str or ~azure.mgmt.azurearcdata.models.SqlServerInstanceTelemetryColumnType + """ + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword name: The name of the telemetry column. + :paramtype name: str + :keyword type: The type of the telemetry column. Possible values include: "bool", "datetime", + "int", "long", "double", "string", "guid", "timespan". + :paramtype type: str or ~azure.mgmt.azurearcdata.models.SqlServerInstanceTelemetryColumnType + """ + super(SqlServerInstanceTelemetryColumn, self).__init__(**kwargs) + self.name = kwargs.get("name", None) + self.type = kwargs.get("type", None) + + +class SqlServerInstanceTelemetryRequest(msrest.serialization.Model): + """The Arc SQL Server instance telemetry retrieval request. + + All required parameters must be populated in order to send to Azure. + + :ivar dataset_name: Required. The name of the telemetry dataset to retrieve. + :vartype dataset_name: str + :ivar start_time: The start time for the time range to fetch telemetry for. If not specified, + the current time minus 1 hour is used. + :vartype start_time: ~datetime.datetime + :ivar end_time: The end time for the time range to fetch telemetry for. If not specified, the + current time is used. + :vartype end_time: ~datetime.datetime + :ivar interval: The time granularity to fetch telemetry for. This is an ISO8601 duration. + Examples: PT15M, PT1H, P1D. + :vartype interval: ~datetime.timedelta + :ivar aggregation_type: The aggregation type to use for the numerical columns in the dataset. + Possible values include: "Average", "Minimum", "Maximum", "Sum", "Count". Default value: + "Average". + :vartype aggregation_type: str or ~azure.mgmt.azurearcdata.models.AggregationType + :ivar database_names: The list of database names to return telemetry for. If not specified, + telemetry for all databases will be aggregated and returned. + :vartype database_names: list[str] + """ + + _validation = { + "dataset_name": {"required": True}, + } + + _attribute_map = { + "dataset_name": {"key": "datasetName", "type": "str"}, + "start_time": {"key": "startTime", "type": "iso-8601"}, + "end_time": {"key": "endTime", "type": "iso-8601"}, + "interval": {"key": "interval", "type": "duration"}, + "aggregation_type": {"key": "aggregationType", "type": "str"}, + "database_names": {"key": "databaseNames", "type": "[str]"}, + } + + def __init__(self, **kwargs): + """ + :keyword dataset_name: Required. The name of the telemetry dataset to retrieve. + :paramtype dataset_name: str + :keyword start_time: The start time for the time range to fetch telemetry for. If not + specified, the current time minus 1 hour is used. + :paramtype start_time: ~datetime.datetime + :keyword end_time: The end time for the time range to fetch telemetry for. If not specified, + the current time is used. + :paramtype end_time: ~datetime.datetime + :keyword interval: The time granularity to fetch telemetry for. This is an ISO8601 duration. + Examples: PT15M, PT1H, P1D. + :paramtype interval: ~datetime.timedelta + :keyword aggregation_type: The aggregation type to use for the numerical columns in the + dataset. Possible values include: "Average", "Minimum", "Maximum", "Sum", "Count". Default + value: "Average". + :paramtype aggregation_type: str or ~azure.mgmt.azurearcdata.models.AggregationType + :keyword database_names: The list of database names to return telemetry for. If not specified, + telemetry for all databases will be aggregated and returned. + :paramtype database_names: list[str] + """ + super(SqlServerInstanceTelemetryRequest, self).__init__(**kwargs) + self.dataset_name = kwargs["dataset_name"] + self.start_time = kwargs.get("start_time", None) + self.end_time = kwargs.get("end_time", None) + self.interval = kwargs.get("interval", "PT1H") + self.aggregation_type = kwargs.get("aggregation_type", "Average") + self.database_names = kwargs.get("database_names", None) + + +class SqlServerInstanceTelemetryResponse(msrest.serialization.Model): + """A section of the telemetry response for the SQL Server instance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar columns: Required. The columns of the result telemetry table for the SQL Server instance. + :vartype columns: list[~azure.mgmt.azurearcdata.models.SqlServerInstanceTelemetryColumn] + :ivar rows: Required. A list of rows from the result telemetry table for the SQL Server + instance. + :vartype rows: list[list[str]] + :ivar next_link: The link to the next section of rows of the telemetry response for the SQL + Server instance. Null if no more sections are available. + :vartype next_link: str + """ + + _validation = { + "columns": {"required": True}, + "rows": {"required": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "columns": { + "key": "columns", + "type": "[SqlServerInstanceTelemetryColumn]", + }, + "rows": {"key": "rows", "type": "[[str]]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword columns: Required. The columns of the result telemetry table for the SQL Server + instance. + :paramtype columns: list[~azure.mgmt.azurearcdata.models.SqlServerInstanceTelemetryColumn] + :keyword rows: Required. A list of rows from the result telemetry table for the SQL Server + instance. + :paramtype rows: list[list[str]] + """ + super(SqlServerInstanceTelemetryResponse, self).__init__(**kwargs) + self.columns = kwargs["columns"] + self.rows = kwargs["rows"] + self.next_link = None + + +class SqlServerInstanceUpdate(msrest.serialization.Model): + """An update to a SQL Server Instance. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: null. + :vartype properties: ~azure.mgmt.azurearcdata.models.SqlServerInstanceUpdateProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": { + "key": "properties", + "type": "SqlServerInstanceUpdateProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: null. + :paramtype properties: ~azure.mgmt.azurearcdata.models.SqlServerInstanceUpdateProperties + """ + super(SqlServerInstanceUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + self.properties = kwargs.get("properties", None) + + +class SqlServerInstanceUpdateProperties(msrest.serialization.Model): + """Properties of update SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar version: SQL Server version. Possible values include: "SQL Server 2012", "SQL Server + 2014", "SQL Server 2016", "SQL Server 2017", "SQL Server 2019", "SQL Server 2022", "Unknown". + :vartype version: str or ~azure.mgmt.azurearcdata.models.SqlVersion + :ivar edition: SQL Server edition. Possible values include: "Evaluation", "Enterprise", + "Standard", "Web", "Developer", "Express", "Business Intelligence". + :vartype edition: str or ~azure.mgmt.azurearcdata.models.EditionType + :ivar container_resource_id: ARM Resource id of the container resource (Azure Arc for Servers). + :vartype container_resource_id: str + :ivar create_time: The time when the resource was created. + :vartype create_time: str + :ivar v_core: The number of logical processors used by the SQL Server instance. + :vartype v_core: str + :ivar cores: The number of total cores of the Operating System Environment (OSE) hosting the + SQL Server instance. + :vartype cores: str + :ivar status: The cloud connectivity status. Possible values include: "Connected", + "Disconnected", "Registered", "Unknown". + :vartype status: str or ~azure.mgmt.azurearcdata.models.ConnectionStatus + :ivar patch_level: SQL Server update level. + :vartype patch_level: str + :ivar collation: SQL Server collation. + :vartype collation: str + :ivar current_version: SQL Server current version. + :vartype current_version: str + :ivar instance_name: SQL Server instance name. + :vartype instance_name: str + :ivar tcp_dynamic_ports: Dynamic TCP ports used by SQL Server. + :vartype tcp_dynamic_ports: str + :ivar tcp_static_ports: Static TCP ports used by SQL Server. + :vartype tcp_static_ports: str + :ivar product_id: SQL Server product ID. + :vartype product_id: str + :ivar license_type: SQL Server license type. Possible values include: "Undefined", "Free", + "HADR", "ServerCAL", "LicenseOnly", "PAYG", "Paid". + :vartype license_type: str or ~azure.mgmt.azurearcdata.models.ArcSqlServerLicenseType + :ivar azure_defender_status_last_updated: Timestamp of last Azure Defender status update. + :vartype azure_defender_status_last_updated: ~datetime.datetime + :ivar azure_defender_status: Status of Azure Defender. Possible values include: "Protected", + "Unprotected", "Unknown". + :vartype azure_defender_status: str or ~azure.mgmt.azurearcdata.models.DefenderStatus + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Server resource. + :vartype provisioning_state: str + :ivar last_inventory_upload_time: The time when last successful inventory upload was performed. + :vartype last_inventory_upload_time: ~datetime.datetime + :ivar last_usage_upload_time: The time when last successful usage upload was performed. + :vartype last_usage_upload_time: ~datetime.datetime + :ivar host_type: Type of host for Azure Arc SQL Server. Possible values include: "Azure Virtual + Machine", "Azure VMWare Virtual Machine", "Azure Kubernetes Service", "AWS VMWare Virtual + Machine", "AWS Kubernetes Service", "GCP VMWare Virtual Machine", "GCP Kubernetes Service", + "Container", "Virtual Machine", "Physical Server", "AWS Virtual Machine", "GCP Virtual + Machine", "Other". + :vartype host_type: str or ~azure.mgmt.azurearcdata.models.HostType + :ivar always_on_role: The role of the SQL Server, based on availability. Possible values + include: "None", "FailoverClusterInstance", "FailoverClusterNode", "AvailabilityGroupReplica". + :vartype always_on_role: str or ~azure.mgmt.azurearcdata.models.AlwaysOnRole + :ivar failover_cluster: Failover Cluster Instance properties. + :vartype failover_cluster: ~azure.mgmt.azurearcdata.models.FailoverCluster + :ivar backup_policy: The backup profile for the SQL server. + :vartype backup_policy: ~azure.mgmt.azurearcdata.models.BackupPolicy + :ivar upgrade_locked_until: Upgrade Action for this resource is locked until it expires. The + Expiration time indicated by this value. It is not locked when it is empty. + :vartype upgrade_locked_until: ~datetime.datetime + :ivar monitoring: The monitoring configuration. + :vartype monitoring: ~azure.mgmt.azurearcdata.models.Monitoring + :ivar migration: Migration related configuration. + :vartype migration: ~azure.mgmt.azurearcdata.models.Migration + """ + + _validation = { + "container_resource_id": {"readonly": True}, + "create_time": {"readonly": True}, + "v_core": {"readonly": True}, + "status": {"readonly": True}, + "patch_level": {"readonly": True}, + "collation": {"readonly": True}, + "current_version": {"readonly": True}, + "tcp_dynamic_ports": {"readonly": True}, + "tcp_static_ports": {"readonly": True}, + "product_id": {"readonly": True}, + "license_type": {"readonly": True}, + "azure_defender_status_last_updated": {"readonly": True}, + "azure_defender_status": {"readonly": True}, + "provisioning_state": {"readonly": True}, + "last_inventory_upload_time": {"readonly": True}, + "last_usage_upload_time": {"readonly": True}, + "always_on_role": {"readonly": True}, + } + + _attribute_map = { + "version": {"key": "version", "type": "str"}, + "edition": {"key": "edition", "type": "str"}, + "container_resource_id": {"key": "containerResourceId", "type": "str"}, + "create_time": {"key": "createTime", "type": "str"}, + "v_core": {"key": "vCore", "type": "str"}, + "cores": {"key": "cores", "type": "str"}, + "status": {"key": "status", "type": "str"}, + "patch_level": {"key": "patchLevel", "type": "str"}, + "collation": {"key": "collation", "type": "str"}, + "current_version": {"key": "currentVersion", "type": "str"}, + "instance_name": {"key": "instanceName", "type": "str"}, + "tcp_dynamic_ports": {"key": "tcpDynamicPorts", "type": "str"}, + "tcp_static_ports": {"key": "tcpStaticPorts", "type": "str"}, + "product_id": {"key": "productId", "type": "str"}, + "license_type": {"key": "licenseType", "type": "str"}, + "azure_defender_status_last_updated": { + "key": "azureDefenderStatusLastUpdated", + "type": "iso-8601", + }, + "azure_defender_status": {"key": "azureDefenderStatus", "type": "str"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "last_inventory_upload_time": { + "key": "lastInventoryUploadTime", + "type": "iso-8601", + }, + "last_usage_upload_time": { + "key": "lastUsageUploadTime", + "type": "iso-8601", + }, + "host_type": {"key": "hostType", "type": "str"}, + "always_on_role": {"key": "alwaysOnRole", "type": "str"}, + "failover_cluster": { + "key": "failoverCluster", + "type": "FailoverCluster", + }, + "backup_policy": {"key": "backupPolicy", "type": "BackupPolicy"}, + "upgrade_locked_until": { + "key": "upgradeLockedUntil", + "type": "iso-8601", + }, + "monitoring": {"key": "monitoring", "type": "Monitoring"}, + "migration": {"key": "migration", "type": "Migration"}, + } + + def __init__(self, **kwargs): + """ + :keyword version: SQL Server version. Possible values include: "SQL Server 2012", "SQL Server + 2014", "SQL Server 2016", "SQL Server 2017", "SQL Server 2019", "SQL Server 2022", "Unknown". + :paramtype version: str or ~azure.mgmt.azurearcdata.models.SqlVersion + :keyword edition: SQL Server edition. Possible values include: "Evaluation", "Enterprise", + "Standard", "Web", "Developer", "Express", "Business Intelligence". + :paramtype edition: str or ~azure.mgmt.azurearcdata.models.EditionType + :keyword cores: The number of total cores of the Operating System Environment (OSE) hosting the + SQL Server instance. + :paramtype cores: str + :keyword instance_name: SQL Server instance name. + :paramtype instance_name: str + :keyword host_type: Type of host for Azure Arc SQL Server. Possible values include: "Azure + Virtual Machine", "Azure VMWare Virtual Machine", "Azure Kubernetes Service", "AWS VMWare + Virtual Machine", "AWS Kubernetes Service", "GCP VMWare Virtual Machine", "GCP Kubernetes + Service", "Container", "Virtual Machine", "Physical Server", "AWS Virtual Machine", "GCP + Virtual Machine", "Other". + :paramtype host_type: str or ~azure.mgmt.azurearcdata.models.HostType + :keyword failover_cluster: Failover Cluster Instance properties. + :paramtype failover_cluster: ~azure.mgmt.azurearcdata.models.FailoverCluster + :keyword backup_policy: The backup profile for the SQL server. + :paramtype backup_policy: ~azure.mgmt.azurearcdata.models.BackupPolicy + :keyword upgrade_locked_until: Upgrade Action for this resource is locked until it expires. The + Expiration time indicated by this value. It is not locked when it is empty. + :paramtype upgrade_locked_until: ~datetime.datetime + :keyword monitoring: The monitoring configuration. + :paramtype monitoring: ~azure.mgmt.azurearcdata.models.Monitoring + :keyword migration: Migration related configuration. + :paramtype migration: ~azure.mgmt.azurearcdata.models.Migration + """ + super(SqlServerInstanceUpdateProperties, self).__init__(**kwargs) + self.version = kwargs.get("version", None) + self.edition = kwargs.get("edition", None) + self.container_resource_id = None + self.create_time = None + self.v_core = None + self.cores = kwargs.get("cores", None) + self.status = None + self.patch_level = None + self.collation = None + self.current_version = None + self.instance_name = kwargs.get("instance_name", None) + self.tcp_dynamic_ports = None + self.tcp_static_ports = None + self.product_id = None + self.license_type = None + self.azure_defender_status_last_updated = None + self.azure_defender_status = None + self.provisioning_state = None + self.last_inventory_upload_time = None + self.last_usage_upload_time = None + self.host_type = kwargs.get("host_type", None) + self.always_on_role = None + self.failover_cluster = kwargs.get("failover_cluster", None) + self.backup_policy = kwargs.get("backup_policy", None) + self.upgrade_locked_until = kwargs.get("upgrade_locked_until", None) + self.monitoring = kwargs.get("monitoring", None) + self.migration = kwargs.get("migration", None) + + +class SqlServerLicense(TrackedResource): + """Describe SQL Server license resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: Required. SQL Server license properties. + :vartype properties: ~azure.mgmt.azurearcdata.models.SqlServerLicenseProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlServerLicenseProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: Required. SQL Server license properties. + :paramtype properties: ~azure.mgmt.azurearcdata.models.SqlServerLicenseProperties + """ + super(SqlServerLicense, self).__init__(**kwargs) + self.properties = kwargs["properties"] + + +class SqlServerLicenseListResult(msrest.serialization.Model): + """A list of SQL Server licenses. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure.mgmt.azurearcdata.models.SqlServerLicense] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlServerLicense]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(SqlServerLicenseListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SqlServerLicenseProperties(msrest.serialization.Model): + """Properties of SQL Server License. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar billing_plan: Required. SQL Server license type. Possible values include: "PAYG", "Paid". + :vartype billing_plan: str or ~azure.mgmt.azurearcdata.models.BillingPlan + :ivar physical_cores: Required. The number of total cores of the license covers. + :vartype physical_cores: int + :ivar license_category: Required. This property represents the choice between SQL Server Core + and ESU licenses. Possible values include: "Core". + :vartype license_category: str or ~azure.mgmt.azurearcdata.models.LicenseCategory + :ivar activation_state: Required. The activation state of the license. Possible values include: + "Activated", "Deactivated". + :vartype activation_state: str or ~azure.mgmt.azurearcdata.models.State + :ivar scope_type: Required. The Azure scope to which the license will apply. Possible values + include: "Tenant", "Subscription", "ResourceGroup". + :vartype scope_type: str or ~azure.mgmt.azurearcdata.models.ScopeType + :ivar last_activated_at: The timestamp of the most recent activation of the SqlServerLicense. + :vartype last_activated_at: ~datetime.datetime + :ivar last_deactivated_at: The timestamp of the most recent deactivation of the + SqlServerLicense. + :vartype last_deactivated_at: ~datetime.datetime + :ivar tenant_id: The tenantId the SQL Server license resource subscription resides in. + :vartype tenant_id: str + """ + + _validation = { + "billing_plan": {"required": True}, + "physical_cores": {"required": True, "minimum": 16, "multiple": 2}, + "license_category": {"required": True}, + "activation_state": {"required": True}, + "scope_type": {"required": True}, + "last_activated_at": {"readonly": True}, + "last_deactivated_at": {"readonly": True}, + "tenant_id": {"readonly": True}, + } + + _attribute_map = { + "billing_plan": {"key": "billingPlan", "type": "str"}, + "physical_cores": {"key": "physicalCores", "type": "int"}, + "license_category": {"key": "licenseCategory", "type": "str"}, + "activation_state": {"key": "activationState", "type": "str"}, + "scope_type": {"key": "scopeType", "type": "str"}, + "last_activated_at": {"key": "lastActivatedAt", "type": "iso-8601"}, + "last_deactivated_at": {"key": "lastDeactivatedAt", "type": "iso-8601"}, + "tenant_id": {"key": "tenantId", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword billing_plan: Required. SQL Server license type. Possible values include: "PAYG", + "Paid". + :paramtype billing_plan: str or ~azure.mgmt.azurearcdata.models.BillingPlan + :keyword physical_cores: Required. The number of total cores of the license covers. + :paramtype physical_cores: int + :keyword license_category: Required. This property represents the choice between SQL Server + Core and ESU licenses. Possible values include: "Core". + :paramtype license_category: str or ~azure.mgmt.azurearcdata.models.LicenseCategory + :keyword activation_state: Required. The activation state of the license. Possible values + include: "Activated", "Deactivated". + :paramtype activation_state: str or ~azure.mgmt.azurearcdata.models.State + :keyword scope_type: Required. The Azure scope to which the license will apply. Possible values + include: "Tenant", "Subscription", "ResourceGroup". + :paramtype scope_type: str or ~azure.mgmt.azurearcdata.models.ScopeType + """ + super(SqlServerLicenseProperties, self).__init__(**kwargs) + self.billing_plan = kwargs["billing_plan"] + self.physical_cores = kwargs["physical_cores"] + self.license_category = kwargs["license_category"] + self.activation_state = kwargs["activation_state"] + self.scope_type = kwargs["scope_type"] + self.last_activated_at = None + self.last_deactivated_at = None + self.tenant_id = None + + +class SqlServerLicenseUpdate(msrest.serialization.Model): + """An update to a SQL Server license resource. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: null. + :vartype properties: ~azure.mgmt.azurearcdata.models.SqlServerLicenseUpdateProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": { + "key": "properties", + "type": "SqlServerLicenseUpdateProperties", + }, + } + + def __init__(self, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: null. + :paramtype properties: ~azure.mgmt.azurearcdata.models.SqlServerLicenseUpdateProperties + """ + super(SqlServerLicenseUpdate, self).__init__(**kwargs) + self.tags = kwargs.get("tags", None) + self.properties = kwargs.get("properties", None) + + +class SqlServerLicenseUpdateProperties(msrest.serialization.Model): + """Properties of update SqlServerLicense. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar billing_plan: SQL Server license type. Possible values include: "PAYG", "Paid". + :vartype billing_plan: str or ~azure.mgmt.azurearcdata.models.BillingPlan + :ivar physical_cores: The number of total cores of the license covers. + :vartype physical_cores: int + :ivar license_category: This property represents the choice between SQL Server Core and ESU + licenses. Possible values include: "Core". + :vartype license_category: str or ~azure.mgmt.azurearcdata.models.LicenseCategory + :ivar activation_state: The activation state of the license. Possible values include: + "Activated", "Deactivated". + :vartype activation_state: str or ~azure.mgmt.azurearcdata.models.ActivationState + :ivar scope_type: The Azure scope to which the license will apply. Possible values include: + "Tenant", "Subscription", "ResourceGroup". + :vartype scope_type: str or ~azure.mgmt.azurearcdata.models.ScopeType + :ivar last_activated_at: The timestamp of the most recent activation of the SqlServerLicense. + :vartype last_activated_at: ~datetime.datetime + :ivar last_deactivated_at: The timestamp of the most recent deactivation of the + SqlServerLicense. + :vartype last_deactivated_at: ~datetime.datetime + :ivar tenant_id: The tenantId the SQL Server license resource subscription resides in. + :vartype tenant_id: str + """ + + _validation = { + "physical_cores": {"minimum": 16, "multiple": 2}, + "last_activated_at": {"readonly": True}, + "last_deactivated_at": {"readonly": True}, + "tenant_id": {"readonly": True}, + } + + _attribute_map = { + "billing_plan": {"key": "billingPlan", "type": "str"}, + "physical_cores": {"key": "physicalCores", "type": "int"}, + "license_category": {"key": "licenseCategory", "type": "str"}, + "activation_state": {"key": "activationState", "type": "str"}, + "scope_type": {"key": "scopeType", "type": "str"}, + "last_activated_at": {"key": "lastActivatedAt", "type": "iso-8601"}, + "last_deactivated_at": {"key": "lastDeactivatedAt", "type": "iso-8601"}, + "tenant_id": {"key": "tenantId", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword billing_plan: SQL Server license type. Possible values include: "PAYG", "Paid". + :paramtype billing_plan: str or ~azure.mgmt.azurearcdata.models.BillingPlan + :keyword physical_cores: The number of total cores of the license covers. + :paramtype physical_cores: int + :keyword license_category: This property represents the choice between SQL Server Core and ESU + licenses. Possible values include: "Core". + :paramtype license_category: str or ~azure.mgmt.azurearcdata.models.LicenseCategory + :keyword activation_state: The activation state of the license. Possible values include: + "Activated", "Deactivated". + :paramtype activation_state: str or ~azure.mgmt.azurearcdata.models.ActivationState + :keyword scope_type: The Azure scope to which the license will apply. Possible values include: + "Tenant", "Subscription", "ResourceGroup". + :paramtype scope_type: str or ~azure.mgmt.azurearcdata.models.ScopeType + """ + super(SqlServerLicenseUpdateProperties, self).__init__(**kwargs) + self.billing_plan = kwargs.get("billing_plan", None) + self.physical_cores = kwargs.get("physical_cores", None) + self.license_category = kwargs.get("license_category", None) + self.activation_state = kwargs.get("activation_state", None) + self.scope_type = kwargs.get("scope_type", None) + self.last_activated_at = None + self.last_deactivated_at = None + self.tenant_id = None + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :ivar created_by: The identity that created the resource. + :vartype created_by: str + :ivar created_by_type: The type of identity that created the resource. Possible values include: + "User", "Application", "ManagedIdentity", "Key". + :vartype created_by_type: str or ~azure.mgmt.azurearcdata.models.CreatedByType + :ivar created_at: The timestamp of resource creation (UTC). + :vartype created_at: ~datetime.datetime + :ivar last_modified_by: The identity that last modified the resource. + :vartype last_modified_by: str + :ivar last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :vartype last_modified_by_type: str or ~azure.mgmt.azurearcdata.models.CreatedByType + :ivar last_modified_at: The timestamp of resource last modification (UTC). + :vartype last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + "created_by": {"key": "createdBy", "type": "str"}, + "created_by_type": {"key": "createdByType", "type": "str"}, + "created_at": {"key": "createdAt", "type": "iso-8601"}, + "last_modified_by": {"key": "lastModifiedBy", "type": "str"}, + "last_modified_by_type": {"key": "lastModifiedByType", "type": "str"}, + "last_modified_at": {"key": "lastModifiedAt", "type": "iso-8601"}, + } + + def __init__(self, **kwargs): + """ + :keyword created_by: The identity that created the resource. + :paramtype created_by: str + :keyword created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :paramtype created_by_type: str or ~azure.mgmt.azurearcdata.models.CreatedByType + :keyword created_at: The timestamp of resource creation (UTC). + :paramtype created_at: ~datetime.datetime + :keyword last_modified_by: The identity that last modified the resource. + :paramtype last_modified_by: str + :keyword last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :paramtype last_modified_by_type: str or ~azure.mgmt.azurearcdata.models.CreatedByType + :keyword last_modified_at: The timestamp of resource last modification (UTC). + :paramtype last_modified_at: ~datetime.datetime + """ + super(SystemData, self).__init__(**kwargs) + self.created_by = kwargs.get("created_by", None) + self.created_by_type = kwargs.get("created_by_type", None) + self.created_at = kwargs.get("created_at", None) + self.last_modified_by = kwargs.get("last_modified_by", None) + self.last_modified_by_type = kwargs.get("last_modified_by_type", None) + self.last_modified_at = kwargs.get("last_modified_at", None) + + +class UploadServicePrincipal(msrest.serialization.Model): + """Service principal for uploading billing, metrics and logs. + + :ivar client_id: Client ID of the service principal for uploading data. + :vartype client_id: str + :ivar tenant_id: Tenant ID of the service principal. + :vartype tenant_id: str + :ivar authority: Authority for the service principal. Example: + https://login.microsoftonline.com/. + :vartype authority: str + :ivar client_secret: Secret of the service principal. + :vartype client_secret: str + """ + + _attribute_map = { + "client_id": {"key": "clientId", "type": "str"}, + "tenant_id": {"key": "tenantId", "type": "str"}, + "authority": {"key": "authority", "type": "str"}, + "client_secret": {"key": "clientSecret", "type": "str"}, + } + + def __init__(self, **kwargs): + """ + :keyword client_id: Client ID of the service principal for uploading data. + :paramtype client_id: str + :keyword tenant_id: Tenant ID of the service principal. + :paramtype tenant_id: str + :keyword authority: Authority for the service principal. Example: + https://login.microsoftonline.com/. + :paramtype authority: str + :keyword client_secret: Secret of the service principal. + :paramtype client_secret: str + """ + super(UploadServicePrincipal, self).__init__(**kwargs) + self.client_id = kwargs.get("client_id", None) + self.tenant_id = kwargs.get("tenant_id", None) + self.authority = kwargs.get("authority", None) + self.client_secret = kwargs.get("client_secret", None) + + +class UploadWatermark(msrest.serialization.Model): + """Properties on upload watermark. Mostly timestamp for each upload data type. + + :ivar metrics: Last uploaded date for metrics from kubernetes cluster. Defaults to current date + time. + :vartype metrics: ~datetime.datetime + :ivar logs: Last uploaded date for logs from kubernetes cluster. Defaults to current date time. + :vartype logs: ~datetime.datetime + :ivar usages: Last uploaded date for usages from kubernetes cluster. Defaults to current date + time. + :vartype usages: ~datetime.datetime + """ + + _attribute_map = { + "metrics": {"key": "metrics", "type": "iso-8601"}, + "logs": {"key": "logs", "type": "iso-8601"}, + "usages": {"key": "usages", "type": "iso-8601"}, + } + + def __init__(self, **kwargs): + """ + :keyword metrics: Last uploaded date for metrics from kubernetes cluster. Defaults to current + date time. + :paramtype metrics: ~datetime.datetime + :keyword logs: Last uploaded date for logs from kubernetes cluster. Defaults to current date + time. + :paramtype logs: ~datetime.datetime + :keyword usages: Last uploaded date for usages from kubernetes cluster. Defaults to current + date time. + :paramtype usages: ~datetime.datetime + """ + super(UploadWatermark, self).__init__(**kwargs) + self.metrics = kwargs.get("metrics", None) + self.logs = kwargs.get("logs", None) + self.usages = kwargs.get("usages", None) + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCRU4ilSRKscWZH +# HW2O6Ed+1+aFwdjJ/O0x8HK+YFqu8KCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIGcFkjXJ7gBLtlxSufAIY3J3N2aC02fR +# 0lZJwAlOj/xDMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# mUqLI1QR3776EOmL2J1/WD/gSM8xbvHp9d17ybZrilQ4MLk0PDkMm4MAi/RlJ1k9 +# EBcjjTRGAJLjwL6/tBhul1N1KbMZ4cB1S9XvRTa1StdtObqlUoEuRmHX4Ddno2YK +# 6sd4nY/6MdSWhjX6F2dNraLM4czJSfKaW9G/PoM4t0f/L2JwGIpKchrugERDi/4I +# iEOpr7ZrTRf+tyw4cV8Yd3YmKnTxwt/ggRhlsz8NB4wgrN3CCLUVvgcXZmmXQtlB +# QXaZRryuv3a/UzmMg+EZmyE8iJULGqKUXmIlI+QQjrfx+LOe0xRgBTgYSb5wcMe4 +# 2BnhgM7DW1pUvW25sBtLl6GCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCConZwE1tkKdXdA7lBrFux9eIXPpHqunQyu3rqpQuUASQIGZdXk8/9SGBMyMDI0 +# MDIyODE1MDMwOS41NzFaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjA4NDIt +# NEJFNi1DMjlBMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHajtXJWgDREbEAAQAAAdowDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NjU5WhcNMjUwMTEwMTkwNjU5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjowODQyLTRCRTYtQzI5 +# QTElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAJOQBgh2tVFR1j8jQA4NDf8bcVrXSN08 +# 0CNKPSQo7S57sCnPU0FKF47w2L6qHtwm4EnClF2cruXFp/l7PpMQg25E7X8xDmvx +# r8BBE6iASAPCfrTebuvAsZWcJYhy7prgCuBf7OidXpgsW1y8p6Vs7sD2aup/0uve +# YxeXlKtsPjMCplHkk0ba+HgLho0J68Kdji3DM2K59wHy9xrtsYK+X9erbDGZ2mmX +# 3765aS5Q7/ugDxMVgzyj80yJn6ULnknD9i4kUQxVhqV1dc/DF6UBeuzfukkMed7t +# rzUEZMRyla7qhvwUeQlgzCQhpZjz+zsQgpXlPczvGd0iqr7lACwfVGog5plIzdEx +# vt1TA8Jmef819aTKwH1IVEIwYLA6uvS8kRdA6RxvMcb//ulNjIuGceyykMAXEynV +# rLG9VvK4rfrCsGL3j30Lmidug+owrcCjQagYmrGk1hBykXilo9YB8Qyy5Q1KhGuH +# 65V3zFy8a0kwbKBRs8VR4HtoPYw9z1DdcJfZBO2dhzX3yAMipCGm6SmvmvavRsXh +# y805jiApDyN+s0/b7os2z8iRWGJk6M9uuT2493gFV/9JLGg5YJJCJXI+yxkO/OXn +# ZJsuGt0+zWLdHS4XIXBG17oPu5KsFfRTHREloR2dI6GwaaxIyDySHYOtvIydla7u +# 4lfnfCjY/qKTAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUoXyNyVE9ZhOVizEUVwhN +# gL8PX0UwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBALmDVdTtuI0jAEt41O2OM8CU +# 237TGMyhrGr7FzKCEFaXxtoqk/IObQriq1caHVh2vyuQ24nz3TdOBv7rcs/qnPjO +# xnXFLyZPeaWLsNuARVmUViyVYXjXYB5DwzaWZgScY8GKL7yGjyWrh78WJUgh7rE1 +# +5VD5h0/6rs9dBRqAzI9fhZz7spsjt8vnx50WExbBSSH7rfabHendpeqbTmW/Rfc +# aT+GFIsT+g2ej7wRKIq/QhnsoF8mpFNPHV1q/WK/rF/ChovkhJMDvlqtETWi97Go +# lOSKamZC9bYgcPKfz28ed25WJy10VtQ9P5+C/2dOfDaz1RmeOb27Kbegha0SfPcr +# iTfORVvqPDSa3n9N7dhTY7+49I8evoad9hdZ8CfIOPftwt3xTX2RhMZJCVoFlabH +# cvfb84raFM6cz5EYk+x1aVEiXtgK6R0xn1wjMXHf0AWlSjqRkzvSnRKzFsZwEl74 +# VahlKVhI+Ci9RT9+6Gc0xWzJ7zQIUFE3Jiix5+7KL8ArHfBY9UFLz4snboJ7Qip3 +# IADbkU4ZL0iQ8j8Ixra7aSYfToUefmct3dM69ff4Eeh2Kh9NsKiiph589Ap/xS1j +# ESlrfjL/g/ZboaS5d9a2fA598mubDvLD5x5PP37700vm/Y+PIhmp2fTvuS2sndeZ +# BmyTqcUNHRNmCk+njV3nMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjowODQyLTRC +# RTYtQzI5QTElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAQqIfIYljHUbNoY0/wjhXRn/sSA2ggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJnM8w +# IhgPMjAyNDAyMjgxOTUxNDNaGA8yMDI0MDIyOTE5NTE0M1owdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6YmczwIBADAHAgEAAgIIGDAHAgEAAgIQaDAKAgUA6YruTwIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBADS1uOra4qwuphiTNChWwotEeJCw +# ExBuJWdCslz9TsJLO8kAzY6TtQstHtsUU0+GL16C+lHc7XlG0q2TOhA+fHtowjtL +# e8EyTcESsAp1Ll0sUhqVZx2zi1ZVG15S8sURgIjZ7oNHGlKU0cgEGKYFu4Vr6wpz +# BwCPu/WiJ2TyUpoAMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHajtXJWgDREbEAAQAAAdowDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgCFHs +# syOgoEIR8riT7ZWlRw6hH+50M8imhCy6XuPeFYEwgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCAipaNpYsDvnqTe95Dj1C09020I5ljibrW/ndICOxg9xjCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB2o7VyVoA0RGx +# AAEAAAHaMCIEIH9pNgadE8IgjYwa2JzGsL4tT+JkAhr5XZRGKF8sdeHvMA0GCSqG +# SIb3DQEBCwUABIICABPP8pGii2SUojSGxxaTF0frkCXnlX1mgNyWAw7wUGgpyyMB +# 98kB/nY6lVLonRi1aI4y6vZNXtbEkWbwq9bL/pDCtnAVmkHScXmBSiQx2Fdn3Wh0 +# oiON7n8sKi/ZGaVx57uVygcz9tGR50kRqHSa0HWO68Vgyqq1lZRgofqY0SLaVJ6t +# jsW9OEqa5sEUmyIZRx0zjr1lw7jztryXobK0iowO+JjvA/jUR4TWnY4n70K5gZzo +# 8NrUB42qVz2el/+C9TyLzpRqkRJVsb7P1IaZV8l7O0Gi3xDpFt2NpAuQ9ktXVEe0 +# EyiGPRniOsBVqT+dgzThSuvxfpcwbx39DSC3Odw9qltInfVgyUXIFc2u8V3x4l2n +# /j5wwHD1viubbGbP9iriJOYAgXM1a/qYiY+z9/f43tZ2TUkoT3IWHEVK5j9FPq4D +# B3ivGfCdBBR/j1mU80Qo/k8C6KdpwzKRDhFgMUQWKOqaMLlftw2ZCZnNeutuM+HW +# DR40n0LvBGvghf4jut+MwokiUho9/iCN34qYpi7phFCSMBG2+kV7swH02SwDOmDp +# IraUPUtCMOhF5C4Lf8UWLF0aKUN/AAb8mP8o/u0a/k3LYs90mYgJl9PjVbDnpsvB +# JVgJ+xUpdgDMMazeBJhWYJ+bhrC6U8umGwA0fwsNN315jgM0bbqCp+9tA0Zh +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/models/_models_py3.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/models/_models_py3.py new file mode 100644 index 00000000000..6d40771f91e --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/models/_models_py3.py @@ -0,0 +1,6199 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import datetime +from typing import Any, Dict, List, Optional, Union + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + +from ._azure_arc_data_management_client_enums import * + + +class ActiveDirectoryConnectorDNSDetails(msrest.serialization.Model): + """DNS server details. + + All required parameters must be populated in order to send to Azure. + + :ivar domain_name: DNS domain name for which DNS lookups should be forwarded to the Active + Directory DNS servers. + :vartype domain_name: str + :ivar nameserver_ip_addresses: Required. List of Active Directory DNS server IP addresses. + :vartype nameserver_ip_addresses: list[str] + :ivar replicas: Replica count for DNS proxy service. Default value is 1. + :vartype replicas: long + :ivar prefer_k8_s_dns_for_ptr_lookups: Flag indicating whether to prefer Kubernetes DNS server + response over AD DNS server response for IP address lookups. + :vartype prefer_k8_s_dns_for_ptr_lookups: bool + """ + + _validation = { + "nameserver_ip_addresses": {"required": True}, + } + + _attribute_map = { + "domain_name": {"key": "domainName", "type": "str"}, + "nameserver_ip_addresses": { + "key": "nameserverIPAddresses", + "type": "[str]", + }, + "replicas": {"key": "replicas", "type": "long"}, + "prefer_k8_s_dns_for_ptr_lookups": { + "key": "preferK8sDnsForPtrLookups", + "type": "bool", + }, + } + + def __init__( + self, + *, + nameserver_ip_addresses: List[str], + domain_name: Optional[str] = None, + replicas: Optional[int] = 1, + prefer_k8_s_dns_for_ptr_lookups: Optional[bool] = True, + **kwargs, + ): + """ + :keyword domain_name: DNS domain name for which DNS lookups should be forwarded to the Active + Directory DNS servers. + :paramtype domain_name: str + :keyword nameserver_ip_addresses: Required. List of Active Directory DNS server IP addresses. + :paramtype nameserver_ip_addresses: list[str] + :keyword replicas: Replica count for DNS proxy service. Default value is 1. + :paramtype replicas: long + :keyword prefer_k8_s_dns_for_ptr_lookups: Flag indicating whether to prefer Kubernetes DNS + server response over AD DNS server response for IP address lookups. + :paramtype prefer_k8_s_dns_for_ptr_lookups: bool + """ + super(ActiveDirectoryConnectorDNSDetails, self).__init__(**kwargs) + self.domain_name = domain_name + self.nameserver_ip_addresses = nameserver_ip_addresses + self.replicas = replicas + self.prefer_k8_s_dns_for_ptr_lookups = prefer_k8_s_dns_for_ptr_lookups + + +class ActiveDirectoryConnectorDomainDetails(msrest.serialization.Model): + """Active Directory domain details. + + All required parameters must be populated in order to send to Azure. + + :ivar realm: Required. Name (uppercase) of the Active Directory domain that this AD connector + will be associated with. + :vartype realm: str + :ivar netbios_domain_name: NETBIOS name of the Active Directory domain. + :vartype netbios_domain_name: str + :ivar service_account_provisioning: The service account provisioning mode for this Active + Directory connector. Possible values include: "automatic", "manual". Default value: "manual". + :vartype service_account_provisioning: str or + ~azure.mgmt.azurearcdata.models.AccountProvisioningMode + :ivar ou_distinguished_name: The distinguished name of the Active Directory Organizational + Unit. + :vartype ou_distinguished_name: str + :ivar domain_controllers: null. + :vartype domain_controllers: ~azure.mgmt.azurearcdata.models.ActiveDirectoryDomainControllers + """ + + _validation = { + "realm": {"required": True}, + } + + _attribute_map = { + "realm": {"key": "realm", "type": "str"}, + "netbios_domain_name": {"key": "netbiosDomainName", "type": "str"}, + "service_account_provisioning": { + "key": "serviceAccountProvisioning", + "type": "str", + }, + "ou_distinguished_name": {"key": "ouDistinguishedName", "type": "str"}, + "domain_controllers": { + "key": "domainControllers", + "type": "ActiveDirectoryDomainControllers", + }, + } + + def __init__( + self, + *, + realm: str, + netbios_domain_name: Optional[str] = None, + service_account_provisioning: Optional[ + Union[str, "AccountProvisioningMode"] + ] = "manual", + ou_distinguished_name: Optional[str] = None, + domain_controllers: Optional["ActiveDirectoryDomainControllers"] = None, + **kwargs, + ): + """ + :keyword realm: Required. Name (uppercase) of the Active Directory domain that this AD + connector will be associated with. + :paramtype realm: str + :keyword netbios_domain_name: NETBIOS name of the Active Directory domain. + :paramtype netbios_domain_name: str + :keyword service_account_provisioning: The service account provisioning mode for this Active + Directory connector. Possible values include: "automatic", "manual". Default value: "manual". + :paramtype service_account_provisioning: str or + ~azure.mgmt.azurearcdata.models.AccountProvisioningMode + :keyword ou_distinguished_name: The distinguished name of the Active Directory Organizational + Unit. + :paramtype ou_distinguished_name: str + :keyword domain_controllers: null. + :paramtype domain_controllers: ~azure.mgmt.azurearcdata.models.ActiveDirectoryDomainControllers + """ + super(ActiveDirectoryConnectorDomainDetails, self).__init__(**kwargs) + self.realm = realm + self.netbios_domain_name = netbios_domain_name + self.service_account_provisioning = service_account_provisioning + self.ou_distinguished_name = ou_distinguished_name + self.domain_controllers = domain_controllers + + +class ActiveDirectoryConnectorListResult(msrest.serialization.Model): + """A list of active directory connectors. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[ActiveDirectoryConnectorResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(ActiveDirectoryConnectorListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ActiveDirectoryConnectorProperties(msrest.serialization.Model): + """The properties of an Active Directory connector resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar domain_service_account_login_information: Username and password for domain service + account authentication. + :vartype domain_service_account_login_information: + ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :ivar provisioning_state: The provisioning state of the Active Directory connector resource. + :vartype provisioning_state: str + :ivar spec: Required. null. + :vartype spec: ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorSpec + :ivar status: null. + :vartype status: ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorStatus + """ + + _validation = { + "provisioning_state": {"readonly": True}, + "spec": {"required": True}, + } + + _attribute_map = { + "domain_service_account_login_information": { + "key": "domainServiceAccountLoginInformation", + "type": "BasicLoginInformation", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "spec": {"key": "spec", "type": "ActiveDirectoryConnectorSpec"}, + "status": {"key": "status", "type": "ActiveDirectoryConnectorStatus"}, + } + + def __init__( + self, + *, + spec: "ActiveDirectoryConnectorSpec", + domain_service_account_login_information: Optional[ + "BasicLoginInformation" + ] = None, + status: Optional["ActiveDirectoryConnectorStatus"] = None, + **kwargs, + ): + """ + :keyword domain_service_account_login_information: Username and password for domain service + account authentication. + :paramtype domain_service_account_login_information: + ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :keyword spec: Required. null. + :paramtype spec: ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorSpec + :keyword status: null. + :paramtype status: ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorStatus + """ + super(ActiveDirectoryConnectorProperties, self).__init__(**kwargs) + self.domain_service_account_login_information = ( + domain_service_account_login_information + ) + self.provisioning_state = None + self.spec = spec + self.status = status + + +class Resource(msrest.serialization.Model): + """Common fields that are returned in the response for all Azure Resource Manager resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + } + + def __init__(self, **kwargs): + """ """ + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.system_data = None + + +class ActiveDirectoryConnectorResource(Resource): + """Active directory connector resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar properties: Required. null. + :vartype properties: ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "properties": { + "key": "properties", + "type": "ActiveDirectoryConnectorProperties", + }, + } + + def __init__( + self, *, properties: "ActiveDirectoryConnectorProperties", **kwargs + ): + """ + :keyword properties: Required. null. + :paramtype properties: ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorProperties + """ + super(ActiveDirectoryConnectorResource, self).__init__(**kwargs) + self.properties = properties + + +class ActiveDirectoryConnectorSpec(msrest.serialization.Model): + """The specifications of the AD Kubernetes resource. + + All required parameters must be populated in order to send to Azure. + + :ivar active_directory: Required. null. + :vartype active_directory: + ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorDomainDetails + :ivar dns: Required. null. + :vartype dns: ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorDNSDetails + """ + + _validation = { + "active_directory": {"required": True}, + "dns": {"required": True}, + } + + _attribute_map = { + "active_directory": { + "key": "activeDirectory", + "type": "ActiveDirectoryConnectorDomainDetails", + }, + "dns": {"key": "dns", "type": "ActiveDirectoryConnectorDNSDetails"}, + } + + def __init__( + self, + *, + active_directory: "ActiveDirectoryConnectorDomainDetails", + dns: "ActiveDirectoryConnectorDNSDetails", + **kwargs, + ): + """ + :keyword active_directory: Required. null. + :paramtype active_directory: + ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorDomainDetails + :keyword dns: Required. null. + :paramtype dns: ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorDNSDetails + """ + super(ActiveDirectoryConnectorSpec, self).__init__(**kwargs) + self.active_directory = active_directory + self.dns = dns + + +class ActiveDirectoryConnectorStatus(msrest.serialization.Model): + """The status of the Kubernetes custom resource. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar last_update_time: The time that the custom resource was last updated. + :vartype last_update_time: str + :ivar observed_generation: The version of the replicaSet associated with the AD connector + custom resource. + :vartype observed_generation: long + :ivar state: The state of the AD connector custom resource. + :vartype state: str + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "last_update_time": {"key": "lastUpdateTime", "type": "str"}, + "observed_generation": {"key": "observedGeneration", "type": "long"}, + "state": {"key": "state", "type": "str"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + last_update_time: Optional[str] = None, + observed_generation: Optional[int] = None, + state: Optional[str] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword last_update_time: The time that the custom resource was last updated. + :paramtype last_update_time: str + :keyword observed_generation: The version of the replicaSet associated with the AD connector + custom resource. + :paramtype observed_generation: long + :keyword state: The state of the AD connector custom resource. + :paramtype state: str + """ + super(ActiveDirectoryConnectorStatus, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.last_update_time = last_update_time + self.observed_generation = observed_generation + self.state = state + + +class ActiveDirectoryDomainController(msrest.serialization.Model): + """Information about a domain controller in the AD domain. + + All required parameters must be populated in order to send to Azure. + + :ivar hostname: Required. Fully-qualified domain name of a domain controller in the AD domain. + :vartype hostname: str + """ + + _validation = { + "hostname": {"required": True}, + } + + _attribute_map = { + "hostname": {"key": "hostname", "type": "str"}, + } + + def __init__(self, *, hostname: str, **kwargs): + """ + :keyword hostname: Required. Fully-qualified domain name of a domain controller in the AD + domain. + :paramtype hostname: str + """ + super(ActiveDirectoryDomainController, self).__init__(**kwargs) + self.hostname = hostname + + +class ActiveDirectoryDomainControllers(msrest.serialization.Model): + """Details about the Active Directory domain controllers associated with this AD connector instance. + + :ivar primary_domain_controller: Information about the Primary Domain Controller (PDC) in the + AD domain. + :vartype primary_domain_controller: + ~azure.mgmt.azurearcdata.models.ActiveDirectoryDomainController + :ivar secondary_domain_controllers: null. + :vartype secondary_domain_controllers: + list[~azure.mgmt.azurearcdata.models.ActiveDirectoryDomainController] + """ + + _attribute_map = { + "primary_domain_controller": { + "key": "primaryDomainController", + "type": "ActiveDirectoryDomainController", + }, + "secondary_domain_controllers": { + "key": "secondaryDomainControllers", + "type": "[ActiveDirectoryDomainController]", + }, + } + + def __init__( + self, + *, + primary_domain_controller: Optional[ + "ActiveDirectoryDomainController" + ] = None, + secondary_domain_controllers: Optional[ + List["ActiveDirectoryDomainController"] + ] = None, + **kwargs, + ): + """ + :keyword primary_domain_controller: Information about the Primary Domain Controller (PDC) in + the AD domain. + :paramtype primary_domain_controller: + ~azure.mgmt.azurearcdata.models.ActiveDirectoryDomainController + :keyword secondary_domain_controllers: null. + :paramtype secondary_domain_controllers: + list[~azure.mgmt.azurearcdata.models.ActiveDirectoryDomainController] + """ + super(ActiveDirectoryDomainControllers, self).__init__(**kwargs) + self.primary_domain_controller = primary_domain_controller + self.secondary_domain_controllers = secondary_domain_controllers + + +class ActiveDirectoryInformation(msrest.serialization.Model): + """Active Directory information that related to the resource. + + :ivar keytab_information: Keytab information that is used for the Sql Managed Instance when + Active Directory authentication is used. + :vartype keytab_information: ~azure.mgmt.azurearcdata.models.KeytabInformation + """ + + _attribute_map = { + "keytab_information": { + "key": "keytabInformation", + "type": "KeytabInformation", + }, + } + + def __init__( + self, + *, + keytab_information: Optional["KeytabInformation"] = None, + **kwargs, + ): + """ + :keyword keytab_information: Keytab information that is used for the Sql Managed Instance when + Active Directory authentication is used. + :paramtype keytab_information: ~azure.mgmt.azurearcdata.models.KeytabInformation + """ + super(ActiveDirectoryInformation, self).__init__(**kwargs) + self.keytab_information = keytab_information + + +class ArcSqlServerAvailabilityGroupListResult(msrest.serialization.Model): + """A list of Arc Sql Server Availability Groups. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of Arc Sql Server Availability Groups. + :vartype value: list[~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": { + "key": "value", + "type": "[SqlServerAvailabilityGroupResource]", + }, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(ArcSqlServerAvailabilityGroupListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ArcSqlServerDatabaseListResult(msrest.serialization.Model): + """A list of Arc Sql Server database. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of Arc Sql Server database. + :vartype value: list[~azure.mgmt.azurearcdata.models.SqlServerDatabaseResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlServerDatabaseResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(ArcSqlServerDatabaseListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class AvailabilityGroupConfigure(msrest.serialization.Model): + """The specifications of the availability group replica configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar endpoint_name: Name of the mirroring endpoint URL. + :vartype endpoint_name: str + :ivar endpoint_url: Mirroring endpoint URL of availability group replica. + :vartype endpoint_url: str + :ivar endpoint_connect_login: The login which will connect to the mirroring endpoint. + :vartype endpoint_connect_login: str + :ivar availability_mode: Property that determines whether a given availability replica can run + in synchronous-commit mode. Possible values include: "SYNCHRONOUS_COMMIT", + "ASYNCHRONOUS_COMMIT". + :vartype availability_mode: str or ~azure.mgmt.azurearcdata.models.ArcSqlServerAvailabilityMode + :ivar availability_mode_description: The Availability Synchronization mode of the availability + group replica. + :vartype availability_mode_description: str + :ivar failover_mode: Property to set the failover mode of the availability group replica. + Possible values include: "AUTOMATIC", "MANUAL", "EXTERNAL". + :vartype failover_mode: str or ~azure.mgmt.azurearcdata.models.ArcSqlServerFailoverMode + :ivar failover_mode_description: The failover mode of the availability group replica. + :vartype failover_mode_description: str + :ivar session_timeout: The time-out period of availability group session replica, in seconds. + :vartype session_timeout: int + :ivar primary_allow_connections: Whether the primary replica should allow all connections or + only READ_WRITE connections (disallowing ReadOnly connections). Possible values include: "ALL", + "READ_WRITE". + :vartype primary_allow_connections: str or + ~azure.mgmt.azurearcdata.models.PrimaryAllowConnections + :ivar primary_role_allow_connections_description: Whether the availability allows all + connections or only read-write connections. + :vartype primary_role_allow_connections_description: str + :ivar secondary_allow_connections: Whether the secondary replica should allow all connections, + no connections, or only ReadOnly connections. Possible values include: "NO", "ALL", + "READ_ONLY". + :vartype secondary_allow_connections: str or + ~azure.mgmt.azurearcdata.models.SecondaryAllowConnections + :ivar secondary_role_allow_connections_description: Whether an availability replica that is + performing the secondary role (that is, a secondary replica) can accept connections from + clients. + :vartype secondary_role_allow_connections_description: str + :ivar replica_create_date: Date that the replica was created. + :vartype replica_create_date: ~datetime.datetime + :ivar replica_modify_date: Date that the replica was modified. + :vartype replica_modify_date: ~datetime.datetime + :ivar backup_priority: Represents the user-specified priority for performing backups on this + replica relative to the other replicas in the same availability group. + :vartype backup_priority: int + :ivar read_only_routing_url: Connectivity endpoint (URL) of the read only availability replica. + :vartype read_only_routing_url: str + :ivar read_write_routing_url: Connectivity endpoint (URL) of the read write availability + replica. + :vartype read_write_routing_url: str + :ivar seeding_mode: Specifies how the secondary replica will be initially seeded. AUTOMATIC + enables direct seeding. This method will seed the secondary replica over the network. This + method does not require you to backup and restore a copy of the primary database on the + replica. MANUAL specifies manual seeding (default). This method requires you to create a backup + of the database on the primary replica and manually restore that backup on the secondary + replica. Possible values include: "AUTOMATIC", "MANUAL". + :vartype seeding_mode: str or ~azure.mgmt.azurearcdata.models.SeedingMode + :ivar seeding_mode_description: Describes seeding mode. + :vartype seeding_mode_description: str + """ + + _validation = { + "availability_mode_description": {"readonly": True}, + "failover_mode_description": {"readonly": True}, + "primary_role_allow_connections_description": {"readonly": True}, + "secondary_role_allow_connections_description": {"readonly": True}, + "replica_create_date": {"readonly": True}, + "replica_modify_date": {"readonly": True}, + "seeding_mode_description": {"readonly": True}, + } + + _attribute_map = { + "endpoint_name": {"key": "endpointName", "type": "str"}, + "endpoint_url": {"key": "endpointUrl", "type": "str"}, + "endpoint_connect_login": { + "key": "endpointConnectLogin", + "type": "str", + }, + "availability_mode": {"key": "availabilityMode", "type": "str"}, + "availability_mode_description": { + "key": "availabilityModeDescription", + "type": "str", + }, + "failover_mode": {"key": "failoverMode", "type": "str"}, + "failover_mode_description": { + "key": "failoverModeDescription", + "type": "str", + }, + "session_timeout": {"key": "sessionTimeout", "type": "int"}, + "primary_allow_connections": { + "key": "primaryAllowConnections", + "type": "str", + }, + "primary_role_allow_connections_description": { + "key": "primaryRoleAllowConnectionsDescription", + "type": "str", + }, + "secondary_allow_connections": { + "key": "secondaryAllowConnections", + "type": "str", + }, + "secondary_role_allow_connections_description": { + "key": "secondaryRoleAllowConnectionsDescription", + "type": "str", + }, + "replica_create_date": {"key": "replicaCreateDate", "type": "iso-8601"}, + "replica_modify_date": {"key": "replicaModifyDate", "type": "iso-8601"}, + "backup_priority": {"key": "backupPriority", "type": "int"}, + "read_only_routing_url": {"key": "readOnlyRoutingUrl", "type": "str"}, + "read_write_routing_url": {"key": "readWriteRoutingUrl", "type": "str"}, + "seeding_mode": {"key": "seedingMode", "type": "str"}, + "seeding_mode_description": { + "key": "seedingModeDescription", + "type": "str", + }, + } + + def __init__( + self, + *, + endpoint_name: Optional[str] = None, + endpoint_url: Optional[str] = None, + endpoint_connect_login: Optional[str] = None, + availability_mode: Optional[ + Union[str, "ArcSqlServerAvailabilityMode"] + ] = None, + failover_mode: Optional[Union[str, "ArcSqlServerFailoverMode"]] = None, + session_timeout: Optional[int] = None, + primary_allow_connections: Optional[ + Union[str, "PrimaryAllowConnections"] + ] = None, + secondary_allow_connections: Optional[ + Union[str, "SecondaryAllowConnections"] + ] = None, + backup_priority: Optional[int] = None, + read_only_routing_url: Optional[str] = None, + read_write_routing_url: Optional[str] = None, + seeding_mode: Optional[Union[str, "SeedingMode"]] = None, + **kwargs, + ): + """ + :keyword endpoint_name: Name of the mirroring endpoint URL. + :paramtype endpoint_name: str + :keyword endpoint_url: Mirroring endpoint URL of availability group replica. + :paramtype endpoint_url: str + :keyword endpoint_connect_login: The login which will connect to the mirroring endpoint. + :paramtype endpoint_connect_login: str + :keyword availability_mode: Property that determines whether a given availability replica can + run in synchronous-commit mode. Possible values include: "SYNCHRONOUS_COMMIT", + "ASYNCHRONOUS_COMMIT". + :paramtype availability_mode: str or + ~azure.mgmt.azurearcdata.models.ArcSqlServerAvailabilityMode + :keyword failover_mode: Property to set the failover mode of the availability group replica. + Possible values include: "AUTOMATIC", "MANUAL", "EXTERNAL". + :paramtype failover_mode: str or ~azure.mgmt.azurearcdata.models.ArcSqlServerFailoverMode + :keyword session_timeout: The time-out period of availability group session replica, in + seconds. + :paramtype session_timeout: int + :keyword primary_allow_connections: Whether the primary replica should allow all connections or + only READ_WRITE connections (disallowing ReadOnly connections). Possible values include: "ALL", + "READ_WRITE". + :paramtype primary_allow_connections: str or + ~azure.mgmt.azurearcdata.models.PrimaryAllowConnections + :keyword secondary_allow_connections: Whether the secondary replica should allow all + connections, no connections, or only ReadOnly connections. Possible values include: "NO", + "ALL", "READ_ONLY". + :paramtype secondary_allow_connections: str or + ~azure.mgmt.azurearcdata.models.SecondaryAllowConnections + :keyword backup_priority: Represents the user-specified priority for performing backups on this + replica relative to the other replicas in the same availability group. + :paramtype backup_priority: int + :keyword read_only_routing_url: Connectivity endpoint (URL) of the read only availability + replica. + :paramtype read_only_routing_url: str + :keyword read_write_routing_url: Connectivity endpoint (URL) of the read write availability + replica. + :paramtype read_write_routing_url: str + :keyword seeding_mode: Specifies how the secondary replica will be initially seeded. AUTOMATIC + enables direct seeding. This method will seed the secondary replica over the network. This + method does not require you to backup and restore a copy of the primary database on the + replica. MANUAL specifies manual seeding (default). This method requires you to create a backup + of the database on the primary replica and manually restore that backup on the secondary + replica. Possible values include: "AUTOMATIC", "MANUAL". + :paramtype seeding_mode: str or ~azure.mgmt.azurearcdata.models.SeedingMode + """ + super(AvailabilityGroupConfigure, self).__init__(**kwargs) + self.endpoint_name = endpoint_name + self.endpoint_url = endpoint_url + self.endpoint_connect_login = endpoint_connect_login + self.availability_mode = availability_mode + self.availability_mode_description = None + self.failover_mode = failover_mode + self.failover_mode_description = None + self.session_timeout = session_timeout + self.primary_allow_connections = primary_allow_connections + self.primary_role_allow_connections_description = None + self.secondary_allow_connections = secondary_allow_connections + self.secondary_role_allow_connections_description = None + self.replica_create_date = None + self.replica_modify_date = None + self.backup_priority = backup_priority + self.read_only_routing_url = read_only_routing_url + self.read_write_routing_url = read_write_routing_url + self.seeding_mode = seeding_mode + self.seeding_mode_description = None + + +class AvailabilityGroupCreateUpdateConfiguration(msrest.serialization.Model): + """Options used in creating an availability group. + + :ivar availability_group_name: Name of the availability group. + :vartype availability_group_name: str + :ivar replicas: List of availability group replicas. + :vartype replicas: + list[~azure.mgmt.azurearcdata.models.AvailabilityGroupCreateUpdateReplicaConfiguration] + :ivar databases: List of databases to include in the availability group. + :vartype databases: list[str] + :ivar automated_backup_preference: Preferred replica for running automated backups. Possible + values include: "PRIMARY", "SECONDARY_ONLY", "SECONDARY", "NONE". + :vartype automated_backup_preference: str or + ~azure.mgmt.azurearcdata.models.AutomatedBackupPreference + :ivar failure_condition_level: User-defined failure condition level under which an automatic + failover must be triggered. Possible values include: 1, 2, 3, 4, 5. + :vartype failure_condition_level: int or ~azure.mgmt.azurearcdata.models.FailureConditionLevel + :ivar health_check_timeout: Wait time (in milliseconds) for the sp_server_diagnostics system + stored procedure to return server-health information, before the server instance is assumed to + be slow or not responding. + :vartype health_check_timeout: int + :ivar db_failover: Specifies whether the availability group supports failover for database + health conditions. Possible values include: "ON", "OFF". + :vartype db_failover: str or ~azure.mgmt.azurearcdata.models.DbFailover + :ivar dtc_support: Specifies whether DTC support has been enabled for this availability group. + Possible values include: "PER_DB", "NONE". + :vartype dtc_support: str or ~azure.mgmt.azurearcdata.models.DtcSupport + :ivar required_synchronized_secondaries_to_commit: The number of secondary replicas that must + be in a synchronized state for a commit to complete. + :vartype required_synchronized_secondaries_to_commit: int + :ivar cluster_type: Set to WSFC when availability group is on a failover cluster instance on a + Windows Server failover cluster. Set to NONE when availability group not using WSFC for cluster + coordination. Possible values include: "WSFC", "NONE". + :vartype cluster_type: str or ~azure.mgmt.azurearcdata.models.ClusterType + :ivar listener: The listener for the sql server availability group. + :vartype listener: + ~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupStaticIPListenerProperties + """ + + _attribute_map = { + "availability_group_name": { + "key": "availabilityGroupName", + "type": "str", + }, + "replicas": { + "key": "replicas", + "type": "[AvailabilityGroupCreateUpdateReplicaConfiguration]", + }, + "databases": {"key": "databases", "type": "[str]"}, + "automated_backup_preference": { + "key": "automatedBackupPreference", + "type": "str", + }, + "failure_condition_level": { + "key": "failureConditionLevel", + "type": "int", + }, + "health_check_timeout": {"key": "healthCheckTimeout", "type": "int"}, + "db_failover": {"key": "dbFailover", "type": "str"}, + "dtc_support": {"key": "dtcSupport", "type": "str"}, + "required_synchronized_secondaries_to_commit": { + "key": "requiredSynchronizedSecondariesToCommit", + "type": "int", + }, + "cluster_type": {"key": "clusterType", "type": "str"}, + "listener": { + "key": "listener", + "type": "SqlAvailabilityGroupStaticIPListenerProperties", + }, + } + + def __init__( + self, + *, + availability_group_name: Optional[str] = None, + replicas: Optional[ + List["AvailabilityGroupCreateUpdateReplicaConfiguration"] + ] = None, + databases: Optional[List[str]] = None, + automated_backup_preference: Optional[ + Union[str, "AutomatedBackupPreference"] + ] = None, + failure_condition_level: Optional[ + Union[int, "FailureConditionLevel"] + ] = None, + health_check_timeout: Optional[int] = None, + db_failover: Optional[Union[str, "DbFailover"]] = None, + dtc_support: Optional[Union[str, "DtcSupport"]] = None, + required_synchronized_secondaries_to_commit: Optional[int] = None, + cluster_type: Optional[Union[str, "ClusterType"]] = None, + listener: Optional[ + "SqlAvailabilityGroupStaticIPListenerProperties" + ] = None, + **kwargs, + ): + """ + :keyword availability_group_name: Name of the availability group. + :paramtype availability_group_name: str + :keyword replicas: List of availability group replicas. + :paramtype replicas: + list[~azure.mgmt.azurearcdata.models.AvailabilityGroupCreateUpdateReplicaConfiguration] + :keyword databases: List of databases to include in the availability group. + :paramtype databases: list[str] + :keyword automated_backup_preference: Preferred replica for running automated backups. Possible + values include: "PRIMARY", "SECONDARY_ONLY", "SECONDARY", "NONE". + :paramtype automated_backup_preference: str or + ~azure.mgmt.azurearcdata.models.AutomatedBackupPreference + :keyword failure_condition_level: User-defined failure condition level under which an automatic + failover must be triggered. Possible values include: 1, 2, 3, 4, 5. + :paramtype failure_condition_level: int or + ~azure.mgmt.azurearcdata.models.FailureConditionLevel + :keyword health_check_timeout: Wait time (in milliseconds) for the sp_server_diagnostics system + stored procedure to return server-health information, before the server instance is assumed to + be slow or not responding. + :paramtype health_check_timeout: int + :keyword db_failover: Specifies whether the availability group supports failover for database + health conditions. Possible values include: "ON", "OFF". + :paramtype db_failover: str or ~azure.mgmt.azurearcdata.models.DbFailover + :keyword dtc_support: Specifies whether DTC support has been enabled for this availability + group. Possible values include: "PER_DB", "NONE". + :paramtype dtc_support: str or ~azure.mgmt.azurearcdata.models.DtcSupport + :keyword required_synchronized_secondaries_to_commit: The number of secondary replicas that + must be in a synchronized state for a commit to complete. + :paramtype required_synchronized_secondaries_to_commit: int + :keyword cluster_type: Set to WSFC when availability group is on a failover cluster instance on + a Windows Server failover cluster. Set to NONE when availability group not using WSFC for + cluster coordination. Possible values include: "WSFC", "NONE". + :paramtype cluster_type: str or ~azure.mgmt.azurearcdata.models.ClusterType + :keyword listener: The listener for the sql server availability group. + :paramtype listener: + ~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupStaticIPListenerProperties + """ + super(AvailabilityGroupCreateUpdateConfiguration, self).__init__( + **kwargs + ) + self.availability_group_name = availability_group_name + self.replicas = replicas + self.databases = databases + self.automated_backup_preference = automated_backup_preference + self.failure_condition_level = failure_condition_level + self.health_check_timeout = health_check_timeout + self.db_failover = db_failover + self.dtc_support = dtc_support + self.required_synchronized_secondaries_to_commit = ( + required_synchronized_secondaries_to_commit + ) + self.cluster_type = cluster_type + self.listener = listener + + +class AvailabilityGroupCreateUpdateReplicaConfiguration( + msrest.serialization.Model +): + """The specifications of the availability group replica configuration. + + :ivar server_instance: the server instance hosting the replica. + :vartype server_instance: str + :ivar endpoint_name: Name of the database mirroring endpoint URL for the availability group + replica. + :vartype endpoint_name: str + :ivar endpoint_url: Database mirroring endpoint URL of availability group replica. + :vartype endpoint_url: str + :ivar endpoint_connect_login: The login which will connect to the mirroring endpoint. + :vartype endpoint_connect_login: str + :ivar availability_mode: Property that determines whether a given availability replica can run + in synchronous-commit mode. Possible values include: "SYNCHRONOUS_COMMIT", + "ASYNCHRONOUS_COMMIT". + :vartype availability_mode: str or ~azure.mgmt.azurearcdata.models.ArcSqlServerAvailabilityMode + :ivar failover_mode: Property to set the failover mode of the availability group replica. + Possible values include: "AUTOMATIC", "MANUAL", "EXTERNAL". + :vartype failover_mode: str or ~azure.mgmt.azurearcdata.models.ArcSqlServerFailoverMode + :ivar seeding_mode: Specifies how the secondary replica will be initially seeded. AUTOMATIC + enables direct seeding. This method will seed the secondary replica over the network. This + method does not require you to backup and restore a copy of the primary database on the + replica. MANUAL specifies manual seeding (default). This method requires you to create a backup + of the database on the primary replica and manually restore that backup on the secondary + replica. Possible values include: "AUTOMATIC", "MANUAL". + :vartype seeding_mode: str or ~azure.mgmt.azurearcdata.models.SeedingMode + :ivar backup_priority: Represents the user-specified priority for performing backups on this + replica relative to the other replicas in the same availability group. + :vartype backup_priority: int + :ivar secondary_role_allow_connections: Whether the secondary replica should allow all + connections, no connections, or only ReadOnly connections. Possible values include: "NO", + "ALL", "READ_ONLY". + :vartype secondary_role_allow_connections: str or + ~azure.mgmt.azurearcdata.models.SecondaryAllowConnections + :ivar secondary_role_read_only_routing_url: Connectivity endpoint (URL) of the read only + availability replica. + :vartype secondary_role_read_only_routing_url: str + :ivar primary_role_allow_connections: Whether the primary replica should allow all connections + or only READ_WRITE connections (disallowing ReadOnly connections). Possible values include: + "ALL", "READ_WRITE". + :vartype primary_role_allow_connections: str or + ~azure.mgmt.azurearcdata.models.PrimaryAllowConnections + :ivar primary_role_read_only_routing_list: List of read only routing URLs. + :vartype primary_role_read_only_routing_list: list[str] + :ivar primary_role_read_write_routing_url: Connectivity endpoint (URL) of the read write + availability replica. + :vartype primary_role_read_write_routing_url: str + :ivar session_timeout: The time-out period of availability group session replica, in seconds. + :vartype session_timeout: int + """ + + _attribute_map = { + "server_instance": {"key": "serverInstance", "type": "str"}, + "endpoint_name": {"key": "endpointName", "type": "str"}, + "endpoint_url": {"key": "endpointUrl", "type": "str"}, + "endpoint_connect_login": { + "key": "endpointConnectLogin", + "type": "str", + }, + "availability_mode": {"key": "availabilityMode", "type": "str"}, + "failover_mode": {"key": "failoverMode", "type": "str"}, + "seeding_mode": {"key": "seedingMode", "type": "str"}, + "backup_priority": {"key": "backupPriority", "type": "int"}, + "secondary_role_allow_connections": { + "key": "secondaryRoleAllowConnections", + "type": "str", + }, + "secondary_role_read_only_routing_url": { + "key": "secondaryRoleReadOnlyRoutingUrl", + "type": "str", + }, + "primary_role_allow_connections": { + "key": "primaryRoleAllowConnections", + "type": "str", + }, + "primary_role_read_only_routing_list": { + "key": "primaryRoleReadOnlyRoutingList", + "type": "[str]", + }, + "primary_role_read_write_routing_url": { + "key": "primaryRoleReadWriteRoutingUrl", + "type": "str", + }, + "session_timeout": {"key": "sessionTimeout", "type": "int"}, + } + + def __init__( + self, + *, + server_instance: Optional[str] = None, + endpoint_name: Optional[str] = None, + endpoint_url: Optional[str] = None, + endpoint_connect_login: Optional[str] = None, + availability_mode: Optional[ + Union[str, "ArcSqlServerAvailabilityMode"] + ] = None, + failover_mode: Optional[Union[str, "ArcSqlServerFailoverMode"]] = None, + seeding_mode: Optional[Union[str, "SeedingMode"]] = None, + backup_priority: Optional[int] = None, + secondary_role_allow_connections: Optional[ + Union[str, "SecondaryAllowConnections"] + ] = None, + secondary_role_read_only_routing_url: Optional[str] = None, + primary_role_allow_connections: Optional[ + Union[str, "PrimaryAllowConnections"] + ] = None, + primary_role_read_only_routing_list: Optional[List[str]] = None, + primary_role_read_write_routing_url: Optional[str] = None, + session_timeout: Optional[int] = None, + **kwargs, + ): + """ + :keyword server_instance: the server instance hosting the replica. + :paramtype server_instance: str + :keyword endpoint_name: Name of the database mirroring endpoint URL for the availability group + replica. + :paramtype endpoint_name: str + :keyword endpoint_url: Database mirroring endpoint URL of availability group replica. + :paramtype endpoint_url: str + :keyword endpoint_connect_login: The login which will connect to the mirroring endpoint. + :paramtype endpoint_connect_login: str + :keyword availability_mode: Property that determines whether a given availability replica can + run in synchronous-commit mode. Possible values include: "SYNCHRONOUS_COMMIT", + "ASYNCHRONOUS_COMMIT". + :paramtype availability_mode: str or + ~azure.mgmt.azurearcdata.models.ArcSqlServerAvailabilityMode + :keyword failover_mode: Property to set the failover mode of the availability group replica. + Possible values include: "AUTOMATIC", "MANUAL", "EXTERNAL". + :paramtype failover_mode: str or ~azure.mgmt.azurearcdata.models.ArcSqlServerFailoverMode + :keyword seeding_mode: Specifies how the secondary replica will be initially seeded. AUTOMATIC + enables direct seeding. This method will seed the secondary replica over the network. This + method does not require you to backup and restore a copy of the primary database on the + replica. MANUAL specifies manual seeding (default). This method requires you to create a backup + of the database on the primary replica and manually restore that backup on the secondary + replica. Possible values include: "AUTOMATIC", "MANUAL". + :paramtype seeding_mode: str or ~azure.mgmt.azurearcdata.models.SeedingMode + :keyword backup_priority: Represents the user-specified priority for performing backups on this + replica relative to the other replicas in the same availability group. + :paramtype backup_priority: int + :keyword secondary_role_allow_connections: Whether the secondary replica should allow all + connections, no connections, or only ReadOnly connections. Possible values include: "NO", + "ALL", "READ_ONLY". + :paramtype secondary_role_allow_connections: str or + ~azure.mgmt.azurearcdata.models.SecondaryAllowConnections + :keyword secondary_role_read_only_routing_url: Connectivity endpoint (URL) of the read only + availability replica. + :paramtype secondary_role_read_only_routing_url: str + :keyword primary_role_allow_connections: Whether the primary replica should allow all + connections or only READ_WRITE connections (disallowing ReadOnly connections). Possible values + include: "ALL", "READ_WRITE". + :paramtype primary_role_allow_connections: str or + ~azure.mgmt.azurearcdata.models.PrimaryAllowConnections + :keyword primary_role_read_only_routing_list: List of read only routing URLs. + :paramtype primary_role_read_only_routing_list: list[str] + :keyword primary_role_read_write_routing_url: Connectivity endpoint (URL) of the read write + availability replica. + :paramtype primary_role_read_write_routing_url: str + :keyword session_timeout: The time-out period of availability group session replica, in + seconds. + :paramtype session_timeout: int + """ + super(AvailabilityGroupCreateUpdateReplicaConfiguration, self).__init__( + **kwargs + ) + self.server_instance = server_instance + self.endpoint_name = endpoint_name + self.endpoint_url = endpoint_url + self.endpoint_connect_login = endpoint_connect_login + self.availability_mode = availability_mode + self.failover_mode = failover_mode + self.seeding_mode = seeding_mode + self.backup_priority = backup_priority + self.secondary_role_allow_connections = secondary_role_allow_connections + self.secondary_role_read_only_routing_url = ( + secondary_role_read_only_routing_url + ) + self.primary_role_allow_connections = primary_role_allow_connections + self.primary_role_read_only_routing_list = ( + primary_role_read_only_routing_list + ) + self.primary_role_read_write_routing_url = ( + primary_role_read_write_routing_url + ) + self.session_timeout = session_timeout + + +class AvailabilityGroupInfo(msrest.serialization.Model): + """The specifications of the availability group state. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar failure_condition_level: User-defined failure condition level under which an automatic + failover must be triggered. + :vartype failure_condition_level: int + :ivar health_check_timeout: Wait time (in milliseconds) for the sp_server_diagnostics system + stored procedure to return server-health information, before the server instance is assumed to + be slow or not responding. + :vartype health_check_timeout: int + :ivar automated_backup_preference_description: Preferred location for performing backups on the + availability databases in this availability group. + :vartype automated_backup_preference_description: str + :ivar version: SQL Server availability group current version. + :vartype version: int + :ivar basic_features: Specifies whether this is a basic availability group. + :vartype basic_features: bool + :ivar dtc_support: Specifies whether DTC support has been enabled for this availability group. + :vartype dtc_support: bool + :ivar db_failover: Specifies whether the availability group supports failover for database + health conditions. + :vartype db_failover: bool + :ivar is_distributed: Specifies whether this is a distributed availability group. + :vartype is_distributed: bool + :ivar cluster_type_description: SQL Server availability group cluster type description. + :vartype cluster_type_description: str + :ivar required_synchronized_secondaries_to_commit: The number of secondary replicas that must + be in a synchronized state for a commit to complete. + :vartype required_synchronized_secondaries_to_commit: int + :ivar is_contained: SQL Server availability group contained system databases. + :vartype is_contained: bool + :ivar primary_replica: Name of the server instance that is hosting the current primary replica. + :vartype primary_replica: str + :ivar primary_recovery_health_description: Indicates the recovery health of the primary + replica. + :vartype primary_recovery_health_description: str + :ivar secondary_recovery_health_description: Indicates the recovery health of a secondary + replica. + :vartype secondary_recovery_health_description: str + :ivar synchronization_health_description: Reflects a roll-up of the synchronization health of + all availability replicas in the availability group. + :vartype synchronization_health_description: str + :ivar replication_partner_type: Possible values include: "SQLServer", "AzureSQLVM", + "AzureSQLManagedInstance", "Unknown". + :vartype replication_partner_type: str or + ~azure.mgmt.azurearcdata.models.ReplicationPartnerType + :ivar listener: The listener for the sql server availability group. + :vartype listener: + ~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupStaticIPListenerProperties + """ + + _validation = { + "automated_backup_preference_description": {"readonly": True}, + "version": {"readonly": True}, + "cluster_type_description": {"readonly": True}, + "primary_replica": {"readonly": True}, + "primary_recovery_health_description": {"readonly": True}, + "secondary_recovery_health_description": {"readonly": True}, + "synchronization_health_description": {"readonly": True}, + "replication_partner_type": {"readonly": True}, + } + + _attribute_map = { + "failure_condition_level": { + "key": "failureConditionLevel", + "type": "int", + }, + "health_check_timeout": {"key": "healthCheckTimeout", "type": "int"}, + "automated_backup_preference_description": { + "key": "automatedBackupPreferenceDescription", + "type": "str", + }, + "version": {"key": "version", "type": "int"}, + "basic_features": {"key": "basicFeatures", "type": "bool"}, + "dtc_support": {"key": "dtcSupport", "type": "bool"}, + "db_failover": {"key": "dbFailover", "type": "bool"}, + "is_distributed": {"key": "isDistributed", "type": "bool"}, + "cluster_type_description": { + "key": "clusterTypeDescription", + "type": "str", + }, + "required_synchronized_secondaries_to_commit": { + "key": "requiredSynchronizedSecondariesToCommit", + "type": "int", + }, + "is_contained": {"key": "isContained", "type": "bool"}, + "primary_replica": {"key": "primaryReplica", "type": "str"}, + "primary_recovery_health_description": { + "key": "primaryRecoveryHealthDescription", + "type": "str", + }, + "secondary_recovery_health_description": { + "key": "secondaryRecoveryHealthDescription", + "type": "str", + }, + "synchronization_health_description": { + "key": "synchronizationHealthDescription", + "type": "str", + }, + "replication_partner_type": { + "key": "replicationPartnerType", + "type": "str", + }, + "listener": { + "key": "listener", + "type": "SqlAvailabilityGroupStaticIPListenerProperties", + }, + } + + def __init__( + self, + *, + failure_condition_level: Optional[int] = None, + health_check_timeout: Optional[int] = None, + basic_features: Optional[bool] = None, + dtc_support: Optional[bool] = None, + db_failover: Optional[bool] = None, + is_distributed: Optional[bool] = None, + required_synchronized_secondaries_to_commit: Optional[int] = None, + is_contained: Optional[bool] = None, + listener: Optional[ + "SqlAvailabilityGroupStaticIPListenerProperties" + ] = None, + **kwargs, + ): + """ + :keyword failure_condition_level: User-defined failure condition level under which an automatic + failover must be triggered. + :paramtype failure_condition_level: int + :keyword health_check_timeout: Wait time (in milliseconds) for the sp_server_diagnostics system + stored procedure to return server-health information, before the server instance is assumed to + be slow or not responding. + :paramtype health_check_timeout: int + :keyword basic_features: Specifies whether this is a basic availability group. + :paramtype basic_features: bool + :keyword dtc_support: Specifies whether DTC support has been enabled for this availability + group. + :paramtype dtc_support: bool + :keyword db_failover: Specifies whether the availability group supports failover for database + health conditions. + :paramtype db_failover: bool + :keyword is_distributed: Specifies whether this is a distributed availability group. + :paramtype is_distributed: bool + :keyword required_synchronized_secondaries_to_commit: The number of secondary replicas that + must be in a synchronized state for a commit to complete. + :paramtype required_synchronized_secondaries_to_commit: int + :keyword is_contained: SQL Server availability group contained system databases. + :paramtype is_contained: bool + :keyword listener: The listener for the sql server availability group. + :paramtype listener: + ~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupStaticIPListenerProperties + """ + super(AvailabilityGroupInfo, self).__init__(**kwargs) + self.failure_condition_level = failure_condition_level + self.health_check_timeout = health_check_timeout + self.automated_backup_preference_description = None + self.version = None + self.basic_features = basic_features + self.dtc_support = dtc_support + self.db_failover = db_failover + self.is_distributed = is_distributed + self.cluster_type_description = None + self.required_synchronized_secondaries_to_commit = ( + required_synchronized_secondaries_to_commit + ) + self.is_contained = is_contained + self.primary_replica = None + self.primary_recovery_health_description = None + self.secondary_recovery_health_description = None + self.synchronization_health_description = None + self.replication_partner_type = None + self.listener = listener + + +class AvailabilityGroupState(msrest.serialization.Model): + """The specifications of the availability group state. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar availability_group_replica_role: Current Always On availability groups role of the + availability group replica. + :vartype availability_group_replica_role: str + :ivar operational_state_description: Current operational state of the availability group + replica. + :vartype operational_state_description: str + :ivar recovery_health_description: Recovery health of the availability group replica. + :vartype recovery_health_description: str + :ivar synchronization_health_description: Reflects a rollup of the database synchronization + state (synchronization_state) of all joined availability databases (also known as replicas) and + the availability mode of the replica (synchronous-commit or asynchronous-commit mode). The + rollup will reflect the least healthy accumulated state the databases on the replica. + :vartype synchronization_health_description: str + :ivar connected_state_description: Whether a secondary replica is currently connected to the + primary replica. + :vartype connected_state_description: str + :ivar last_connect_error_description: Text description of the last connection error of the + availability group replica. + :vartype last_connect_error_description: str + :ivar last_connect_error_timestamp: Date and time timestamp indicating when the last connect + error occurred. + :vartype last_connect_error_timestamp: ~datetime.datetime + """ + + _validation = { + "availability_group_replica_role": {"readonly": True}, + "operational_state_description": {"readonly": True}, + "recovery_health_description": {"readonly": True}, + "synchronization_health_description": {"readonly": True}, + "connected_state_description": {"readonly": True}, + "last_connect_error_description": {"readonly": True}, + "last_connect_error_timestamp": {"readonly": True}, + } + + _attribute_map = { + "availability_group_replica_role": { + "key": "availabilityGroupReplicaRole", + "type": "str", + }, + "operational_state_description": { + "key": "operationalStateDescription", + "type": "str", + }, + "recovery_health_description": { + "key": "recoveryHealthDescription", + "type": "str", + }, + "synchronization_health_description": { + "key": "synchronizationHealthDescription", + "type": "str", + }, + "connected_state_description": { + "key": "connectedStateDescription", + "type": "str", + }, + "last_connect_error_description": { + "key": "lastConnectErrorDescription", + "type": "str", + }, + "last_connect_error_timestamp": { + "key": "lastConnectErrorTimestamp", + "type": "iso-8601", + }, + } + + def __init__(self, **kwargs): + """ """ + super(AvailabilityGroupState, self).__init__(**kwargs) + self.availability_group_replica_role = None + self.operational_state_description = None + self.recovery_health_description = None + self.synchronization_health_description = None + self.connected_state_description = None + self.last_connect_error_description = None + self.last_connect_error_timestamp = None + + +class BackupPolicy(msrest.serialization.Model): + """The backup profile for the SQL server. + + :ivar retention_period_days: The retention period for all the databases in this managed + instance. + :vartype retention_period_days: int + :ivar full_backup_days: The value indicating days between full backups. + :vartype full_backup_days: int + :ivar differential_backup_hours: The differential backup interval in hours. Possible values + include: 12, 24. + :vartype differential_backup_hours: int or + ~azure.mgmt.azurearcdata.models.DifferentialBackupHours + :ivar transaction_log_backup_minutes: The value indicating minutes between transaction log + backups. + :vartype transaction_log_backup_minutes: int + """ + + _validation = { + "retention_period_days": {"maximum": 35, "minimum": 0}, + "full_backup_days": {"maximum": 7, "minimum": 0}, + "transaction_log_backup_minutes": {"maximum": 60, "minimum": 0}, + } + + _attribute_map = { + "retention_period_days": {"key": "retentionPeriodDays", "type": "int"}, + "full_backup_days": {"key": "fullBackupDays", "type": "int"}, + "differential_backup_hours": { + "key": "differentialBackupHours", + "type": "int", + }, + "transaction_log_backup_minutes": { + "key": "transactionLogBackupMinutes", + "type": "int", + }, + } + + def __init__( + self, + *, + retention_period_days: Optional[int] = None, + full_backup_days: Optional[int] = None, + differential_backup_hours: Optional[ + Union[int, "DifferentialBackupHours"] + ] = None, + transaction_log_backup_minutes: Optional[int] = None, + **kwargs, + ): + """ + :keyword retention_period_days: The retention period for all the databases in this managed + instance. + :paramtype retention_period_days: int + :keyword full_backup_days: The value indicating days between full backups. + :paramtype full_backup_days: int + :keyword differential_backup_hours: The differential backup interval in hours. Possible values + include: 12, 24. + :paramtype differential_backup_hours: int or + ~azure.mgmt.azurearcdata.models.DifferentialBackupHours + :keyword transaction_log_backup_minutes: The value indicating minutes between transaction log + backups. + :paramtype transaction_log_backup_minutes: int + """ + super(BackupPolicy, self).__init__(**kwargs) + self.retention_period_days = retention_period_days + self.full_backup_days = full_backup_days + self.differential_backup_hours = differential_backup_hours + self.transaction_log_backup_minutes = transaction_log_backup_minutes + + +class BasicLoginInformation(msrest.serialization.Model): + """Username and password for basic login authentication. + + :ivar username: Login username. + :vartype username: str + :ivar password: Login password. + :vartype password: str + """ + + _attribute_map = { + "username": {"key": "username", "type": "str"}, + "password": {"key": "password", "type": "str"}, + } + + def __init__( + self, + *, + username: Optional[str] = None, + password: Optional[str] = None, + **kwargs, + ): + """ + :keyword username: Login username. + :paramtype username: str + :keyword password: Login password. + :paramtype password: str + """ + super(BasicLoginInformation, self).__init__(**kwargs) + self.username = username + self.password = password + + +class CommonSku(msrest.serialization.Model): + """The resource model definition representing SKU for ARM resources. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the SKU. It is typically a letter+number code. + :vartype name: str + :ivar dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used + for dev/test purpose. + :vartype dev: bool + :ivar size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :vartype size: str + :ivar family: If the service has different generations of hardware, for the same SKU, then that + can be captured here. + :vartype family: str + :ivar capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :vartype capacity: int + """ + + _validation = { + "name": {"required": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + } + + def __init__( + self, + *, + name: str, + dev: Optional[bool] = True, + size: Optional[str] = None, + family: Optional[str] = None, + capacity: Optional[int] = None, + **kwargs, + ): + """ + :keyword name: Required. The name of the SKU. It is typically a letter+number code. + :paramtype name: str + :keyword dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :paramtype dev: bool + :keyword size: The SKU size. When the name field is the combination of tier and some other + value, this would be the standalone code. + :paramtype size: str + :keyword family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :paramtype family: str + :keyword capacity: If the SKU supports scale out/in then the capacity integer should be + included. If scale out/in is not possible for the resource this may be omitted. + :paramtype capacity: int + """ + super(CommonSku, self).__init__(**kwargs) + self.name = name + self.dev = dev + self.size = size + self.family = family + self.capacity = capacity + + +class DataControllerProperties(msrest.serialization.Model): + """The data controller properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar infrastructure: The infrastructure the data controller is running on. Possible values + include: "azure", "gcp", "aws", "alibaba", "onpremises", "other". Default value: "other". + :vartype infrastructure: str or ~azure.mgmt.azurearcdata.models.Infrastructure + :ivar on_premise_property: Properties from the Kubernetes data controller. + :vartype on_premise_property: ~azure.mgmt.azurearcdata.models.OnPremiseProperty + :ivar k8_s_raw: The raw kubernetes information. + :vartype k8_s_raw: any + :ivar upload_watermark: Properties on upload watermark. Mostly timestamp for each upload data + type. + :vartype upload_watermark: ~azure.mgmt.azurearcdata.models.UploadWatermark + :ivar last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :vartype last_uploaded_date: ~datetime.datetime + :ivar basic_login_information: Deprecated. Azure Arc Data Services data controller no longer + expose any endpoint. All traffic are exposed through Kubernetes native API. + :vartype basic_login_information: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :ivar metrics_dashboard_credential: Login credential for metrics dashboard on the Kubernetes + cluster. + :vartype metrics_dashboard_credential: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :ivar logs_dashboard_credential: Login credential for logs dashboard on the Kubernetes cluster. + :vartype logs_dashboard_credential: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :ivar log_analytics_workspace_config: Log analytics workspace id and primary key. + :vartype log_analytics_workspace_config: + ~azure.mgmt.azurearcdata.models.LogAnalyticsWorkspaceConfig + :ivar upload_service_principal: Deprecated. Service principal is deprecated in favor of Arc + Kubernetes service extension managed identity. + :vartype upload_service_principal: ~azure.mgmt.azurearcdata.models.UploadServicePrincipal + :ivar provisioning_state: The provisioning state of the Arc Data Controller resource. + :vartype provisioning_state: str + :ivar cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :vartype cluster_id: str + :ivar extension_id: If a CustomLocation is provided, this contains the ARM id of the extension + the custom location belongs to. + :vartype extension_id: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "infrastructure": {"key": "infrastructure", "type": "str"}, + "on_premise_property": { + "key": "onPremiseProperty", + "type": "OnPremiseProperty", + }, + "k8_s_raw": {"key": "k8sRaw", "type": "object"}, + "upload_watermark": { + "key": "uploadWatermark", + "type": "UploadWatermark", + }, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "metrics_dashboard_credential": { + "key": "metricsDashboardCredential", + "type": "BasicLoginInformation", + }, + "logs_dashboard_credential": { + "key": "logsDashboardCredential", + "type": "BasicLoginInformation", + }, + "log_analytics_workspace_config": { + "key": "logAnalyticsWorkspaceConfig", + "type": "LogAnalyticsWorkspaceConfig", + }, + "upload_service_principal": { + "key": "uploadServicePrincipal", + "type": "UploadServicePrincipal", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "cluster_id": {"key": "clusterId", "type": "str"}, + "extension_id": {"key": "extensionId", "type": "str"}, + } + + def __init__( + self, + *, + infrastructure: Optional[Union[str, "Infrastructure"]] = "other", + on_premise_property: Optional["OnPremiseProperty"] = None, + k8_s_raw: Optional[Any] = None, + upload_watermark: Optional["UploadWatermark"] = None, + last_uploaded_date: Optional[datetime.datetime] = None, + basic_login_information: Optional["BasicLoginInformation"] = None, + metrics_dashboard_credential: Optional["BasicLoginInformation"] = None, + logs_dashboard_credential: Optional["BasicLoginInformation"] = None, + log_analytics_workspace_config: Optional[ + "LogAnalyticsWorkspaceConfig" + ] = None, + upload_service_principal: Optional["UploadServicePrincipal"] = None, + cluster_id: Optional[str] = None, + extension_id: Optional[str] = None, + **kwargs, + ): + """ + :keyword infrastructure: The infrastructure the data controller is running on. Possible values + include: "azure", "gcp", "aws", "alibaba", "onpremises", "other". Default value: "other". + :paramtype infrastructure: str or ~azure.mgmt.azurearcdata.models.Infrastructure + :keyword on_premise_property: Properties from the Kubernetes data controller. + :paramtype on_premise_property: ~azure.mgmt.azurearcdata.models.OnPremiseProperty + :keyword k8_s_raw: The raw kubernetes information. + :paramtype k8_s_raw: any + :keyword upload_watermark: Properties on upload watermark. Mostly timestamp for each upload + data type. + :paramtype upload_watermark: ~azure.mgmt.azurearcdata.models.UploadWatermark + :keyword last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current + date time. + :paramtype last_uploaded_date: ~datetime.datetime + :keyword basic_login_information: Deprecated. Azure Arc Data Services data controller no longer + expose any endpoint. All traffic are exposed through Kubernetes native API. + :paramtype basic_login_information: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :keyword metrics_dashboard_credential: Login credential for metrics dashboard on the Kubernetes + cluster. + :paramtype metrics_dashboard_credential: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :keyword logs_dashboard_credential: Login credential for logs dashboard on the Kubernetes + cluster. + :paramtype logs_dashboard_credential: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :keyword log_analytics_workspace_config: Log analytics workspace id and primary key. + :paramtype log_analytics_workspace_config: + ~azure.mgmt.azurearcdata.models.LogAnalyticsWorkspaceConfig + :keyword upload_service_principal: Deprecated. Service principal is deprecated in favor of Arc + Kubernetes service extension managed identity. + :paramtype upload_service_principal: ~azure.mgmt.azurearcdata.models.UploadServicePrincipal + :keyword cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :paramtype cluster_id: str + :keyword extension_id: If a CustomLocation is provided, this contains the ARM id of the + extension the custom location belongs to. + :paramtype extension_id: str + """ + super(DataControllerProperties, self).__init__(**kwargs) + self.infrastructure = infrastructure + self.on_premise_property = on_premise_property + self.k8_s_raw = k8_s_raw + self.upload_watermark = upload_watermark + self.last_uploaded_date = last_uploaded_date + self.basic_login_information = basic_login_information + self.metrics_dashboard_credential = metrics_dashboard_credential + self.logs_dashboard_credential = logs_dashboard_credential + self.log_analytics_workspace_config = log_analytics_workspace_config + self.upload_service_principal = upload_service_principal + self.provisioning_state = None + self.cluster_id = cluster_id + self.extension_id = extension_id + + +class TrackedResource(Resource): + """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + } + + def __init__( + self, *, location: str, tags: Optional[Dict[str, str]] = None, **kwargs + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + """ + super(TrackedResource, self).__init__(**kwargs) + self.tags = tags + self.location = location + + +class DataControllerResource(TrackedResource): + """Data controller resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar extended_location: The extendedLocation of the resource. + :vartype extended_location: ~azure.mgmt.azurearcdata.models.ExtendedLocation + :ivar properties: Required. The data controller's properties. + :vartype properties: ~azure.mgmt.azurearcdata.models.DataControllerProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "properties": {"key": "properties", "type": "DataControllerProperties"}, + } + + def __init__( + self, + *, + location: str, + properties: "DataControllerProperties", + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword extended_location: The extendedLocation of the resource. + :paramtype extended_location: ~azure.mgmt.azurearcdata.models.ExtendedLocation + :keyword properties: Required. The data controller's properties. + :paramtype properties: ~azure.mgmt.azurearcdata.models.DataControllerProperties + """ + super(DataControllerResource, self).__init__( + tags=tags, location=location, **kwargs + ) + self.extended_location = extended_location + self.properties = properties + + +class DataControllerUpdate(msrest.serialization.Model): + """Used for updating a data controller resource. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: The data controller's properties. + :vartype properties: ~azure.mgmt.azurearcdata.models.DataControllerProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": {"key": "properties", "type": "DataControllerProperties"}, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + properties: Optional["DataControllerProperties"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The data controller's properties. + :paramtype properties: ~azure.mgmt.azurearcdata.models.DataControllerProperties + """ + super(DataControllerUpdate, self).__init__(**kwargs) + self.tags = tags + self.properties = properties + + +class ErrorAdditionalInfo(msrest.serialization.Model): + """The resource management error additional info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: The additional info type. + :vartype type: str + :ivar info: The additional info. + :vartype info: any + """ + + _validation = { + "type": {"readonly": True}, + "info": {"readonly": True}, + } + + _attribute_map = { + "type": {"key": "type", "type": "str"}, + "info": {"key": "info", "type": "object"}, + } + + def __init__(self, **kwargs): + """ """ + super(ErrorAdditionalInfo, self).__init__(**kwargs) + self.type = None + self.info = None + + +class ErrorDetail(msrest.serialization.Model): + """The error detail. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar code: The error code. + :vartype code: str + :ivar message: The error message. + :vartype message: str + :ivar target: The error target. + :vartype target: str + :ivar details: The error details. + :vartype details: list[~azure.mgmt.azurearcdata.models.ErrorDetail] + :ivar additional_info: The error additional info. + :vartype additional_info: list[~azure.mgmt.azurearcdata.models.ErrorAdditionalInfo] + """ + + _validation = { + "code": {"readonly": True}, + "message": {"readonly": True}, + "target": {"readonly": True}, + "details": {"readonly": True}, + "additional_info": {"readonly": True}, + } + + _attribute_map = { + "code": {"key": "code", "type": "str"}, + "message": {"key": "message", "type": "str"}, + "target": {"key": "target", "type": "str"}, + "details": {"key": "details", "type": "[ErrorDetail]"}, + "additional_info": { + "key": "additionalInfo", + "type": "[ErrorAdditionalInfo]", + }, + } + + def __init__(self, **kwargs): + """ """ + super(ErrorDetail, self).__init__(**kwargs) + self.code = None + self.message = None + self.target = None + self.details = None + self.additional_info = None + + +class ErrorResponse(msrest.serialization.Model): + """Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). + + :ivar error: The error object. + :vartype error: ~azure.mgmt.azurearcdata.models.ErrorDetail + """ + + _attribute_map = { + "error": {"key": "error", "type": "ErrorDetail"}, + } + + def __init__(self, *, error: Optional["ErrorDetail"] = None, **kwargs): + """ + :keyword error: The error object. + :paramtype error: ~azure.mgmt.azurearcdata.models.ErrorDetail + """ + super(ErrorResponse, self).__init__(**kwargs) + self.error = error + + +class ExtendedLocation(msrest.serialization.Model): + """The complex type of the extended location. + + :ivar name: The name of the extended location. + :vartype name: str + :ivar type: The type of the extended location. Possible values include: "CustomLocation". + :vartype type: str or ~azure.mgmt.azurearcdata.models.ExtendedLocationTypes + """ + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + type: Optional[Union[str, "ExtendedLocationTypes"]] = None, + **kwargs, + ): + """ + :keyword name: The name of the extended location. + :paramtype name: str + :keyword type: The type of the extended location. Possible values include: "CustomLocation". + :paramtype type: str or ~azure.mgmt.azurearcdata.models.ExtendedLocationTypes + """ + super(ExtendedLocation, self).__init__(**kwargs) + self.name = name + self.type = type + + +class FailoverCluster(msrest.serialization.Model): + """Failover Cluster Instance properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The GUID of the SQL Server's underlying Failover Cluster. + :vartype id: str + :ivar network_name: The network name to connect to the SQL FCI. + :vartype network_name: str + :ivar sql_instance_ids: The ARM IDs of the Arc SQL Server resources, belonging to the current + server's Failover cluster. + :vartype sql_instance_ids: list[str] + :ivar host_names: The host names which are part of the SQL FCI resource group. + :vartype host_names: list[str] + """ + + _validation = { + "id": {"readonly": True}, + "network_name": {"readonly": True}, + "sql_instance_ids": {"readonly": True}, + "host_names": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "network_name": {"key": "networkName", "type": "str"}, + "sql_instance_ids": {"key": "sqlInstanceIds", "type": "[str]"}, + "host_names": {"key": "hostNames", "type": "[str]"}, + } + + def __init__(self, **kwargs): + """ """ + super(FailoverCluster, self).__init__(**kwargs) + self.id = None + self.network_name = None + self.sql_instance_ids = None + self.host_names = None + + +class FailoverGroupListResult(msrest.serialization.Model): + """A list of failover groups. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of failover group results. + :vartype value: list[~azure.mgmt.azurearcdata.models.FailoverGroupResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[FailoverGroupResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(FailoverGroupListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class FailoverGroupProperties(msrest.serialization.Model): + """The properties of a failover group resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar provisioning_state: The provisioning state of the failover group resource. Possible + values include: "Succeeded", "Failed", "Canceled", "Accepted". + :vartype provisioning_state: str or ~azure.mgmt.azurearcdata.models.ProvisioningState + :ivar partner_managed_instance_id: Required. The resource ID of the partner SQL managed + instance. + :vartype partner_managed_instance_id: str + :ivar spec: Required. The specifications of the failover group resource. + :vartype spec: ~azure.mgmt.azurearcdata.models.FailoverGroupSpec + :ivar status: The status of the failover group custom resource. + :vartype status: any + """ + + _validation = { + "provisioning_state": {"readonly": True}, + "partner_managed_instance_id": {"required": True}, + "spec": {"required": True}, + } + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "partner_managed_instance_id": { + "key": "partnerManagedInstanceId", + "type": "str", + }, + "spec": {"key": "spec", "type": "FailoverGroupSpec"}, + "status": {"key": "status", "type": "object"}, + } + + def __init__( + self, + *, + partner_managed_instance_id: str, + spec: "FailoverGroupSpec", + additional_properties: Optional[Dict[str, Any]] = None, + status: Optional[Any] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword partner_managed_instance_id: Required. The resource ID of the partner SQL managed + instance. + :paramtype partner_managed_instance_id: str + :keyword spec: Required. The specifications of the failover group resource. + :paramtype spec: ~azure.mgmt.azurearcdata.models.FailoverGroupSpec + :keyword status: The status of the failover group custom resource. + :paramtype status: any + """ + super(FailoverGroupProperties, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.provisioning_state = None + self.partner_managed_instance_id = partner_managed_instance_id + self.spec = spec + self.status = status + + +class FailoverGroupResource(Resource): + """A failover group resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar properties: Required. null. + :vartype properties: ~azure.mgmt.azurearcdata.models.FailoverGroupProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "properties": {"key": "properties", "type": "FailoverGroupProperties"}, + } + + def __init__(self, *, properties: "FailoverGroupProperties", **kwargs): + """ + :keyword properties: Required. null. + :paramtype properties: ~azure.mgmt.azurearcdata.models.FailoverGroupProperties + """ + super(FailoverGroupResource, self).__init__(**kwargs) + self.properties = properties + + +class FailoverGroupSpec(msrest.serialization.Model): + """The specifications of the failover group resource. + + All required parameters must be populated in order to send to Azure. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar shared_name: The shared name of the failover group for this SQL managed instance. Both + SQL managed instance and its partner have to use the same shared name. + :vartype shared_name: str + :ivar source_mi: The name of the SQL managed instance with this failover group role. + :vartype source_mi: str + :ivar partner_mi: The name of the partner SQL managed instance. + :vartype partner_mi: str + :ivar partner_mirroring_url: The mirroring endpoint URL of the partner SQL managed instance. + :vartype partner_mirroring_url: str + :ivar partner_mirroring_cert: The mirroring endpoint public certificate for the partner SQL + managed instance. Only PEM format is supported. + :vartype partner_mirroring_cert: str + :ivar partner_sync_mode: The partner sync mode of the SQL managed instance. Possible values + include: "async", "sync". Default value: "async". + :vartype partner_sync_mode: str or ~azure.mgmt.azurearcdata.models.FailoverGroupPartnerSyncMode + :ivar role: Required. The role of the SQL managed instance in this failover group. Possible + values include: "primary", "secondary", "force-primary-allow-data-loss", "force-secondary". + Default value: "primary". + :vartype role: str or ~azure.mgmt.azurearcdata.models.InstanceFailoverGroupRole + """ + + _validation = { + "role": {"required": True}, + } + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "shared_name": {"key": "sharedName", "type": "str"}, + "source_mi": {"key": "sourceMI", "type": "str"}, + "partner_mi": {"key": "partnerMI", "type": "str"}, + "partner_mirroring_url": {"key": "partnerMirroringURL", "type": "str"}, + "partner_mirroring_cert": { + "key": "partnerMirroringCert", + "type": "str", + }, + "partner_sync_mode": {"key": "partnerSyncMode", "type": "str"}, + "role": {"key": "role", "type": "str"}, + } + + def __init__( + self, + *, + role: Union[str, "InstanceFailoverGroupRole"] = "primary", + additional_properties: Optional[Dict[str, Any]] = None, + shared_name: Optional[str] = None, + source_mi: Optional[str] = None, + partner_mi: Optional[str] = None, + partner_mirroring_url: Optional[str] = None, + partner_mirroring_cert: Optional[str] = None, + partner_sync_mode: Optional[ + Union[str, "FailoverGroupPartnerSyncMode"] + ] = "async", + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword shared_name: The shared name of the failover group for this SQL managed instance. Both + SQL managed instance and its partner have to use the same shared name. + :paramtype shared_name: str + :keyword source_mi: The name of the SQL managed instance with this failover group role. + :paramtype source_mi: str + :keyword partner_mi: The name of the partner SQL managed instance. + :paramtype partner_mi: str + :keyword partner_mirroring_url: The mirroring endpoint URL of the partner SQL managed instance. + :paramtype partner_mirroring_url: str + :keyword partner_mirroring_cert: The mirroring endpoint public certificate for the partner SQL + managed instance. Only PEM format is supported. + :paramtype partner_mirroring_cert: str + :keyword partner_sync_mode: The partner sync mode of the SQL managed instance. Possible values + include: "async", "sync". Default value: "async". + :paramtype partner_sync_mode: str or + ~azure.mgmt.azurearcdata.models.FailoverGroupPartnerSyncMode + :keyword role: Required. The role of the SQL managed instance in this failover group. Possible + values include: "primary", "secondary", "force-primary-allow-data-loss", "force-secondary". + Default value: "primary". + :paramtype role: str or ~azure.mgmt.azurearcdata.models.InstanceFailoverGroupRole + """ + super(FailoverGroupSpec, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.shared_name = shared_name + self.source_mi = source_mi + self.partner_mi = partner_mi + self.partner_mirroring_url = partner_mirroring_url + self.partner_mirroring_cert = partner_mirroring_cert + self.partner_sync_mode = partner_sync_mode + self.role = role + + +class K8SActiveDirectory(msrest.serialization.Model): + """The kubernetes active directory information. + + :ivar connector: + :vartype connector: ~azure.mgmt.azurearcdata.models.K8SActiveDirectoryConnector + :ivar account_name: Account name for AAD. + :vartype account_name: str + :ivar keytab_secret: Keytab secret used to authenticate with Active Directory. + :vartype keytab_secret: str + :ivar encryption_types: An array of encryption types. + :vartype encryption_types: list[str] + """ + + _attribute_map = { + "connector": { + "key": "connector", + "type": "K8SActiveDirectoryConnector", + }, + "account_name": {"key": "accountName", "type": "str"}, + "keytab_secret": {"key": "keytabSecret", "type": "str"}, + "encryption_types": {"key": "encryptionTypes", "type": "[str]"}, + } + + def __init__( + self, + *, + connector: Optional["K8SActiveDirectoryConnector"] = None, + account_name: Optional[str] = None, + keytab_secret: Optional[str] = None, + encryption_types: Optional[List[str]] = None, + **kwargs, + ): + """ + :keyword connector: + :paramtype connector: ~azure.mgmt.azurearcdata.models.K8SActiveDirectoryConnector + :keyword account_name: Account name for AAD. + :paramtype account_name: str + :keyword keytab_secret: Keytab secret used to authenticate with Active Directory. + :paramtype keytab_secret: str + :keyword encryption_types: An array of encryption types. + :paramtype encryption_types: list[str] + """ + super(K8SActiveDirectory, self).__init__(**kwargs) + self.connector = connector + self.account_name = account_name + self.keytab_secret = keytab_secret + self.encryption_types = encryption_types + + +class K8SActiveDirectoryConnector(msrest.serialization.Model): + """K8SActiveDirectoryConnector. + + :ivar name: Name of the connector. + :vartype name: str + :ivar namespace: Name space of the connector. + :vartype namespace: str + """ + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "namespace": {"key": "namespace", "type": "str"}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + namespace: Optional[str] = None, + **kwargs, + ): + """ + :keyword name: Name of the connector. + :paramtype name: str + :keyword namespace: Name space of the connector. + :paramtype namespace: str + """ + super(K8SActiveDirectoryConnector, self).__init__(**kwargs) + self.name = name + self.namespace = namespace + + +class K8SNetworkSettings(msrest.serialization.Model): + """The kubernetes network settings information. + + :ivar forceencryption: If 1, then SQL Server forces all connections to be encrypted. By + default, this option is 0. + :vartype forceencryption: int + :ivar tlsciphers: Specifies which ciphers are allowed by SQL Server for TLS. + :vartype tlsciphers: str + :ivar tlsprotocols: A comma-separated list of which TLS protocols are allowed by SQL Server. + :vartype tlsprotocols: str + """ + + _attribute_map = { + "forceencryption": {"key": "forceencryption", "type": "int"}, + "tlsciphers": {"key": "tlsciphers", "type": "str"}, + "tlsprotocols": {"key": "tlsprotocols", "type": "str"}, + } + + def __init__( + self, + *, + forceencryption: Optional[int] = None, + tlsciphers: Optional[str] = None, + tlsprotocols: Optional[str] = None, + **kwargs, + ): + """ + :keyword forceencryption: If 1, then SQL Server forces all connections to be encrypted. By + default, this option is 0. + :paramtype forceencryption: int + :keyword tlsciphers: Specifies which ciphers are allowed by SQL Server for TLS. + :paramtype tlsciphers: str + :keyword tlsprotocols: A comma-separated list of which TLS protocols are allowed by SQL Server. + :paramtype tlsprotocols: str + """ + super(K8SNetworkSettings, self).__init__(**kwargs) + self.forceencryption = forceencryption + self.tlsciphers = tlsciphers + self.tlsprotocols = tlsprotocols + + +class K8SResourceRequirements(msrest.serialization.Model): + """The kubernetes resource limits and requests used to restrict or reserve resource usage. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar requests: Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' + request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default + 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and + maximum 'memory' is '128Gi'. + :vartype requests: dict[str, str] + :ivar limits: Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request + must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' + is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum + 'memory' is '128Gi'. + :vartype limits: dict[str, str] + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "requests": {"key": "requests", "type": "{str}"}, + "limits": {"key": "limits", "type": "{str}"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + requests: Optional[Dict[str, str]] = None, + limits: Optional[Dict[str, str]] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword requests: Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' + request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default + 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and + maximum 'memory' is '128Gi'. + :paramtype requests: dict[str, str] + :keyword limits: Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request + must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' + is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum + 'memory' is '128Gi'. + :paramtype limits: dict[str, str] + """ + super(K8SResourceRequirements, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.requests = requests + self.limits = limits + + +class K8SScheduling(msrest.serialization.Model): + """The kubernetes scheduling information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar default: The kubernetes scheduling options. It describes restrictions used to help + Kubernetes select appropriate nodes to host the database service. + :vartype default: ~azure.mgmt.azurearcdata.models.K8SSchedulingOptions + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "default": {"key": "default", "type": "K8SSchedulingOptions"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + default: Optional["K8SSchedulingOptions"] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword default: The kubernetes scheduling options. It describes restrictions used to help + Kubernetes select appropriate nodes to host the database service. + :paramtype default: ~azure.mgmt.azurearcdata.models.K8SSchedulingOptions + """ + super(K8SScheduling, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.default = default + + +class K8SSchedulingOptions(msrest.serialization.Model): + """The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar resources: The kubernetes resource limits and requests used to restrict or reserve + resource usage. + :vartype resources: ~azure.mgmt.azurearcdata.models.K8SResourceRequirements + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "resources": {"key": "resources", "type": "K8SResourceRequirements"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + resources: Optional["K8SResourceRequirements"] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword resources: The kubernetes resource limits and requests used to restrict or reserve + resource usage. + :paramtype resources: ~azure.mgmt.azurearcdata.models.K8SResourceRequirements + """ + super(K8SSchedulingOptions, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.resources = resources + + +class K8SSecurity(msrest.serialization.Model): + """The kubernetes security information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar admin_login_secret: Admin login secret key. + :vartype admin_login_secret: str + :ivar service_certificate_secret: Service certificate secret used. + :vartype service_certificate_secret: str + :ivar active_directory: The kubernetes active directory information. + :vartype active_directory: ~azure.mgmt.azurearcdata.models.K8SActiveDirectory + :ivar transparent_data_encryption: Transparent data encryption information. + :vartype transparent_data_encryption: + ~azure.mgmt.azurearcdata.models.K8StransparentDataEncryption + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "admin_login_secret": {"key": "adminLoginSecret", "type": "str"}, + "service_certificate_secret": { + "key": "serviceCertificateSecret", + "type": "str", + }, + "active_directory": { + "key": "activeDirectory", + "type": "K8SActiveDirectory", + }, + "transparent_data_encryption": { + "key": "transparentDataEncryption", + "type": "K8StransparentDataEncryption", + }, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + admin_login_secret: Optional[str] = None, + service_certificate_secret: Optional[str] = None, + active_directory: Optional["K8SActiveDirectory"] = None, + transparent_data_encryption: Optional[ + "K8StransparentDataEncryption" + ] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword admin_login_secret: Admin login secret key. + :paramtype admin_login_secret: str + :keyword service_certificate_secret: Service certificate secret used. + :paramtype service_certificate_secret: str + :keyword active_directory: The kubernetes active directory information. + :paramtype active_directory: ~azure.mgmt.azurearcdata.models.K8SActiveDirectory + :keyword transparent_data_encryption: Transparent data encryption information. + :paramtype transparent_data_encryption: + ~azure.mgmt.azurearcdata.models.K8StransparentDataEncryption + """ + super(K8SSecurity, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.admin_login_secret = admin_login_secret + self.service_certificate_secret = service_certificate_secret + self.active_directory = active_directory + self.transparent_data_encryption = transparent_data_encryption + + +class K8SSettings(msrest.serialization.Model): + """The kubernetes settings information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar network: The kubernetes network settings information. + :vartype network: ~azure.mgmt.azurearcdata.models.K8SNetworkSettings + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "network": {"key": "network", "type": "K8SNetworkSettings"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + network: Optional["K8SNetworkSettings"] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword network: The kubernetes network settings information. + :paramtype network: ~azure.mgmt.azurearcdata.models.K8SNetworkSettings + """ + super(K8SSettings, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.network = network + + +class K8StransparentDataEncryption(msrest.serialization.Model): + """Transparent data encryption information. + + :ivar mode: Transparent data encryption mode. Can be Service Managed, Customer managed or + disabled. + :vartype mode: str + :ivar protector_secret: Protector secret for customer managed Transparent data encryption mode. + :vartype protector_secret: str + """ + + _attribute_map = { + "mode": {"key": "mode", "type": "str"}, + "protector_secret": {"key": "protectorSecret", "type": "str"}, + } + + def __init__( + self, + *, + mode: Optional[str] = None, + protector_secret: Optional[str] = None, + **kwargs, + ): + """ + :keyword mode: Transparent data encryption mode. Can be Service Managed, Customer managed or + disabled. + :paramtype mode: str + :keyword protector_secret: Protector secret for customer managed Transparent data encryption + mode. + :paramtype protector_secret: str + """ + super(K8StransparentDataEncryption, self).__init__(**kwargs) + self.mode = mode + self.protector_secret = protector_secret + + +class KeytabInformation(msrest.serialization.Model): + """Keytab used for authenticate with Active Directory. + + :ivar keytab: A base64-encoded keytab. + :vartype keytab: str + """ + + _attribute_map = { + "keytab": {"key": "keytab", "type": "str"}, + } + + def __init__(self, *, keytab: Optional[str] = None, **kwargs): + """ + :keyword keytab: A base64-encoded keytab. + :paramtype keytab: str + """ + super(KeytabInformation, self).__init__(**kwargs) + self.keytab = keytab + + +class LogAnalyticsWorkspaceConfig(msrest.serialization.Model): + """Log analytics workspace id and primary key. + + :ivar workspace_id: Azure Log Analytics workspace ID. + :vartype workspace_id: str + :ivar primary_key: Primary key of the workspace. + :vartype primary_key: str + """ + + _attribute_map = { + "workspace_id": {"key": "workspaceId", "type": "str"}, + "primary_key": {"key": "primaryKey", "type": "str"}, + } + + def __init__( + self, + *, + workspace_id: Optional[str] = None, + primary_key: Optional[str] = None, + **kwargs, + ): + """ + :keyword workspace_id: Azure Log Analytics workspace ID. + :paramtype workspace_id: str + :keyword primary_key: Primary key of the workspace. + :paramtype primary_key: str + """ + super(LogAnalyticsWorkspaceConfig, self).__init__(**kwargs) + self.workspace_id = workspace_id + self.primary_key = primary_key + + +class Migration(msrest.serialization.Model): + """Migration related configuration. + + :ivar assessment: Migration assessments related configuration. + :vartype assessment: ~azure.mgmt.azurearcdata.models.MigrationAssessment + """ + + _attribute_map = { + "assessment": {"key": "assessment", "type": "MigrationAssessment"}, + } + + def __init__( + self, *, assessment: Optional["MigrationAssessment"] = None, **kwargs + ): + """ + :keyword assessment: Migration assessments related configuration. + :paramtype assessment: ~azure.mgmt.azurearcdata.models.MigrationAssessment + """ + super(Migration, self).__init__(**kwargs) + self.assessment = assessment + + +class MigrationAssessment(msrest.serialization.Model): + """The migration assessment related configuration. + + :ivar enabled: Indicates if migration assessment is enabled for this SQL Server instance. + :vartype enabled: bool + """ + + _attribute_map = { + "enabled": {"key": "enabled", "type": "bool"}, + } + + def __init__(self, *, enabled: Optional[bool] = None, **kwargs): + """ + :keyword enabled: Indicates if migration assessment is enabled for this SQL Server instance. + :paramtype enabled: bool + """ + super(MigrationAssessment, self).__init__(**kwargs) + self.enabled = enabled + + +class Monitoring(msrest.serialization.Model): + """The monitoring configuration. + + :ivar enabled: Indicates if monitoring is enabled for this SQL Server instance. + :vartype enabled: bool + """ + + _attribute_map = { + "enabled": {"key": "enabled", "type": "bool"}, + } + + def __init__(self, *, enabled: Optional[bool] = None, **kwargs): + """ + :keyword enabled: Indicates if monitoring is enabled for this SQL Server instance. + :paramtype enabled: bool + """ + super(Monitoring, self).__init__(**kwargs) + self.enabled = enabled + + +class OnPremiseProperty(msrest.serialization.Model): + """Properties from the Kubernetes data controller. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Required. A globally unique ID identifying the associated Kubernetes cluster. + :vartype id: str + :ivar public_signing_key: Required. Certificate that contains the Kubernetes cluster public key + used to verify signing. + :vartype public_signing_key: str + :ivar signing_certificate_thumbprint: Unique thumbprint returned to customer to verify the + certificate being uploaded. + :vartype signing_certificate_thumbprint: str + """ + + _validation = { + "id": {"required": True}, + "public_signing_key": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "public_signing_key": {"key": "publicSigningKey", "type": "str"}, + "signing_certificate_thumbprint": { + "key": "signingCertificateThumbprint", + "type": "str", + }, + } + + def __init__( + self, + *, + id: str, + public_signing_key: str, + signing_certificate_thumbprint: Optional[str] = None, + **kwargs, + ): + """ + :keyword id: Required. A globally unique ID identifying the associated Kubernetes cluster. + :paramtype id: str + :keyword public_signing_key: Required. Certificate that contains the Kubernetes cluster public + key used to verify signing. + :paramtype public_signing_key: str + :keyword signing_certificate_thumbprint: Unique thumbprint returned to customer to verify the + certificate being uploaded. + :paramtype signing_certificate_thumbprint: str + """ + super(OnPremiseProperty, self).__init__(**kwargs) + self.id = id + self.public_signing_key = public_signing_key + self.signing_certificate_thumbprint = signing_certificate_thumbprint + + +class Operation(msrest.serialization.Model): + """Azure Data Services on Azure Arc operation definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the operation being performed on this particular object. + :vartype name: str + :ivar display: Required. The localized display information for this particular operation / + action. + :vartype display: ~azure.mgmt.azurearcdata.models.OperationDisplay + :ivar origin: The intended executor of the operation. Possible values include: "user", + "system". + :vartype origin: str or ~azure.mgmt.azurearcdata.models.OperationOrigin + :ivar is_data_action: Required. Indicates whether the operation is a data action. + :vartype is_data_action: bool + :ivar properties: Additional descriptions for the operation. + :vartype properties: dict[str, any] + """ + + _validation = { + "name": {"required": True}, + "display": {"required": True}, + "origin": {"readonly": True}, + "is_data_action": {"required": True}, + "properties": {"readonly": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "display": {"key": "display", "type": "OperationDisplay"}, + "origin": {"key": "origin", "type": "str"}, + "is_data_action": {"key": "isDataAction", "type": "bool"}, + "properties": {"key": "properties", "type": "{object}"}, + } + + def __init__( + self, + *, + name: str, + display: "OperationDisplay", + is_data_action: bool, + **kwargs, + ): + """ + :keyword name: Required. The name of the operation being performed on this particular object. + :paramtype name: str + :keyword display: Required. The localized display information for this particular operation / + action. + :paramtype display: ~azure.mgmt.azurearcdata.models.OperationDisplay + :keyword is_data_action: Required. Indicates whether the operation is a data action. + :paramtype is_data_action: bool + """ + super(Operation, self).__init__(**kwargs) + self.name = name + self.display = display + self.origin = None + self.is_data_action = is_data_action + self.properties = None + + +class OperationDisplay(msrest.serialization.Model): + """Display metadata associated with the operation. + + All required parameters must be populated in order to send to Azure. + + :ivar provider: Required. The localized friendly form of the resource provider name. + :vartype provider: str + :ivar resource: Required. The localized friendly form of the resource type related to this + action/operation. + :vartype resource: str + :ivar operation: Required. The localized friendly name for the operation. + :vartype operation: str + :ivar description: Required. The localized friendly description for the operation. + :vartype description: str + """ + + _validation = { + "provider": {"required": True}, + "resource": {"required": True}, + "operation": {"required": True}, + "description": {"required": True}, + } + + _attribute_map = { + "provider": {"key": "provider", "type": "str"}, + "resource": {"key": "resource", "type": "str"}, + "operation": {"key": "operation", "type": "str"}, + "description": {"key": "description", "type": "str"}, + } + + def __init__( + self, + *, + provider: str, + resource: str, + operation: str, + description: str, + **kwargs, + ): + """ + :keyword provider: Required. The localized friendly form of the resource provider name. + :paramtype provider: str + :keyword resource: Required. The localized friendly form of the resource type related to this + action/operation. + :paramtype resource: str + :keyword operation: Required. The localized friendly name for the operation. + :paramtype operation: str + :keyword description: Required. The localized friendly description for the operation. + :paramtype description: str + """ + super(OperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class OperationListResult(msrest.serialization.Model): + """Result of the request to list Azure Data Services on Azure Arc operations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure.mgmt.azurearcdata.models.Operation] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[Operation]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(OperationListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class PageOfDataControllerResource(msrest.serialization.Model): + """A list of data controllers. + + :ivar value: Array of results. + :vartype value: list[~azure.mgmt.azurearcdata.models.DataControllerResource] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _attribute_map = { + "value": {"key": "value", "type": "[DataControllerResource]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__( + self, + *, + value: Optional[List["DataControllerResource"]] = None, + next_link: Optional[str] = None, + **kwargs, + ): + """ + :keyword value: Array of results. + :paramtype value: list[~azure.mgmt.azurearcdata.models.DataControllerResource] + :keyword next_link: Link to retrieve next page of results. + :paramtype next_link: str + """ + super(PageOfDataControllerResource, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class PostgresInstance(TrackedResource): + """A Postgres Instance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar extended_location: The extendedLocation of the resource. + :vartype extended_location: ~azure.mgmt.azurearcdata.models.ExtendedLocation + :ivar properties: Required. null. + :vartype properties: ~azure.mgmt.azurearcdata.models.PostgresInstanceProperties + :ivar sku: Resource sku. + :vartype sku: ~azure.mgmt.azurearcdata.models.PostgresInstanceSku + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "properties": { + "key": "properties", + "type": "PostgresInstanceProperties", + }, + "sku": {"key": "sku", "type": "PostgresInstanceSku"}, + } + + def __init__( + self, + *, + location: str, + properties: "PostgresInstanceProperties", + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, + sku: Optional["PostgresInstanceSku"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword extended_location: The extendedLocation of the resource. + :paramtype extended_location: ~azure.mgmt.azurearcdata.models.ExtendedLocation + :keyword properties: Required. null. + :paramtype properties: ~azure.mgmt.azurearcdata.models.PostgresInstanceProperties + :keyword sku: Resource sku. + :paramtype sku: ~azure.mgmt.azurearcdata.models.PostgresInstanceSku + """ + super(PostgresInstance, self).__init__( + tags=tags, location=location, **kwargs + ) + self.extended_location = extended_location + self.properties = properties + self.sku = sku + + +class PostgresInstanceListResult(msrest.serialization.Model): + """A list of PostgresInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure.mgmt.azurearcdata.models.PostgresInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[PostgresInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(PostgresInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class PostgresInstanceProperties(msrest.serialization.Model): + """Postgres Instance properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar data_controller_id: The data controller id. + :vartype data_controller_id: str + :ivar admin: The instance admin. + :vartype admin: str + :ivar basic_login_information: Username and password for basic authentication. + :vartype basic_login_information: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :ivar k8_s_raw: The raw kubernetes information. + :vartype k8_s_raw: any + :ivar last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :vartype last_uploaded_date: ~datetime.datetime + :ivar provisioning_state: The provisioning state of the Azure Arc-enabled PostgreSQL instance. + :vartype provisioning_state: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "data_controller_id": {"key": "dataControllerId", "type": "str"}, + "admin": {"key": "admin", "type": "str"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "k8_s_raw": {"key": "k8sRaw", "type": "object"}, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + } + + def __init__( + self, + *, + data_controller_id: Optional[str] = None, + admin: Optional[str] = None, + basic_login_information: Optional["BasicLoginInformation"] = None, + k8_s_raw: Optional[Any] = None, + last_uploaded_date: Optional[datetime.datetime] = None, + **kwargs, + ): + """ + :keyword data_controller_id: The data controller id. + :paramtype data_controller_id: str + :keyword admin: The instance admin. + :paramtype admin: str + :keyword basic_login_information: Username and password for basic authentication. + :paramtype basic_login_information: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :keyword k8_s_raw: The raw kubernetes information. + :paramtype k8_s_raw: any + :keyword last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current + date time. + :paramtype last_uploaded_date: ~datetime.datetime + """ + super(PostgresInstanceProperties, self).__init__(**kwargs) + self.data_controller_id = data_controller_id + self.admin = admin + self.basic_login_information = basic_login_information + self.k8_s_raw = k8_s_raw + self.last_uploaded_date = last_uploaded_date + self.provisioning_state = None + + +class PostgresInstanceSku(CommonSku): + """The resource model definition representing SKU for Azure Database for PostgresSQL - Azure Arc. + + All required parameters must be populated in order to send to Azure. + + :ivar name: Required. The name of the SKU. It is typically a letter+number code. + :vartype name: str + :ivar dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used + for dev/test purpose. + :vartype dev: bool + :ivar size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :vartype size: str + :ivar family: If the service has different generations of hardware, for the same SKU, then that + can be captured here. + :vartype family: str + :ivar capacity: If the SKU supports scale out/in then the capacity integer should be included. + If scale out/in is not possible for the resource this may be omitted. + :vartype capacity: int + :ivar tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier. The only acceptable values to pass in are None and "Hyperscale". The + default value is "Hyperscale". + :vartype tier: str + """ + + _validation = { + "name": {"required": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + "tier": {"key": "tier", "type": "str"}, + } + + def __init__( + self, + *, + name: str, + dev: Optional[bool] = True, + size: Optional[str] = None, + family: Optional[str] = None, + capacity: Optional[int] = None, + tier: Optional[str] = "Hyperscale", + **kwargs, + ): + """ + :keyword name: Required. The name of the SKU. It is typically a letter+number code. + :paramtype name: str + :keyword dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :paramtype dev: bool + :keyword size: The SKU size. When the name field is the combination of tier and some other + value, this would be the standalone code. + :paramtype size: str + :keyword family: If the service has different generations of hardware, for the same SKU, then + that can be captured here. + :paramtype family: str + :keyword capacity: If the SKU supports scale out/in then the capacity integer should be + included. If scale out/in is not possible for the resource this may be omitted. + :paramtype capacity: int + :keyword tier: This field is required to be implemented by the Resource Provider if the service + has more than one tier. The only acceptable values to pass in are None and "Hyperscale". The + default value is "Hyperscale". + :paramtype tier: str + """ + super(PostgresInstanceSku, self).__init__( + name=name, + dev=dev, + size=size, + family=family, + capacity=capacity, + **kwargs, + ) + self.tier = tier + + +class PostgresInstanceUpdate(msrest.serialization.Model): + """An update to a Postgres Instance. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: Postgres Instance properties. + :vartype properties: ~azure.mgmt.azurearcdata.models.PostgresInstanceProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": { + "key": "properties", + "type": "PostgresInstanceProperties", + }, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + properties: Optional["PostgresInstanceProperties"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: Postgres Instance properties. + :paramtype properties: ~azure.mgmt.azurearcdata.models.PostgresInstanceProperties + """ + super(PostgresInstanceUpdate, self).__init__(**kwargs) + self.tags = tags + self.properties = properties + + +class ProxyResource(Resource): + """The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + } + + def __init__(self, **kwargs): + """ """ + super(ProxyResource, self).__init__(**kwargs) + + +class SqlAvailabilityGroupDatabaseReplicaResourceProperties( + msrest.serialization.Model +): + """The properties of Arc Sql availability group database replica resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar database_name: the database name. + :vartype database_name: str + :ivar replica_name: the database replica name. + :vartype replica_name: str + :ivar is_local: Whether the availability database is local. + :vartype is_local: bool + :ivar is_primary_replica: Returns 1 if the replica is primary, or 0 if it is a secondary + replica. + :vartype is_primary_replica: bool + :ivar synchronization_state_description: Description of the data-movement state. + :vartype synchronization_state_description: str + :ivar is_commit_participant: Whether this replica is transaction committer. + :vartype is_commit_participant: bool + :ivar synchronization_health_description: Description of the health of database. + :vartype synchronization_health_description: str + :ivar database_state_description: Description of the database state of the availability + replica. + :vartype database_state_description: str + :ivar is_suspended: Whether this data movement is suspended. + :vartype is_suspended: bool + :ivar suspend_reason_description: Description of the database suspended state reason. + :vartype suspend_reason_description: str + """ + + _validation = { + "replica_name": {"readonly": True}, + "is_local": {"readonly": True}, + "is_primary_replica": {"readonly": True}, + "synchronization_state_description": {"readonly": True}, + "is_commit_participant": {"readonly": True}, + "synchronization_health_description": {"readonly": True}, + "database_state_description": {"readonly": True}, + "is_suspended": {"readonly": True}, + "suspend_reason_description": {"readonly": True}, + } + + _attribute_map = { + "database_name": {"key": "databaseName", "type": "str"}, + "replica_name": {"key": "replicaName", "type": "str"}, + "is_local": {"key": "isLocal", "type": "bool"}, + "is_primary_replica": {"key": "isPrimaryReplica", "type": "bool"}, + "synchronization_state_description": { + "key": "synchronizationStateDescription", + "type": "str", + }, + "is_commit_participant": {"key": "isCommitParticipant", "type": "bool"}, + "synchronization_health_description": { + "key": "synchronizationHealthDescription", + "type": "str", + }, + "database_state_description": { + "key": "databaseStateDescription", + "type": "str", + }, + "is_suspended": {"key": "isSuspended", "type": "bool"}, + "suspend_reason_description": { + "key": "suspendReasonDescription", + "type": "str", + }, + } + + def __init__(self, *, database_name: Optional[str] = None, **kwargs): + """ + :keyword database_name: the database name. + :paramtype database_name: str + """ + super( + SqlAvailabilityGroupDatabaseReplicaResourceProperties, self + ).__init__(**kwargs) + self.database_name = database_name + self.replica_name = None + self.is_local = None + self.is_primary_replica = None + self.synchronization_state_description = None + self.is_commit_participant = None + self.synchronization_health_description = None + self.database_state_description = None + self.is_suspended = None + self.suspend_reason_description = None + + +class SqlAvailabilityGroupDhcpListenerProperties(msrest.serialization.Model): + """The properties of a DHCP Arc Sql availability group listener. + + :ivar dns_name: the DNS name for the listener. + :vartype dns_name: str + :ivar subnet: The IPV4 subnet for the listener. + :vartype subnet: str + :ivar mask: The netmask for the listener. + :vartype mask: str + :ivar port: Network port for the listener. Default is 1433. + :vartype port: int + """ + + _attribute_map = { + "dns_name": {"key": "dnsName", "type": "str"}, + "subnet": {"key": "subnet", "type": "str"}, + "mask": {"key": "mask", "type": "str"}, + "port": {"key": "port", "type": "int"}, + } + + def __init__( + self, + *, + dns_name: Optional[str] = None, + subnet: Optional[str] = None, + mask: Optional[str] = None, + port: Optional[int] = None, + **kwargs, + ): + """ + :keyword dns_name: the DNS name for the listener. + :paramtype dns_name: str + :keyword subnet: The IPV4 subnet for the listener. + :paramtype subnet: str + :keyword mask: The netmask for the listener. + :paramtype mask: str + :keyword port: Network port for the listener. Default is 1433. + :paramtype port: int + """ + super(SqlAvailabilityGroupDhcpListenerProperties, self).__init__( + **kwargs + ) + self.dns_name = dns_name + self.subnet = subnet + self.mask = mask + self.port = port + + +class SqlAvailabilityGroupIpV4AddressesAndMasksPropertiesItem( + msrest.serialization.Model +): + """SqlAvailabilityGroupIpV4AddressesAndMasksPropertiesItem. + + :ivar ip_address: IPV4 address. + :vartype ip_address: str + :ivar mask: IPV4 netmask. + :vartype mask: str + """ + + _attribute_map = { + "ip_address": {"key": "ipAddress", "type": "str"}, + "mask": {"key": "mask", "type": "str"}, + } + + def __init__( + self, + *, + ip_address: Optional[str] = None, + mask: Optional[str] = None, + **kwargs, + ): + """ + :keyword ip_address: IPV4 address. + :paramtype ip_address: str + :keyword mask: IPV4 netmask. + :paramtype mask: str + """ + super( + SqlAvailabilityGroupIpV4AddressesAndMasksPropertiesItem, self + ).__init__(**kwargs) + self.ip_address = ip_address + self.mask = mask + + +class SqlAvailabilityGroupReplicaResourceProperties(msrest.serialization.Model): + """The properties of Arc Sql availability group replica resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar replica_id: ID GUID of the availability group. + :vartype replica_id: str + :ivar replica_name: the replica name. + :vartype replica_name: str + :ivar configure: null. + :vartype configure: ~azure.mgmt.azurearcdata.models.AvailabilityGroupConfigure + :ivar state: null. + :vartype state: ~azure.mgmt.azurearcdata.models.AvailabilityGroupState + """ + + _validation = { + "replica_id": { + "readonly": True, + "pattern": r"^[A-Za-z0-9]{8}-([A-Za-z0-9]{4}-){3}[A-Za-z0-9]{12}$", + }, + } + + _attribute_map = { + "replica_id": {"key": "replicaId", "type": "str"}, + "replica_name": {"key": "replicaName", "type": "str"}, + "configure": {"key": "configure", "type": "AvailabilityGroupConfigure"}, + "state": {"key": "state", "type": "AvailabilityGroupState"}, + } + + def __init__( + self, + *, + replica_name: Optional[str] = None, + configure: Optional["AvailabilityGroupConfigure"] = None, + state: Optional["AvailabilityGroupState"] = None, + **kwargs, + ): + """ + :keyword replica_name: the replica name. + :paramtype replica_name: str + :keyword configure: null. + :paramtype configure: ~azure.mgmt.azurearcdata.models.AvailabilityGroupConfigure + :keyword state: null. + :paramtype state: ~azure.mgmt.azurearcdata.models.AvailabilityGroupState + """ + super(SqlAvailabilityGroupReplicaResourceProperties, self).__init__( + **kwargs + ) + self.replica_id = None + self.replica_name = replica_name + self.configure = configure + self.state = state + + +class SqlAvailabilityGroupStaticIPListenerProperties( + msrest.serialization.Model +): + """The properties of a static IP Arc Sql availability group listener. + + :ivar dns_name: the DNS name for the listener. + :vartype dns_name: str + :ivar ip_v4_addresses_and_masks: IP V4 Addresses and masks for the listener. + :vartype ip_v4_addresses_and_masks: + list[~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupIpV4AddressesAndMasksPropertiesItem] + :ivar ip_v6_addresses: IP V6 Addresses for the listener. + :vartype ip_v6_addresses: list[str] + :ivar port: Network port for the listener. Default is 1433. + :vartype port: int + """ + + _attribute_map = { + "dns_name": {"key": "dnsName", "type": "str"}, + "ip_v4_addresses_and_masks": { + "key": "ipV4AddressesAndMasks", + "type": "[SqlAvailabilityGroupIpV4AddressesAndMasksPropertiesItem]", + }, + "ip_v6_addresses": {"key": "ipV6Addresses", "type": "[str]"}, + "port": {"key": "port", "type": "int"}, + } + + def __init__( + self, + *, + dns_name: Optional[str] = None, + ip_v4_addresses_and_masks: Optional[ + List["SqlAvailabilityGroupIpV4AddressesAndMasksPropertiesItem"] + ] = None, + ip_v6_addresses: Optional[List[str]] = None, + port: Optional[int] = None, + **kwargs, + ): + """ + :keyword dns_name: the DNS name for the listener. + :paramtype dns_name: str + :keyword ip_v4_addresses_and_masks: IP V4 Addresses and masks for the listener. + :paramtype ip_v4_addresses_and_masks: + list[~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupIpV4AddressesAndMasksPropertiesItem] + :keyword ip_v6_addresses: IP V6 Addresses for the listener. + :paramtype ip_v6_addresses: list[str] + :keyword port: Network port for the listener. Default is 1433. + :paramtype port: int + """ + super(SqlAvailabilityGroupStaticIPListenerProperties, self).__init__( + **kwargs + ) + self.dns_name = dns_name + self.ip_v4_addresses_and_masks = ip_v4_addresses_and_masks + self.ip_v6_addresses = ip_v6_addresses + self.port = port + + +class SqlManagedInstance(TrackedResource): + """A SqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: Required. null. + :vartype properties: ~azure.mgmt.azurearcdata.models.SqlManagedInstanceProperties + :ivar extended_location: The extendedLocation of the resource. + :vartype extended_location: ~azure.mgmt.azurearcdata.models.ExtendedLocation + :ivar sku: Resource sku. + :vartype sku: ~azure.mgmt.azurearcdata.models.SqlManagedInstanceSku + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlManagedInstanceProperties", + }, + "extended_location": { + "key": "extendedLocation", + "type": "ExtendedLocation", + }, + "sku": {"key": "sku", "type": "SqlManagedInstanceSku"}, + } + + def __init__( + self, + *, + location: str, + properties: "SqlManagedInstanceProperties", + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, + sku: Optional["SqlManagedInstanceSku"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: Required. null. + :paramtype properties: ~azure.mgmt.azurearcdata.models.SqlManagedInstanceProperties + :keyword extended_location: The extendedLocation of the resource. + :paramtype extended_location: ~azure.mgmt.azurearcdata.models.ExtendedLocation + :keyword sku: Resource sku. + :paramtype sku: ~azure.mgmt.azurearcdata.models.SqlManagedInstanceSku + """ + super(SqlManagedInstance, self).__init__( + tags=tags, location=location, **kwargs + ) + self.properties = properties + self.extended_location = extended_location + self.sku = sku + + +class SqlManagedInstanceK8SRaw(msrest.serialization.Model): + """The raw kubernetes information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar spec: The kubernetes spec information. + :vartype spec: ~azure.mgmt.azurearcdata.models.SqlManagedInstanceK8SSpec + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "spec": {"key": "spec", "type": "SqlManagedInstanceK8SSpec"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + spec: Optional["SqlManagedInstanceK8SSpec"] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword spec: The kubernetes spec information. + :paramtype spec: ~azure.mgmt.azurearcdata.models.SqlManagedInstanceK8SSpec + """ + super(SqlManagedInstanceK8SRaw, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.spec = spec + + +class SqlManagedInstanceK8SSpec(msrest.serialization.Model): + """The kubernetes spec information. + + :ivar additional_properties: Unmatched properties from the message are deserialized to this + collection. + :vartype additional_properties: dict[str, any] + :ivar scheduling: The kubernetes scheduling information. + :vartype scheduling: ~azure.mgmt.azurearcdata.models.K8SScheduling + :ivar replicas: This option specifies the number of SQL Managed Instance replicas that will be + deployed in your Kubernetes cluster for high availability purposes. If sku.tier is + BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is + GeneralPurpose, replicas must be '1'. + :vartype replicas: int + :ivar security: The kubernetes security information. + :vartype security: ~azure.mgmt.azurearcdata.models.K8SSecurity + :ivar settings: The kubernetes settings information. + :vartype settings: ~azure.mgmt.azurearcdata.models.K8SSettings + """ + + _attribute_map = { + "additional_properties": {"key": "", "type": "{object}"}, + "scheduling": {"key": "scheduling", "type": "K8SScheduling"}, + "replicas": {"key": "replicas", "type": "int"}, + "security": {"key": "security", "type": "K8SSecurity"}, + "settings": {"key": "settings", "type": "K8SSettings"}, + } + + def __init__( + self, + *, + additional_properties: Optional[Dict[str, Any]] = None, + scheduling: Optional["K8SScheduling"] = None, + replicas: Optional[int] = None, + security: Optional["K8SSecurity"] = None, + settings: Optional["K8SSettings"] = None, + **kwargs, + ): + """ + :keyword additional_properties: Unmatched properties from the message are deserialized to this + collection. + :paramtype additional_properties: dict[str, any] + :keyword scheduling: The kubernetes scheduling information. + :paramtype scheduling: ~azure.mgmt.azurearcdata.models.K8SScheduling + :keyword replicas: This option specifies the number of SQL Managed Instance replicas that will + be deployed in your Kubernetes cluster for high availability purposes. If sku.tier is + BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is + GeneralPurpose, replicas must be '1'. + :paramtype replicas: int + :keyword security: The kubernetes security information. + :paramtype security: ~azure.mgmt.azurearcdata.models.K8SSecurity + :keyword settings: The kubernetes settings information. + :paramtype settings: ~azure.mgmt.azurearcdata.models.K8SSettings + """ + super(SqlManagedInstanceK8SSpec, self).__init__(**kwargs) + self.additional_properties = additional_properties + self.scheduling = scheduling + self.replicas = replicas + self.security = security + self.settings = settings + + +class SqlManagedInstanceListResult(msrest.serialization.Model): + """A list of SqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure.mgmt.azurearcdata.models.SqlManagedInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlManagedInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(SqlManagedInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SqlManagedInstanceProperties(msrest.serialization.Model): + """Properties of sqlManagedInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar data_controller_id: null. + :vartype data_controller_id: str + :ivar admin: The instance admin user. + :vartype admin: str + :ivar start_time: The instance start time. + :vartype start_time: str + :ivar end_time: The instance end time. + :vartype end_time: str + :ivar k8_s_raw: The raw kubernetes information. + :vartype k8_s_raw: ~azure.mgmt.azurearcdata.models.SqlManagedInstanceK8SRaw + :ivar basic_login_information: Username and password for basic authentication. + :vartype basic_login_information: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :ivar last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current date + time. + :vartype last_uploaded_date: ~datetime.datetime + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Managed Instance + resource. + :vartype provisioning_state: str + :ivar active_directory_information: Active Directory information related to this SQL Managed + Instance. + :vartype active_directory_information: + ~azure.mgmt.azurearcdata.models.ActiveDirectoryInformation + :ivar license_type: The license type to apply for this managed instance. Possible values + include: "BasePrice", "LicenseIncluded", "DisasterRecovery". Default value: "BasePrice". + :vartype license_type: str or ~azure.mgmt.azurearcdata.models.ArcSqlManagedInstanceLicenseType + :ivar cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :vartype cluster_id: str + :ivar extension_id: If a CustomLocation is provided, this contains the ARM id of the extension + the custom location belongs to. + :vartype extension_id: str + """ + + _validation = { + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "data_controller_id": {"key": "dataControllerId", "type": "str"}, + "admin": {"key": "admin", "type": "str"}, + "start_time": {"key": "startTime", "type": "str"}, + "end_time": {"key": "endTime", "type": "str"}, + "k8_s_raw": {"key": "k8sRaw", "type": "SqlManagedInstanceK8SRaw"}, + "basic_login_information": { + "key": "basicLoginInformation", + "type": "BasicLoginInformation", + }, + "last_uploaded_date": {"key": "lastUploadedDate", "type": "iso-8601"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "active_directory_information": { + "key": "activeDirectoryInformation", + "type": "ActiveDirectoryInformation", + }, + "license_type": {"key": "licenseType", "type": "str"}, + "cluster_id": {"key": "clusterId", "type": "str"}, + "extension_id": {"key": "extensionId", "type": "str"}, + } + + def __init__( + self, + *, + data_controller_id: Optional[str] = None, + admin: Optional[str] = None, + start_time: Optional[str] = None, + end_time: Optional[str] = None, + k8_s_raw: Optional["SqlManagedInstanceK8SRaw"] = None, + basic_login_information: Optional["BasicLoginInformation"] = None, + last_uploaded_date: Optional[datetime.datetime] = None, + active_directory_information: Optional[ + "ActiveDirectoryInformation" + ] = None, + license_type: Optional[ + Union[str, "ArcSqlManagedInstanceLicenseType"] + ] = "BasePrice", + cluster_id: Optional[str] = None, + extension_id: Optional[str] = None, + **kwargs, + ): + """ + :keyword data_controller_id: null. + :paramtype data_controller_id: str + :keyword admin: The instance admin user. + :paramtype admin: str + :keyword start_time: The instance start time. + :paramtype start_time: str + :keyword end_time: The instance end time. + :paramtype end_time: str + :keyword k8_s_raw: The raw kubernetes information. + :paramtype k8_s_raw: ~azure.mgmt.azurearcdata.models.SqlManagedInstanceK8SRaw + :keyword basic_login_information: Username and password for basic authentication. + :paramtype basic_login_information: ~azure.mgmt.azurearcdata.models.BasicLoginInformation + :keyword last_uploaded_date: Last uploaded date from Kubernetes cluster. Defaults to current + date time. + :paramtype last_uploaded_date: ~datetime.datetime + :keyword active_directory_information: Active Directory information related to this SQL Managed + Instance. + :paramtype active_directory_information: + ~azure.mgmt.azurearcdata.models.ActiveDirectoryInformation + :keyword license_type: The license type to apply for this managed instance. Possible values + include: "BasePrice", "LicenseIncluded", "DisasterRecovery". Default value: "BasePrice". + :paramtype license_type: str or + ~azure.mgmt.azurearcdata.models.ArcSqlManagedInstanceLicenseType + :keyword cluster_id: If a CustomLocation is provided, this contains the ARM id of the connected + cluster the custom location belongs to. + :paramtype cluster_id: str + :keyword extension_id: If a CustomLocation is provided, this contains the ARM id of the + extension the custom location belongs to. + :paramtype extension_id: str + """ + super(SqlManagedInstanceProperties, self).__init__(**kwargs) + self.data_controller_id = data_controller_id + self.admin = admin + self.start_time = start_time + self.end_time = end_time + self.k8_s_raw = k8_s_raw + self.basic_login_information = basic_login_information + self.last_uploaded_date = last_uploaded_date + self.provisioning_state = None + self.active_directory_information = active_directory_information + self.license_type = license_type + self.cluster_id = cluster_id + self.extension_id = extension_id + + +class SqlManagedInstanceSku(msrest.serialization.Model): + """The resource model definition representing SKU for Azure Managed Instance - Azure Arc. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar name: The name of the SKU. Has constant value: "vCore". + :vartype name: str + :ivar tier: The pricing tier for the instance. Possible values include: "GeneralPurpose", + "BusinessCritical". Default value: "GeneralPurpose". + :vartype tier: str or ~azure.mgmt.azurearcdata.models.SqlManagedInstanceSkuTier + :ivar dev: Whether dev/test is enabled. When the dev field is set to true, the resource is used + for dev/test purpose. + :vartype dev: bool + :ivar size: The SKU size. When the name field is the combination of tier and some other value, + this would be the standalone code. + :vartype size: str + :ivar family: The SKU family. + :vartype family: str + :ivar capacity: The SKU capacity. + :vartype capacity: int + """ + + _validation = { + "name": {"required": True, "constant": True}, + } + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "tier": {"key": "tier", "type": "str"}, + "dev": {"key": "dev", "type": "bool"}, + "size": {"key": "size", "type": "str"}, + "family": {"key": "family", "type": "str"}, + "capacity": {"key": "capacity", "type": "int"}, + } + + name = "vCore" + + def __init__( + self, + *, + tier: Optional[ + Union[str, "SqlManagedInstanceSkuTier"] + ] = "GeneralPurpose", + dev: Optional[bool] = True, + size: Optional[str] = None, + family: Optional[str] = None, + capacity: Optional[int] = None, + **kwargs, + ): + """ + :keyword tier: The pricing tier for the instance. Possible values include: "GeneralPurpose", + "BusinessCritical". Default value: "GeneralPurpose". + :paramtype tier: str or ~azure.mgmt.azurearcdata.models.SqlManagedInstanceSkuTier + :keyword dev: Whether dev/test is enabled. When the dev field is set to true, the resource is + used for dev/test purpose. + :paramtype dev: bool + :keyword size: The SKU size. When the name field is the combination of tier and some other + value, this would be the standalone code. + :paramtype size: str + :keyword family: The SKU family. + :paramtype family: str + :keyword capacity: The SKU capacity. + :paramtype capacity: int + """ + super(SqlManagedInstanceSku, self).__init__(**kwargs) + self.tier = tier + self.dev = dev + self.size = size + self.family = family + self.capacity = capacity + + +class SqlManagedInstanceUpdate(msrest.serialization.Model): + """An update to a SQL Managed Instance. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + } + + def __init__(self, *, tags: Optional[Dict[str, str]] = None, **kwargs): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + """ + super(SqlManagedInstanceUpdate, self).__init__(**kwargs) + self.tags = tags + + +class SqlServerAvailabilityGroupResource(TrackedResource): + """Arc Sql Server Availability Group. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: Required. Properties of Arc Sql Server availability group. + :vartype properties: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResourceProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlServerAvailabilityGroupResourceProperties", + }, + } + + def __init__( + self, + *, + location: str, + properties: "SqlServerAvailabilityGroupResourceProperties", + tags: Optional[Dict[str, str]] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: Required. Properties of Arc Sql Server availability group. + :paramtype properties: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResourceProperties + """ + super(SqlServerAvailabilityGroupResource, self).__init__( + tags=tags, location=location, **kwargs + ) + self.properties = properties + + +class SqlServerAvailabilityGroupResourceProperties(msrest.serialization.Model): + """The properties of Arc Sql Server availability group resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar availability_group_id: ID GUID of the availability group. + :vartype availability_group_id: str + :ivar server_name: the SQL server name. + :vartype server_name: str + :ivar instance_name: the SQL Server Instance name. + :vartype instance_name: str + :ivar collection_timestamp: Timestamp for when the data was collected from the client machine. + :vartype collection_timestamp: ~datetime.datetime + :ivar info: Availability Group Info. + :vartype info: ~azure.mgmt.azurearcdata.models.AvailabilityGroupInfo + :ivar replicas: A list of Availability Group Replicas. + :vartype replicas: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResourcePropertiesReplicas + :ivar databases: A list of Availability Group Database Replicas. + :vartype databases: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResourcePropertiesDatabases + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Server availability + group resource. + :vartype provisioning_state: str + """ + + _validation = { + "availability_group_id": { + "readonly": True, + "pattern": r"^[A-Za-z0-9]{8}-([A-Za-z0-9]{4}-){3}[A-Za-z0-9]{12}$", + }, + "server_name": {"readonly": True}, + "instance_name": {"readonly": True}, + "collection_timestamp": {"readonly": True}, + "provisioning_state": {"readonly": True}, + } + + _attribute_map = { + "availability_group_id": {"key": "availabilityGroupId", "type": "str"}, + "server_name": {"key": "serverName", "type": "str"}, + "instance_name": {"key": "instanceName", "type": "str"}, + "collection_timestamp": { + "key": "collectionTimestamp", + "type": "iso-8601", + }, + "info": {"key": "info", "type": "AvailabilityGroupInfo"}, + "replicas": { + "key": "replicas", + "type": "SqlServerAvailabilityGroupResourcePropertiesReplicas", + }, + "databases": { + "key": "databases", + "type": "SqlServerAvailabilityGroupResourcePropertiesDatabases", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + } + + def __init__( + self, + *, + info: Optional["AvailabilityGroupInfo"] = None, + replicas: Optional[ + "SqlServerAvailabilityGroupResourcePropertiesReplicas" + ] = None, + databases: Optional[ + "SqlServerAvailabilityGroupResourcePropertiesDatabases" + ] = None, + **kwargs, + ): + """ + :keyword info: Availability Group Info. + :paramtype info: ~azure.mgmt.azurearcdata.models.AvailabilityGroupInfo + :keyword replicas: A list of Availability Group Replicas. + :paramtype replicas: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResourcePropertiesReplicas + :keyword databases: A list of Availability Group Database Replicas. + :paramtype databases: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResourcePropertiesDatabases + """ + super(SqlServerAvailabilityGroupResourceProperties, self).__init__( + **kwargs + ) + self.availability_group_id = None + self.server_name = None + self.instance_name = None + self.collection_timestamp = None + self.info = info + self.replicas = replicas + self.databases = databases + self.provisioning_state = None + + +class SqlServerAvailabilityGroupResourcePropertiesDatabases( + msrest.serialization.Model +): + """A list of Availability Group Database Replicas. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of Availability Group Database Replicas. + :vartype value: + list[~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupDatabaseReplicaResourceProperties] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": { + "key": "value", + "type": "[SqlAvailabilityGroupDatabaseReplicaResourceProperties]", + }, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__( + self, + *, + value: Optional[ + List["SqlAvailabilityGroupDatabaseReplicaResourceProperties"] + ] = None, + **kwargs, + ): + """ + :keyword value: Array of Availability Group Database Replicas. + :paramtype value: + list[~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupDatabaseReplicaResourceProperties] + """ + super( + SqlServerAvailabilityGroupResourcePropertiesDatabases, self + ).__init__(**kwargs) + self.value = value + self.next_link = None + + +class SqlServerAvailabilityGroupResourcePropertiesReplicas( + msrest.serialization.Model +): + """A list of Availability Group Replicas. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of Availability Group Replicas. + :vartype value: + list[~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupReplicaResourceProperties] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": { + "key": "value", + "type": "[SqlAvailabilityGroupReplicaResourceProperties]", + }, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__( + self, + *, + value: Optional[ + List["SqlAvailabilityGroupReplicaResourceProperties"] + ] = None, + **kwargs, + ): + """ + :keyword value: Array of Availability Group Replicas. + :paramtype value: + list[~azure.mgmt.azurearcdata.models.SqlAvailabilityGroupReplicaResourceProperties] + """ + super( + SqlServerAvailabilityGroupResourcePropertiesReplicas, self + ).__init__(**kwargs) + self.value = value + self.next_link = None + + +class SqlServerAvailabilityGroupUpdate(msrest.serialization.Model): + """An update to availability group resource. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: The Server Availability Group's properties. + :vartype properties: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResourceProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": { + "key": "properties", + "type": "SqlServerAvailabilityGroupResourceProperties", + }, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + properties: Optional[ + "SqlServerAvailabilityGroupResourceProperties" + ] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The Server Availability Group's properties. + :paramtype properties: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResourceProperties + """ + super(SqlServerAvailabilityGroupUpdate, self).__init__(**kwargs) + self.tags = tags + self.properties = properties + + +class SqlServerDatabaseResource(TrackedResource): + """Arc Sql Server database. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: Required. Properties of Arc Sql Server database. + :vartype properties: ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResourceProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlServerDatabaseResourceProperties", + }, + } + + def __init__( + self, + *, + location: str, + properties: "SqlServerDatabaseResourceProperties", + tags: Optional[Dict[str, str]] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: Required. Properties of Arc Sql Server database. + :paramtype properties: ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResourceProperties + """ + super(SqlServerDatabaseResource, self).__init__( + tags=tags, location=location, **kwargs + ) + self.properties = properties + + +class SqlServerDatabaseResourceProperties(msrest.serialization.Model): + """The properties of Arc Sql Server database resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar collation_name: Collation of the database. + :vartype collation_name: str + :ivar database_creation_date: Creation date of the database. + :vartype database_creation_date: ~datetime.datetime + :ivar compatibility_level: Compatibility level of the database. + :vartype compatibility_level: int + :ivar size_mb: Size of the database. + :vartype size_mb: float + :ivar space_available_mb: Space left of the database. + :vartype space_available_mb: float + :ivar state: State of the database. Possible values include: "Online", "Restoring", + "Recovering", "RecoveryPending", "Suspect", "Emergency", "Offline", "Copying", + "OfflineSecondary". + :vartype state: str or ~azure.mgmt.azurearcdata.models.DatabaseState + :ivar is_read_only: Whether the database is read only or not. + :vartype is_read_only: bool + :ivar recovery_mode: Status of the database. Possible values include: "Full", "Bulk-logged", + "Simple". + :vartype recovery_mode: str or ~azure.mgmt.azurearcdata.models.RecoveryMode + :ivar database_options: List of features that are enabled for the database. + :vartype database_options: + ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResourcePropertiesDatabaseOptions + :ivar backup_information: + :vartype backup_information: + ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResourcePropertiesBackupInformation + :ivar backup_policy: The backup profile for the SQL server. + :vartype backup_policy: ~azure.mgmt.azurearcdata.models.BackupPolicy + :ivar earliest_restore_date: This records the earliest start date and time that restore is + available for this database (ISO8601 format). + :vartype earliest_restore_date: ~datetime.datetime + :ivar create_mode: Database create mode. PointInTimeRestore: Create a database by restoring a + point in time backup of an existing database. sourceDatabaseId and restorePointInTime must be + specified. Possible values include: "Default", "PointInTimeRestore". + :vartype create_mode: str or ~azure.mgmt.azurearcdata.models.DatabaseCreateMode + :ivar source_database_id: The resource identifier of the source database associated with create + operation of this database. + :vartype source_database_id: str + :ivar restore_point_in_time: Conditional. If createMode is PointInTimeRestore, this value is + required. Specifies the point in time (ISO8601 format) of the source database that will be + restored to create the new database. + :vartype restore_point_in_time: ~datetime.datetime + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Server database + resource. + :vartype provisioning_state: str + :ivar last_database_upload_time: The time when last successful database upload was performed. + :vartype last_database_upload_time: ~datetime.datetime + """ + + _validation = { + "compatibility_level": {"maximum": 200, "minimum": 80}, + "earliest_restore_date": {"readonly": True}, + "provisioning_state": {"readonly": True}, + "last_database_upload_time": {"readonly": True}, + } + + _attribute_map = { + "collation_name": {"key": "collationName", "type": "str"}, + "database_creation_date": { + "key": "databaseCreationDate", + "type": "iso-8601", + }, + "compatibility_level": {"key": "compatibilityLevel", "type": "int"}, + "size_mb": {"key": "sizeMB", "type": "float"}, + "space_available_mb": {"key": "spaceAvailableMB", "type": "float"}, + "state": {"key": "state", "type": "str"}, + "is_read_only": {"key": "isReadOnly", "type": "bool"}, + "recovery_mode": {"key": "recoveryMode", "type": "str"}, + "database_options": { + "key": "databaseOptions", + "type": "SqlServerDatabaseResourcePropertiesDatabaseOptions", + }, + "backup_information": { + "key": "backupInformation", + "type": "SqlServerDatabaseResourcePropertiesBackupInformation", + }, + "backup_policy": {"key": "backupPolicy", "type": "BackupPolicy"}, + "earliest_restore_date": { + "key": "earliestRestoreDate", + "type": "iso-8601", + }, + "create_mode": {"key": "createMode", "type": "str"}, + "source_database_id": {"key": "sourceDatabaseId", "type": "str"}, + "restore_point_in_time": { + "key": "restorePointInTime", + "type": "iso-8601", + }, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "last_database_upload_time": { + "key": "lastDatabaseUploadTime", + "type": "iso-8601", + }, + } + + def __init__( + self, + *, + collation_name: Optional[str] = None, + database_creation_date: Optional[datetime.datetime] = None, + compatibility_level: Optional[int] = None, + size_mb: Optional[float] = None, + space_available_mb: Optional[float] = None, + state: Optional[Union[str, "DatabaseState"]] = None, + is_read_only: Optional[bool] = None, + recovery_mode: Optional[Union[str, "RecoveryMode"]] = None, + database_options: Optional[ + "SqlServerDatabaseResourcePropertiesDatabaseOptions" + ] = None, + backup_information: Optional[ + "SqlServerDatabaseResourcePropertiesBackupInformation" + ] = None, + backup_policy: Optional["BackupPolicy"] = None, + create_mode: Optional[Union[str, "DatabaseCreateMode"]] = None, + source_database_id: Optional[str] = None, + restore_point_in_time: Optional[datetime.datetime] = None, + **kwargs, + ): + """ + :keyword collation_name: Collation of the database. + :paramtype collation_name: str + :keyword database_creation_date: Creation date of the database. + :paramtype database_creation_date: ~datetime.datetime + :keyword compatibility_level: Compatibility level of the database. + :paramtype compatibility_level: int + :keyword size_mb: Size of the database. + :paramtype size_mb: float + :keyword space_available_mb: Space left of the database. + :paramtype space_available_mb: float + :keyword state: State of the database. Possible values include: "Online", "Restoring", + "Recovering", "RecoveryPending", "Suspect", "Emergency", "Offline", "Copying", + "OfflineSecondary". + :paramtype state: str or ~azure.mgmt.azurearcdata.models.DatabaseState + :keyword is_read_only: Whether the database is read only or not. + :paramtype is_read_only: bool + :keyword recovery_mode: Status of the database. Possible values include: "Full", "Bulk-logged", + "Simple". + :paramtype recovery_mode: str or ~azure.mgmt.azurearcdata.models.RecoveryMode + :keyword database_options: List of features that are enabled for the database. + :paramtype database_options: + ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResourcePropertiesDatabaseOptions + :keyword backup_information: + :paramtype backup_information: + ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResourcePropertiesBackupInformation + :keyword backup_policy: The backup profile for the SQL server. + :paramtype backup_policy: ~azure.mgmt.azurearcdata.models.BackupPolicy + :keyword create_mode: Database create mode. PointInTimeRestore: Create a database by restoring + a point in time backup of an existing database. sourceDatabaseId and restorePointInTime must be + specified. Possible values include: "Default", "PointInTimeRestore". + :paramtype create_mode: str or ~azure.mgmt.azurearcdata.models.DatabaseCreateMode + :keyword source_database_id: The resource identifier of the source database associated with + create operation of this database. + :paramtype source_database_id: str + :keyword restore_point_in_time: Conditional. If createMode is PointInTimeRestore, this value is + required. Specifies the point in time (ISO8601 format) of the source database that will be + restored to create the new database. + :paramtype restore_point_in_time: ~datetime.datetime + """ + super(SqlServerDatabaseResourceProperties, self).__init__(**kwargs) + self.collation_name = collation_name + self.database_creation_date = database_creation_date + self.compatibility_level = compatibility_level + self.size_mb = size_mb + self.space_available_mb = space_available_mb + self.state = state + self.is_read_only = is_read_only + self.recovery_mode = recovery_mode + self.database_options = database_options + self.backup_information = backup_information + self.backup_policy = backup_policy + self.earliest_restore_date = None + self.create_mode = create_mode + self.source_database_id = source_database_id + self.restore_point_in_time = restore_point_in_time + self.provisioning_state = None + self.last_database_upload_time = None + + +class SqlServerDatabaseResourcePropertiesBackupInformation( + msrest.serialization.Model +): + """SqlServerDatabaseResourcePropertiesBackupInformation. + + :ivar last_full_backup: Date time of last full backup. + :vartype last_full_backup: ~datetime.datetime + :ivar last_log_backup: Date time of last log backup. + :vartype last_log_backup: ~datetime.datetime + """ + + _attribute_map = { + "last_full_backup": {"key": "lastFullBackup", "type": "iso-8601"}, + "last_log_backup": {"key": "lastLogBackup", "type": "iso-8601"}, + } + + def __init__( + self, + *, + last_full_backup: Optional[datetime.datetime] = None, + last_log_backup: Optional[datetime.datetime] = None, + **kwargs, + ): + """ + :keyword last_full_backup: Date time of last full backup. + :paramtype last_full_backup: ~datetime.datetime + :keyword last_log_backup: Date time of last log backup. + :paramtype last_log_backup: ~datetime.datetime + """ + super( + SqlServerDatabaseResourcePropertiesBackupInformation, self + ).__init__(**kwargs) + self.last_full_backup = last_full_backup + self.last_log_backup = last_log_backup + + +class SqlServerDatabaseResourcePropertiesDatabaseOptions( + msrest.serialization.Model +): + """List of features that are enabled for the database. + + :ivar is_auto_close_on: + :vartype is_auto_close_on: bool + :ivar is_auto_shrink_on: + :vartype is_auto_shrink_on: bool + :ivar is_auto_create_stats_on: + :vartype is_auto_create_stats_on: bool + :ivar is_auto_update_stats_on: + :vartype is_auto_update_stats_on: bool + :ivar is_remote_data_archive_enabled: + :vartype is_remote_data_archive_enabled: bool + :ivar is_memory_optimization_enabled: + :vartype is_memory_optimization_enabled: bool + :ivar is_encrypted: + :vartype is_encrypted: bool + :ivar is_trustworthy_on: + :vartype is_trustworthy_on: bool + """ + + _attribute_map = { + "is_auto_close_on": {"key": "isAutoCloseOn", "type": "bool"}, + "is_auto_shrink_on": {"key": "isAutoShrinkOn", "type": "bool"}, + "is_auto_create_stats_on": { + "key": "isAutoCreateStatsOn", + "type": "bool", + }, + "is_auto_update_stats_on": { + "key": "isAutoUpdateStatsOn", + "type": "bool", + }, + "is_remote_data_archive_enabled": { + "key": "isRemoteDataArchiveEnabled", + "type": "bool", + }, + "is_memory_optimization_enabled": { + "key": "isMemoryOptimizationEnabled", + "type": "bool", + }, + "is_encrypted": {"key": "isEncrypted", "type": "bool"}, + "is_trustworthy_on": {"key": "isTrustworthyOn", "type": "bool"}, + } + + def __init__( + self, + *, + is_auto_close_on: Optional[bool] = None, + is_auto_shrink_on: Optional[bool] = None, + is_auto_create_stats_on: Optional[bool] = None, + is_auto_update_stats_on: Optional[bool] = None, + is_remote_data_archive_enabled: Optional[bool] = None, + is_memory_optimization_enabled: Optional[bool] = None, + is_encrypted: Optional[bool] = None, + is_trustworthy_on: Optional[bool] = None, + **kwargs, + ): + """ + :keyword is_auto_close_on: + :paramtype is_auto_close_on: bool + :keyword is_auto_shrink_on: + :paramtype is_auto_shrink_on: bool + :keyword is_auto_create_stats_on: + :paramtype is_auto_create_stats_on: bool + :keyword is_auto_update_stats_on: + :paramtype is_auto_update_stats_on: bool + :keyword is_remote_data_archive_enabled: + :paramtype is_remote_data_archive_enabled: bool + :keyword is_memory_optimization_enabled: + :paramtype is_memory_optimization_enabled: bool + :keyword is_encrypted: + :paramtype is_encrypted: bool + :keyword is_trustworthy_on: + :paramtype is_trustworthy_on: bool + """ + super( + SqlServerDatabaseResourcePropertiesDatabaseOptions, self + ).__init__(**kwargs) + self.is_auto_close_on = is_auto_close_on + self.is_auto_shrink_on = is_auto_shrink_on + self.is_auto_create_stats_on = is_auto_create_stats_on + self.is_auto_update_stats_on = is_auto_update_stats_on + self.is_remote_data_archive_enabled = is_remote_data_archive_enabled + self.is_memory_optimization_enabled = is_memory_optimization_enabled + self.is_encrypted = is_encrypted + self.is_trustworthy_on = is_trustworthy_on + + +class SqlServerDatabaseUpdate(msrest.serialization.Model): + """An update to database resource. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: The data controller's properties. + :vartype properties: ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResourceProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": { + "key": "properties", + "type": "SqlServerDatabaseResourceProperties", + }, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + properties: Optional["SqlServerDatabaseResourceProperties"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: The data controller's properties. + :paramtype properties: ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResourceProperties + """ + super(SqlServerDatabaseUpdate, self).__init__(**kwargs) + self.tags = tags + self.properties = properties + + +class SqlServerInstance(TrackedResource): + """A SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: null. + :vartype properties: ~azure.mgmt.azurearcdata.models.SqlServerInstanceProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlServerInstanceProperties", + }, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + properties: Optional["SqlServerInstanceProperties"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: null. + :paramtype properties: ~azure.mgmt.azurearcdata.models.SqlServerInstanceProperties + """ + super(SqlServerInstance, self).__init__( + tags=tags, location=location, **kwargs + ) + self.properties = properties + + +class SqlServerInstanceListResult(msrest.serialization.Model): + """A list of SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure.mgmt.azurearcdata.models.SqlServerInstance] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlServerInstance]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(SqlServerInstanceListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SqlServerInstanceProperties(msrest.serialization.Model): + """Properties of SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar version: SQL Server version. Possible values include: "SQL Server 2012", "SQL Server + 2014", "SQL Server 2016", "SQL Server 2017", "SQL Server 2019", "SQL Server 2022", "Unknown". + :vartype version: str or ~azure.mgmt.azurearcdata.models.SqlVersion + :ivar edition: SQL Server edition. Possible values include: "Evaluation", "Enterprise", + "Standard", "Web", "Developer", "Express", "Business Intelligence". + :vartype edition: str or ~azure.mgmt.azurearcdata.models.EditionType + :ivar container_resource_id: ARM Resource id of the container resource (Azure Arc for Servers). + :vartype container_resource_id: str + :ivar create_time: The time when the resource was created. + :vartype create_time: str + :ivar v_core: The number of logical processors used by the SQL Server instance. + :vartype v_core: str + :ivar cores: The number of total cores of the Operating System Environment (OSE) hosting the + SQL Server instance. + :vartype cores: str + :ivar status: The cloud connectivity status. Possible values include: "Connected", + "Disconnected", "Registered", "Unknown". + :vartype status: str or ~azure.mgmt.azurearcdata.models.ConnectionStatus + :ivar patch_level: SQL Server update level. + :vartype patch_level: str + :ivar collation: SQL Server collation. + :vartype collation: str + :ivar current_version: SQL Server current version. + :vartype current_version: str + :ivar instance_name: SQL Server instance name. + :vartype instance_name: str + :ivar tcp_dynamic_ports: Dynamic TCP ports used by SQL Server. + :vartype tcp_dynamic_ports: str + :ivar tcp_static_ports: Static TCP ports used by SQL Server. + :vartype tcp_static_ports: str + :ivar product_id: SQL Server product ID. + :vartype product_id: str + :ivar license_type: SQL Server license type. Possible values include: "Undefined", "Free", + "HADR", "ServerCAL", "LicenseOnly", "PAYG", "Paid". + :vartype license_type: str or ~azure.mgmt.azurearcdata.models.ArcSqlServerLicenseType + :ivar azure_defender_status_last_updated: Timestamp of last Azure Defender status update. + :vartype azure_defender_status_last_updated: ~datetime.datetime + :ivar azure_defender_status: Status of Azure Defender. Possible values include: "Protected", + "Unprotected", "Unknown". + :vartype azure_defender_status: str or ~azure.mgmt.azurearcdata.models.DefenderStatus + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Server resource. + :vartype provisioning_state: str + :ivar last_inventory_upload_time: The time when last successful inventory upload was performed. + :vartype last_inventory_upload_time: ~datetime.datetime + :ivar last_usage_upload_time: The time when last successful usage upload was performed. + :vartype last_usage_upload_time: ~datetime.datetime + :ivar host_type: Type of host for Azure Arc SQL Server. Possible values include: "Azure Virtual + Machine", "Azure VMWare Virtual Machine", "Azure Kubernetes Service", "AWS VMWare Virtual + Machine", "AWS Kubernetes Service", "GCP VMWare Virtual Machine", "GCP Kubernetes Service", + "Container", "Virtual Machine", "Physical Server", "AWS Virtual Machine", "GCP Virtual + Machine", "Other". + :vartype host_type: str or ~azure.mgmt.azurearcdata.models.HostType + :ivar always_on_role: The role of the SQL Server, based on availability. Possible values + include: "None", "FailoverClusterInstance", "FailoverClusterNode", "AvailabilityGroupReplica". + :vartype always_on_role: str or ~azure.mgmt.azurearcdata.models.AlwaysOnRole + :ivar failover_cluster: Failover Cluster Instance properties. + :vartype failover_cluster: ~azure.mgmt.azurearcdata.models.FailoverCluster + :ivar backup_policy: The backup profile for the SQL server. + :vartype backup_policy: ~azure.mgmt.azurearcdata.models.BackupPolicy + :ivar upgrade_locked_until: Upgrade Action for this resource is locked until it expires. The + Expiration time indicated by this value. It is not locked when it is empty. + :vartype upgrade_locked_until: ~datetime.datetime + :ivar monitoring: The monitoring configuration. + :vartype monitoring: ~azure.mgmt.azurearcdata.models.Monitoring + :ivar migration: Migration related configuration. + :vartype migration: ~azure.mgmt.azurearcdata.models.Migration + """ + + _validation = { + "container_resource_id": {"readonly": True}, + "create_time": {"readonly": True}, + "v_core": {"readonly": True}, + "status": {"readonly": True}, + "patch_level": {"readonly": True}, + "collation": {"readonly": True}, + "current_version": {"readonly": True}, + "tcp_dynamic_ports": {"readonly": True}, + "tcp_static_ports": {"readonly": True}, + "product_id": {"readonly": True}, + "license_type": {"readonly": True}, + "azure_defender_status_last_updated": {"readonly": True}, + "azure_defender_status": {"readonly": True}, + "provisioning_state": {"readonly": True}, + "last_inventory_upload_time": {"readonly": True}, + "last_usage_upload_time": {"readonly": True}, + "always_on_role": {"readonly": True}, + } + + _attribute_map = { + "version": {"key": "version", "type": "str"}, + "edition": {"key": "edition", "type": "str"}, + "container_resource_id": {"key": "containerResourceId", "type": "str"}, + "create_time": {"key": "createTime", "type": "str"}, + "v_core": {"key": "vCore", "type": "str"}, + "cores": {"key": "cores", "type": "str"}, + "status": {"key": "status", "type": "str"}, + "patch_level": {"key": "patchLevel", "type": "str"}, + "collation": {"key": "collation", "type": "str"}, + "current_version": {"key": "currentVersion", "type": "str"}, + "instance_name": {"key": "instanceName", "type": "str"}, + "tcp_dynamic_ports": {"key": "tcpDynamicPorts", "type": "str"}, + "tcp_static_ports": {"key": "tcpStaticPorts", "type": "str"}, + "product_id": {"key": "productId", "type": "str"}, + "license_type": {"key": "licenseType", "type": "str"}, + "azure_defender_status_last_updated": { + "key": "azureDefenderStatusLastUpdated", + "type": "iso-8601", + }, + "azure_defender_status": {"key": "azureDefenderStatus", "type": "str"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "last_inventory_upload_time": { + "key": "lastInventoryUploadTime", + "type": "iso-8601", + }, + "last_usage_upload_time": { + "key": "lastUsageUploadTime", + "type": "iso-8601", + }, + "host_type": {"key": "hostType", "type": "str"}, + "always_on_role": {"key": "alwaysOnRole", "type": "str"}, + "failover_cluster": { + "key": "failoverCluster", + "type": "FailoverCluster", + }, + "backup_policy": {"key": "backupPolicy", "type": "BackupPolicy"}, + "upgrade_locked_until": { + "key": "upgradeLockedUntil", + "type": "iso-8601", + }, + "monitoring": {"key": "monitoring", "type": "Monitoring"}, + "migration": {"key": "migration", "type": "Migration"}, + } + + def __init__( + self, + *, + version: Optional[Union[str, "SqlVersion"]] = None, + edition: Optional[Union[str, "EditionType"]] = None, + cores: Optional[str] = None, + instance_name: Optional[str] = None, + host_type: Optional[Union[str, "HostType"]] = None, + failover_cluster: Optional["FailoverCluster"] = None, + backup_policy: Optional["BackupPolicy"] = None, + upgrade_locked_until: Optional[datetime.datetime] = None, + monitoring: Optional["Monitoring"] = None, + migration: Optional["Migration"] = None, + **kwargs, + ): + """ + :keyword version: SQL Server version. Possible values include: "SQL Server 2012", "SQL Server + 2014", "SQL Server 2016", "SQL Server 2017", "SQL Server 2019", "SQL Server 2022", "Unknown". + :paramtype version: str or ~azure.mgmt.azurearcdata.models.SqlVersion + :keyword edition: SQL Server edition. Possible values include: "Evaluation", "Enterprise", + "Standard", "Web", "Developer", "Express", "Business Intelligence". + :paramtype edition: str or ~azure.mgmt.azurearcdata.models.EditionType + :keyword cores: The number of total cores of the Operating System Environment (OSE) hosting the + SQL Server instance. + :paramtype cores: str + :keyword instance_name: SQL Server instance name. + :paramtype instance_name: str + :keyword host_type: Type of host for Azure Arc SQL Server. Possible values include: "Azure + Virtual Machine", "Azure VMWare Virtual Machine", "Azure Kubernetes Service", "AWS VMWare + Virtual Machine", "AWS Kubernetes Service", "GCP VMWare Virtual Machine", "GCP Kubernetes + Service", "Container", "Virtual Machine", "Physical Server", "AWS Virtual Machine", "GCP + Virtual Machine", "Other". + :paramtype host_type: str or ~azure.mgmt.azurearcdata.models.HostType + :keyword failover_cluster: Failover Cluster Instance properties. + :paramtype failover_cluster: ~azure.mgmt.azurearcdata.models.FailoverCluster + :keyword backup_policy: The backup profile for the SQL server. + :paramtype backup_policy: ~azure.mgmt.azurearcdata.models.BackupPolicy + :keyword upgrade_locked_until: Upgrade Action for this resource is locked until it expires. The + Expiration time indicated by this value. It is not locked when it is empty. + :paramtype upgrade_locked_until: ~datetime.datetime + :keyword monitoring: The monitoring configuration. + :paramtype monitoring: ~azure.mgmt.azurearcdata.models.Monitoring + :keyword migration: Migration related configuration. + :paramtype migration: ~azure.mgmt.azurearcdata.models.Migration + """ + super(SqlServerInstanceProperties, self).__init__(**kwargs) + self.version = version + self.edition = edition + self.container_resource_id = None + self.create_time = None + self.v_core = None + self.cores = cores + self.status = None + self.patch_level = None + self.collation = None + self.current_version = None + self.instance_name = instance_name + self.tcp_dynamic_ports = None + self.tcp_static_ports = None + self.product_id = None + self.license_type = None + self.azure_defender_status_last_updated = None + self.azure_defender_status = None + self.provisioning_state = None + self.last_inventory_upload_time = None + self.last_usage_upload_time = None + self.host_type = host_type + self.always_on_role = None + self.failover_cluster = failover_cluster + self.backup_policy = backup_policy + self.upgrade_locked_until = upgrade_locked_until + self.monitoring = monitoring + self.migration = migration + + +class SqlServerInstanceTelemetryColumn(msrest.serialization.Model): + """The telemetry column for the SQL Server instance. + + :ivar name: The name of the telemetry column. + :vartype name: str + :ivar type: The type of the telemetry column. Possible values include: "bool", "datetime", + "int", "long", "double", "string", "guid", "timespan". + :vartype type: str or ~azure.mgmt.azurearcdata.models.SqlServerInstanceTelemetryColumnType + """ + + _attribute_map = { + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + type: Optional[ + Union[str, "SqlServerInstanceTelemetryColumnType"] + ] = None, + **kwargs, + ): + """ + :keyword name: The name of the telemetry column. + :paramtype name: str + :keyword type: The type of the telemetry column. Possible values include: "bool", "datetime", + "int", "long", "double", "string", "guid", "timespan". + :paramtype type: str or ~azure.mgmt.azurearcdata.models.SqlServerInstanceTelemetryColumnType + """ + super(SqlServerInstanceTelemetryColumn, self).__init__(**kwargs) + self.name = name + self.type = type + + +class SqlServerInstanceTelemetryRequest(msrest.serialization.Model): + """The Arc SQL Server instance telemetry retrieval request. + + All required parameters must be populated in order to send to Azure. + + :ivar dataset_name: Required. The name of the telemetry dataset to retrieve. + :vartype dataset_name: str + :ivar start_time: The start time for the time range to fetch telemetry for. If not specified, + the current time minus 1 hour is used. + :vartype start_time: ~datetime.datetime + :ivar end_time: The end time for the time range to fetch telemetry for. If not specified, the + current time is used. + :vartype end_time: ~datetime.datetime + :ivar interval: The time granularity to fetch telemetry for. This is an ISO8601 duration. + Examples: PT15M, PT1H, P1D. + :vartype interval: ~datetime.timedelta + :ivar aggregation_type: The aggregation type to use for the numerical columns in the dataset. + Possible values include: "Average", "Minimum", "Maximum", "Sum", "Count". Default value: + "Average". + :vartype aggregation_type: str or ~azure.mgmt.azurearcdata.models.AggregationType + :ivar database_names: The list of database names to return telemetry for. If not specified, + telemetry for all databases will be aggregated and returned. + :vartype database_names: list[str] + """ + + _validation = { + "dataset_name": {"required": True}, + } + + _attribute_map = { + "dataset_name": {"key": "datasetName", "type": "str"}, + "start_time": {"key": "startTime", "type": "iso-8601"}, + "end_time": {"key": "endTime", "type": "iso-8601"}, + "interval": {"key": "interval", "type": "duration"}, + "aggregation_type": {"key": "aggregationType", "type": "str"}, + "database_names": {"key": "databaseNames", "type": "[str]"}, + } + + def __init__( + self, + *, + dataset_name: str, + start_time: Optional[datetime.datetime] = None, + end_time: Optional[datetime.datetime] = None, + interval: Optional[datetime.timedelta] = "PT1H", + aggregation_type: Optional[Union[str, "AggregationType"]] = "Average", + database_names: Optional[List[str]] = None, + **kwargs, + ): + """ + :keyword dataset_name: Required. The name of the telemetry dataset to retrieve. + :paramtype dataset_name: str + :keyword start_time: The start time for the time range to fetch telemetry for. If not + specified, the current time minus 1 hour is used. + :paramtype start_time: ~datetime.datetime + :keyword end_time: The end time for the time range to fetch telemetry for. If not specified, + the current time is used. + :paramtype end_time: ~datetime.datetime + :keyword interval: The time granularity to fetch telemetry for. This is an ISO8601 duration. + Examples: PT15M, PT1H, P1D. + :paramtype interval: ~datetime.timedelta + :keyword aggregation_type: The aggregation type to use for the numerical columns in the + dataset. Possible values include: "Average", "Minimum", "Maximum", "Sum", "Count". Default + value: "Average". + :paramtype aggregation_type: str or ~azure.mgmt.azurearcdata.models.AggregationType + :keyword database_names: The list of database names to return telemetry for. If not specified, + telemetry for all databases will be aggregated and returned. + :paramtype database_names: list[str] + """ + super(SqlServerInstanceTelemetryRequest, self).__init__(**kwargs) + self.dataset_name = dataset_name + self.start_time = start_time + self.end_time = end_time + self.interval = interval + self.aggregation_type = aggregation_type + self.database_names = database_names + + +class SqlServerInstanceTelemetryResponse(msrest.serialization.Model): + """A section of the telemetry response for the SQL Server instance. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar columns: Required. The columns of the result telemetry table for the SQL Server instance. + :vartype columns: list[~azure.mgmt.azurearcdata.models.SqlServerInstanceTelemetryColumn] + :ivar rows: Required. A list of rows from the result telemetry table for the SQL Server + instance. + :vartype rows: list[list[str]] + :ivar next_link: The link to the next section of rows of the telemetry response for the SQL + Server instance. Null if no more sections are available. + :vartype next_link: str + """ + + _validation = { + "columns": {"required": True}, + "rows": {"required": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "columns": { + "key": "columns", + "type": "[SqlServerInstanceTelemetryColumn]", + }, + "rows": {"key": "rows", "type": "[[str]]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__( + self, + *, + columns: List["SqlServerInstanceTelemetryColumn"], + rows: List[List[str]], + **kwargs, + ): + """ + :keyword columns: Required. The columns of the result telemetry table for the SQL Server + instance. + :paramtype columns: list[~azure.mgmt.azurearcdata.models.SqlServerInstanceTelemetryColumn] + :keyword rows: Required. A list of rows from the result telemetry table for the SQL Server + instance. + :paramtype rows: list[list[str]] + """ + super(SqlServerInstanceTelemetryResponse, self).__init__(**kwargs) + self.columns = columns + self.rows = rows + self.next_link = None + + +class SqlServerInstanceUpdate(msrest.serialization.Model): + """An update to a SQL Server Instance. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: null. + :vartype properties: ~azure.mgmt.azurearcdata.models.SqlServerInstanceUpdateProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": { + "key": "properties", + "type": "SqlServerInstanceUpdateProperties", + }, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + properties: Optional["SqlServerInstanceUpdateProperties"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: null. + :paramtype properties: ~azure.mgmt.azurearcdata.models.SqlServerInstanceUpdateProperties + """ + super(SqlServerInstanceUpdate, self).__init__(**kwargs) + self.tags = tags + self.properties = properties + + +class SqlServerInstanceUpdateProperties(msrest.serialization.Model): + """Properties of update SqlServerInstance. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar version: SQL Server version. Possible values include: "SQL Server 2012", "SQL Server + 2014", "SQL Server 2016", "SQL Server 2017", "SQL Server 2019", "SQL Server 2022", "Unknown". + :vartype version: str or ~azure.mgmt.azurearcdata.models.SqlVersion + :ivar edition: SQL Server edition. Possible values include: "Evaluation", "Enterprise", + "Standard", "Web", "Developer", "Express", "Business Intelligence". + :vartype edition: str or ~azure.mgmt.azurearcdata.models.EditionType + :ivar container_resource_id: ARM Resource id of the container resource (Azure Arc for Servers). + :vartype container_resource_id: str + :ivar create_time: The time when the resource was created. + :vartype create_time: str + :ivar v_core: The number of logical processors used by the SQL Server instance. + :vartype v_core: str + :ivar cores: The number of total cores of the Operating System Environment (OSE) hosting the + SQL Server instance. + :vartype cores: str + :ivar status: The cloud connectivity status. Possible values include: "Connected", + "Disconnected", "Registered", "Unknown". + :vartype status: str or ~azure.mgmt.azurearcdata.models.ConnectionStatus + :ivar patch_level: SQL Server update level. + :vartype patch_level: str + :ivar collation: SQL Server collation. + :vartype collation: str + :ivar current_version: SQL Server current version. + :vartype current_version: str + :ivar instance_name: SQL Server instance name. + :vartype instance_name: str + :ivar tcp_dynamic_ports: Dynamic TCP ports used by SQL Server. + :vartype tcp_dynamic_ports: str + :ivar tcp_static_ports: Static TCP ports used by SQL Server. + :vartype tcp_static_ports: str + :ivar product_id: SQL Server product ID. + :vartype product_id: str + :ivar license_type: SQL Server license type. Possible values include: "Undefined", "Free", + "HADR", "ServerCAL", "LicenseOnly", "PAYG", "Paid". + :vartype license_type: str or ~azure.mgmt.azurearcdata.models.ArcSqlServerLicenseType + :ivar azure_defender_status_last_updated: Timestamp of last Azure Defender status update. + :vartype azure_defender_status_last_updated: ~datetime.datetime + :ivar azure_defender_status: Status of Azure Defender. Possible values include: "Protected", + "Unprotected", "Unknown". + :vartype azure_defender_status: str or ~azure.mgmt.azurearcdata.models.DefenderStatus + :ivar provisioning_state: The provisioning state of the Arc-enabled SQL Server resource. + :vartype provisioning_state: str + :ivar last_inventory_upload_time: The time when last successful inventory upload was performed. + :vartype last_inventory_upload_time: ~datetime.datetime + :ivar last_usage_upload_time: The time when last successful usage upload was performed. + :vartype last_usage_upload_time: ~datetime.datetime + :ivar host_type: Type of host for Azure Arc SQL Server. Possible values include: "Azure Virtual + Machine", "Azure VMWare Virtual Machine", "Azure Kubernetes Service", "AWS VMWare Virtual + Machine", "AWS Kubernetes Service", "GCP VMWare Virtual Machine", "GCP Kubernetes Service", + "Container", "Virtual Machine", "Physical Server", "AWS Virtual Machine", "GCP Virtual + Machine", "Other". + :vartype host_type: str or ~azure.mgmt.azurearcdata.models.HostType + :ivar always_on_role: The role of the SQL Server, based on availability. Possible values + include: "None", "FailoverClusterInstance", "FailoverClusterNode", "AvailabilityGroupReplica". + :vartype always_on_role: str or ~azure.mgmt.azurearcdata.models.AlwaysOnRole + :ivar failover_cluster: Failover Cluster Instance properties. + :vartype failover_cluster: ~azure.mgmt.azurearcdata.models.FailoverCluster + :ivar backup_policy: The backup profile for the SQL server. + :vartype backup_policy: ~azure.mgmt.azurearcdata.models.BackupPolicy + :ivar upgrade_locked_until: Upgrade Action for this resource is locked until it expires. The + Expiration time indicated by this value. It is not locked when it is empty. + :vartype upgrade_locked_until: ~datetime.datetime + :ivar monitoring: The monitoring configuration. + :vartype monitoring: ~azure.mgmt.azurearcdata.models.Monitoring + :ivar migration: Migration related configuration. + :vartype migration: ~azure.mgmt.azurearcdata.models.Migration + """ + + _validation = { + "container_resource_id": {"readonly": True}, + "create_time": {"readonly": True}, + "v_core": {"readonly": True}, + "status": {"readonly": True}, + "patch_level": {"readonly": True}, + "collation": {"readonly": True}, + "current_version": {"readonly": True}, + "tcp_dynamic_ports": {"readonly": True}, + "tcp_static_ports": {"readonly": True}, + "product_id": {"readonly": True}, + "license_type": {"readonly": True}, + "azure_defender_status_last_updated": {"readonly": True}, + "azure_defender_status": {"readonly": True}, + "provisioning_state": {"readonly": True}, + "last_inventory_upload_time": {"readonly": True}, + "last_usage_upload_time": {"readonly": True}, + "always_on_role": {"readonly": True}, + } + + _attribute_map = { + "version": {"key": "version", "type": "str"}, + "edition": {"key": "edition", "type": "str"}, + "container_resource_id": {"key": "containerResourceId", "type": "str"}, + "create_time": {"key": "createTime", "type": "str"}, + "v_core": {"key": "vCore", "type": "str"}, + "cores": {"key": "cores", "type": "str"}, + "status": {"key": "status", "type": "str"}, + "patch_level": {"key": "patchLevel", "type": "str"}, + "collation": {"key": "collation", "type": "str"}, + "current_version": {"key": "currentVersion", "type": "str"}, + "instance_name": {"key": "instanceName", "type": "str"}, + "tcp_dynamic_ports": {"key": "tcpDynamicPorts", "type": "str"}, + "tcp_static_ports": {"key": "tcpStaticPorts", "type": "str"}, + "product_id": {"key": "productId", "type": "str"}, + "license_type": {"key": "licenseType", "type": "str"}, + "azure_defender_status_last_updated": { + "key": "azureDefenderStatusLastUpdated", + "type": "iso-8601", + }, + "azure_defender_status": {"key": "azureDefenderStatus", "type": "str"}, + "provisioning_state": {"key": "provisioningState", "type": "str"}, + "last_inventory_upload_time": { + "key": "lastInventoryUploadTime", + "type": "iso-8601", + }, + "last_usage_upload_time": { + "key": "lastUsageUploadTime", + "type": "iso-8601", + }, + "host_type": {"key": "hostType", "type": "str"}, + "always_on_role": {"key": "alwaysOnRole", "type": "str"}, + "failover_cluster": { + "key": "failoverCluster", + "type": "FailoverCluster", + }, + "backup_policy": {"key": "backupPolicy", "type": "BackupPolicy"}, + "upgrade_locked_until": { + "key": "upgradeLockedUntil", + "type": "iso-8601", + }, + "monitoring": {"key": "monitoring", "type": "Monitoring"}, + "migration": {"key": "migration", "type": "Migration"}, + } + + def __init__( + self, + *, + version: Optional[Union[str, "SqlVersion"]] = None, + edition: Optional[Union[str, "EditionType"]] = None, + cores: Optional[str] = None, + instance_name: Optional[str] = None, + host_type: Optional[Union[str, "HostType"]] = None, + failover_cluster: Optional["FailoverCluster"] = None, + backup_policy: Optional["BackupPolicy"] = None, + upgrade_locked_until: Optional[datetime.datetime] = None, + monitoring: Optional["Monitoring"] = None, + migration: Optional["Migration"] = None, + **kwargs, + ): + """ + :keyword version: SQL Server version. Possible values include: "SQL Server 2012", "SQL Server + 2014", "SQL Server 2016", "SQL Server 2017", "SQL Server 2019", "SQL Server 2022", "Unknown". + :paramtype version: str or ~azure.mgmt.azurearcdata.models.SqlVersion + :keyword edition: SQL Server edition. Possible values include: "Evaluation", "Enterprise", + "Standard", "Web", "Developer", "Express", "Business Intelligence". + :paramtype edition: str or ~azure.mgmt.azurearcdata.models.EditionType + :keyword cores: The number of total cores of the Operating System Environment (OSE) hosting the + SQL Server instance. + :paramtype cores: str + :keyword instance_name: SQL Server instance name. + :paramtype instance_name: str + :keyword host_type: Type of host for Azure Arc SQL Server. Possible values include: "Azure + Virtual Machine", "Azure VMWare Virtual Machine", "Azure Kubernetes Service", "AWS VMWare + Virtual Machine", "AWS Kubernetes Service", "GCP VMWare Virtual Machine", "GCP Kubernetes + Service", "Container", "Virtual Machine", "Physical Server", "AWS Virtual Machine", "GCP + Virtual Machine", "Other". + :paramtype host_type: str or ~azure.mgmt.azurearcdata.models.HostType + :keyword failover_cluster: Failover Cluster Instance properties. + :paramtype failover_cluster: ~azure.mgmt.azurearcdata.models.FailoverCluster + :keyword backup_policy: The backup profile for the SQL server. + :paramtype backup_policy: ~azure.mgmt.azurearcdata.models.BackupPolicy + :keyword upgrade_locked_until: Upgrade Action for this resource is locked until it expires. The + Expiration time indicated by this value. It is not locked when it is empty. + :paramtype upgrade_locked_until: ~datetime.datetime + :keyword monitoring: The monitoring configuration. + :paramtype monitoring: ~azure.mgmt.azurearcdata.models.Monitoring + :keyword migration: Migration related configuration. + :paramtype migration: ~azure.mgmt.azurearcdata.models.Migration + """ + super(SqlServerInstanceUpdateProperties, self).__init__(**kwargs) + self.version = version + self.edition = edition + self.container_resource_id = None + self.create_time = None + self.v_core = None + self.cores = cores + self.status = None + self.patch_level = None + self.collation = None + self.current_version = None + self.instance_name = instance_name + self.tcp_dynamic_ports = None + self.tcp_static_ports = None + self.product_id = None + self.license_type = None + self.azure_defender_status_last_updated = None + self.azure_defender_status = None + self.provisioning_state = None + self.last_inventory_upload_time = None + self.last_usage_upload_time = None + self.host_type = host_type + self.always_on_role = None + self.failover_cluster = failover_cluster + self.backup_policy = backup_policy + self.upgrade_locked_until = upgrade_locked_until + self.monitoring = monitoring + self.migration = migration + + +class SqlServerLicense(TrackedResource): + """Describe SQL Server license resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + information. + :vartype system_data: ~azure.mgmt.azurearcdata.models.SystemData + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar properties: Required. SQL Server license properties. + :vartype properties: ~azure.mgmt.azurearcdata.models.SqlServerLicenseProperties + """ + + _validation = { + "id": {"readonly": True}, + "name": {"readonly": True}, + "type": {"readonly": True}, + "system_data": {"readonly": True}, + "location": {"required": True}, + "properties": {"required": True}, + } + + _attribute_map = { + "id": {"key": "id", "type": "str"}, + "name": {"key": "name", "type": "str"}, + "type": {"key": "type", "type": "str"}, + "system_data": {"key": "systemData", "type": "SystemData"}, + "tags": {"key": "tags", "type": "{str}"}, + "location": {"key": "location", "type": "str"}, + "properties": { + "key": "properties", + "type": "SqlServerLicenseProperties", + }, + } + + def __init__( + self, + *, + location: str, + properties: "SqlServerLicenseProperties", + tags: Optional[Dict[str, str]] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword properties: Required. SQL Server license properties. + :paramtype properties: ~azure.mgmt.azurearcdata.models.SqlServerLicenseProperties + """ + super(SqlServerLicense, self).__init__( + tags=tags, location=location, **kwargs + ) + self.properties = properties + + +class SqlServerLicenseListResult(msrest.serialization.Model): + """A list of SQL Server licenses. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: Array of results. + :vartype value: list[~azure.mgmt.azurearcdata.models.SqlServerLicense] + :ivar next_link: Link to retrieve next page of results. + :vartype next_link: str + """ + + _validation = { + "value": {"readonly": True}, + "next_link": {"readonly": True}, + } + + _attribute_map = { + "value": {"key": "value", "type": "[SqlServerLicense]"}, + "next_link": {"key": "nextLink", "type": "str"}, + } + + def __init__(self, **kwargs): + """ """ + super(SqlServerLicenseListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class SqlServerLicenseProperties(msrest.serialization.Model): + """Properties of SQL Server License. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar billing_plan: Required. SQL Server license type. Possible values include: "PAYG", "Paid". + :vartype billing_plan: str or ~azure.mgmt.azurearcdata.models.BillingPlan + :ivar physical_cores: Required. The number of total cores of the license covers. + :vartype physical_cores: int + :ivar license_category: Required. This property represents the choice between SQL Server Core + and ESU licenses. Possible values include: "Core". + :vartype license_category: str or ~azure.mgmt.azurearcdata.models.LicenseCategory + :ivar activation_state: Required. The activation state of the license. Possible values include: + "Activated", "Deactivated". + :vartype activation_state: str or ~azure.mgmt.azurearcdata.models.State + :ivar scope_type: Required. The Azure scope to which the license will apply. Possible values + include: "Tenant", "Subscription", "ResourceGroup". + :vartype scope_type: str or ~azure.mgmt.azurearcdata.models.ScopeType + :ivar last_activated_at: The timestamp of the most recent activation of the SqlServerLicense. + :vartype last_activated_at: ~datetime.datetime + :ivar last_deactivated_at: The timestamp of the most recent deactivation of the + SqlServerLicense. + :vartype last_deactivated_at: ~datetime.datetime + :ivar tenant_id: The tenantId the SQL Server license resource subscription resides in. + :vartype tenant_id: str + """ + + _validation = { + "billing_plan": {"required": True}, + "physical_cores": {"required": True, "minimum": 16, "multiple": 2}, + "license_category": {"required": True}, + "activation_state": {"required": True}, + "scope_type": {"required": True}, + "last_activated_at": {"readonly": True}, + "last_deactivated_at": {"readonly": True}, + "tenant_id": {"readonly": True}, + } + + _attribute_map = { + "billing_plan": {"key": "billingPlan", "type": "str"}, + "physical_cores": {"key": "physicalCores", "type": "int"}, + "license_category": {"key": "licenseCategory", "type": "str"}, + "activation_state": {"key": "activationState", "type": "str"}, + "scope_type": {"key": "scopeType", "type": "str"}, + "last_activated_at": {"key": "lastActivatedAt", "type": "iso-8601"}, + "last_deactivated_at": {"key": "lastDeactivatedAt", "type": "iso-8601"}, + "tenant_id": {"key": "tenantId", "type": "str"}, + } + + def __init__( + self, + *, + billing_plan: Union[str, "BillingPlan"], + physical_cores: int, + license_category: Union[str, "LicenseCategory"], + activation_state: Union[str, "State"], + scope_type: Union[str, "ScopeType"], + **kwargs, + ): + """ + :keyword billing_plan: Required. SQL Server license type. Possible values include: "PAYG", + "Paid". + :paramtype billing_plan: str or ~azure.mgmt.azurearcdata.models.BillingPlan + :keyword physical_cores: Required. The number of total cores of the license covers. + :paramtype physical_cores: int + :keyword license_category: Required. This property represents the choice between SQL Server + Core and ESU licenses. Possible values include: "Core". + :paramtype license_category: str or ~azure.mgmt.azurearcdata.models.LicenseCategory + :keyword activation_state: Required. The activation state of the license. Possible values + include: "Activated", "Deactivated". + :paramtype activation_state: str or ~azure.mgmt.azurearcdata.models.State + :keyword scope_type: Required. The Azure scope to which the license will apply. Possible values + include: "Tenant", "Subscription", "ResourceGroup". + :paramtype scope_type: str or ~azure.mgmt.azurearcdata.models.ScopeType + """ + super(SqlServerLicenseProperties, self).__init__(**kwargs) + self.billing_plan = billing_plan + self.physical_cores = physical_cores + self.license_category = license_category + self.activation_state = activation_state + self.scope_type = scope_type + self.last_activated_at = None + self.last_deactivated_at = None + self.tenant_id = None + + +class SqlServerLicenseUpdate(msrest.serialization.Model): + """An update to a SQL Server license resource. + + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: null. + :vartype properties: ~azure.mgmt.azurearcdata.models.SqlServerLicenseUpdateProperties + """ + + _attribute_map = { + "tags": {"key": "tags", "type": "{str}"}, + "properties": { + "key": "properties", + "type": "SqlServerLicenseUpdateProperties", + }, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + properties: Optional["SqlServerLicenseUpdateProperties"] = None, + **kwargs, + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: null. + :paramtype properties: ~azure.mgmt.azurearcdata.models.SqlServerLicenseUpdateProperties + """ + super(SqlServerLicenseUpdate, self).__init__(**kwargs) + self.tags = tags + self.properties = properties + + +class SqlServerLicenseUpdateProperties(msrest.serialization.Model): + """Properties of update SqlServerLicense. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar billing_plan: SQL Server license type. Possible values include: "PAYG", "Paid". + :vartype billing_plan: str or ~azure.mgmt.azurearcdata.models.BillingPlan + :ivar physical_cores: The number of total cores of the license covers. + :vartype physical_cores: int + :ivar license_category: This property represents the choice between SQL Server Core and ESU + licenses. Possible values include: "Core". + :vartype license_category: str or ~azure.mgmt.azurearcdata.models.LicenseCategory + :ivar activation_state: The activation state of the license. Possible values include: + "Activated", "Deactivated". + :vartype activation_state: str or ~azure.mgmt.azurearcdata.models.ActivationState + :ivar scope_type: The Azure scope to which the license will apply. Possible values include: + "Tenant", "Subscription", "ResourceGroup". + :vartype scope_type: str or ~azure.mgmt.azurearcdata.models.ScopeType + :ivar last_activated_at: The timestamp of the most recent activation of the SqlServerLicense. + :vartype last_activated_at: ~datetime.datetime + :ivar last_deactivated_at: The timestamp of the most recent deactivation of the + SqlServerLicense. + :vartype last_deactivated_at: ~datetime.datetime + :ivar tenant_id: The tenantId the SQL Server license resource subscription resides in. + :vartype tenant_id: str + """ + + _validation = { + "physical_cores": {"minimum": 16, "multiple": 2}, + "last_activated_at": {"readonly": True}, + "last_deactivated_at": {"readonly": True}, + "tenant_id": {"readonly": True}, + } + + _attribute_map = { + "billing_plan": {"key": "billingPlan", "type": "str"}, + "physical_cores": {"key": "physicalCores", "type": "int"}, + "license_category": {"key": "licenseCategory", "type": "str"}, + "activation_state": {"key": "activationState", "type": "str"}, + "scope_type": {"key": "scopeType", "type": "str"}, + "last_activated_at": {"key": "lastActivatedAt", "type": "iso-8601"}, + "last_deactivated_at": {"key": "lastDeactivatedAt", "type": "iso-8601"}, + "tenant_id": {"key": "tenantId", "type": "str"}, + } + + def __init__( + self, + *, + billing_plan: Optional[Union[str, "BillingPlan"]] = None, + physical_cores: Optional[int] = None, + license_category: Optional[Union[str, "LicenseCategory"]] = None, + activation_state: Optional[Union[str, "ActivationState"]] = None, + scope_type: Optional[Union[str, "ScopeType"]] = None, + **kwargs, + ): + """ + :keyword billing_plan: SQL Server license type. Possible values include: "PAYG", "Paid". + :paramtype billing_plan: str or ~azure.mgmt.azurearcdata.models.BillingPlan + :keyword physical_cores: The number of total cores of the license covers. + :paramtype physical_cores: int + :keyword license_category: This property represents the choice between SQL Server Core and ESU + licenses. Possible values include: "Core". + :paramtype license_category: str or ~azure.mgmt.azurearcdata.models.LicenseCategory + :keyword activation_state: The activation state of the license. Possible values include: + "Activated", "Deactivated". + :paramtype activation_state: str or ~azure.mgmt.azurearcdata.models.ActivationState + :keyword scope_type: The Azure scope to which the license will apply. Possible values include: + "Tenant", "Subscription", "ResourceGroup". + :paramtype scope_type: str or ~azure.mgmt.azurearcdata.models.ScopeType + """ + super(SqlServerLicenseUpdateProperties, self).__init__(**kwargs) + self.billing_plan = billing_plan + self.physical_cores = physical_cores + self.license_category = license_category + self.activation_state = activation_state + self.scope_type = scope_type + self.last_activated_at = None + self.last_deactivated_at = None + self.tenant_id = None + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :ivar created_by: The identity that created the resource. + :vartype created_by: str + :ivar created_by_type: The type of identity that created the resource. Possible values include: + "User", "Application", "ManagedIdentity", "Key". + :vartype created_by_type: str or ~azure.mgmt.azurearcdata.models.CreatedByType + :ivar created_at: The timestamp of resource creation (UTC). + :vartype created_at: ~datetime.datetime + :ivar last_modified_by: The identity that last modified the resource. + :vartype last_modified_by: str + :ivar last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :vartype last_modified_by_type: str or ~azure.mgmt.azurearcdata.models.CreatedByType + :ivar last_modified_at: The timestamp of resource last modification (UTC). + :vartype last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + "created_by": {"key": "createdBy", "type": "str"}, + "created_by_type": {"key": "createdByType", "type": "str"}, + "created_at": {"key": "createdAt", "type": "iso-8601"}, + "last_modified_by": {"key": "lastModifiedBy", "type": "str"}, + "last_modified_by_type": {"key": "lastModifiedByType", "type": "str"}, + "last_modified_at": {"key": "lastModifiedAt", "type": "iso-8601"}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[Union[str, "CreatedByType"]] = None, + created_at: Optional[datetime.datetime] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[Union[str, "CreatedByType"]] = None, + last_modified_at: Optional[datetime.datetime] = None, + **kwargs, + ): + """ + :keyword created_by: The identity that created the resource. + :paramtype created_by: str + :keyword created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :paramtype created_by_type: str or ~azure.mgmt.azurearcdata.models.CreatedByType + :keyword created_at: The timestamp of resource creation (UTC). + :paramtype created_at: ~datetime.datetime + :keyword last_modified_by: The identity that last modified the resource. + :paramtype last_modified_by: str + :keyword last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :paramtype last_modified_by_type: str or ~azure.mgmt.azurearcdata.models.CreatedByType + :keyword last_modified_at: The timestamp of resource last modification (UTC). + :paramtype last_modified_at: ~datetime.datetime + """ + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + +class UploadServicePrincipal(msrest.serialization.Model): + """Service principal for uploading billing, metrics and logs. + + :ivar client_id: Client ID of the service principal for uploading data. + :vartype client_id: str + :ivar tenant_id: Tenant ID of the service principal. + :vartype tenant_id: str + :ivar authority: Authority for the service principal. Example: + https://login.microsoftonline.com/. + :vartype authority: str + :ivar client_secret: Secret of the service principal. + :vartype client_secret: str + """ + + _attribute_map = { + "client_id": {"key": "clientId", "type": "str"}, + "tenant_id": {"key": "tenantId", "type": "str"}, + "authority": {"key": "authority", "type": "str"}, + "client_secret": {"key": "clientSecret", "type": "str"}, + } + + def __init__( + self, + *, + client_id: Optional[str] = None, + tenant_id: Optional[str] = None, + authority: Optional[str] = None, + client_secret: Optional[str] = None, + **kwargs, + ): + """ + :keyword client_id: Client ID of the service principal for uploading data. + :paramtype client_id: str + :keyword tenant_id: Tenant ID of the service principal. + :paramtype tenant_id: str + :keyword authority: Authority for the service principal. Example: + https://login.microsoftonline.com/. + :paramtype authority: str + :keyword client_secret: Secret of the service principal. + :paramtype client_secret: str + """ + super(UploadServicePrincipal, self).__init__(**kwargs) + self.client_id = client_id + self.tenant_id = tenant_id + self.authority = authority + self.client_secret = client_secret + + +class UploadWatermark(msrest.serialization.Model): + """Properties on upload watermark. Mostly timestamp for each upload data type. + + :ivar metrics: Last uploaded date for metrics from kubernetes cluster. Defaults to current date + time. + :vartype metrics: ~datetime.datetime + :ivar logs: Last uploaded date for logs from kubernetes cluster. Defaults to current date time. + :vartype logs: ~datetime.datetime + :ivar usages: Last uploaded date for usages from kubernetes cluster. Defaults to current date + time. + :vartype usages: ~datetime.datetime + """ + + _attribute_map = { + "metrics": {"key": "metrics", "type": "iso-8601"}, + "logs": {"key": "logs", "type": "iso-8601"}, + "usages": {"key": "usages", "type": "iso-8601"}, + } + + def __init__( + self, + *, + metrics: Optional[datetime.datetime] = None, + logs: Optional[datetime.datetime] = None, + usages: Optional[datetime.datetime] = None, + **kwargs, + ): + """ + :keyword metrics: Last uploaded date for metrics from kubernetes cluster. Defaults to current + date time. + :paramtype metrics: ~datetime.datetime + :keyword logs: Last uploaded date for logs from kubernetes cluster. Defaults to current date + time. + :paramtype logs: ~datetime.datetime + :keyword usages: Last uploaded date for usages from kubernetes cluster. Defaults to current + date time. + :paramtype usages: ~datetime.datetime + """ + super(UploadWatermark, self).__init__(**kwargs) + self.metrics = metrics + self.logs = logs + self.usages = usages + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDXM6Myqaoytg/3 +# 55BjUesfM5gTdx67nkItY/hX0xczxKCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIC8EX8q6GkyNB1sHlywWO1nvO3BmBUyf +# pxJW9abQi752MEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# WpdBDGrJXAx0hHbiDsGo56JHpjC6Pw6gkG+2gEOYEE9lgyMn17F/+PBAea+I2+Eg +# OqBF1QXFEdcSI+JrUPMvHXDs34VCv/fgMzIjlsaFYtCGzSwt/ocMKlUd8svEUUuN +# kxIr1W3hWf53XCh9at3ziYZo82pfwAdizp60MZ16zCdk+kI6lqldICfkn49sdTYN +# PgzehlBEqz6/sa0nEtn/gICLpt9EXjeWPTxnzPLtgoHAyfe/Al78HlNRWC90xoxu +# dZtghNWA0CgNtdlb2Zs19m4h8exqjOpDE2N3gVJm6T3IDozZHsds/NvYcZObFltX +# 1CymlokcOYUsvm8fZgIHoaGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCCX758uzXlQqg2fag0AX27ZpbI1BHEvtSELoAnbfeS9xQIGZdXk9ADBGBMyMDI0 +# MDIyODE1MDMxNy4zMDlaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjA4NDIt +# NEJFNi1DMjlBMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHajtXJWgDREbEAAQAAAdowDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NjU5WhcNMjUwMTEwMTkwNjU5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjowODQyLTRCRTYtQzI5 +# QTElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAJOQBgh2tVFR1j8jQA4NDf8bcVrXSN08 +# 0CNKPSQo7S57sCnPU0FKF47w2L6qHtwm4EnClF2cruXFp/l7PpMQg25E7X8xDmvx +# r8BBE6iASAPCfrTebuvAsZWcJYhy7prgCuBf7OidXpgsW1y8p6Vs7sD2aup/0uve +# YxeXlKtsPjMCplHkk0ba+HgLho0J68Kdji3DM2K59wHy9xrtsYK+X9erbDGZ2mmX +# 3765aS5Q7/ugDxMVgzyj80yJn6ULnknD9i4kUQxVhqV1dc/DF6UBeuzfukkMed7t +# rzUEZMRyla7qhvwUeQlgzCQhpZjz+zsQgpXlPczvGd0iqr7lACwfVGog5plIzdEx +# vt1TA8Jmef819aTKwH1IVEIwYLA6uvS8kRdA6RxvMcb//ulNjIuGceyykMAXEynV +# rLG9VvK4rfrCsGL3j30Lmidug+owrcCjQagYmrGk1hBykXilo9YB8Qyy5Q1KhGuH +# 65V3zFy8a0kwbKBRs8VR4HtoPYw9z1DdcJfZBO2dhzX3yAMipCGm6SmvmvavRsXh +# y805jiApDyN+s0/b7os2z8iRWGJk6M9uuT2493gFV/9JLGg5YJJCJXI+yxkO/OXn +# ZJsuGt0+zWLdHS4XIXBG17oPu5KsFfRTHREloR2dI6GwaaxIyDySHYOtvIydla7u +# 4lfnfCjY/qKTAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUoXyNyVE9ZhOVizEUVwhN +# gL8PX0UwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBALmDVdTtuI0jAEt41O2OM8CU +# 237TGMyhrGr7FzKCEFaXxtoqk/IObQriq1caHVh2vyuQ24nz3TdOBv7rcs/qnPjO +# xnXFLyZPeaWLsNuARVmUViyVYXjXYB5DwzaWZgScY8GKL7yGjyWrh78WJUgh7rE1 +# +5VD5h0/6rs9dBRqAzI9fhZz7spsjt8vnx50WExbBSSH7rfabHendpeqbTmW/Rfc +# aT+GFIsT+g2ej7wRKIq/QhnsoF8mpFNPHV1q/WK/rF/ChovkhJMDvlqtETWi97Go +# lOSKamZC9bYgcPKfz28ed25WJy10VtQ9P5+C/2dOfDaz1RmeOb27Kbegha0SfPcr +# iTfORVvqPDSa3n9N7dhTY7+49I8evoad9hdZ8CfIOPftwt3xTX2RhMZJCVoFlabH +# cvfb84raFM6cz5EYk+x1aVEiXtgK6R0xn1wjMXHf0AWlSjqRkzvSnRKzFsZwEl74 +# VahlKVhI+Ci9RT9+6Gc0xWzJ7zQIUFE3Jiix5+7KL8ArHfBY9UFLz4snboJ7Qip3 +# IADbkU4ZL0iQ8j8Ixra7aSYfToUefmct3dM69ff4Eeh2Kh9NsKiiph589Ap/xS1j +# ESlrfjL/g/ZboaS5d9a2fA598mubDvLD5x5PP37700vm/Y+PIhmp2fTvuS2sndeZ +# BmyTqcUNHRNmCk+njV3nMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjowODQyLTRC +# RTYtQzI5QTElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAQqIfIYljHUbNoY0/wjhXRn/sSA2ggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJnM8w +# IhgPMjAyNDAyMjgxOTUxNDNaGA8yMDI0MDIyOTE5NTE0M1owdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6YmczwIBADAHAgEAAgIIGDAHAgEAAgIQaDAKAgUA6YruTwIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBADS1uOra4qwuphiTNChWwotEeJCw +# ExBuJWdCslz9TsJLO8kAzY6TtQstHtsUU0+GL16C+lHc7XlG0q2TOhA+fHtowjtL +# e8EyTcESsAp1Ll0sUhqVZx2zi1ZVG15S8sURgIjZ7oNHGlKU0cgEGKYFu4Vr6wpz +# BwCPu/WiJ2TyUpoAMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHajtXJWgDREbEAAQAAAdowDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgGxUS +# D4gLnFmBxBcqtR+WZJ8pCpRZex5AXUWeW/cb3aswgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCAipaNpYsDvnqTe95Dj1C09020I5ljibrW/ndICOxg9xjCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB2o7VyVoA0RGx +# AAEAAAHaMCIEIH9pNgadE8IgjYwa2JzGsL4tT+JkAhr5XZRGKF8sdeHvMA0GCSqG +# SIb3DQEBCwUABIICAAiZ/0glxyYbAwBlqfPD7khjWUF02DQYqGkJpNyygnXkMlwC +# NPZC6cjinYpe3psr9G32UGFxl3A9Aj1G9DRkkXJLUxdaWzFBA7mV/bb3quqY7Zm/ +# RPwH6KlYUrOkiKmSGGEmRhVZgsuXKXy0is8Hu20w9K/RuzzgA5E8IQ1WcTyDcUvh +# Z9Y2ueUVPsHcjWXoepUtU1Obqh/l3z/Ti5DZ93W0SFAXD/wtWnu/KRfnmUM1EZoX +# K4jbe9E/6t9QITstK4Q7EOH93LWrlNXS9FVKl1W4KML4RNCY9J4COXTIwUtVjriJ +# JXsJ+vtbREe5ASkH4fzRRk3fLun+F+/KfeYwAhszsyXsFC5hE6SQSV0KSppfeSVd +# Aj/Mz2BpZlKOiIBV+mHAw52B6Yu9m8rlB/BGZxM8GmOsfLm/67Un+Bq614cODCnA +# cuFrX78Hb55da/3/WB6KnuRvn1aGLZwafqL1cGrGE5VpTos0QA+jiGcBHXookVKh +# aTxnaViQfPEmBuI36CDJatT+D1/PkLl06MeWX2Cp2jnf+A+FX1P057t6CnRVWtU9 +# SpCciu/2BC7XdB6Hqwb5jr1ERM3CcOeFfPV5EJIpVCl+v/EonHAvbzat10b+kixY +# aiNNIuWC2ZRh7vzzqsu/sfFVjtbYieEiWK29V0gXYKUi9uKkGEmhXoc3PcFL +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/__init__.py new file mode 100644 index 00000000000..1247dfcbbc3 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/__init__.py @@ -0,0 +1,270 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._sql_server_availability_groups_operations import ( + SqlServerAvailabilityGroupsOperations, +) +from ._sql_server_databases_operations import SqlServerDatabasesOperations +from ._operations import Operations +from ._sql_managed_instances_operations import SqlManagedInstancesOperations +from ._failover_groups_operations import FailoverGroupsOperations +from ._sql_server_instances_operations import SqlServerInstancesOperations +from ._sql_server_licenses_operations import SqlServerLicensesOperations +from ._data_controllers_operations import DataControllersOperations +from ._active_directory_connectors_operations import ( + ActiveDirectoryConnectorsOperations, +) +from ._postgres_instances_operations import PostgresInstancesOperations + +__all__ = [ + "SqlServerAvailabilityGroupsOperations", + "SqlServerDatabasesOperations", + "Operations", + "SqlManagedInstancesOperations", + "FailoverGroupsOperations", + "SqlServerInstancesOperations", + "SqlServerLicensesOperations", + "DataControllersOperations", + "ActiveDirectoryConnectorsOperations", + "PostgresInstancesOperations", +] + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCxQkWxkZ1eqXh4 +# 4Dok9CF6k4MjB5aeGn7Guigm5QZ8D6CCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIP/FiJBNjCrPNyZ4i8SrzRiAm3Ao/WdY +# ahmPycghzKOPMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# IgG+84DYbjLcESwBDDmAf6LWLfLzcTxEiysVuUFQeR4xr+QgNLOa49yd3AAPG/zZ +# AQhQpor278wLRBsybJsiL3CcU9TFtZbpp0iPY6XDVEIBO/CfLK9pkYe4NxyZ24Kk +# DBRkFGOHsMhRZ7rMuqU1oL+r0nBlm74CqOILmR3+I2I9mhr1VbYl1M3nxRoqhUc0 +# 0/wAnoBfHCgxNipuHHJgD6MwNIZTpOCc3VCaq4Eerk85XWApOtxmyqk/hVhbkNiw +# GtMEJRBUFchWGFuHFw40NrJe6REF+H5RtwZ43Wq62xpNoKjEHSWbEApfLNs4rQJ2 +# 8th9RFP4SvKsT54VcOkIuKGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCBCS9SiBUi5Ly8/Y9olNwXHUXcDwi706O9rhr3EsfhPvQIGZdXk8/8/GBMyMDI0 +# MDIyODE1MDMwOS4zMTRaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjA4NDIt +# NEJFNi1DMjlBMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHajtXJWgDREbEAAQAAAdowDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NjU5WhcNMjUwMTEwMTkwNjU5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjowODQyLTRCRTYtQzI5 +# QTElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAJOQBgh2tVFR1j8jQA4NDf8bcVrXSN08 +# 0CNKPSQo7S57sCnPU0FKF47w2L6qHtwm4EnClF2cruXFp/l7PpMQg25E7X8xDmvx +# r8BBE6iASAPCfrTebuvAsZWcJYhy7prgCuBf7OidXpgsW1y8p6Vs7sD2aup/0uve +# YxeXlKtsPjMCplHkk0ba+HgLho0J68Kdji3DM2K59wHy9xrtsYK+X9erbDGZ2mmX +# 3765aS5Q7/ugDxMVgzyj80yJn6ULnknD9i4kUQxVhqV1dc/DF6UBeuzfukkMed7t +# rzUEZMRyla7qhvwUeQlgzCQhpZjz+zsQgpXlPczvGd0iqr7lACwfVGog5plIzdEx +# vt1TA8Jmef819aTKwH1IVEIwYLA6uvS8kRdA6RxvMcb//ulNjIuGceyykMAXEynV +# rLG9VvK4rfrCsGL3j30Lmidug+owrcCjQagYmrGk1hBykXilo9YB8Qyy5Q1KhGuH +# 65V3zFy8a0kwbKBRs8VR4HtoPYw9z1DdcJfZBO2dhzX3yAMipCGm6SmvmvavRsXh +# y805jiApDyN+s0/b7os2z8iRWGJk6M9uuT2493gFV/9JLGg5YJJCJXI+yxkO/OXn +# ZJsuGt0+zWLdHS4XIXBG17oPu5KsFfRTHREloR2dI6GwaaxIyDySHYOtvIydla7u +# 4lfnfCjY/qKTAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUoXyNyVE9ZhOVizEUVwhN +# gL8PX0UwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBALmDVdTtuI0jAEt41O2OM8CU +# 237TGMyhrGr7FzKCEFaXxtoqk/IObQriq1caHVh2vyuQ24nz3TdOBv7rcs/qnPjO +# xnXFLyZPeaWLsNuARVmUViyVYXjXYB5DwzaWZgScY8GKL7yGjyWrh78WJUgh7rE1 +# +5VD5h0/6rs9dBRqAzI9fhZz7spsjt8vnx50WExbBSSH7rfabHendpeqbTmW/Rfc +# aT+GFIsT+g2ej7wRKIq/QhnsoF8mpFNPHV1q/WK/rF/ChovkhJMDvlqtETWi97Go +# lOSKamZC9bYgcPKfz28ed25WJy10VtQ9P5+C/2dOfDaz1RmeOb27Kbegha0SfPcr +# iTfORVvqPDSa3n9N7dhTY7+49I8evoad9hdZ8CfIOPftwt3xTX2RhMZJCVoFlabH +# cvfb84raFM6cz5EYk+x1aVEiXtgK6R0xn1wjMXHf0AWlSjqRkzvSnRKzFsZwEl74 +# VahlKVhI+Ci9RT9+6Gc0xWzJ7zQIUFE3Jiix5+7KL8ArHfBY9UFLz4snboJ7Qip3 +# IADbkU4ZL0iQ8j8Ixra7aSYfToUefmct3dM69ff4Eeh2Kh9NsKiiph589Ap/xS1j +# ESlrfjL/g/ZboaS5d9a2fA598mubDvLD5x5PP37700vm/Y+PIhmp2fTvuS2sndeZ +# BmyTqcUNHRNmCk+njV3nMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjowODQyLTRC +# RTYtQzI5QTElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAQqIfIYljHUbNoY0/wjhXRn/sSA2ggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJnM8w +# IhgPMjAyNDAyMjgxOTUxNDNaGA8yMDI0MDIyOTE5NTE0M1owdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6YmczwIBADAHAgEAAgIIGDAHAgEAAgIQaDAKAgUA6YruTwIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBADS1uOra4qwuphiTNChWwotEeJCw +# ExBuJWdCslz9TsJLO8kAzY6TtQstHtsUU0+GL16C+lHc7XlG0q2TOhA+fHtowjtL +# e8EyTcESsAp1Ll0sUhqVZx2zi1ZVG15S8sURgIjZ7oNHGlKU0cgEGKYFu4Vr6wpz +# BwCPu/WiJ2TyUpoAMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHajtXJWgDREbEAAQAAAdowDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgq9ml +# Mb5+UEdzEBjAC3AskHBV5dZkFONCAaLHAQpPEsUwgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCAipaNpYsDvnqTe95Dj1C09020I5ljibrW/ndICOxg9xjCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB2o7VyVoA0RGx +# AAEAAAHaMCIEIH9pNgadE8IgjYwa2JzGsL4tT+JkAhr5XZRGKF8sdeHvMA0GCSqG +# SIb3DQEBCwUABIICAGEfbqMSQLoyl3WSie/WZ54aS7ZObRHhuYTI4dGFnthh9RZR +# 9ujcKNx6yP1FIaDuu+A2A6fz/t9v7crLq/WyEm1sa0SvHDkTgZbN/vdxvgHZ+KOT +# mPMwA4qiRgjgyFiLbxzExpajWcZplhq9ztVdM6j2Ul9RiF3wI3/ak30Nsadxjp0U +# 2Oq15+WZYznpiSwwtk9V/cIJRn76yW4igipfVYdmqICKGDrvWjU3svii7Z1sOIhX +# zk7h+P8tx/wFXy12XdHeByaxfhdbCjioDexIzF7bSV9Fc5sN84dd4gcsJAj9EvB0 +# 71Z816Ke0hPT07KvnZtabYFxLaZoSZsLL4hskl7va8++1lhLyOZhsNi1joKy5Xec +# QE7Y+1ywHb+iJL9jzqAMm51jk91lRImbTQO6HWfr640KpTxdJlDLZ2W0du7rYMjP +# iVZbA0vAEAqn7Q+HP62KUaCstutOST8OR7AoYKqaARxZUYeUuQoUwWEB0XFAc0+0 +# Ml5jzExkRKLvaVZ9Y/a1J5B5FlZ+Zgs+EVJimcUHoDgteXnF0H45Tbtbrj8iT4Ja +# bT5dwC//FiQwPKwzzLPs0kGm/P7xT3on3ZnSNaJWbXGYbtvNdaWh4B5T1EfDGdJV +# VlFgG8ksnshzT1eOtsvDMYyCzTVx+EBURDxzNFKEdtgXn662v1S4NySpleg9 +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_active_directory_connectors_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_active_directory_connectors_operations.py new file mode 100644 index 00000000000..bc7c952e60c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_active_directory_connectors_operations.py @@ -0,0 +1,947 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_create_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + "activeDirectoryConnectorName": _SERIALIZER.url("active_directory_connector_name", active_directory_connector_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + "activeDirectoryConnectorName": _SERIALIZER.url("active_directory_connector_name", active_directory_connector_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + "activeDirectoryConnectorName": _SERIALIZER.url("active_directory_connector_name", active_directory_connector_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +# fmt: on +class ActiveDirectoryConnectorsOperations(object): + """ActiveDirectoryConnectorsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.ActiveDirectoryConnectorListResult"] + """List the active directory connectors associated with the given data controller. + + List the active directory connectors associated with the given data controller. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ActiveDirectoryConnectorListResult or the result + of cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ActiveDirectoryConnectorListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "ActiveDirectoryConnectorListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors"} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + active_directory_connector_resource, # type: "_models.ActiveDirectoryConnectorResource" + **kwargs, # type: Any + ): + # type: (...) -> "_models.ActiveDirectoryConnectorResource" + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ActiveDirectoryConnectorResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + active_directory_connector_resource, + "ActiveDirectoryConnectorResource", + ) + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + @distributed_trace + def begin_create( + self, + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + active_directory_connector_resource, # type: "_models.ActiveDirectoryConnectorResource" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.ActiveDirectoryConnectorResource"] + """Creates or replaces an Active Directory connector resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param active_directory_connector_name: The name of the Active Directory connector instance. + :type active_directory_connector_name: str + :param active_directory_connector_resource: desc. + :type active_directory_connector_resource: + ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either ActiveDirectoryConnectorResource or the + result of cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ActiveDirectoryConnectorResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + active_directory_connector_resource=active_directory_connector_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = ARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes an Active Directory connector resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param active_directory_connector_name: The name of the Active Directory connector instance. + :type active_directory_connector_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = ARMPolling(lro_delay, **kwargs) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name, # type: str + data_controller_name, # type: str + active_directory_connector_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.ActiveDirectoryConnectorResource" + """Retrieves an Active Directory connector resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param active_directory_connector_name: The name of the Active Directory connector instance. + :type active_directory_connector_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ActiveDirectoryConnectorResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.ActiveDirectoryConnectorResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ActiveDirectoryConnectorResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + active_directory_connector_name=active_directory_connector_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "ActiveDirectoryConnectorResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDj0DHhhiBNpmwJ +# 0PMr8EF2mnWpMZ28YsalqkWUzUlvpqCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIF4cKq0j2zx97xjZVusf/+e90pR3JTZw +# bvUJ8TmQQDFpMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# Ur9apM8eclh+VN3jzhBaYd7aMNaucWZzEKsbLjbR+TU12GGZoi6QtYvMPcK3IiuW +# 7IlyNeZZmXQPlBKYMQ1HiTidjNoMwF9HhSGQLwqjN5GE+WssXKW0TU1FEc3OV0al +# xJh9alHFHAC8LecdxKoDzDc4Kv2aBSSbCkBVyXoN3oLaGwngUBPQo3QYfjoMY2tI +# 8jgPKQXSeIVCKjrg1HK0A7uY3MT/Yb/TQH4lloj+k4ZV8WXiIDuOtwlvqzgrwovI +# pfO6m1qNUHtzChDmLseB3J4Sk6ubnxDLt25fQ/mV9Bt1lSeSRtrEBJzfnnms/Qq1 +# jCgfgQNj5p0TIr/9Wu83S6GCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCDIUvjG0+boeVF6Az8YsQTBfBBS7LHD4fJxwinNrswfUAIGZdX8tm2hGBMyMDI0 +# MDIyODE1MDMxMC4wNzJaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjNCRDQt +# NEI4MC02OUMzMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzM1WhcNMjUwMTEwMTkwNzM1WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRCODAtNjlD +# MzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKl74Drau2O6LLrJO3HyTvO9aXai//eN +# yP5MLWZrmUGNOJMPwMI08V9zBfRPNcucreIYSyJHjkMIUGmuh0rPV5/2+UCLGrN1 +# P77n9fq/mdzXMN1FzqaPHdKElKneJQ8R6cP4dru2Gymmt1rrGcNe800CcD6d/Ndo +# ommkd196VqOtjZFA1XWu+GsFBeWHiez/PllqcM/eWntkQMs0lK0zmCfH+Bu7i1h+ +# FDRR8F7WzUr/7M3jhVdPpAfq2zYCA8ZVLNgEizY+vFmgx+zDuuU/GChDK7klDcCw +# +/gVoEuSOl5clQsydWQjJJX7Z2yV+1KC6G1JVqpP3dpKPAP/4udNqpR5HIeb8Ta1 +# JfjRUzSv3qSje5y9RYT/AjWNYQ7gsezuDWM/8cZ11kco1JvUyOQ8x/JDkMFqSRwj +# 1v+mc6LKKlj//dWCG/Hw9ppdlWJX6psDesQuQR7FV7eCqV/lfajoLpPNx/9zF1dv +# 8yXBdzmWJPeCie2XaQnrAKDqlG3zXux9tNQmz2L96TdxnIO2OGmYxBAAZAWoKbmt +# YI+Ciz4CYyO0Fm5Z3T40a5d7KJuftF6CToccc/Up/jpFfQitLfjd71cS+cLCeoQ+ +# q0n0IALvV+acbENouSOrjv/QtY4FIjHlI5zdJzJnGskVJ5ozhji0YRscv1WwJFAu +# yyCMQvLdmPddAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQU3/+fh7tNczEifEXlCQgF +# OXgMh6owHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBADP6whOFjD1ad8GkEJ9oLBuv +# fjndMyGQ9R4HgBKSlPt3pa0XVLcimrJlDnKGgFBiWwI6XOgw82hdolDiMDBLLWRM +# TJHWVeUY1gU4XB8OOIxBc9/Q83zb1c0RWEupgC48I+b+2x2VNgGJUsQIyPR2PiXQ +# hT5PyerMgag9OSodQjFwpNdGirna2rpV23EUwFeO5+3oSX4JeCNZvgyUOzKpyMvq +# Vaubo+Glf/psfW5tIcMjZVt0elswfq0qJNQgoYipbaTvv7xmixUJGTbixYifTwAi +# vPcKNdeisZmtts7OHbAM795ZvKLSEqXiRUjDYZyeHyAysMEALbIhdXgHEh60KoZy +# zlBXz3VxEirE7nhucNwM2tViOlwI7EkeU5hudctnXCG55JuMw/wb7c71RKimZA/K +# XlWpmBvkJkB0BZES8OCGDd+zY/T9BnTp8si36Tql84VfpYe9iHmy7PqqxqMF2Cn4 +# q2a0mEMnpBruDGE/gR9c8SVJ2ntkARy5SfluuJ/MB61yRvT1mUx3lyppO22ePjBj +# nwoEvVxbDjT1jhdMNdevOuDeJGzRLK9HNmTDC+TdZQlj+VMgIm8ZeEIRNF0oaviF +# +QZcUZLWzWbYq6yDok8EZKFiRR5otBoGLvaYFpxBZUE8mnLKuDlYobjrxh7lnwrx +# V/fMy0F9fSo2JxFmtLgtMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRC +# ODAtNjlDMzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUA942iGuYFrsE4wzWDd85EpM6RiwqggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJtH4w +# IhgPMjAyNDAyMjgyMTMyNDZaGA8yMDI0MDIyOTIxMzI0NlowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym0fgIBADAHAgEAAgII/jAHAgEAAgIRWzAKAgUA6YsF/gIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAJ6X7dDIGi9HtOCA2shzNFZ6YvoT +# Wvg61z5FKYPhplayQdORPpE+XeeXTwPqfv6/sx93z6zYNxiMgP+9fqXYnMxH965H +# 3HMYkoPxXPXklX+vnZ5Q+02VAKWS0NdI6kAFPBrJSLMZ752kT5HbPmUmHF0DaPyo +# Sj7xsnbEGsliDjFEMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgJ2Y4 +# RFqcdk0eV0xl4nre64fvhgstoDU4n62PSg3RRH0wgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCAVqdP//qjxGFhe2YboEXeb8I/pAof01CwhbxUH9U697TCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB5Y9qwPM9tAuj +# AAEAAAHlMCIEIJZiUB27oq8Piq7Is0oyatZIjipupHB/Q5BVrq0i72SaMA0GCSqG +# SIb3DQEBCwUABIICAA6Vn5tw6xJwK0H/frdSTlmGBXy4lTpv1hKIAsY7OTSi4doZ +# P4QnmMTP5Zl1Z3EUixdTxoPTzJaOiDQtvW6kzZB2Rti8L004v1QNZog6qrzPdRDT +# Ybrnj2Z7TqnEP1ZMjQxCuOZW2khk9Y7Krv9LpX5vxQ4G17kzvE/T0rNR8MYqBhLR +# qBHCkvC6eQ3nU8kK8plyhxeQPGXTTFxlbJFKe7fpq0aPdDYFgVzTd38IcVwSLcrd +# PWG30n7NdKPsviG5/S3NwAgVUDLxAAemGVFdye7Kc58COgLuU50+/cd2thdqnoiu +# IMXc3ITWzhE7BywmIIYmpZDurqg5Fn+sVWsxTjGC1YswIZ5fEeSWO6eMzFthRP6t +# MDgy1O9k6+l7LjmDa/coNWOjHM3xh8746b+w8GcCDkMF9ZUenjrhJgPR8clzXTcx +# cpnA3tygrP+Ak22CbtUmBVgVdL36tqK0waVz+y9kKZCew5SITmudraD5IvQ1A09d +# lsbVvifh+51nisxfOFccWbcgc5oMNOYmwRT+u7Gg9aH/mqzAiZF29GMCc/nGnM0Q +# IvPjniVQa+4TYw9jnV+WHBY55qgiDU+5KIheuVNWQJX3R6LHy2Hb6K+Spdcy0jQI +# 5DoBopxCMtO7HUcU+Q5Feo9XDSNqmfu3jcJydq56OEW4u24Gf9fpFXRmlsry +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_data_controllers_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_data_controllers_operations.py new file mode 100644 index 00000000000..5f24451405c --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_data_controllers_operations.py @@ -0,0 +1,1245 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_in_subscription_request( + subscription_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/dataControllers") + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_in_group_request( + subscription_id, # type: str + resource_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_put_data_controller_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_delete_data_controller_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_data_controller_request( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_patch_data_controller_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "dataControllerName": _SERIALIZER.url("data_controller_name", data_controller_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +# fmt: on +class DataControllersOperations(object): + """DataControllersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list_in_subscription( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PageOfDataControllerResource"] + """List dataController resources in the subscription. + + List dataController resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PageOfDataControllerResource or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.azurearcdata.models.PageOfDataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PageOfDataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_in_subscription_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list_in_subscription.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_in_subscription_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "PageOfDataControllerResource", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_in_subscription.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/dataControllers"} # type: ignore + + @distributed_trace + def list_in_group( + self, + resource_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.PageOfDataControllerResource"] + """List dataController resources in the resource group. + + List dataController resources in the resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PageOfDataControllerResource or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.azurearcdata.models.PageOfDataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PageOfDataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_in_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_in_group.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_in_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "PageOfDataControllerResource", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_in_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers"} # type: ignore + + def _put_data_controller_initial( + self, + resource_group_name, # type: str + data_controller_name, # type: str + data_controller_resource, # type: "_models.DataControllerResource" + **kwargs, # type: Any + ): + # type: (...) -> "_models.DataControllerResource" + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + data_controller_resource, "DataControllerResource" + ) + + request = build_put_data_controller_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._put_data_controller_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _put_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace + def begin_put_data_controller( + self, + resource_group_name, # type: str + data_controller_name, # type: str + data_controller_resource, # type: "_models.DataControllerResource" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.DataControllerResource"] + """Creates or replaces a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param data_controller_resource: desc. + :type data_controller_resource: ~azure.mgmt.azurearcdata.models.DataControllerResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either DataControllerResource or the result of + cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.azurearcdata.models.DataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._put_data_controller_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + data_controller_resource=data_controller_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = ARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_put_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + def _delete_data_controller_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_delete_data_controller_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=self._delete_data_controller_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace + def begin_delete_data_controller( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_data_controller_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = ARMPolling(lro_delay, **kwargs) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace + def get_data_controller( + self, + resource_group_name, # type: str + data_controller_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.DataControllerResource" + """Retrieves a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DataControllerResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.DataControllerResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_get_data_controller_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + template_url=self.get_data_controller.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + def _patch_data_controller_initial( + self, + resource_group_name, # type: str + data_controller_name, # type: str + data_controller_resource, # type: "_models.DataControllerUpdate" + **kwargs, # type: Any + ): + # type: (...) -> Optional["_models.DataControllerResource"] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[Optional["_models.DataControllerResource"]] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + data_controller_resource, "DataControllerUpdate" + ) + + request = build_patch_data_controller_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._patch_data_controller_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _patch_data_controller_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + @distributed_trace + def begin_patch_data_controller( + self, + resource_group_name, # type: str + data_controller_name, # type: str + data_controller_resource, # type: "_models.DataControllerUpdate" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.DataControllerResource"] + """Updates a dataController resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param data_controller_name: The name of the data controller. + :type data_controller_name: str + :param data_controller_resource: The update data controller resource. + :type data_controller_resource: ~azure.mgmt.azurearcdata.models.DataControllerUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either DataControllerResource or the result of + cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.azurearcdata.models.DataControllerResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.DataControllerResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._patch_data_controller_initial( + resource_group_name=resource_group_name, + data_controller_name=data_controller_name, + data_controller_resource=data_controller_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "DataControllerResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = ARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_patch_data_controller.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIr5AYJKoZIhvcNAQcCoIIr1TCCK9ECAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAvudC6iYCpht3h +# Bz9rhUeNTtDgWxwTNcmwfxG7Mx+AHKCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZzDCCGcgCAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIII0zGA6dPlyB+afhQ5VY1Z0T1iO9sI3 +# pO2pV2Z2BRrnMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# P2A7VYwKc+gb+6XKCwfUV6kb2xKjNKlcfao2vft3hy8vQbFeWzLT/hEDJZb2W0ww +# 5DwoYqUfw/lj8IV47CRigDeoiMekuMcyoYwW1Osysskim0M32agMCacvP0wIKeq6 +# J45EoEi2xBnPBbTIVdGUPDrHKyIBk71b93rJ/vLth4SM/RlMjPRK+9edEpR+lTq6 +# IgGAFTivCWauiJKwu4Cks/k770gln0Ai9qW3JpDy4Dg9dp2TrFE+aLO1Q9Dcbepu +# oQ4wDWEDQiyYRWtQLeB7XgR3v5YFNAINQWYJauodBwi8hTU3BJQJV1ONTdYPybBA +# 4YIyy9qMKGlqzWYZCXWdCaGCF5QwgheQBgorBgEEAYI3AwMBMYIXgDCCF3wGCSqG +# SIb3DQEHAqCCF20wghdpAgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFSBgsqhkiG9w0B +# CRABBKCCAUEEggE9MIIBOQIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCB9J2dGagJdGRLWyfTNYilW0UiS/cLjgzHzBsjpSbp9igIGZc4je3laGBMyMDI0 +# MDIyODE1MDMwOS44NzhaMASAAgH0oIHRpIHOMIHLMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMSUwIwYDVQQLExxNaWNyb3NvZnQgQW1lcmljYSBP +# cGVyYXRpb25zMScwJQYDVQQLEx5uU2hpZWxkIFRTUyBFU046N0YwMC0wNUUwLUQ5 +# NDcxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2WgghHqMIIH +# IDCCBQigAwIBAgITMwAAAfAqfB1ZO+YfrQABAAAB8DANBgkqhkiG9w0BAQsFADB8 +# MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVk +# bW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1N +# aWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDAeFw0yMzEyMDYxODQ1NTFaFw0y +# NTAzMDUxODQ1NTFaMIHLMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3Rv +# bjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0 +# aW9uMSUwIwYDVQQLExxNaWNyb3NvZnQgQW1lcmljYSBPcGVyYXRpb25zMScwJQYD +# VQQLEx5uU2hpZWxkIFRTUyBFU046N0YwMC0wNUUwLUQ5NDcxJTAjBgNVBAMTHE1p +# Y3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2UwggIiMA0GCSqGSIb3DQEBAQUAA4IC +# DwAwggIKAoICAQC1Hi1Tozh3O0czE8xfRnrymlJNCaGWommPy0eINf+4EJr7rf8t +# SzlgE8Il4Zj48T5fTTOAh6nITRf2lK7+upcnZ/xg0AKoDYpBQOWrL9ObFShylIHf +# r/DQ4PsRX8GRtInuJsMkwSg63bfB4Q2UikMEP/CtZHi8xW5XtAKp95cs3mvUCMvI +# AA83Jr/UyADACJXVU4maYisczUz7J111eD1KrG9mQ+ITgnRR/X2xTDMCz+io8ZZF +# HGwEZg+c3vmPp87m4OqOKWyhcqMUupPveO/gQC9Rv4szLNGDaoePeK6IU0JqcGjX +# qxbcEoS/s1hCgPd7Ux6YWeWrUXaxbb+JosgOazUgUGs1aqpnLjz0YKfUqn8i5Tbm +# R1dqElR4QA+OZfeVhpTonrM4sE/MlJ1JLpR2FwAIHUeMfotXNQiytYfRBUOJHFeJ +# YEflZgVk0Xx/4kZBdzgFQPOWfVd2NozXlC2epGtUjaluA2osOvQHZzGOoKTvWUPX +# 99MssGObO0xJHd0DygP/JAVp+bRGJqa2u7AqLm2+tAT26yI5veccDmNZsg3vDh1H +# cpCJa9QpRW/MD3a+AF2ygV1sRnGVUVG3VODX3BhGT8TMU/GiUy3h7ClXOxmZ+weC +# uIOzCkTDbK5OlAS8qSPpgp+XGlOLEPaM31Mgf6YTppAaeP0ophx345ohtwIDAQAB +# o4IBSTCCAUUwHQYDVR0OBBYEFNCCsqdXRy/MmjZGVTAvx7YFWpslMB8GA1UdIwQY +# MBaAFJ+nFV0AXmJdg/Tl0mWnG1M1GelyMF8GA1UdHwRYMFYwVKBSoFCGTmh0dHA6 +# Ly93d3cubWljcm9zb2Z0LmNvbS9wa2lvcHMvY3JsL01pY3Jvc29mdCUyMFRpbWUt +# U3RhbXAlMjBQQ0ElMjAyMDEwKDEpLmNybDBsBggrBgEFBQcBAQRgMF4wXAYIKwYB +# BQUHMAKGUGh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2lvcHMvY2VydHMvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3J0MAwGA1UdEwEB +# /wQCMAAwFgYDVR0lAQH/BAwwCgYIKwYBBQUHAwgwDgYDVR0PAQH/BAQDAgeAMA0G +# CSqGSIb3DQEBCwUAA4ICAQA4IvSbnr4jEPgo5W4xj3/+0dCGwsz863QGZ2mB9Z4S +# wtGGLMvwfsRUs3NIlPD/LsWAxdVYHklAzwLTwQ5M+PRdy92DGftyEOGMHfut7Gq8 +# L3RUcvrvr0AL/NNtfEpbAEkCFzseextY5s3hzj3rX2wvoBZm2ythwcLeZmMgHQCm +# jZp/20fHWJgrjPYjse6RDJtUTlvUsjr+878/t+vrQEIqlmebCeEi+VQVxc7wF0Lu +# MTw/gCWdcqHoqL52JotxKzY8jZSQ7ccNHhC4eHGFRpaKeiSQ0GXtlbGIbP4kW1O3 +# JzlKjfwG62NCSvfmM1iPD90XYiFm7/8mgR16AmqefDsfjBCWwf3qheIMfgZzWqeE +# z8laFmM8DdkXjuOCQE/2L0TxhrjUtdMkATfXdZjYRlscBDyr8zGMlprFC7LcxqCX +# lhxhtd2CM+mpcTc8RB2D3Eor0UdoP36Q9r4XWCVV/2Kn0AXtvWxvIfyOFm5aLl0e +# Ezkhfv/XmUlBeOCElS7jdddWpBlQjJuHHUHjOVGXlrJT7X4hicF1o23x5U+j7qPK +# BceryP2/1oxfmHc6uBXlXBKukV/QCZBVAiBMYJhnktakWHpo9uIeSnYT6Qx7wf2R +# auYHIER8SLRmblMzPOs+JHQzrvh7xStx310LOp+0DaOXs8xjZvhpn+WuZij5RmZi +# jDCCB3EwggVZoAMCAQICEzMAAAAVxedrngKbSZkAAAAAABUwDQYJKoZIhvcNAQEL +# BQAwgYgxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xMjAwBgNV +# BAMTKU1pY3Jvc29mdCBSb290IENlcnRpZmljYXRlIEF1dGhvcml0eSAyMDEwMB4X +# DTIxMDkzMDE4MjIyNVoXDTMwMDkzMDE4MzIyNVowfDELMAkGA1UEBhMCVVMxEzAR +# BgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1p +# Y3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3Rh +# bXAgUENBIDIwMTAwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDk4aZM +# 57RyIQt5osvXJHm9DtWC0/3unAcH0qlsTnXIyjVX9gF/bErg4r25PhdgM/9cT8dm +# 95VTcVrifkpa/rg2Z4VGIwy1jRPPdzLAEBjoYH1qUoNEt6aORmsHFPPFdvWGUNzB +# RMhxXFExN6AKOG6N7dcP2CZTfDlhAnrEqv1yaa8dq6z2Nr41JmTamDu6GnszrYBb +# fowQHJ1S/rboYiXcag/PXfT+jlPP1uyFVk3v3byNpOORj7I5LFGc6XBpDco2LXCO +# Mcg1KL3jtIckw+DJj361VI/c+gVVmG1oO5pGve2krnopN6zL64NF50ZuyjLVwIYw +# XE8s4mKyzbnijYjklqwBSru+cakXW2dg3viSkR4dPf0gz3N9QZpGdc3EXzTdEonW +# /aUgfX782Z5F37ZyL9t9X4C626p+Nuw2TPYrbqgSUei/BQOj0XOmTTd0lBw0gg/w +# EPK3Rxjtp+iZfD9M269ewvPV2HM9Q07BMzlMjgK8QmguEOqEUUbi0b1qGFphAXPK +# Z6Je1yh2AuIzGHLXpyDwwvoSCtdjbwzJNmSLW6CmgyFdXzB0kZSU2LlQ+QuJYfM2 +# BjUYhEfb3BvR/bLUHMVr9lxSUV0S2yW6r1AFemzFER1y7435UsSFF5PAPBXbGjfH +# CBUYP3irRbb1Hode2o+eFnJpxq57t7c+auIurQIDAQABo4IB3TCCAdkwEgYJKwYB +# BAGCNxUBBAUCAwEAATAjBgkrBgEEAYI3FQIEFgQUKqdS/mTEmr6CkTxGNSnPEP8v +# BO4wHQYDVR0OBBYEFJ+nFV0AXmJdg/Tl0mWnG1M1GelyMFwGA1UdIARVMFMwUQYM +# KwYBBAGCN0yDfQEBMEEwPwYIKwYBBQUHAgEWM2h0dHA6Ly93d3cubWljcm9zb2Z0 +# LmNvbS9wa2lvcHMvRG9jcy9SZXBvc2l0b3J5Lmh0bTATBgNVHSUEDDAKBggrBgEF +# BQcDCDAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTALBgNVHQ8EBAMCAYYwDwYD +# VR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBTV9lbLj+iiXGJo0T2UkFvXzpoYxDBW +# BgNVHR8ETzBNMEugSaBHhkVodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2Ny +# bC9wcm9kdWN0cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcmwwWgYIKwYBBQUH +# AQEETjBMMEoGCCsGAQUFBzAChj5odHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtp +# L2NlcnRzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIzLmNydDANBgkqhkiG9w0BAQsF +# AAOCAgEAnVV9/Cqt4SwfZwExJFvhnnJL/Klv6lwUtj5OR2R4sQaTlz0xM7U518Jx +# Nj/aZGx80HU5bbsPMeTCj/ts0aGUGCLu6WZnOlNN3Zi6th542DYunKmCVgADsAW+ +# iehp4LoJ7nvfam++Kctu2D9IdQHZGN5tggz1bSNU5HhTdSRXud2f8449xvNo32X2 +# pFaq95W2KFUn0CS9QKC/GbYSEhFdPSfgQJY4rPf5KYnDvBewVIVCs/wMnosZiefw +# C2qBwoEZQhlSdYo2wh3DYXMuLGt7bj8sCXgU6ZGyqVvfSaN0DLzskYDSPeZKPmY7 +# T7uG+jIa2Zb0j/aRAfbOxnT99kxybxCrdTDFNLB62FD+CljdQDzHVG2dY3RILLFO +# Ry3BFARxv2T5JL5zbcqOCb2zAVdJVGTZc9d/HltEAY5aGZFrDZ+kKNxnGSgkujhL +# mm77IVRrakURR6nxt67I6IleT53S0Ex2tVdUCbFpAUR+fKFhbHP+CrvsQWY9af3L +# wUFJfn6Tvsv4O+S3Fb+0zj6lMVGEvL8CwYKiexcdFYmNcP7ntdAoGokLjzbaukz5 +# m/8K6TT4JDVnK+ANuOaMmdbhIurwJ0I9JZTmdHRbatGePu1+oDEzfbzL6Xu/OHBE +# 0ZDxyKs6ijoIYn/ZcGNTTY3ugm2lBRDBcQZqELQdVTNYs6FwZvKhggNNMIICNQIB +# ATCB+aGB0aSBzjCByzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24x +# EDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlv +# bjElMCMGA1UECxMcTWljcm9zb2Z0IEFtZXJpY2EgT3BlcmF0aW9uczEnMCUGA1UE +# CxMeblNoaWVsZCBUU1MgRVNOOjdGMDAtMDVFMC1EOTQ3MSUwIwYDVQQDExxNaWNy +# b3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNloiMKAQEwBwYFKw4DAhoDFQDCKAZKKv5l +# sdC2yoMGKYiQy79p/6CBgzCBgKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpX +# YXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQg +# Q29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAy +# MDEwMA0GCSqGSIb3DQEBCwUAAgUA6YnEuTAiGA8yMDI0MDIyODE0NDIwMVoYDzIw +# MjQwMjI5MTQ0MjAxWjB0MDoGCisGAQQBhFkKBAExLDAqMAoCBQDpicS5AgEAMAcC +# AQACAhY3MAcCAQACAhMOMAoCBQDpixY5AgEAMDYGCisGAQQBhFkKBAIxKDAmMAwG +# CisGAQQBhFkKAwKgCjAIAgEAAgMHoSChCjAIAgEAAgMBhqAwDQYJKoZIhvcNAQEL +# BQADggEBAJz1r9YxukPOsZNUMHCtFFwK45+POCzIWOoxOdc4jpD38662X7mljhQm +# orJ9U4pzW6rcOgUGlAwklFJq2x5t7i5YcnGzwSxqR3wwAjprfHL6XOYFs8hMtTGl +# R5SXinXRG2Q/ow2wWjbrKk//2HS18DyU8Z+vcXrkrlTfGYsFqxcZDJt8XwUPtvbE +# Rhixw+IjTKGVzKhyEmTTpRLaP2O1Ay3J2U9rT9B5wXi3gjrne/ZpW8T0AuXWxkvt +# HX2oTDzkK4+muwrRdytJrgqwExuVwXn4Sk0re5qNx5FpA32oftoUMfZhCYGRQ2nc +# OzVAEQb9876X0t/sqiBuBedFv2fLhCExggQNMIIECQIBATCBkzB8MQswCQYDVQQG +# EwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwG +# A1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQg +# VGltZS1TdGFtcCBQQ0EgMjAxMAITMwAAAfAqfB1ZO+YfrQABAAAB8DANBglghkgB +# ZQMEAgEFAKCCAUowGgYJKoZIhvcNAQkDMQ0GCyqGSIb3DQEJEAEEMC8GCSqGSIb3 +# DQEJBDEiBCB2hezKSjMK6mkd2rM+WlvnkSOlmQtLSrP+MavgHUb8vTCB+gYLKoZI +# hvcNAQkQAi8xgeowgecwgeQwgb0EIFwBmqOlcv3kU7mAB5sWR74QFAiS6mb+CM6a +# snFAZUuLMIGYMIGApH4wfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0 +# b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTACEzMA +# AAHwKnwdWTvmH60AAQAAAfAwIgQgmEXXNhNnZ2gf++/qMjQfR8wwH18lPavBPXjl +# YQKydL0wDQYJKoZIhvcNAQELBQAEggIADBu+06VPefN04IBvnHJAF98VZv6qRMeB +# DQ0AQYF4rEQvWArQyJlqNVyLPbke44WoBe5fwuP6DttDo3n1kkSd8sUR7WDSrD6Y +# IE6Pjt99QcQJnY9uZ8hCzWDfD9vQpR93Bqyl2iuTJRb+sLQDYj9Wz/ept8pbCcPq +# yZW+wYd2tz9d7moqvzW4Imnfa0TJcoPtwO9vzPd8vYQLGz9S+DCRU5uUaq9hGZ6t +# MpZbq3QvokY+7FfGGECz6OGzmp5EhbhIUkX3HWr5EvKFhvNlAnc2JqcfmXCaQLsA +# pe0W3AffI/hwWvfDhO8qPSWHhO+lTi6KpOLLB5YyJXgpuXuIrD6x87ujZZ88fs8L +# gDVlP89iOaE74RPPsfT7BKQYYJrYndQwM7Y1QAC+tUB52fYKO34A8biNn+pW/SYy +# N1t5+m9feGKFwuBTCrGqp4TThN3CTUki8zwP+uskUgewggbs7bI33R+x6rNR2Dth +# xW6rYMT+4OwX1FqhyK2tvt6xAUqt55MY8qZE/72xfwcrrCBysVbGeemIyk6fg0XK +# GKdkaAX9vQkOYDjh58bO56ewOTqdo9Ne5p0laWrhuRIvDizBS3OVB+nmkNkifgOw +# xmTBPT2ooni8Rb/xDVT/sQ7SXUw1CwABcNe10A2eM9TGfBrcyjPS52rFGlzcnKOa +# 9kKx0WashnM= +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_failover_groups_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_failover_groups_operations.py new file mode 100644 index 00000000000..4edbf88d95a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_failover_groups_operations.py @@ -0,0 +1,943 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_create_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + failover_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + "failoverGroupName": _SERIALIZER.url("failover_group_name", failover_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + failover_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + "failoverGroupName": _SERIALIZER.url("failover_group_name", failover_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + failover_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + "failoverGroupName": _SERIALIZER.url("failover_group_name", failover_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +# fmt: on +class FailoverGroupsOperations(object): + """FailoverGroupsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.FailoverGroupListResult"] + """List the failover groups associated with the given sql managed instance. + + List the failover groups associated with the given sql managed instance. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either FailoverGroupListResult or the result of + cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.azurearcdata.models.FailoverGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.FailoverGroupListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "FailoverGroupListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups"} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + failover_group_name, # type: str + failover_group_resource, # type: "_models.FailoverGroupResource" + **kwargs, # type: Any + ): + # type: (...) -> "_models.FailoverGroupResource" + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.FailoverGroupResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + failover_group_resource, "FailoverGroupResource" + ) + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "FailoverGroupResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "FailoverGroupResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore + + @distributed_trace + def begin_create( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + failover_group_name, # type: str + failover_group_resource, # type: "_models.FailoverGroupResource" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.FailoverGroupResource"] + """Creates or replaces a failover group resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param failover_group_name: The name of the Failover Group. + :type failover_group_name: str + :param failover_group_resource: desc. + :type failover_group_resource: ~azure.mgmt.azurearcdata.models.FailoverGroupResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either FailoverGroupResource or the result of + cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.azurearcdata.models.FailoverGroupResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.FailoverGroupResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + failover_group_resource=failover_group_resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "FailoverGroupResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = ARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + failover_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + failover_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a failover group resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param failover_group_name: The name of the Failover Group. + :type failover_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = ARMPolling(lro_delay, **kwargs) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + failover_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.FailoverGroupResource" + """Retrieves a failover group resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param failover_group_name: The name of the Failover Group. + :type failover_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FailoverGroupResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.FailoverGroupResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.FailoverGroupResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + failover_group_name=failover_group_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "FailoverGroupResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDtC79w2bvvhK/w +# 2O5NIYI5YZV0nPcZMmB3aV6UYmFMS6CCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIGWjIJM/jS+sE3mPmhB0KI4/1gO8ZybB +# lFTzMjwm0nKxMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# P0l3CGUHL/cDXfeAeuaRcvLUQ7AxM3rLeuVo7tGEOGbd+gre1lJc3q7vkK4IJA66 +# MwDVN/rGwBm23cqzm0NVHuBM6g1Cn81CbbVJgn5IXV+ydD7CCM/++1jgzl8KWgDC +# Aky1FXkEx9MEzYTu8eGhOJ9XcjoMjBjxYJLmcG45IJ7llKSEXo6yfjg2NMqFUCWS +# t61QyHqBJ9+tPKytca4V9xnrc2QqzUwX9rO9iag1I99VAlBn1Pbt4eTQgxywXJtN +# gkGJmBRr9U/KB8KiazIh44LXrgprLGn4S2aNSKAJdpmnvhLcgHHuoE6JK0vkhFJX +# bUtUDLHLA4Ev3ReaLSkPyaGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCDpxuS0y2ZrHDNuZIx3PgLTHlwk61Q6tUCwENwGV93b0gIGZdYHa6HnGBMyMDI0 +# MDIyODE1MDMxMC4zODdaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjE3OUUt +# NEJCMC04MjQ2MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzE5WhcNMjUwMTEwMTkwNzE5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRCQjAtODI0 +# NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKyHnPOhxbvRATnGjb/6fuBhh3ZLzotA +# xAgdLaZ/zkRFUdeSKzyNt3tqorMK7GDvcXdKs+qIMUbvenlH+w53ssPa6rYP760Z +# uFrABrfserf0kFayNXVzwT7jarJOEjnFMBp+yi+uwQ2TnJuxczceG5FDHrII6sF6 +# F879lP6ydY0BBZkZ9t39e/svNRieA5gUnv/YcM/bIMY/QYmd9F0B+ebFYi+PH4Ak +# XahNkFgK85OIaRrDGvhnxOa/5zGL7Oiii7+J9/QHkdJGlfnRfbQ3QXM/5/umBOKG +# 4JoFY1niZ5RVH5PT0+uCjwcqhTbnvUtfK+N+yB2b9rEZvp2Tv4ZwYzEd9A9VsYMu +# ZiCSbaFMk77LwVbklpnw4aHWJXJkEYmJvxRbcThE8FQyOoVkSuKc5OWZ2+WM/j50 +# oblA0tCU53AauvUOZRoQBh89nHK+m5pOXKXdYMJ+ceuLYF8h5y/cXLQMOmqLJz5l +# 7MLqGwU0zHV+MEO8L1Fo2zEEQ4iL4BX8YknKXonHGQacSCaLZot2kyJVRsFSxn0P +# lPvHVp0YdsCMzdeiw9jAZ7K9s1WxsZGEBrK/obipX6uxjEpyUA9mbVPljlb3R4MW +# I0E2xI/NM6F4Ac8Ceax3YWLT+aWCZeqiIMLxyyWZg+i1KY8ZEzMeNTKCEI5wF1wx +# qr6T1/MQo+8tAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUcF4XP26dV+8SusoA1XXQ +# 2TDSmdIwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBAMATzg6R/A0ldO7MqGxD1VJj +# i5yVA1hHb0Hc0Yjtv7WkxQ8iwfflulX5Us64tD3+3NT1JkphWzaAWf2wKdAw35Rx +# tQG1iON3HEZ0X23nde4Kg/Wfbx5rEHkZ9bzKnR/2N5A16+w/1pbwJzdfRcnJT3cL +# yawr/kYjMWd63OP0Glq70ua4WUE/Po5pU7rQRbWEoQozY24hAqOcwuRcm6Cb0JBe +# TOCeRBntEKgjKep4pRaQt7b9vusT97WeJcfaVosmmPtsZsawgnpIjbBa55tHfuk0 +# vDkZtbIXjU4mr5dns9dnanBdBS2PY3N3hIfCPEOszquwHLkfkFZ/9bxw8/eRJldt +# oukHo16afE/AqP/smmGJh5ZR0pmgW6QcX+61rdi5kDJTzCFaoMyYzUS0SEbyrDZ/ +# p2KOuKAYNngljiOlllct0uJVz2agfczGjjsKi2AS1WaXvOhgZNmGw42SFB1qaloa +# 8Kaux9Q2HHLE8gee/5rgOnx9zSbfVUc7IcRNodq6R7v+Rz+P6XKtOgyCqW/+rhPm +# p/n7Fq2BGTRkcy//hmS32p6qyglr2K4OoJDJXxFs6lwc8D86qlUeGjUyo7hVy5Vv +# yA+y0mGnEAuA85tsOcUPlzwWF5sv+B5fz35OW3X4Spk5SiNulnLFRPM5XCsSHqvc +# bC8R3qwj2w1evPhZxDuNMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRC +# QjAtODI0NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAbfPR1fBX6HxYfyPx8zYzJU5fIQyggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJvw4w +# IhgPMjAyNDAyMjgyMjE3NTBaGA8yMDI0MDIyOTIyMTc1MFowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym/DgIBADAHAgEAAgIFODAHAgEAAgIRUDAKAgUA6YsQjgIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAErMic/nNPp5tSOJsfCecCou9ByT +# N3G55pr1uxb+X3idhClgYGc3ljiCPGpHiDsoGXrc4dK+WWhXosUk2fv46uOPrhy1 +# 1gttQCsn+i9NRKfttUNZl3FIUO2oKEwmp78mrjzCAwD8dlydsjn4dHDCv8eIDkmb +# T8xHYmeUT9tHQQbPMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgikZj +# 1ZgTSoo0Skxz9dMGtJDEThxRc+mUv0HoXFEveEkwgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCDj7lK/8jnlbTjPvc77DCCSb4TZApY9nJm5whsK/2kKwTCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB4NT8HxMVH35d +# AAEAAAHgMCIEIG01xKO9hBFTAtjUO/ZHX2/vm3tWdTGjY5wDebXC55bIMA0GCSqG +# SIb3DQEBCwUABIICAIXb2RaXdM8gemJRf5bkOd7Z3tgNkrCAiwOdXJYKy9azYMbn +# r0WBgnsEMfgQp3mBU9KQ9ewlmO87en2eccHsuIA+dOVuZAjIPtUIskmhj/YWPWTb +# 9Kmp00/NaY6ftBrevJsdawsp+biys4/kuI2XrADgN1L29SfhbNeU/7ny9XYs5Gj4 +# Fwl7kRGTGX/xh0ua+Zdn3M0dR1p2RpcIYEbXJQReIBwHQkH2lECsfdBAtENkggdC +# V/nNc4uwljU7YccHUN3E6GHdLu25mY95v9vhWvd9OOwBrOM6QhdxT6RV8tZG2D1s +# kAay68QiNH1F7eawIWbmTXM4cs5BmmmXOz93gPVQ67+iuxkzWV8RQJ1aqWONSO9j +# tucS+2niSeM1/Kph8fOLAeHLltWpYXaJbfE+IZpEmkeCf3nOh3rDLtGFp2NMHmGE +# Kc2mXq3IeaGzA0sSBcm++PqzuNS8/9GQZErhECg9DSU04whYRnuMUa2Hf/WgZBDR +# Iuh5DlV04e/wVzWix9aNbCuW8mRKjCtio5DGUlWaXmJiqTBRkScKtcQFSQu6nOLO +# Xf+rYz8bEt0chUPDvfmud9jJSsxif4KRzOp7aHbncxwqsHxI59Mkg8ADUvFjvSG3 +# efns43BT04uxkx9fvfbkBPpq/19WngmD9StJ6FlKIGZvQBDQvqccSZGMd6Id +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_operations.py new file mode 100644 index 00000000000..75e2584aa19 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_operations.py @@ -0,0 +1,415 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models +from .._vendor import _convert_request + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/providers/Microsoft.AzureArcData/operations") + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +# fmt: on +class Operations(object): + """Operations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.OperationListResult"] + """Lists all of the available Azure Data Services on Azure Arc API operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.azurearcdata.models.OperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.OperationListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "OperationListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/providers/Microsoft.AzureArcData/operations"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBEiv5b30lNr/gH +# 4qfW0QvbXhrSib28tJuIiE5kdSe36aCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIPuu71RbM+atl1WNfb8rfpi3vMEJ6ZWz +# YFlpFn22WkNtMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# ig6aJKKqUJjjxgDReOaQlZ7FvLEJG55PdzfTjZ39PTkwHYlooxvpgQTZyBuayfjv +# EEKVcKf5mDy+W3dMqjRWt41kVE9tZIRB8n0hy3x9x/ajYcL4EIynLMzhVi0hBoK7 +# UEf/jTY041T7Y9nc9dbxVIxea0knkSHtggHyjnA8jVfmZj0q6lG3biOl0k5APfI4 +# v9WKEWSv7Jr/atsMtGmtrgaZ15ipZSs7dtsdIVt+DwAadGOs5bT9xh0pPYykuP04 +# b3ukv/xadUZ5FXvQzdk24JWgu3vPE6wtdwFDfo3D2imBwgD+9nGDtc7a6MmPG88u +# ocEJZ8xz9nKtxN3Bhib2NqGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCBjZRdXhfpGEvB0MzPZtc+1worsr+UrJmUw3h5jJ5/7KQIGZdX8tm4gGBMyMDI0 +# MDIyODE1MDMxNC44NTNaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjNCRDQt +# NEI4MC02OUMzMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzM1WhcNMjUwMTEwMTkwNzM1WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRCODAtNjlD +# MzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKl74Drau2O6LLrJO3HyTvO9aXai//eN +# yP5MLWZrmUGNOJMPwMI08V9zBfRPNcucreIYSyJHjkMIUGmuh0rPV5/2+UCLGrN1 +# P77n9fq/mdzXMN1FzqaPHdKElKneJQ8R6cP4dru2Gymmt1rrGcNe800CcD6d/Ndo +# ommkd196VqOtjZFA1XWu+GsFBeWHiez/PllqcM/eWntkQMs0lK0zmCfH+Bu7i1h+ +# FDRR8F7WzUr/7M3jhVdPpAfq2zYCA8ZVLNgEizY+vFmgx+zDuuU/GChDK7klDcCw +# +/gVoEuSOl5clQsydWQjJJX7Z2yV+1KC6G1JVqpP3dpKPAP/4udNqpR5HIeb8Ta1 +# JfjRUzSv3qSje5y9RYT/AjWNYQ7gsezuDWM/8cZ11kco1JvUyOQ8x/JDkMFqSRwj +# 1v+mc6LKKlj//dWCG/Hw9ppdlWJX6psDesQuQR7FV7eCqV/lfajoLpPNx/9zF1dv +# 8yXBdzmWJPeCie2XaQnrAKDqlG3zXux9tNQmz2L96TdxnIO2OGmYxBAAZAWoKbmt +# YI+Ciz4CYyO0Fm5Z3T40a5d7KJuftF6CToccc/Up/jpFfQitLfjd71cS+cLCeoQ+ +# q0n0IALvV+acbENouSOrjv/QtY4FIjHlI5zdJzJnGskVJ5ozhji0YRscv1WwJFAu +# yyCMQvLdmPddAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQU3/+fh7tNczEifEXlCQgF +# OXgMh6owHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBADP6whOFjD1ad8GkEJ9oLBuv +# fjndMyGQ9R4HgBKSlPt3pa0XVLcimrJlDnKGgFBiWwI6XOgw82hdolDiMDBLLWRM +# TJHWVeUY1gU4XB8OOIxBc9/Q83zb1c0RWEupgC48I+b+2x2VNgGJUsQIyPR2PiXQ +# hT5PyerMgag9OSodQjFwpNdGirna2rpV23EUwFeO5+3oSX4JeCNZvgyUOzKpyMvq +# Vaubo+Glf/psfW5tIcMjZVt0elswfq0qJNQgoYipbaTvv7xmixUJGTbixYifTwAi +# vPcKNdeisZmtts7OHbAM795ZvKLSEqXiRUjDYZyeHyAysMEALbIhdXgHEh60KoZy +# zlBXz3VxEirE7nhucNwM2tViOlwI7EkeU5hudctnXCG55JuMw/wb7c71RKimZA/K +# XlWpmBvkJkB0BZES8OCGDd+zY/T9BnTp8si36Tql84VfpYe9iHmy7PqqxqMF2Cn4 +# q2a0mEMnpBruDGE/gR9c8SVJ2ntkARy5SfluuJ/MB61yRvT1mUx3lyppO22ePjBj +# nwoEvVxbDjT1jhdMNdevOuDeJGzRLK9HNmTDC+TdZQlj+VMgIm8ZeEIRNF0oaviF +# +QZcUZLWzWbYq6yDok8EZKFiRR5otBoGLvaYFpxBZUE8mnLKuDlYobjrxh7lnwrx +# V/fMy0F9fSo2JxFmtLgtMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRC +# ODAtNjlDMzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUA942iGuYFrsE4wzWDd85EpM6RiwqggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJtH4w +# IhgPMjAyNDAyMjgyMTMyNDZaGA8yMDI0MDIyOTIxMzI0NlowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym0fgIBADAHAgEAAgII/jAHAgEAAgIRWzAKAgUA6YsF/gIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAJ6X7dDIGi9HtOCA2shzNFZ6YvoT +# Wvg61z5FKYPhplayQdORPpE+XeeXTwPqfv6/sx93z6zYNxiMgP+9fqXYnMxH965H +# 3HMYkoPxXPXklX+vnZ5Q+02VAKWS0NdI6kAFPBrJSLMZ752kT5HbPmUmHF0DaPyo +# Sj7xsnbEGsliDjFEMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgOGv4 +# THIlmM68eh/b8wXD0epoaH/i9a5CYjnzwlwRgc8wgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCAVqdP//qjxGFhe2YboEXeb8I/pAof01CwhbxUH9U697TCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB5Y9qwPM9tAuj +# AAEAAAHlMCIEIJZiUB27oq8Piq7Is0oyatZIjipupHB/Q5BVrq0i72SaMA0GCSqG +# SIb3DQEBCwUABIICAAd1YcId6u99TWAGiKpIcUwLITxElzivQIrHiEM4jebcebFc +# QhCBO1iT/zRM2/JZ6HIHiclgPaH2PJNgYHilMfCjA9R+tREPWbhfYK6OC+MyKzRX +# xvEy+DSuFDfPprTIdW1EvEwyFBzt5FjNMaB0SZwq61W3r8wp8Lw+JwXpADEhSNIg +# yujTsCRRyQO3NLeQFQ0pFE2p4CpB6difArlpU8sl4IYoNw8yG5p4VE6acGm2xFCy +# ogM70cxhwnURyvZqkUAsR0MxJyaPnj7pC7J8qhszTBZf3muXVXigk9wGtgUml9pt +# 2r3yW40je9FT4ikmwq2qRFUjihcFHsESLsBv8KvuA2DG21Xn0/e0WcuZULraLbCY +# 79GmLMdD9CqxOLOQVsNbZ42K0A+CFVZ8N0g7y7V69dSBgdCsUJoFQpfhcmjRregy +# gVbUrjYy6VR/5IbWD6xqba/4/EIYg37F0R3yRrclOq2PyneFtVM8PJJ61KJJ/o51 +# 7N6rV+MIEeeFiVGW8AZ9WIsa38NSP4o90l3GpOVp6YYXuAwUdewn7hs2dF1XV1IR +# icmeZR+TKTMbJY9frftsbKqk8msTIb6TBwtGI9P6iCx+WsXdPv50tcgc+wHmsHbc +# llYWGEqQ+pxCoe1CdHR3ncpfGHvQY0tWY1PcyLhIahn3z7+XzYvV8ya39CYS +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_postgres_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_postgres_instances_operations.py new file mode 100644 index 00000000000..4f468b16bc3 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_postgres_instances_operations.py @@ -0,0 +1,1157 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + subscription_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/postgresInstances") + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_by_resource_group_request( + subscription_id, # type: str + resource_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "postgresInstanceName": _SERIALIZER.url("postgres_instance_name", postgres_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_create_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "postgresInstanceName": _SERIALIZER.url("postgres_instance_name", postgres_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "postgresInstanceName": _SERIALIZER.url("postgres_instance_name", postgres_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_update_request( + subscription_id, # type: str + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "postgresInstanceName": _SERIALIZER.url("postgres_instance_name", postgres_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +# fmt: on +class PostgresInstancesOperations(object): + """PostgresInstancesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PostgresInstanceListResult"] + """List postgres Instance resources in the subscription. + + List postgres Instance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PostgresInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.azurearcdata.models.PostgresInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "PostgresInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/postgresInstances"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.PostgresInstanceListResult"] + """List postgres Instance resources in the resource group. + + Get a postgres Instances list by Resource group name. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PostgresInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.azurearcdata.models.PostgresInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "PostgresInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.PostgresInstance" + """Retrieves a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PostgresInstance, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.PostgresInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize("PostgresInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + postgres_instance_name, # type: str + resource, # type: "_models.PostgresInstance" + **kwargs, # type: Any + ): + # type: (...) -> "_models.PostgresInstance" + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(resource, "PostgresInstance") + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "PostgresInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "PostgresInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + @distributed_trace + def begin_create( + self, + resource_group_name, # type: str + postgres_instance_name, # type: str + resource, # type: "_models.PostgresInstance" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.PostgresInstance"] + """Creates or replaces a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :param resource: The postgres instance. + :type resource: ~azure.mgmt.azurearcdata.models.PostgresInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either PostgresInstance or the result of + cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.azurearcdata.models.PostgresInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstance"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + resource=resource, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "PostgresInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = ARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + postgres_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = ARMPolling(lro_delay, **kwargs) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + @distributed_trace + def update( + self, + resource_group_name, # type: str + postgres_instance_name, # type: str + parameters, # type: "_models.PostgresInstanceUpdate" + **kwargs, # type: Any + ): + # type: (...) -> "_models.PostgresInstance" + """Updates a postgres Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param postgres_instance_name: Name of Postgres Instance. + :type postgres_instance_name: str + :param parameters: The Postgres Instance. + :type parameters: ~azure.mgmt.azurearcdata.models.PostgresInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PostgresInstance, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.PostgresInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.PostgresInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(parameters, "PostgresInstanceUpdate") + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + postgres_instance_name=postgres_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize("PostgresInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAHf6SqyNFew8u7 +# ysXDDC1ryHJlHLoCRzwwNk+bh3if3aCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEILho3TA1/YHRNx9rDV5XlezgkvNgQ1Rv +# AmHvy01PW/O2MEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# iNkuuNGmhuIQUa0wEd8hdyGyo37r1zlBAvmEMEzPvD7mAQTe9TH7QptgBUFBHScI +# 2kmhagnWFieSmvR9VK1ycbmO4pbBngLgjL4bXJE5Suhmzx5zdopviJOJCKgP/Y/v +# xsf9oGayf6JjUMhS/O61LpegMjOny2mWQ1vY2zVl84s2BTRs7c/JDOavnHgqO3zw +# hKf0Yh344cK8lWpUnDd+QeP7Jrlffgx673mEGerQPmTT+TMcow2jbBHIO3nrlhXP +# +XQ+lt49hHBm09cRulXv2UjdYfodaVYLexqUZZqClGMcA9JY+IfhVc5odRLKEisC +# 9moUiIDd5joUSci11WUZsqGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCBQnu1osuTaCpS8f4pGJG+7lozeCkmkLqdUu9ED/y+HrAIGZdYHa6FsGBMyMDI0 +# MDIyODE1MDMwOC43MTFaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjE3OUUt +# NEJCMC04MjQ2MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzE5WhcNMjUwMTEwMTkwNzE5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRCQjAtODI0 +# NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKyHnPOhxbvRATnGjb/6fuBhh3ZLzotA +# xAgdLaZ/zkRFUdeSKzyNt3tqorMK7GDvcXdKs+qIMUbvenlH+w53ssPa6rYP760Z +# uFrABrfserf0kFayNXVzwT7jarJOEjnFMBp+yi+uwQ2TnJuxczceG5FDHrII6sF6 +# F879lP6ydY0BBZkZ9t39e/svNRieA5gUnv/YcM/bIMY/QYmd9F0B+ebFYi+PH4Ak +# XahNkFgK85OIaRrDGvhnxOa/5zGL7Oiii7+J9/QHkdJGlfnRfbQ3QXM/5/umBOKG +# 4JoFY1niZ5RVH5PT0+uCjwcqhTbnvUtfK+N+yB2b9rEZvp2Tv4ZwYzEd9A9VsYMu +# ZiCSbaFMk77LwVbklpnw4aHWJXJkEYmJvxRbcThE8FQyOoVkSuKc5OWZ2+WM/j50 +# oblA0tCU53AauvUOZRoQBh89nHK+m5pOXKXdYMJ+ceuLYF8h5y/cXLQMOmqLJz5l +# 7MLqGwU0zHV+MEO8L1Fo2zEEQ4iL4BX8YknKXonHGQacSCaLZot2kyJVRsFSxn0P +# lPvHVp0YdsCMzdeiw9jAZ7K9s1WxsZGEBrK/obipX6uxjEpyUA9mbVPljlb3R4MW +# I0E2xI/NM6F4Ac8Ceax3YWLT+aWCZeqiIMLxyyWZg+i1KY8ZEzMeNTKCEI5wF1wx +# qr6T1/MQo+8tAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUcF4XP26dV+8SusoA1XXQ +# 2TDSmdIwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBAMATzg6R/A0ldO7MqGxD1VJj +# i5yVA1hHb0Hc0Yjtv7WkxQ8iwfflulX5Us64tD3+3NT1JkphWzaAWf2wKdAw35Rx +# tQG1iON3HEZ0X23nde4Kg/Wfbx5rEHkZ9bzKnR/2N5A16+w/1pbwJzdfRcnJT3cL +# yawr/kYjMWd63OP0Glq70ua4WUE/Po5pU7rQRbWEoQozY24hAqOcwuRcm6Cb0JBe +# TOCeRBntEKgjKep4pRaQt7b9vusT97WeJcfaVosmmPtsZsawgnpIjbBa55tHfuk0 +# vDkZtbIXjU4mr5dns9dnanBdBS2PY3N3hIfCPEOszquwHLkfkFZ/9bxw8/eRJldt +# oukHo16afE/AqP/smmGJh5ZR0pmgW6QcX+61rdi5kDJTzCFaoMyYzUS0SEbyrDZ/ +# p2KOuKAYNngljiOlllct0uJVz2agfczGjjsKi2AS1WaXvOhgZNmGw42SFB1qaloa +# 8Kaux9Q2HHLE8gee/5rgOnx9zSbfVUc7IcRNodq6R7v+Rz+P6XKtOgyCqW/+rhPm +# p/n7Fq2BGTRkcy//hmS32p6qyglr2K4OoJDJXxFs6lwc8D86qlUeGjUyo7hVy5Vv +# yA+y0mGnEAuA85tsOcUPlzwWF5sv+B5fz35OW3X4Spk5SiNulnLFRPM5XCsSHqvc +# bC8R3qwj2w1evPhZxDuNMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRC +# QjAtODI0NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAbfPR1fBX6HxYfyPx8zYzJU5fIQyggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJvw4w +# IhgPMjAyNDAyMjgyMjE3NTBaGA8yMDI0MDIyOTIyMTc1MFowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym/DgIBADAHAgEAAgIFODAHAgEAAgIRUDAKAgUA6YsQjgIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAErMic/nNPp5tSOJsfCecCou9ByT +# N3G55pr1uxb+X3idhClgYGc3ljiCPGpHiDsoGXrc4dK+WWhXosUk2fv46uOPrhy1 +# 1gttQCsn+i9NRKfttUNZl3FIUO2oKEwmp78mrjzCAwD8dlydsjn4dHDCv8eIDkmb +# T8xHYmeUT9tHQQbPMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgtoou +# 1jSk8chqQ5jqOZd+dUVrhS4uk6sE9m3qYvXkkw8wgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCDj7lK/8jnlbTjPvc77DCCSb4TZApY9nJm5whsK/2kKwTCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB4NT8HxMVH35d +# AAEAAAHgMCIEIG01xKO9hBFTAtjUO/ZHX2/vm3tWdTGjY5wDebXC55bIMA0GCSqG +# SIb3DQEBCwUABIICAF/jFItRPcOHOs1w64cDMSLC1H9DpkZ+6is8hEsDRfCeJ4qM +# ixLQJ3fOe2klf24tdfxLk0XZNnsW8i8HLYtigPujfiHKGdW4A6z/H59dBs300oWg +# 5Ft4tljoXPI4lNnQTR08r5HYIV+BmKukbI39rLHcBYH4TJVM9/rjoKdqNIJYsKRa +# KdKjnnHgAtgdQlPYbtzOsYh52P6ooOmcyknTis472b0WIhrGKlTT935sjDsZD4vl +# KzPCmVDO1dyFzOT8laFFJp3mWM7BSktTlvV1kvYV/XDBheD6cCBCGn4YfRh1wLdD +# KY20j7jGiXVMERrn4dT6J1h+1OPtE0w6LzuvUzqajrrobKduc9Zj3oZvxzZPGzPe +# +oqlGk66A3z21L/tIV1qAgrHLEuYm+RwyFS8lHe1tEoJE872eu3xyV8+3v5iQEe7 +# pJrG5LpPLM7EsA74Vw4Lo/Ur28pxrlu7K6zfa1YkQNpKVwzqCfia4yUn7zVWZXi8 +# J8r6d4PlzNMi9qxQ8eFjFAhPJuaq2jxqf9qaCaAuNj63lWjSfyK8FlLzkxFWVNqj +# jNq0+PRvVYXK4fBc9kXfSACpANoTjobujwBhMA/rqIWYGZ6hE/KmjKKrBe4uOThU +# vZ+1caWcqSmnlvEJuetbojKRADQofmXJNG291T9pBLZwlwCItJQPamB/gXV/ +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_sql_managed_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_sql_managed_instances_operations.py new file mode 100644 index 00000000000..f5e492fc7d9 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_sql_managed_instances_operations.py @@ -0,0 +1,1161 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + subscription_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlManagedInstances") + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_by_resource_group_request( + subscription_id, # type: str + resource_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_create_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_update_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlManagedInstanceName": _SERIALIZER.url("sql_managed_instance_name", sql_managed_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +# fmt: on +class SqlManagedInstancesOperations(object): + """SqlManagedInstancesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.SqlManagedInstanceListResult"] + """List sqlManagedInstance resources in the subscription. + + List sqlManagedInstance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlManagedInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.azurearcdata.models.SqlManagedInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlManagedInstances"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.SqlManagedInstanceListResult"] + """List sqlManagedInstance resources in the resource group. + + Gets all sqlManagedInstances in a resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlManagedInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.azurearcdata.models.SqlManagedInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlManagedInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlManagedInstance" + """Retrieves a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlManagedInstance, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlManagedInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + sql_managed_instance, # type: "_models.SqlManagedInstance" + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlManagedInstance" + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(sql_managed_instance, "SqlManagedInstance") + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + @distributed_trace + def begin_create( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + sql_managed_instance, # type: "_models.SqlManagedInstance" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.SqlManagedInstance"] + """Creates or replaces a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param sql_managed_instance: The SQL Managed Instance to be created or updated. + :type sql_managed_instance: ~azure.mgmt.azurearcdata.models.SqlManagedInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either SqlManagedInstance or the result of + cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.azurearcdata.models.SqlManagedInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + sql_managed_instance=sql_managed_instance, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = ARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = ARMPolling(lro_delay, **kwargs) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + @distributed_trace + def update( + self, + resource_group_name, # type: str + sql_managed_instance_name, # type: str + parameters, # type: "_models.SqlManagedInstanceUpdate" + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlManagedInstance" + """Updates a SQL Managed Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_managed_instance_name: Name of SQL Managed Instance. + :type sql_managed_instance_name: str + :param parameters: The SQL Managed Instance. + :type parameters: ~azure.mgmt.azurearcdata.models.SqlManagedInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlManagedInstance, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlManagedInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlManagedInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(parameters, "SqlManagedInstanceUpdate") + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_managed_instance_name=sql_managed_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "SqlManagedInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIreAYJKoZIhvcNAQcCoIIraTCCK2UCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDwcSIA8SxuCZbq +# BYVUZ7D1hTCQ4SkcfX4pOJCGq4zDM6CCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYDCCGVwCAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIM9Mohv2dX2Fjt7zcaAX0HDE+nAgZstC +# WcjRikskXwxiMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# jo0peYQc+oCtJylwqV5gPcyD46qHzK3chUMCld6gLStpHEPQ+aO7+mtaRdx2a7UT +# Yseq/YRWINW3uTX1imgXxuX+v8xEhvEO23Q+Ua3IELrc6wXxsZe06dCFg7H44wEm +# 08se0DxV4w0RciFDkc4JXsPH0J6VToK1GO4ENuFUxJpZIoqPYSf/Bzuk0WAVUY1w +# 9FupU1b8mW7EXmDUtlw9zLiheToXRO2NNueT9gw1uE+mDvu4HhtIG8l0TGLTJE3g +# MF8YHH+T6TMHJXcM2DpC3ajuSGooM5o8kMZ1sNgh1QDFVfEUIZsiVQCOJVems5EV +# gZ1H7VZ70RbzAERiAK8RJqGCFygwghckBgorBgEEAYI3AwMBMYIXFDCCFxAGCSqG +# SIb3DQEHAqCCFwEwghb9AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFYBgsqhkiG9w0B +# CRABBKCCAUcEggFDMIIBPwIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCCc70rse22s0m9fEbKd94Awzci48nTNd49xOevgB6r1zwIGZdYHa6LRGBIyMDI0 +# MDIyODE1MDMxNS44OVowBIACAfSggdikgdUwgdIxCzAJBgNVBAYTAlVTMRMwEQYD +# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy +# b3NvZnQgQ29ycG9yYXRpb24xLTArBgNVBAsTJE1pY3Jvc29mdCBJcmVsYW5kIE9w +# ZXJhdGlvbnMgTGltaXRlZDEmMCQGA1UECxMdVGhhbGVzIFRTUyBFU046MTc5RS00 +# QkIwLTgyNDYxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2Wg +# ghF4MIIHJzCCBQ+gAwIBAgITMwAAAeDU/B8TFR9+XQABAAAB4DANBgkqhkiG9w0B +# AQsFADB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE +# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYD +# VQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDAeFw0yMzEwMTIxOTA3 +# MTlaFw0yNTAxMTAxOTA3MTlaMIHSMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2Fz +# aGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENv +# cnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBPcGVyYXRpb25z +# IExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjE3OUUtNEJCMC04MjQ2 +# MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNlMIICIjANBgkq +# hkiG9w0BAQEFAAOCAg8AMIICCgKCAgEArIec86HFu9EBOcaNv/p+4GGHdkvOi0DE +# CB0tpn/OREVR15IrPI23e2qiswrsYO9xd0qz6ogxRu96eUf7Dneyw9rqtg/vrRm4 +# WsAGt+x6t/SQVrI1dXPBPuNqsk4SOcUwGn7KL67BDZOcm7FzNx4bkUMesgjqwXoX +# zv2U/rJ1jQEFmRn23f17+y81GJ4DmBSe/9hwz9sgxj9BiZ30XQH55sViL48fgCRd +# qE2QWArzk4hpGsMa+GfE5r/nMYvs6KKLv4n39AeR0kaV+dF9tDdBcz/n+6YE4obg +# mgVjWeJnlFUfk9PT64KPByqFNue9S18r437IHZv2sRm+nZO/hnBjMR30D1Wxgy5m +# IJJtoUyTvsvBVuSWmfDhodYlcmQRiYm/FFtxOETwVDI6hWRK4pzk5Znb5Yz+PnSh +# uUDS0JTncBq69Q5lGhAGHz2ccr6bmk5cpd1gwn5x64tgXyHnL9xctAw6aosnPmXs +# wuobBTTMdX4wQ7wvUWjbMQRDiIvgFfxiScpeiccZBpxIJotmi3aTIlVGwVLGfQ+U +# +8dWnRh2wIzN16LD2MBnsr2zVbGxkYQGsr+huKlfq7GMSnJQD2ZtU+WOVvdHgxYj +# QTbEj80zoXgBzwJ5rHdhYtP5pYJl6qIgwvHLJZmD6LUpjxkTMx41MoIQjnAXXDGq +# vpPX8xCj7y0CAwEAAaOCAUkwggFFMB0GA1UdDgQWBBRwXhc/bp1X7xK6ygDVddDZ +# MNKZ0jAfBgNVHSMEGDAWgBSfpxVdAF5iXYP05dJlpxtTNRnpcjBfBgNVHR8EWDBW +# MFSgUqBQhk5odHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2NybC9NaWNy +# b3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgxKS5jcmwwbAYIKwYBBQUH +# AQEEYDBeMFwGCCsGAQUFBzAChlBodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtp +# b3BzL2NlcnRzL01pY3Jvc29mdCUyMFRpbWUtU3RhbXAlMjBQQ0ElMjAyMDEwKDEp +# LmNydDAMBgNVHRMBAf8EAjAAMBYGA1UdJQEB/wQMMAoGCCsGAQUFBwMIMA4GA1Ud +# DwEB/wQEAwIHgDANBgkqhkiG9w0BAQsFAAOCAgEAwBPODpH8DSV07syobEPVUmOL +# nJUDWEdvQdzRiO2/taTFDyLB9+W6VflSzri0Pf7c1PUmSmFbNoBZ/bAp0DDflHG1 +# AbWI43ccRnRfbed17gqD9Z9vHmsQeRn1vMqdH/Y3kDXr7D/WlvAnN19FyclPdwvJ +# rCv+RiMxZ3rc4/QaWrvS5rhZQT8+jmlTutBFtYShCjNjbiECo5zC5FyboJvQkF5M +# 4J5EGe0QqCMp6nilFpC3tv2+6xP3tZ4lx9pWiyaY+2xmxrCCekiNsFrnm0d+6TS8 +# ORm1sheNTiavl2ez12dqcF0FLY9jc3eEh8I8Q6zOq7AcuR+QVn/1vHDz95EmV22i +# 6QejXpp8T8Co/+yaYYmHllHSmaBbpBxf7rWt2LmQMlPMIVqgzJjNRLRIRvKsNn+n +# Yo64oBg2eCWOI6WWVy3S4lXPZqB9zMaOOwqLYBLVZpe86GBk2YbDjZIUHWpqWhrw +# pq7H1DYccsTyB57/muA6fH3NJt9VRzshxE2h2rpHu/5HP4/pcq06DIKpb/6uE+an +# +fsWrYEZNGRzL/+GZLfanqrKCWvYrg6gkMlfEWzqXBzwPzqqVR4aNTKjuFXLlW/I +# D7LSYacQC4Dzm2w5xQ+XPBYXmy/4Hl/Pfk5bdfhKmTlKI26WcsVE8zlcKxIeq9xs +# LxHerCPbDV68+FnEO40wggdxMIIFWaADAgECAhMzAAAAFcXna54Cm0mZAAAAAAAV +# MA0GCSqGSIb3DQEBCwUAMIGIMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGlu +# Z3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBv +# cmF0aW9uMTIwMAYDVQQDEylNaWNyb3NvZnQgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRo +# b3JpdHkgMjAxMDAeFw0yMTA5MzAxODIyMjVaFw0zMDA5MzAxODMyMjVaMHwxCzAJ +# BgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25k +# MR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jv +# c29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwMIICIjANBgkqhkiG9w0BAQEFAAOCAg8A +# MIICCgKCAgEA5OGmTOe0ciELeaLL1yR5vQ7VgtP97pwHB9KpbE51yMo1V/YBf2xK +# 4OK9uT4XYDP/XE/HZveVU3Fa4n5KWv64NmeFRiMMtY0Tz3cywBAY6GB9alKDRLem +# jkZrBxTzxXb1hlDcwUTIcVxRMTegCjhuje3XD9gmU3w5YQJ6xKr9cmmvHaus9ja+ +# NSZk2pg7uhp7M62AW36MEBydUv626GIl3GoPz130/o5Tz9bshVZN7928jaTjkY+y +# OSxRnOlwaQ3KNi1wjjHINSi947SHJMPgyY9+tVSP3PoFVZhtaDuaRr3tpK56KTes +# y+uDRedGbsoy1cCGMFxPLOJiss254o2I5JasAUq7vnGpF1tnYN74kpEeHT39IM9z +# fUGaRnXNxF803RKJ1v2lIH1+/NmeRd+2ci/bfV+AutuqfjbsNkz2K26oElHovwUD +# o9Fzpk03dJQcNIIP8BDyt0cY7afomXw/TNuvXsLz1dhzPUNOwTM5TI4CvEJoLhDq +# hFFG4tG9ahhaYQFzymeiXtcodgLiMxhy16cg8ML6EgrXY28MyTZki1ugpoMhXV8w +# dJGUlNi5UPkLiWHzNgY1GIRH29wb0f2y1BzFa/ZcUlFdEtsluq9QBXpsxREdcu+N +# +VLEhReTwDwV2xo3xwgVGD94q0W29R6HXtqPnhZyacaue7e3PmriLq0CAwEAAaOC +# Ad0wggHZMBIGCSsGAQQBgjcVAQQFAgMBAAEwIwYJKwYBBAGCNxUCBBYEFCqnUv5k +# xJq+gpE8RjUpzxD/LwTuMB0GA1UdDgQWBBSfpxVdAF5iXYP05dJlpxtTNRnpcjBc +# BgNVHSAEVTBTMFEGDCsGAQQBgjdMg30BATBBMD8GCCsGAQUFBwIBFjNodHRwOi8v +# d3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL0RvY3MvUmVwb3NpdG9yeS5odG0wEwYD +# VR0lBAwwCgYIKwYBBQUHAwgwGQYJKwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYD +# VR0PBAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAU1fZWy4/oolxi +# aNE9lJBb186aGMQwVgYDVR0fBE8wTTBLoEmgR4ZFaHR0cDovL2NybC5taWNyb3Nv +# ZnQuY29tL3BraS9jcmwvcHJvZHVjdHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMu +# Y3JsMFoGCCsGAQUFBwEBBE4wTDBKBggrBgEFBQcwAoY+aHR0cDovL3d3dy5taWNy +# b3NvZnQuY29tL3BraS9jZXJ0cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcnQw +# DQYJKoZIhvcNAQELBQADggIBAJ1VffwqreEsH2cBMSRb4Z5yS/ypb+pcFLY+Tkdk +# eLEGk5c9MTO1OdfCcTY/2mRsfNB1OW27DzHkwo/7bNGhlBgi7ulmZzpTTd2YurYe +# eNg2LpypglYAA7AFvonoaeC6Ce5732pvvinLbtg/SHUB2RjebYIM9W0jVOR4U3Uk +# V7ndn/OOPcbzaN9l9qRWqveVtihVJ9AkvUCgvxm2EhIRXT0n4ECWOKz3+SmJw7wX +# sFSFQrP8DJ6LGYnn8AtqgcKBGUIZUnWKNsIdw2FzLixre24/LAl4FOmRsqlb30mj +# dAy87JGA0j3mSj5mO0+7hvoyGtmW9I/2kQH2zsZ0/fZMcm8Qq3UwxTSwethQ/gpY +# 3UA8x1RtnWN0SCyxTkctwRQEcb9k+SS+c23Kjgm9swFXSVRk2XPXfx5bRAGOWhmR +# aw2fpCjcZxkoJLo4S5pu+yFUa2pFEUep8beuyOiJXk+d0tBMdrVXVAmxaQFEfnyh +# YWxz/gq77EFmPWn9y8FBSX5+k77L+DvktxW/tM4+pTFRhLy/AsGConsXHRWJjXD+ +# 57XQKBqJC4822rpM+Zv/Cuk0+CQ1ZyvgDbjmjJnW4SLq8CdCPSWU5nR0W2rRnj7t +# fqAxM328y+l7vzhwRNGQ8cirOoo6CGJ/2XBjU02N7oJtpQUQwXEGahC0HVUzWLOh +# cGbyoYIC1DCCAj0CAQEwggEAoYHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEGA1UE +# CBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9z +# b2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBPcGVy +# YXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjE3OUUtNEJC +# MC04MjQ2MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNloiMK +# AQEwBwYFKw4DAhoDFQBt89HV8FfofFh/I/HzNjMlTl8hDKCBgzCBgKR+MHwxCzAJ +# BgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25k +# MR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jv +# c29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwMA0GCSqGSIb3DQEBBQUAAgUA6Ym/DjAi +# GA8yMDI0MDIyODIyMTc1MFoYDzIwMjQwMjI5MjIxNzUwWjB0MDoGCisGAQQBhFkK +# BAExLDAqMAoCBQDpib8OAgEAMAcCAQACAgU4MAcCAQACAhFQMAoCBQDpixCOAgEA +# MDYGCisGAQQBhFkKBAIxKDAmMAwGCisGAQQBhFkKAwKgCjAIAgEAAgMHoSChCjAI +# AgEAAgMBhqAwDQYJKoZIhvcNAQEFBQADgYEASsyJz+c0+nm1I4mx8J5wKi70HJM3 +# cbnmmvW7Fv5feJ2EKWBgZzeWOII8akeIOygZetzh0r5ZaFeixSTZ+/jq44+uHLXW +# C21AKyf6L01Ep+21Q1mXcUhQ7agoTCanvyauPMIDAPx2XJ2yOfh0cMK/x4gOSZtP +# zEdiZ5RP20dBBs8xggQNMIIECQIBATCBkzB8MQswCQYDVQQGEwJVUzETMBEGA1UE +# CBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9z +# b2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQ +# Q0EgMjAxMAITMwAAAeDU/B8TFR9+XQABAAAB4DANBglghkgBZQMEAgEFAKCCAUow +# GgYJKoZIhvcNAQkDMQ0GCyqGSIb3DQEJEAEEMC8GCSqGSIb3DQEJBDEiBCCjJVUI +# kyTUbfOHtbaEaF75Dz9THHK7HF3gqtqrYqiV4TCB+gYLKoZIhvcNAQkQAi8xgeow +# gecwgeQwgb0EIOPuUr/yOeVtOM+9zvsMIJJvhNkClj2cmbnCGwr/aQrBMIGYMIGA +# pH4wfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcT +# B1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UE +# AxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTACEzMAAAHg1PwfExUffl0A +# AQAAAeAwIgQgbTXEo72EEVMC2NQ79kdfb++be1Z1MaNjnAN5tcLnlsgwDQYJKoZI +# hvcNAQELBQAEggIAC2uJIn0dZYuidFiAWZ/1kD9OwhTi9rMlxqMB512rh4rsFT1v +# t2XdSLPJKzaboxQQ9e17j5VJKAQ/KLo5w6fFWp2WaS0+B8qcpO7/cHpCWK+j0qOw +# 4ub2u1JdcOoztasGTLcps7tiGTchFQXxyMPPnpaRjlPRJ3Z5F3x+jYGtK96Q1PQo +# Eb23Au921W24KkfpbwPbKAFkDb0lvoMp8REBjYuqvNt9tBZOfNBIoU0s0sVe5eeU +# rNoWmJdnYWyaKnIpupcjBhVg/oaTY1uAFbxSkhKfOUP9OOOrxZ16tjJpY3MVGw7G +# pvO/r1IqFKck+jj8jygrzkMk3gPWazvE+J/yjw5IP4rGd3ros18zGeIC6TdHk8CG +# ht6Up2/FKJFWALnH8nSqiBaDocq3SEFIBQSCeh+Mwo2TxNnIrdmArett846DuV0X +# dcwa0VpCNFqWXg9GeJBVRvxJc7aGELW2q2oOV6iWiCdEaoSgS3rL5JM3J2YBggVr +# 4B+h2E/B/FTau4TwubUAwsTx2WKd/ejF5WIoXJAWKmKfNWJQchX2xUtMm1Oitot6 +# jU1HHC3aJ+JtUsQjHCc4uCjtZ92HIOf/WF2MPOHTEisCpHnmbri3SBuuMBKzNBmT +# FFbFSX0NrlTtmIdMPM2syYKZIzuzTYKZK5gKuYfWCNH2V7Tb9mXkDTGBBYg= +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_sql_server_availability_groups_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_sql_server_availability_groups_operations.py new file mode 100644 index 00000000000..dcd7faf7d98 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_sql_server_availability_groups_operations.py @@ -0,0 +1,1663 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_create_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + availability_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + "availabilityGroupName": _SERIALIZER.url("availability_group_name", availability_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + availability_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + "availabilityGroupName": _SERIALIZER.url("availability_group_name", availability_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + availability_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + "availabilityGroupName": _SERIALIZER.url("availability_group_name", availability_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_update_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + availability_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + "availabilityGroupName": _SERIALIZER.url("availability_group_name", availability_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_detail_view_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + availability_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}/getDetailView") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + "availabilityGroupName": _SERIALIZER.url("availability_group_name", availability_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="POST", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_failover_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + availability_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}/failover") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + "availabilityGroupName": _SERIALIZER.url("availability_group_name", availability_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="POST", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_force_failover_allow_data_loss_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + availability_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}/forceFailoverAllowDataLoss") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + "availabilityGroupName": _SERIALIZER.url("availability_group_name", availability_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="POST", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_create_availability_group_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/createAvailabilityGroup") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="POST", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +# fmt: on +class SqlServerAvailabilityGroupsOperations(object): + """SqlServerAvailabilityGroupsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def create( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + availability_group_name, # type: str + sql_server_availability_group_resource, # type: "_models.SqlServerAvailabilityGroupResource" + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerAvailabilityGroupResource" + """Creates or replaces an Arc Sql Server Availability Group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param availability_group_name: Name of SQL Availability Group. + :type availability_group_name: str + :param sql_server_availability_group_resource: The request body for availability group + resource. + :type sql_server_availability_group_resource: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResource + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerAvailabilityGroupResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerAvailabilityGroupResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + sql_server_availability_group_resource, + "SqlServerAvailabilityGroupResource", + ) + + request = build_create_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.create.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}"} # type: ignore + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + availability_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + response_headers = {} + if response.status_code == 202: + response_headers["Location"] = self._deserialize( + "str", response.headers.get("Location") + ) + + if cls: + return cls(pipeline_response, None, response_headers) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}"} # type: ignore + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + availability_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes an Arc Sql Server availability group resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param availability_group_name: Name of SQL Availability Group. + :type availability_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = ARMPolling(lro_delay, **kwargs) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + availability_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerAvailabilityGroupResource" + """Retrieves an Arc Sql Server availability group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param availability_group_name: Name of SQL Availability Group. + :type availability_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerAvailabilityGroupResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerAvailabilityGroupResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}"} # type: ignore + + def _update_initial( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + availability_group_name, # type: str + sql_server_availability_group_update, # type: "_models.SqlServerAvailabilityGroupUpdate" + **kwargs, # type: Any + ): + # type: (...) -> Optional["_models.SqlServerAvailabilityGroupResource"] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[Optional["_models.SqlServerAvailabilityGroupResource"]] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + sql_server_availability_group_update, + "SqlServerAvailabilityGroupUpdate", + ) + + request = build_update_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._update_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + deserialized = None + response_headers = {} + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + + if response.status_code == 202: + response_headers["Location"] = self._deserialize( + "str", response.headers.get("Location") + ) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + + _update_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}"} # type: ignore + + @distributed_trace + def begin_update( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + availability_group_name, # type: str + sql_server_availability_group_update, # type: "_models.SqlServerAvailabilityGroupUpdate" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.SqlServerAvailabilityGroupResource"] + """Updates an existing Availability Group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param availability_group_name: Name of SQL Availability Group. + :type availability_group_name: str + :param sql_server_availability_group_update: The requested server availability group resource + state. + :type sql_server_availability_group_update: + ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either SqlServerAvailabilityGroupResource or the + result of cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerAvailabilityGroupResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._update_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + sql_server_availability_group_update=sql_server_availability_group_update, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = ARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}"} # type: ignore + + @distributed_trace + def detail_view( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + availability_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerAvailabilityGroupResource" + """Retrieves detailed properties of the Availability Group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param availability_group_name: Name of SQL Availability Group. + :type availability_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerAvailabilityGroupResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerAvailabilityGroupResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_detail_view_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + api_version=api_version, + template_url=self.detail_view.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + detail_view.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}/getDetailView"} # type: ignore + + @distributed_trace + def failover( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + availability_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerAvailabilityGroupResource" + """Request manual failover of the availability group to this server. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param availability_group_name: Name of SQL Availability Group. + :type availability_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerAvailabilityGroupResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerAvailabilityGroupResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_failover_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + api_version=api_version, + template_url=self.failover.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + failover.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}/failover"} # type: ignore + + @distributed_trace + def force_failover_allow_data_loss( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + availability_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerAvailabilityGroupResource" + """Request forced failover of the availability group to this server. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param availability_group_name: Name of SQL Availability Group. + :type availability_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerAvailabilityGroupResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerAvailabilityGroupResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_force_failover_allow_data_loss_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + availability_group_name=availability_group_name, + api_version=api_version, + template_url=self.force_failover_allow_data_loss.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + force_failover_allow_data_loss.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}/forceFailoverAllowDataLoss"} # type: ignore + + def _create_availability_group_initial( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + create_ag_configuration, # type: "_models.AvailabilityGroupCreateUpdateConfiguration" + **kwargs, # type: Any + ): + # type: (...) -> Optional["_models.SqlServerAvailabilityGroupResource"] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[Optional["_models.SqlServerAvailabilityGroupResource"]] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + create_ag_configuration, + "AvailabilityGroupCreateUpdateConfiguration", + ) + + request = build_create_availability_group_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_availability_group_initial.metadata[ + "url" + ], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + deserialized = None + response_headers = {} + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + + if response.status_code == 202: + response_headers["Location"] = self._deserialize( + "str", response.headers.get("Location") + ) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + + _create_availability_group_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/createAvailabilityGroup"} # type: ignore + + @distributed_trace + def begin_create_availability_group( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + create_ag_configuration, # type: "_models.AvailabilityGroupCreateUpdateConfiguration" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.SqlServerAvailabilityGroupResource"] + """Create a SQL Server availability group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param create_ag_configuration: The configuration for the new SQL Server availability group + resource. + :type create_ag_configuration: + ~azure.mgmt.azurearcdata.models.AvailabilityGroupCreateUpdateConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either SqlServerAvailabilityGroupResource or the + result of cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure.mgmt.azurearcdata.models.SqlServerAvailabilityGroupResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerAvailabilityGroupResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._create_availability_group_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + create_ag_configuration=create_ag_configuration, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "SqlServerAvailabilityGroupResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = ARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create_availability_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/createAvailabilityGroup"} # type: ignore + + @distributed_trace + def list( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.ArcSqlServerAvailabilityGroupListResult"] + """List the availability group associated with the given Arc Sql Server. + + List the availability group associated with the given Arc Sql Server. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ArcSqlServerAvailabilityGroupListResult or the + result of cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.azurearcdata.models.ArcSqlServerAvailabilityGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ArcSqlServerAvailabilityGroupListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "ArcSqlServerAvailabilityGroupListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDpsDkGn46uNrmI +# pomToN7XF0uATT4D8krxH+TD2rUItKCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIPaYNGDCBSRpIDcQQ1NJSshepKaFlAiS +# FODx8IzxDaEPMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# CIYnsFjxe0CtIFDLqdfjucHleYcFiVe1/kDK2nZhRWW93CT95KAVg093Ak/IKJ/F +# 30MtAZrKkWmoZlYQqQ7fK44DXCUaw+aLgquR5BT38efp31yQqUn6D40BLZ+YZC+b +# 7PFT1r2ezty0dMvZSwR9YRSRWQ7cBUpbvfBT1F1HDEJ4AjxCA/1lVLntRjH511kV +# VorIEcU2ysgUVNWcEcg4wxfLh3XeSOiWiPuKCnfPDczA8uU2XVdqDN4W643+DYz1 +# YHFgGnXKJQeqmjL9zQTkGtNs1ZeFkMlOKMtahLbCtkHKRWWT7YzK5YNgZUKUibg7 +# elc7kUyoZ7yMtvieu4i+JqGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCBHzmYRy4pY9l7YMkhwlu8HRadIZJ/hdzkYoNczyUVxzwIGZdYHa6HWGBMyMDI0 +# MDIyODE1MDMxMC4xNzFaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjE3OUUt +# NEJCMC04MjQ2MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzE5WhcNMjUwMTEwMTkwNzE5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRCQjAtODI0 +# NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKyHnPOhxbvRATnGjb/6fuBhh3ZLzotA +# xAgdLaZ/zkRFUdeSKzyNt3tqorMK7GDvcXdKs+qIMUbvenlH+w53ssPa6rYP760Z +# uFrABrfserf0kFayNXVzwT7jarJOEjnFMBp+yi+uwQ2TnJuxczceG5FDHrII6sF6 +# F879lP6ydY0BBZkZ9t39e/svNRieA5gUnv/YcM/bIMY/QYmd9F0B+ebFYi+PH4Ak +# XahNkFgK85OIaRrDGvhnxOa/5zGL7Oiii7+J9/QHkdJGlfnRfbQ3QXM/5/umBOKG +# 4JoFY1niZ5RVH5PT0+uCjwcqhTbnvUtfK+N+yB2b9rEZvp2Tv4ZwYzEd9A9VsYMu +# ZiCSbaFMk77LwVbklpnw4aHWJXJkEYmJvxRbcThE8FQyOoVkSuKc5OWZ2+WM/j50 +# oblA0tCU53AauvUOZRoQBh89nHK+m5pOXKXdYMJ+ceuLYF8h5y/cXLQMOmqLJz5l +# 7MLqGwU0zHV+MEO8L1Fo2zEEQ4iL4BX8YknKXonHGQacSCaLZot2kyJVRsFSxn0P +# lPvHVp0YdsCMzdeiw9jAZ7K9s1WxsZGEBrK/obipX6uxjEpyUA9mbVPljlb3R4MW +# I0E2xI/NM6F4Ac8Ceax3YWLT+aWCZeqiIMLxyyWZg+i1KY8ZEzMeNTKCEI5wF1wx +# qr6T1/MQo+8tAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUcF4XP26dV+8SusoA1XXQ +# 2TDSmdIwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBAMATzg6R/A0ldO7MqGxD1VJj +# i5yVA1hHb0Hc0Yjtv7WkxQ8iwfflulX5Us64tD3+3NT1JkphWzaAWf2wKdAw35Rx +# tQG1iON3HEZ0X23nde4Kg/Wfbx5rEHkZ9bzKnR/2N5A16+w/1pbwJzdfRcnJT3cL +# yawr/kYjMWd63OP0Glq70ua4WUE/Po5pU7rQRbWEoQozY24hAqOcwuRcm6Cb0JBe +# TOCeRBntEKgjKep4pRaQt7b9vusT97WeJcfaVosmmPtsZsawgnpIjbBa55tHfuk0 +# vDkZtbIXjU4mr5dns9dnanBdBS2PY3N3hIfCPEOszquwHLkfkFZ/9bxw8/eRJldt +# oukHo16afE/AqP/smmGJh5ZR0pmgW6QcX+61rdi5kDJTzCFaoMyYzUS0SEbyrDZ/ +# p2KOuKAYNngljiOlllct0uJVz2agfczGjjsKi2AS1WaXvOhgZNmGw42SFB1qaloa +# 8Kaux9Q2HHLE8gee/5rgOnx9zSbfVUc7IcRNodq6R7v+Rz+P6XKtOgyCqW/+rhPm +# p/n7Fq2BGTRkcy//hmS32p6qyglr2K4OoJDJXxFs6lwc8D86qlUeGjUyo7hVy5Vv +# yA+y0mGnEAuA85tsOcUPlzwWF5sv+B5fz35OW3X4Spk5SiNulnLFRPM5XCsSHqvc +# bC8R3qwj2w1evPhZxDuNMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRC +# QjAtODI0NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAbfPR1fBX6HxYfyPx8zYzJU5fIQyggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJvw4w +# IhgPMjAyNDAyMjgyMjE3NTBaGA8yMDI0MDIyOTIyMTc1MFowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym/DgIBADAHAgEAAgIFODAHAgEAAgIRUDAKAgUA6YsQjgIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAErMic/nNPp5tSOJsfCecCou9ByT +# N3G55pr1uxb+X3idhClgYGc3ljiCPGpHiDsoGXrc4dK+WWhXosUk2fv46uOPrhy1 +# 1gttQCsn+i9NRKfttUNZl3FIUO2oKEwmp78mrjzCAwD8dlydsjn4dHDCv8eIDkmb +# T8xHYmeUT9tHQQbPMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHg1PwfExUffl0AAQAAAeAwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQg16Gy +# dNf/MnSjuGMTPyUgqrfLdVleINO6rAqZykjmr7YwgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCDj7lK/8jnlbTjPvc77DCCSb4TZApY9nJm5whsK/2kKwTCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB4NT8HxMVH35d +# AAEAAAHgMCIEIG01xKO9hBFTAtjUO/ZHX2/vm3tWdTGjY5wDebXC55bIMA0GCSqG +# SIb3DQEBCwUABIICAERNAwfcJJYmip6XSzl+Oh/SFkRjnGWTj3WsATj0XZXiYTJR +# WLFWZoxQBhMuQ9iE54zlvom2W4xhTUX22/XwdrlGyc2MB9j9CfatpL245mtOUAMF +# sdpSxZtyLsQQSXAAOVPwXsqIXRPelYvjTjk5ZAEh/bKvf3lxtgckZJi/+TAj5Dx9 +# HPNEoICaFd9G5ROCF5w7HqMNK6i6bf0ll6A0hiqZ7kSzio0sLBv9pSNV1d2QObdW +# IA+WquYtv/6zA2psdcqpaXmkgzf0fXzbtRqReIe3/h3299P/u0gRbusyYYipEn6p +# uDbQo28wuG+cvseTlZLxAxXS0wYFeb2/SXzOYMQUS8pj9fkJAwQDNFiLhOGMxNSF +# iM5WEZjuiE8RglPtUdZTlJUgZzkhyd5nsiCRGPnoRcyrwWCzbkqzb6WEX3k1vsgl +# hkJG4iI0QVJSjKlPc/FBLI+nxwNu0Xtiwr5kC/G9YvJ1hPT7Nq8MU3y3lChuO2hx +# fuT2QLzJZ86QlB35heAYiiVwJHSFXnsEnXYR1125/zr6lRH8A/Qh2AFvKqaE59TE +# CnwDHgOWxNV1XYB1FRqr3TdtyIh2Jo77zlBE2+ptJvGYZiwDsOI06Xt3DuBHqM1Q +# MIPbTbDxR2d4GKhizCl8jvNU9+N1Vby96wfJqZXaqefNydWCrJLM1z1ZWkAI +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_sql_server_databases_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_sql_server_databases_operations.py new file mode 100644 index 00000000000..295c25129b5 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_sql_server_databases_operations.py @@ -0,0 +1,1091 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_create_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + database_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + "databaseName": _SERIALIZER.url("database_name", database_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + database_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + "databaseName": _SERIALIZER.url("database_name", database_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + database_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + "databaseName": _SERIALIZER.url("database_name", database_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_update_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + database_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + "databaseName": _SERIALIZER.url("database_name", database_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +# fmt: on +class SqlServerDatabasesOperations(object): + """SqlServerDatabasesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def create( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + database_name, # type: str + sql_server_database_resource, # type: "_models.SqlServerDatabaseResource" + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerDatabaseResource" + """Creates or replaces an Arc Sql Server Database. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param database_name: Name of the database. + :type database_name: str + :param sql_server_database_resource: The request body for database resource. + :type sql_server_database_resource: ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResource + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerDatabaseResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerDatabaseResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + sql_server_database_resource, "SqlServerDatabaseResource" + ) + + request = build_create_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.create.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerDatabaseResource", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlServerDatabaseResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + database_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + response_headers = {} + if response.status_code == 202: + response_headers["Location"] = self._deserialize( + "str", response.headers.get("Location") + ) + + if cls: + return cls(pipeline_response, None, response_headers) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + database_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes an Arc Sql Server database resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param database_name: Name of the database. + :type database_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = ARMPolling(lro_delay, **kwargs) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + database_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerDatabaseResource" + """Retrieves an Arc Sql Server database. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param database_name: Name of the database. + :type database_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerDatabaseResource, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerDatabaseResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerDatabaseResource"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize( + "SqlServerDatabaseResource", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + def _update_initial( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + database_name, # type: str + sql_server_database_update, # type: "_models.SqlServerDatabaseUpdate" + **kwargs, # type: Any + ): + # type: (...) -> Optional["_models.SqlServerDatabaseResource"] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[Optional["_models.SqlServerDatabaseResource"]] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + sql_server_database_update, "SqlServerDatabaseUpdate" + ) + + request = build_update_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._update_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + deserialized = None + response_headers = {} + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerDatabaseResource", pipeline_response + ) + + if response.status_code == 202: + response_headers["Location"] = self._deserialize( + "str", response.headers.get("Location") + ) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + + _update_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + @distributed_trace + def begin_update( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + database_name, # type: str + sql_server_database_update, # type: "_models.SqlServerDatabaseUpdate" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.SqlServerDatabaseResource"] + """Updates an existing database. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param database_name: Name of the database. + :type database_name: str + :param sql_server_database_update: The requested database resource state. + :type sql_server_database_update: ~azure.mgmt.azurearcdata.models.SqlServerDatabaseUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either SqlServerDatabaseResource or the result + of cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure.mgmt.azurearcdata.models.SqlServerDatabaseResource] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerDatabaseResource"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._update_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + database_name=database_name, + sql_server_database_update=sql_server_database_update, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "SqlServerDatabaseResource", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = ARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}"} # type: ignore + + @distributed_trace + def list( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.ArcSqlServerDatabaseListResult"] + """List the databases associated with the given Arc Sql Server. + + List the databases associated with the given Arc Sql Server. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ArcSqlServerDatabaseListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.azurearcdata.models.ArcSqlServerDatabaseListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.ArcSqlServerDatabaseListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "ArcSqlServerDatabaseListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCOpET3zt3ffZ8T +# vRWDmUMeODBP/BT8m3dRuL/ncKVkaaCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIK4vQyKJXH5HezdHnFGTcuLhFDUYEX5x +# oEx9AL9kwt3EMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# N8lqo58s4HvnyOBTCL4S+xDT4JwSELns6jI5hhE2X062jMOcF096wapFOcQVKuls +# aOv35GtV8vYqvYc5WgCE0OmTHD/gEZhue9Y5RDmlzb5Hvpqr5Z1jd9jnRZCEEEae +# 96cKImcZa5mHeSzEBf5uTMBWeMjH1BRVtfeDxQ0ZeXixzU+Y7X0B0d/VvBt6iGtA +# 23Uzi2nL46HZc3CB3UTY7Z76hifHl7pAUq0bVGMOeOpKFyAn7hWYyg4xiPhOVxOw +# 4kZeHUjPHX0W/tTDQCNwOWPG5x4Zt5Fzz7ECfSbmqSKRK4koJ+eyrINLphU3D4SJ +# rJ84ffWXC5QU4YkN/74XQaGCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCCWXuyO3XpR/tGH0iAtxyGSQ9dGZeJbeWutr0H9v0cx+QIGZdXk9ACfGBMyMDI0 +# MDIyODE1MDMxNi44NjdaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjA4NDIt +# NEJFNi1DMjlBMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHajtXJWgDREbEAAQAAAdowDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NjU5WhcNMjUwMTEwMTkwNjU5WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjowODQyLTRCRTYtQzI5 +# QTElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAJOQBgh2tVFR1j8jQA4NDf8bcVrXSN08 +# 0CNKPSQo7S57sCnPU0FKF47w2L6qHtwm4EnClF2cruXFp/l7PpMQg25E7X8xDmvx +# r8BBE6iASAPCfrTebuvAsZWcJYhy7prgCuBf7OidXpgsW1y8p6Vs7sD2aup/0uve +# YxeXlKtsPjMCplHkk0ba+HgLho0J68Kdji3DM2K59wHy9xrtsYK+X9erbDGZ2mmX +# 3765aS5Q7/ugDxMVgzyj80yJn6ULnknD9i4kUQxVhqV1dc/DF6UBeuzfukkMed7t +# rzUEZMRyla7qhvwUeQlgzCQhpZjz+zsQgpXlPczvGd0iqr7lACwfVGog5plIzdEx +# vt1TA8Jmef819aTKwH1IVEIwYLA6uvS8kRdA6RxvMcb//ulNjIuGceyykMAXEynV +# rLG9VvK4rfrCsGL3j30Lmidug+owrcCjQagYmrGk1hBykXilo9YB8Qyy5Q1KhGuH +# 65V3zFy8a0kwbKBRs8VR4HtoPYw9z1DdcJfZBO2dhzX3yAMipCGm6SmvmvavRsXh +# y805jiApDyN+s0/b7os2z8iRWGJk6M9uuT2493gFV/9JLGg5YJJCJXI+yxkO/OXn +# ZJsuGt0+zWLdHS4XIXBG17oPu5KsFfRTHREloR2dI6GwaaxIyDySHYOtvIydla7u +# 4lfnfCjY/qKTAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQUoXyNyVE9ZhOVizEUVwhN +# gL8PX0UwHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBALmDVdTtuI0jAEt41O2OM8CU +# 237TGMyhrGr7FzKCEFaXxtoqk/IObQriq1caHVh2vyuQ24nz3TdOBv7rcs/qnPjO +# xnXFLyZPeaWLsNuARVmUViyVYXjXYB5DwzaWZgScY8GKL7yGjyWrh78WJUgh7rE1 +# +5VD5h0/6rs9dBRqAzI9fhZz7spsjt8vnx50WExbBSSH7rfabHendpeqbTmW/Rfc +# aT+GFIsT+g2ej7wRKIq/QhnsoF8mpFNPHV1q/WK/rF/ChovkhJMDvlqtETWi97Go +# lOSKamZC9bYgcPKfz28ed25WJy10VtQ9P5+C/2dOfDaz1RmeOb27Kbegha0SfPcr +# iTfORVvqPDSa3n9N7dhTY7+49I8evoad9hdZ8CfIOPftwt3xTX2RhMZJCVoFlabH +# cvfb84raFM6cz5EYk+x1aVEiXtgK6R0xn1wjMXHf0AWlSjqRkzvSnRKzFsZwEl74 +# VahlKVhI+Ci9RT9+6Gc0xWzJ7zQIUFE3Jiix5+7KL8ArHfBY9UFLz4snboJ7Qip3 +# IADbkU4ZL0iQ8j8Ixra7aSYfToUefmct3dM69ff4Eeh2Kh9NsKiiph589Ap/xS1j +# ESlrfjL/g/ZboaS5d9a2fA598mubDvLD5x5PP37700vm/Y+PIhmp2fTvuS2sndeZ +# BmyTqcUNHRNmCk+njV3nMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjowODQyLTRC +# RTYtQzI5QTElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUAQqIfIYljHUbNoY0/wjhXRn/sSA2ggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJnM8w +# IhgPMjAyNDAyMjgxOTUxNDNaGA8yMDI0MDIyOTE5NTE0M1owdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6YmczwIBADAHAgEAAgIIGDAHAgEAAgIQaDAKAgUA6YruTwIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBADS1uOra4qwuphiTNChWwotEeJCw +# ExBuJWdCslz9TsJLO8kAzY6TtQstHtsUU0+GL16C+lHc7XlG0q2TOhA+fHtowjtL +# e8EyTcESsAp1Ll0sUhqVZx2zi1ZVG15S8sURgIjZ7oNHGlKU0cgEGKYFu4Vr6wpz +# BwCPu/WiJ2TyUpoAMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHajtXJWgDREbEAAQAAAdowDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgAC9V +# aUFq02PdCueRA0oc+gzFBNsNw1QkJediesdohGUwgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCAipaNpYsDvnqTe95Dj1C09020I5ljibrW/ndICOxg9xjCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB2o7VyVoA0RGx +# AAEAAAHaMCIEIH9pNgadE8IgjYwa2JzGsL4tT+JkAhr5XZRGKF8sdeHvMA0GCSqG +# SIb3DQEBCwUABIICAB0Z4Y9qF3z9x77eJCL/DGAYCUANZifTRJWejY+7CnU+Hnfx +# eTdDyyQ3X/TF9rG7FrAMM48InKJnjxFl1cDGpZk7CnZdelFThyylgkGtnVfC+bzB +# 1bVyLH2JvxBlLWWnjwp25ZltIctD2ldEK6lusBquPWmxV3WiUtMSc3OrwywZK0q5 +# Jj+UttHZqX+CVR3Cbr6/kMhiGCF6kkfuv7KRSpOLtDquZCQUOtIU2Li3k9yLnGJU +# l06Z8So9MvM3V8hFiLPtH80iOUwI3rHsFhdHe7Azi+bXjAR7n2i2gOp1dkCDsVEz +# vTMidDxqTVmd9WGepx3IH8o4w3TE66rysCgX7ODElknX5PzbO9ijHkqIQE1GO/Xe +# /5+6h3RONN7kyeE4R1OcA5PZSNewLp74ZJCg3JCwIjKpq1LPElCxLz3zHrNu4pdy +# Oosc53Qu8A5NOugS7VrkCZ7/c1pS59kQ5TfelyH4l/MJE/WpJPt74lv5YUjUZBBK +# sLNiKU53Fp7+B3ErICAxk8o3AFq2FB7BRQ9VkecRGvA5vUwMqpuZTeXidpwURwcU +# lGTVYY0KW9Jl7EHSaD3LHBEAst/hT3YF60BGN1JoA/ysK52Zt+i8fdCCPWtvpPdH +# L0GAhD5VvAhXYwMbVee4L1xm/xo40f6LYutA+ToPkEGwLHeN2v2DJgi34TIC +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_sql_server_instances_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_sql_server_instances_operations.py new file mode 100644 index 00000000000..8877087c6f2 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_sql_server_instances_operations.py @@ -0,0 +1,1757 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + subscription_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerInstances") + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_by_resource_group_request( + subscription_id, # type: str + resource_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_create_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_update_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_telemetry_request_initial( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/getTelemetry") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="POST", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_pre_upgrade_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/preUpgrade") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="POST", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_post_upgrade_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/postUpgrade") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerInstanceName": _SERIALIZER.url("sql_server_instance_name", sql_server_instance_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="POST", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +# fmt: on +class SqlServerInstancesOperations(object): + """SqlServerInstancesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.SqlServerInstanceListResult"] + """List sqlServerInstance resources in the subscription. + + List sqlServerInstance resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.azurearcdata.models.SqlServerInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerInstances"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.SqlServerInstanceListResult"] + """List sqlServerInstance resources in the resource group. + + Gets all sqlServerInstances in a resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerInstanceListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.azurearcdata.models.SqlServerInstanceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstanceListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstanceListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerInstance" + """Retrieves a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerInstance, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize("SqlServerInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + sql_server_instance, # type: "_models.SqlServerInstance" + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerInstance" + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(sql_server_instance, "SqlServerInstance") + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + @distributed_trace + def begin_create( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + sql_server_instance, # type: "_models.SqlServerInstance" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.SqlServerInstance"] + """Creates or replaces a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param sql_server_instance: The SQL Server Instance to be created or updated. + :type sql_server_instance: ~azure.mgmt.azurearcdata.models.SqlServerInstance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either SqlServerInstance or the result of + cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.azurearcdata.models.SqlServerInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + sql_server_instance=sql_server_instance, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = ARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self._delete_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop("cls", None) # type: ClsType[None] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: + polling_method = ARMPolling(lro_delay, **kwargs) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + def _update_initial( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + parameters, # type: "_models.SqlServerInstanceUpdate" + **kwargs, # type: Any + ): + # type: (...) -> Optional["_models.SqlServerInstance"] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[Optional["_models.SqlServerInstance"]] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(parameters, "SqlServerInstanceUpdate") + + request = build_update_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._update_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + deserialized = None + response_headers = {} + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + + if response.status_code == 202: + response_headers["Location"] = self._deserialize( + "str", response.headers.get("Location") + ) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + + _update_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + @distributed_trace + def begin_update( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + parameters, # type: "_models.SqlServerInstanceUpdate" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller["_models.SqlServerInstance"] + """Updates a SQL Server Instance resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param parameters: The SQL Server Instance. + :type parameters: ~azure.mgmt.azurearcdata.models.SqlServerInstanceUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either SqlServerInstance or the result of + cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.azurearcdata.models.SqlServerInstance] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._update_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + parameters=parameters, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize( + "SqlServerInstance", pipeline_response + ) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: + polling_method = ARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}"} # type: ignore + + def _get_telemetry_initial( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + sql_server_instance_telemetry_request, # type: "_models.SqlServerInstanceTelemetryRequest" + **kwargs, # type: Any + ): + # type: (...) -> Optional["_models.SqlServerInstanceTelemetryResponse"] + cls = kwargs.pop( + "cls", None + ) # type: ClsType[Optional["_models.SqlServerInstanceTelemetryResponse"]] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body( + sql_server_instance_telemetry_request, + "SqlServerInstanceTelemetryRequest", + ) + + request = build_get_telemetry_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._get_telemetry_initial.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + raise HttpResponseError( + response=response, error_format=ARMErrorFormat + ) + + deserialized = None + response_headers = {} + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerInstanceTelemetryResponse", pipeline_response + ) + + if response.status_code == 202: + response_headers["Location"] = self._deserialize( + "str", response.headers.get("Location") + ) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + + _get_telemetry_initial.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/getTelemetry"} # type: ignore + + @distributed_trace + def begin_get_telemetry( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + sql_server_instance_telemetry_request, # type: "_models.SqlServerInstanceTelemetryRequest" + **kwargs, # type: Any + ): + # type: (...) -> LROPoller[ItemPaged["_models.SqlServerInstanceTelemetryResponse"]] + """Retrieves SQL Server instance telemetry. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :param sql_server_instance_telemetry_request: Contains the parameters to get SQL Server + instance telemetry. + :type sql_server_instance_telemetry_request: + ~azure.mgmt.azurearcdata.models.SqlServerInstanceTelemetryRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns an iterator like instance of either + SqlServerInstanceTelemetryResponse or the result of cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.azurearcdata.models.SqlServerInstanceTelemetryResponse]] + :raises: ~azure.core.exceptions.HttpResponseError + """ + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstanceTelemetryResponse"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + _json = self._serialize.body( + sql_server_instance_telemetry_request, + "SqlServerInstanceTelemetryRequest", + ) + + request = build_get_telemetry_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.begin_get_telemetry.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + _json = self._serialize.body( + sql_server_instance_telemetry_request, + "SqlServerInstanceTelemetryRequest", + ) + + request = build_get_telemetry_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerInstanceTelemetryResponse", pipeline_response + ) + list_of_elem = deserialized.rows + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + polling = kwargs.pop( + "polling", True + ) # type: Union[bool, PollingMethod] + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstanceTelemetryResponse"] + lro_delay = kwargs.pop( + "polling_interval", self._config.polling_interval + ) + cont_token = kwargs.pop( + "continuation_token", None + ) # type: Optional[str] + if cont_token is None: + raw_result = self._get_telemetry_initial( + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + sql_server_instance_telemetry_request=sql_server_instance_telemetry_request, + api_version=api_version, + content_type=content_type, + cls=lambda x, y, z: x, + **kwargs, + ) + kwargs.pop("error_map", None) + + def get_long_running_output(pipeline_response): + def internal_get_next(next_link=None): + if next_link is None: + return pipeline_response + return get_next(next_link) + + return ItemPaged(internal_get_next, extract_data) + + if polling is True: + polling_method = ARMPolling( + lro_delay, + lro_options={"final-state-via": "azure-async-operation"}, + **kwargs, + ) + elif polling is False: + polling_method = NoPolling() + else: + polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output, + ) + return LROPoller( + self._client, raw_result, get_long_running_output, polling_method + ) + + begin_get_telemetry.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/getTelemetry"} # type: ignore + + @distributed_trace + def pre_upgrade( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerInstance" + """Request Upgrade Permission before upgrading. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerInstance, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_pre_upgrade_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self.pre_upgrade.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize("SqlServerInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + pre_upgrade.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/preUpgrade"} # type: ignore + + @distributed_trace + def post_upgrade( + self, + resource_group_name, # type: str + sql_server_instance_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerInstance" + """Clean up after upgrading. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_instance_name: Name of SQL Server Instance. + :type sql_server_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerInstance, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerInstance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerInstance"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_post_upgrade_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_instance_name=sql_server_instance_name, + api_version=api_version, + template_url=self.post_upgrade.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize("SqlServerInstance", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + post_upgrade.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/postUpgrade"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIreQYJKoZIhvcNAQcCoIIrajCCK2YCAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDfv2gfZViIi0F5 +# SVOCKqEHfTquXv1Pdit3Gy7qPrRo/qCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZYTCCGV0CAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIKSpddwrmmBrg/RziZ1beF7Si+c6qqdr +# x74p42ZQ48cNMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# kuaHjQbn0twdLg+Ej9K3w5nEJEEYkq39FDg5T+IJm4xKPgF9ecXjwAa2JEtl8FZ8 +# ooWwxVbo33D6yXTna7aofUHJn+atdKSC+DzuWOtmyWtYdRCseyJ+8mX9NuyGrvc2 +# LDKSLTD3JIsQTBaGsJTXdIGM4l5EqTp4ic1KCkgI/1Wiz0qOp9X4XeFeH4pYiDrF +# lP7YNoy3JOGGny/7bHYX2nSaM9MDSyI+WGshAY70fODslYelRqjiJwFa3s260aNR +# RTpcjbJ1LfrEHzLO5x6TngQ7qHpZm7K/WzniTqsfMRyBUQfZn6b7ARiq5Wn8B95x +# nibdOfY3c66tODJrp1E6B6GCFykwghclBgorBgEEAYI3AwMBMYIXFTCCFxEGCSqG +# SIb3DQEHAqCCFwIwghb+AgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFZBgsqhkiG9w0B +# CRABBKCCAUgEggFEMIIBQAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCBR+7psNcXmgs6Cn8lY/qWcMhBUtpWifghTQeTNw5K/FAIGZdX8tm11GBMyMDI0 +# MDIyODE1MDMwOS40NzZaMASAAgH0oIHYpIHVMIHSMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBP +# cGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjNCRDQt +# NEI4MC02OUMzMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl +# oIIReDCCBycwggUPoAMCAQICEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJKoZIhvcN +# AQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV +# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG +# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjMxMDEyMTkw +# NzM1WhcNMjUwMTEwMTkwNzM1WjCB0jELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh +# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD +# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u +# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRCODAtNjlD +# MzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCAiIwDQYJ +# KoZIhvcNAQEBBQADggIPADCCAgoCggIBAKl74Drau2O6LLrJO3HyTvO9aXai//eN +# yP5MLWZrmUGNOJMPwMI08V9zBfRPNcucreIYSyJHjkMIUGmuh0rPV5/2+UCLGrN1 +# P77n9fq/mdzXMN1FzqaPHdKElKneJQ8R6cP4dru2Gymmt1rrGcNe800CcD6d/Ndo +# ommkd196VqOtjZFA1XWu+GsFBeWHiez/PllqcM/eWntkQMs0lK0zmCfH+Bu7i1h+ +# FDRR8F7WzUr/7M3jhVdPpAfq2zYCA8ZVLNgEizY+vFmgx+zDuuU/GChDK7klDcCw +# +/gVoEuSOl5clQsydWQjJJX7Z2yV+1KC6G1JVqpP3dpKPAP/4udNqpR5HIeb8Ta1 +# JfjRUzSv3qSje5y9RYT/AjWNYQ7gsezuDWM/8cZ11kco1JvUyOQ8x/JDkMFqSRwj +# 1v+mc6LKKlj//dWCG/Hw9ppdlWJX6psDesQuQR7FV7eCqV/lfajoLpPNx/9zF1dv +# 8yXBdzmWJPeCie2XaQnrAKDqlG3zXux9tNQmz2L96TdxnIO2OGmYxBAAZAWoKbmt +# YI+Ciz4CYyO0Fm5Z3T40a5d7KJuftF6CToccc/Up/jpFfQitLfjd71cS+cLCeoQ+ +# q0n0IALvV+acbENouSOrjv/QtY4FIjHlI5zdJzJnGskVJ5ozhji0YRscv1WwJFAu +# yyCMQvLdmPddAgMBAAGjggFJMIIBRTAdBgNVHQ4EFgQU3/+fh7tNczEifEXlCQgF +# OXgMh6owHwYDVR0jBBgwFoAUn6cVXQBeYl2D9OXSZacbUzUZ6XIwXwYDVR0fBFgw +# VjBUoFKgUIZOaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3JsMGwGCCsGAQUF +# BwEBBGAwXjBcBggrBgEFBQcwAoZQaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br +# aW9wcy9jZXJ0cy9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENBJTIwMjAxMCgx +# KS5jcnQwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggrBgEFBQcDCDAOBgNV +# HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBADP6whOFjD1ad8GkEJ9oLBuv +# fjndMyGQ9R4HgBKSlPt3pa0XVLcimrJlDnKGgFBiWwI6XOgw82hdolDiMDBLLWRM +# TJHWVeUY1gU4XB8OOIxBc9/Q83zb1c0RWEupgC48I+b+2x2VNgGJUsQIyPR2PiXQ +# hT5PyerMgag9OSodQjFwpNdGirna2rpV23EUwFeO5+3oSX4JeCNZvgyUOzKpyMvq +# Vaubo+Glf/psfW5tIcMjZVt0elswfq0qJNQgoYipbaTvv7xmixUJGTbixYifTwAi +# vPcKNdeisZmtts7OHbAM795ZvKLSEqXiRUjDYZyeHyAysMEALbIhdXgHEh60KoZy +# zlBXz3VxEirE7nhucNwM2tViOlwI7EkeU5hudctnXCG55JuMw/wb7c71RKimZA/K +# XlWpmBvkJkB0BZES8OCGDd+zY/T9BnTp8si36Tql84VfpYe9iHmy7PqqxqMF2Cn4 +# q2a0mEMnpBruDGE/gR9c8SVJ2ntkARy5SfluuJ/MB61yRvT1mUx3lyppO22ePjBj +# nwoEvVxbDjT1jhdMNdevOuDeJGzRLK9HNmTDC+TdZQlj+VMgIm8ZeEIRNF0oaviF +# +QZcUZLWzWbYq6yDok8EZKFiRR5otBoGLvaYFpxBZUE8mnLKuDlYobjrxh7lnwrx +# V/fMy0F9fSo2JxFmtLgtMIIHcTCCBVmgAwIBAgITMwAAABXF52ueAptJmQAAAAAA +# FTANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp +# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw +# b3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0 +# aG9yaXR5IDIwMTAwHhcNMjEwOTMwMTgyMjI1WhcNMzAwOTMwMTgzMjI1WjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCAiIwDQYJKoZIhvcNAQEBBQADggIP +# ADCCAgoCggIBAOThpkzntHIhC3miy9ckeb0O1YLT/e6cBwfSqWxOdcjKNVf2AX9s +# SuDivbk+F2Az/1xPx2b3lVNxWuJ+Slr+uDZnhUYjDLWNE893MsAQGOhgfWpSg0S3 +# po5GawcU88V29YZQ3MFEyHFcUTE3oAo4bo3t1w/YJlN8OWECesSq/XJprx2rrPY2 +# vjUmZNqYO7oaezOtgFt+jBAcnVL+tuhiJdxqD89d9P6OU8/W7IVWTe/dvI2k45GP +# sjksUZzpcGkNyjYtcI4xyDUoveO0hyTD4MmPfrVUj9z6BVWYbWg7mka97aSueik3 +# rMvrg0XnRm7KMtXAhjBcTyziYrLNueKNiOSWrAFKu75xqRdbZ2De+JKRHh09/SDP +# c31BmkZ1zcRfNN0Sidb9pSB9fvzZnkXftnIv231fgLrbqn427DZM9ituqBJR6L8F +# A6PRc6ZNN3SUHDSCD/AQ8rdHGO2n6Jl8P0zbr17C89XYcz1DTsEzOUyOArxCaC4Q +# 6oRRRuLRvWoYWmEBc8pnol7XKHYC4jMYctenIPDC+hIK12NvDMk2ZItboKaDIV1f +# MHSRlJTYuVD5C4lh8zYGNRiER9vcG9H9stQcxWv2XFJRXRLbJbqvUAV6bMURHXLv +# jflSxIUXk8A8FdsaN8cIFRg/eKtFtvUeh17aj54WcmnGrnu3tz5q4i6tAgMBAAGj +# ggHdMIIB2TASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQqp1L+ +# ZMSavoKRPEY1Kc8Q/y8E7jAdBgNVHQ4EFgQUn6cVXQBeYl2D9OXSZacbUzUZ6XIw +# XAYDVR0gBFUwUzBRBgwrBgEEAYI3TIN9AQEwQTA/BggrBgEFBQcCARYzaHR0cDov +# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9Eb2NzL1JlcG9zaXRvcnkuaHRtMBMG +# A1UdJQQMMAoGCCsGAQUFBwMIMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsG +# A1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJc +# YmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9z +# b2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIz +# LmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWlj +# cm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0 +# MA0GCSqGSIb3DQEBCwUAA4ICAQCdVX38Kq3hLB9nATEkW+Geckv8qW/qXBS2Pk5H +# ZHixBpOXPTEztTnXwnE2P9pkbHzQdTltuw8x5MKP+2zRoZQYIu7pZmc6U03dmLq2 +# HnjYNi6cqYJWAAOwBb6J6Gngugnue99qb74py27YP0h1AdkY3m2CDPVtI1TkeFN1 +# JFe53Z/zjj3G82jfZfakVqr3lbYoVSfQJL1AoL8ZthISEV09J+BAljis9/kpicO8 +# F7BUhUKz/AyeixmJ5/ALaoHCgRlCGVJ1ijbCHcNhcy4sa3tuPywJeBTpkbKpW99J +# o3QMvOyRgNI95ko+ZjtPu4b6MhrZlvSP9pEB9s7GdP32THJvEKt1MMU0sHrYUP4K +# WN1APMdUbZ1jdEgssU5HLcEUBHG/ZPkkvnNtyo4JvbMBV0lUZNlz138eW0QBjloZ +# kWsNn6Qo3GcZKCS6OEuabvshVGtqRRFHqfG3rsjoiV5PndLQTHa1V1QJsWkBRH58 +# oWFsc/4Ku+xBZj1p/cvBQUl+fpO+y/g75LcVv7TOPqUxUYS8vwLBgqJ7Fx0ViY1w +# /ue10CgaiQuPNtq6TPmb/wrpNPgkNWcr4A245oyZ1uEi6vAnQj0llOZ0dFtq0Z4+ +# 7X6gMTN9vMvpe784cETRkPHIqzqKOghif9lwY1NNje6CbaUFEMFxBmoQtB1VM1iz +# oXBm8qGCAtQwggI9AgEBMIIBAKGB2KSB1TCB0jELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3Bl +# cmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkQ0LTRC +# ODAtNjlDMzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIj +# CgEBMAcGBSsOAwIaAxUA942iGuYFrsE4wzWDd85EpM6RiwqggYMwgYCkfjB8MQsw +# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u +# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNy +# b3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOmJtH4w +# IhgPMjAyNDAyMjgyMTMyNDZaGA8yMDI0MDIyOTIxMzI0NlowdDA6BgorBgEEAYRZ +# CgQBMSwwKjAKAgUA6Ym0fgIBADAHAgEAAgII/jAHAgEAAgIRWzAKAgUA6YsF/gIB +# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow +# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAJ6X7dDIGi9HtOCA2shzNFZ6YvoT +# Wvg61z5FKYPhplayQdORPpE+XeeXTwPqfv6/sx93z6zYNxiMgP+9fqXYnMxH965H +# 3HMYkoPxXPXklX+vnZ5Q+02VAKWS0NdI6kAFPBrJSLMZ752kT5HbPmUmHF0DaPyo +# Sj7xsnbEGsliDjFEMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV +# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv +# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg +# UENBIDIwMTACEzMAAAHlj2rA8z20C6MAAQAAAeUwDQYJYIZIAWUDBAIBBQCgggFK +# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgip9H +# k+aRhvItzCUrVDJG0P7Ve9uVIbTNhK+AfuUh3JUwgfoGCyqGSIb3DQEJEAIvMYHq +# MIHnMIHkMIG9BCAVqdP//qjxGFhe2YboEXeb8I/pAof01CwhbxUH9U697TCBmDCB +# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV +# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB5Y9qwPM9tAuj +# AAEAAAHlMCIEIJZiUB27oq8Piq7Is0oyatZIjipupHB/Q5BVrq0i72SaMA0GCSqG +# SIb3DQEBCwUABIICADCNARWGrHfJ2YPoczefh/gj8ZjT9locffscgiF7FdUVYzmD +# Ik5sgjFatfmzTG8sEsGiwOGjP/RJG+qsJqT0deZoiDK1ylxvzlMRp3Q8aKhPWamD +# eAZHBnGz/Bjw0K254n/X6VdKHd3OeLVH/QGVMZHB5JvUnRm/7SHAwYMDEnsVydeR +# jZdBA7wRsidmqANLDCiJ99ayNC8sJO+9BOS98I5NeT1mcOMzwMe80Qx6c5WYBd9V +# eZb0elGTTjWwrkTIV0gQRNkuOwffRFwYKzNvStbsxeX2kmC3hphkn9sTad9xGdX9 +# mrzA3b+5NO7GNNwKc+hPUwscsoXgEAdCsBSwGNCh1msdSvvZxJbC3NyTORC+ZguR +# RpHQnNv/PHXqB9cmoZyX+ljiz64rR2hl7mwdswsW+H05g/I7iiwirewTpio9j9ih +# ruWkDVt+/u78iVToZseGQ73e4XzSjg7PtwIFWT+C0/KW2sxq189yOXj0S4S6bpAb +# Kn0PRPZ72NG8sZ4IHH5otyrz+DDOBOh/vNg6bLW1VcReHH2LqyVenJgVoFbYXyei +# CM1IrK0i0O9x0lo2jpdOuEs7Pno/9Mgnk8wlzl18tPSjcMKlCAdumH4zMYOgHupE +# 3DnUAE8OuOOdKjJe8WmbACkCLWcmg6j0FP4eF+NUiWYGbSZll+/DSbXoss1u +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_sql_server_licenses_operations.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_sql_server_licenses_operations.py new file mode 100644 index 00000000000..90760e8cb57 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/operations/_sql_server_licenses_operations.py @@ -0,0 +1,1026 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + map_error, +) +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar + + T = TypeVar("T") + ClsType = Optional[ + Callable[ + [PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], + Any, + ] + ] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + subscription_id, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerLicenses") + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_by_resource_group_request( + subscription_id, # type: str + resource_group_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_license_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses/{sqlServerLicenseName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerLicenseName": _SERIALIZER.url("sql_server_license_name", sql_server_license_name, 'str', pattern=r'^[-\w\._\(\)]+$'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_create_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_license_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses/{sqlServerLicenseName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerLicenseName": _SERIALIZER.url("sql_server_license_name", sql_server_license_name, 'str', pattern=r'^[-\w\._\(\)]+$'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_delete_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_license_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses/{sqlServerLicenseName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerLicenseName": _SERIALIZER.url("sql_server_license_name", sql_server_license_name, 'str', pattern=r'^[-\w\._\(\)]+$'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_update_request( + subscription_id, # type: str + resource_group_name, # type: str + sql_server_license_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + api_version = kwargs.pop('api_version', "2024-03-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses/{sqlServerLicenseName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "sqlServerLicenseName": _SERIALIZER.url("sql_server_license_name", sql_server_license_name, 'str', pattern=r'^[-\w\._\(\)]+$'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +# fmt: on +class SqlServerLicensesOperations(object): + """SqlServerLicensesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.azurearcdata.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.SqlServerLicenseListResult"] + """List sqlServerLicense resources in the subscription. + + List sqlServerLicense resources in the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerLicenseListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.azurearcdata.models.SqlServerLicenseListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerLicenseListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerLicenseListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerLicenses"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> Iterable["_models.SqlServerLicenseListResult"] + """List sqlServerLicense resources in the resource group. + + Gets all sqlServerLicenses in a resource group. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SqlServerLicenseListResult or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.azurearcdata.models.SqlServerLicenseListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerLicenseListResult"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize( + "SqlServerLicenseListResult", pipeline_response + ) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + list_by_resource_group.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name, # type: str + sql_server_license_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerLicense" + """Retrieves a SQL Server license resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_license_name: Name of SQL Server License. + :type sql_server_license_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerLicense, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerLicense + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerLicense"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_license_name=sql_server_license_name, + api_version=api_version, + template_url=self.get.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize("SqlServerLicense", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses/{sqlServerLicenseName}"} # type: ignore + + @distributed_trace + def create( + self, + resource_group_name, # type: str + sql_server_license_name, # type: str + sql_server_license, # type: "_models.SqlServerLicense" + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerLicense" + """Creates or replaces a SQL Server license resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_license_name: Name of SQL Server License. + :type sql_server_license_name: str + :param sql_server_license: The SQL Server license to be created or updated. + :type sql_server_license: ~azure.mgmt.azurearcdata.models.SqlServerLicense + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerLicense, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerLicense + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerLicense"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(sql_server_license, "SqlServerLicense") + + request = build_create_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_license_name=sql_server_license_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.create.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if response.status_code == 200: + deserialized = self._deserialize( + "SqlServerLicense", pipeline_response + ) + + if response.status_code == 201: + deserialized = self._deserialize( + "SqlServerLicense", pipeline_response + ) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + create.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses/{sqlServerLicenseName}"} # type: ignore + + @distributed_trace + def delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name, # type: str + sql_server_license_name, # type: str + **kwargs, # type: Any + ): + # type: (...) -> None + """Deletes a SQL Server license resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_license_name: Name of SQL Server License. + :type sql_server_license_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop("cls", None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + + request = build_delete_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_license_name=sql_server_license_name, + api_version=api_version, + template_url=self.delete.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 204]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + if cls: + return cls(pipeline_response, None, {}) + + delete.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses/{sqlServerLicenseName}"} # type: ignore + + @distributed_trace + def update( + self, + resource_group_name, # type: str + sql_server_license_name, # type: str + parameters, # type: "_models.SqlServerLicenseUpdate" + **kwargs, # type: Any + ): + # type: (...) -> "_models.SqlServerLicense" + """Updates a SQL Server license resource. + + :param resource_group_name: The name of the Azure resource group. + :type resource_group_name: str + :param sql_server_license_name: Name of SQL Server License. + :type sql_server_license_name: str + :param parameters: The SQL Server license. + :type parameters: ~azure.mgmt.azurearcdata.models.SqlServerLicenseUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SqlServerLicense, or the result of cls(response) + :rtype: ~azure.mgmt.azurearcdata.models.SqlServerLicense + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop( + "cls", None + ) # type: ClsType["_models.SqlServerLicense"] + error_map = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + } + error_map.update(kwargs.pop("error_map", {})) + + api_version = kwargs.pop( + "api_version", "2024-03-01-preview" + ) # type: str + content_type = kwargs.pop( + "content_type", "application/json" + ) # type: Optional[str] + + _json = self._serialize.body(parameters, "SqlServerLicenseUpdate") + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + sql_server_license_name=sql_server_license_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata["url"], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = ( + self._client._pipeline.run( # pylint: disable=protected-access + request, stream=False, **kwargs + ) + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error( + status_code=response.status_code, + response=response, + error_map=error_map, + ) + error = self._deserialize.failsafe_deserialize( + _models.ErrorResponse, pipeline_response + ) + raise HttpResponseError( + response=response, model=error, error_format=ARMErrorFormat + ) + + deserialized = self._deserialize("SqlServerLicense", pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {"url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses/{sqlServerLicenseName}"} # type: ignore + + +# SIG # Begin Windows Authenticode signature block +# MIIr5AYJKoZIhvcNAQcCoIIr1TCCK9ECAQExDzANBglghkgBZQMEAgEFADB5Bgor +# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQse8BENmB6EqSR2hd +# JGAGggIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDUKSCtNJ4cQRIE +# DzWBEjlL3kutnOnWl3yezJ7c9pkb1aCCEW4wggh+MIIHZqADAgECAhM2AAAByGSC +# ADC0I4J4AAIAAAHIMA0GCSqGSIb3DQEBCwUAMEExEzARBgoJkiaJk/IsZAEZFgNH +# QkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxFTATBgNVBAMTDEFNRSBDUyBDQSAwMTAe +# Fw0yMzAzMjAyMDAwMzFaFw0yNDAzMTkyMDAwMzFaMCQxIjAgBgNVBAMTGU1pY3Jv +# c29mdCBBenVyZSBDb2RlIFNpZ24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +# AoIBAQCsqEftwg2QVZo09tbgIalDB+EPa9YjCbmINAgaNzlKKr0DL3IgHQw+9yRe +# enjTa759W/Lxlv5w9cLKJ6afIUbvBjAqA8Xj7HZrB3ht4eQW9xa1NX5jPmgQpVVP +# ShZHk1+xQe6oQYOUhUUBgH/sUiVlBZGILh6Z6Rr6NigVOXnRTaYND8K90Kq68B35 +# 0FyGgfQEtdaHTSsrc2pGipCPnS9MeX4QHkcJ6vr64/uIUqJre8XDW4OicpUqZzPj +# HwYmjjLmnumVyvhUAHkV3BOlmvOEU5sHMnFzF0hPeoybTtFgzorURtSfcAopMQbY +# 7161DTqggoJwYeW2+PQ1mnfs2QQnAgMBAAGjggWKMIIFhjApBgkrBgEEAYI3FQoE +# HDAaMAwGCisGAQQBgjdbAQEwCgYIKwYBBQUHAwMwPQYJKwYBBAGCNxUHBDAwLgYm +# KwYBBAGCNxUIhpDjDYTVtHiE8Ys+hZvdFs6dEoFgg93NZoaUjDICAWQCAQwwggJ2 +# BggrBgEFBQcBAQSCAmgwggJkMGIGCCsGAQUFBzAChlZodHRwOi8vY3JsLm1pY3Jv +# c29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDEu +# YW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUy +# MDAxKDIpLmNydDBSBggrBgEFBQcwAoZGaHR0cDovL2NybDIuYW1lLmdibC9haWEv +# QlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBS +# BggrBgEFBQcwAoZGaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAx +# LkFNRS5HQkxfQU1FJTIwQ1MlMjBDQSUyMDAxKDIpLmNydDBSBggrBgEFBQcwAoZG +# aHR0cDovL2NybDQuYW1lLmdibC9haWEvQlkyUEtJQ1NDQTAxLkFNRS5HQkxfQU1F +# JTIwQ1MlMjBDQSUyMDAxKDIpLmNydDCBrQYIKwYBBQUHMAKGgaBsZGFwOi8vL0NO +# PUFNRSUyMENTJTIwQ0ElMjAwMSxDTj1BSUEsQ049UHVibGljJTIwS2V5JTIwU2Vy +# dmljZXMsQ049U2VydmljZXMsQ049Q29uZmlndXJhdGlvbixEQz1BTUUsREM9R0JM +# P2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0 +# aG9yaXR5MB0GA1UdDgQWBBSyQaGO0/lYIyoc4EhgSpg9HS8WQzAOBgNVHQ8BAf8E +# BAMCB4AwRQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEWMBQGA1UEBRMNMjM2MTY3KzUwMDM2MDCCAeYGA1UdHwSCAd0wggHZMIIB +# 1aCCAdGgggHNhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ1JM +# L0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwxLmFtZS5nYmwv +# Y3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwyLmFtZS5n +# YmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmwzLmFt +# ZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGMWh0dHA6Ly9jcmw0 +# LmFtZS5nYmwvY3JsL0FNRSUyMENTJTIwQ0ElMjAwMSgyKS5jcmyGgb1sZGFwOi8v +# L0NOPUFNRSUyMENTJTIwQ0ElMjAwMSgyKSxDTj1CWTJQS0lDU0NBMDEsQ049Q0RQ +# LENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZp +# Z3VyYXRpb24sREM9QU1FLERDPUdCTD9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0 +# P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JMRGlzdHJpYnV0aW9uUG9pbnQwHwYDVR0jBBgw +# FoAUllGE4Gtve/7YBqvD8oXmKa5q+dQwHwYDVR0lBBgwFgYKKwYBBAGCN1sBAQYI +# KwYBBQUHAwMwDQYJKoZIhvcNAQELBQADggEBAMbXnfc099nhsvSe5p709YIYfRmY +# 1yIJ6MyfvWv+KBMrHHrfkqZwjfyVhj++Fu776OEyU3dXcp4AkSa5R1tPG1peWGEn +# BZb/eLgZ9AaMUii3o3cX065dRF/yNzgvKlp2tYlXWXVuZn8bvkWKoygQMXsNiPJg +# n0E1RTdqU6BjJfKAEkmNJ8lH/xWB3yFgITGb0MmBcOVK4pntl4NqKU/YQYg7n6bR +# AYjW3Iwp1z9iA+slTDs0j3CbHwRP8nl/GuuHbV92jBigYJiemFi0aEYG+eoN1odd +# tUQILeDNtT6ct94UXfSuv+MfGhdbMp8VxgKPlefDnZu7mYNkHyMX90e+GU8wggjo +# MIIG0KADAgECAhMfAAAAUeqP9pxzDKg7AAAAAABRMA0GCSqGSIb3DQEBCwUAMDwx +# EzARBgoJkiaJk/IsZAEZFgNHQkwxEzARBgoJkiaJk/IsZAEZFgNBTUUxEDAOBgNV +# BAMTB2FtZXJvb3QwHhcNMjEwNTIxMTg0NDE0WhcNMjYwNTIxMTg1NDE0WjBBMRMw +# EQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQD +# EwxBTUUgQ1MgQ0EgMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJ +# mlIJfQGejVbXKpcyFPoFSUllalrinfEV6JMc7i+bZDoL9rNHnHDGfJgeuRIYO1LY +# /1f4oMTrhXbSaYRCS5vGc8145WcTZG908bGDCWr4GFLc411WxA+Pv2rteAcz0eHM +# H36qTQ8L0o3XOb2n+x7KJFLokXV1s6pF/WlSXsUBXGaCIIWBXyEchv+sM9eKDsUO +# LdLTITHYJQNWkiryMSEbxqdQUTVZjEz6eLRLkofDAo8pXirIYOgM770CYOiZrcKH +# K7lYOVblx22pdNawY8Te6a2dfoCaWV1QUuazg5VHiC4p/6fksgEILptOKhx9c+ia +# piNhMrHsAYx9pUtppeaFAgMBAAGjggTcMIIE2DASBgkrBgEEAYI3FQEEBQIDAgAC +# MCMGCSsGAQQBgjcVAgQWBBQSaCRCIUfL1Gu+Mc8gpMALI38/RzAdBgNVHQ4EFgQU +# llGE4Gtve/7YBqvD8oXmKa5q+dQwggEEBgNVHSUEgfwwgfkGBysGAQUCAwUGCCsG +# AQUFBwMBBggrBgEFBQcDAgYKKwYBBAGCNxQCAQYJKwYBBAGCNxUGBgorBgEEAYI3 +# CgMMBgkrBgEEAYI3FQYGCCsGAQUFBwMJBggrBgEFBQgCAgYKKwYBBAGCN0ABAQYL +# KwYBBAGCNwoDBAEGCisGAQQBgjcKAwQGCSsGAQQBgjcVBQYKKwYBBAGCNxQCAgYK +# KwYBBAGCNxQCAwYIKwYBBQUHAwMGCisGAQQBgjdbAQEGCisGAQQBgjdbAgEGCisG +# AQQBgjdbAwEGCisGAQQBgjdbBQEGCisGAQQBgjdbBAEGCisGAQQBgjdbBAIwGQYJ +# KwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMBIGA1UdEwEB/wQI +# MAYBAf8CAQAwHwYDVR0jBBgwFoAUKV5RXmSuNLnrrJwNp4x1AdEJCygwggFoBgNV +# HR8EggFfMIIBWzCCAVegggFToIIBT4YxaHR0cDovL2NybC5taWNyb3NvZnQuY29t +# L3BraWluZnJhL2NybC9hbWVyb290LmNybIYjaHR0cDovL2NybDIuYW1lLmdibC9j +# cmwvYW1lcm9vdC5jcmyGI2h0dHA6Ly9jcmwzLmFtZS5nYmwvY3JsL2FtZXJvb3Qu +# Y3JshiNodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9hbWVyb290LmNybIaBqmxkYXA6 +# Ly8vQ049YW1lcm9vdCxDTj1BTUVSb290LENOPUNEUCxDTj1QdWJsaWMlMjBLZXkl +# MjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLERDPUFNRSxE +# Qz1HQkw/Y2VydGlmaWNhdGVSZXZvY2F0aW9uTGlzdD9iYXNlP29iamVjdENsYXNz +# PWNSTERpc3RyaWJ1dGlvblBvaW50MIIBqwYIKwYBBQUHAQEEggGdMIIBmTBHBggr +# BgEFBQcwAoY7aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL2NlcnRz +# L0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6Ly9jcmwyLmFt +# ZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUHMAKGK2h0dHA6 +# Ly9jcmwzLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQwNwYIKwYBBQUH +# MAKGK2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0FNRVJvb3RfYW1lcm9vdC5jcnQw +# gaIGCCsGAQUFBzAChoGVbGRhcDovLy9DTj1hbWVyb290LENOPUFJQSxDTj1QdWJs +# aWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9u +# LERDPUFNRSxEQz1HQkw/Y0FDZXJ0aWZpY2F0ZT9iYXNlP29iamVjdENsYXNzPWNl +# cnRpZmljYXRpb25BdXRob3JpdHkwDQYJKoZIhvcNAQELBQADggIBAFAQI7dPD+jf +# XtGt3vJp2pyzA/HUu8hjKaRpM3opya5G3ocprRd7vdTHb8BDfRN+AD0YEmeDB5HK +# QoG6xHPI5TXuIi5sm/LeADbV3C2q0HQOygS/VT+m1W7a/752hMIn+L4ZuyxVeSBp +# fwf7oQ4YSZPh6+ngZvBHgfBaVz4O9/wcfw91QDZnTgK9zAh9yRKKls2bziPEnxeO +# ZMVNaxyV0v152PY2xjqIafIkUjK6vY9LtVFjJXenVUAmn3WCPWNFC1YTIIHw/mD2 +# cTfPy7QA1pT+GPARAKt0bKtq9aCd/Ym0b5tPbpgCiRtzyb7fbNS1dE740re0COE6 +# 7YV2wbeo2sXixzvLftH8L7s9xv9wV+G22qyKt6lmKLjFK1yMw4Ni5fMabcgmzRvS +# jAcbqgp3tk4a8emaaH0rz8MuuIP+yrxtREPXSqL/C5bzMzsikuDW9xH10graZzSm +# PjilzpRfRdu20/9UQmC7eVPZ4j1WNa1oqPHfzET3ChIzJ6Q9G3NPCB+7KwX0OQmK +# yv7IDimj8U/GlsHD1z+EF/fYMf8YXG15LamaOAohsw/ywO6SYSreVW+5Y0mzJutn +# BC9Cm9ozj1+/4kqksrlhZgR/CSxhFH3BTweH8gP2FEISRtShDZbuYymynY1un+Ry +# fiK9+iVTLdD1h/SxyxDpZMtimb4CgJQlMYIZzDCCGcgCAQEwWDBBMRMwEQYKCZIm +# iZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRUwEwYDVQQDEwxBTUUg +# Q1MgQ0EgMDECEzYAAAHIZIIAMLQjgngAAgAAAcgwDQYJYIZIAWUDBAIBBQCgga4w +# GQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwGCisG +# AQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIK9lMIszwYI9v/Gggfa/WTwqA7g8kjSV +# TMu4zF0uYztzMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8AcwBvAGYA +# dKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAEggEA +# OB39iiVassuRYmnSDbfdUurnAL6vzqND9QEE+P/IzTciaBLoqvd31GQY0MTiTb2m +# xUSQAjg1NgDyv0Pgkk7Pyra3jhS3wQxKo823bIReNpQHlgwF47FGL8nWKLsV1Ghv +# 9NkCTyHfhfiP2wefFoag/FwX4EE7SYIcfEhN9uFqPuwg+Ij2BN3JIhyzWd+M/7sY +# qMwGJZ2xQowUfuJzbZfy5hMoBzwmP2J88GyrdadRRIw2f/j7i4CuA7J1/WbZniuS +# FweexKWhvo5wMSwVN61fWrUjLwTQKX5DP8Id4sJnXiqA5QgcB7dp7VOZiCsxQ7ml +# c2p5KRJ/2VBWG8EzRkxog6GCF5QwgheQBgorBgEEAYI3AwMBMYIXgDCCF3wGCSqG +# SIb3DQEHAqCCF20wghdpAgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFSBgsqhkiG9w0B +# CRABBKCCAUEEggE9MIIBOQIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFlAwQCAQUA +# BCBJg2s7WjHYh51hfGJYZv2aOaAOVOnc6Q49gx4GhSlFwgIGZc4je3lcGBMyMDI0 +# MDIyODE1MDMxMC4yNDdaMASAAgH0oIHRpIHOMIHLMQswCQYDVQQGEwJVUzETMBEG +# A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj +# cm9zb2Z0IENvcnBvcmF0aW9uMSUwIwYDVQQLExxNaWNyb3NvZnQgQW1lcmljYSBP +# cGVyYXRpb25zMScwJQYDVQQLEx5uU2hpZWxkIFRTUyBFU046N0YwMC0wNUUwLUQ5 +# NDcxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2WgghHqMIIH +# IDCCBQigAwIBAgITMwAAAfAqfB1ZO+YfrQABAAAB8DANBgkqhkiG9w0BAQsFADB8 +# MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVk +# bW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1N +# aWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDAeFw0yMzEyMDYxODQ1NTFaFw0y +# NTAzMDUxODQ1NTFaMIHLMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3Rv +# bjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0 +# aW9uMSUwIwYDVQQLExxNaWNyb3NvZnQgQW1lcmljYSBPcGVyYXRpb25zMScwJQYD +# VQQLEx5uU2hpZWxkIFRTUyBFU046N0YwMC0wNUUwLUQ5NDcxJTAjBgNVBAMTHE1p +# Y3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2UwggIiMA0GCSqGSIb3DQEBAQUAA4IC +# DwAwggIKAoICAQC1Hi1Tozh3O0czE8xfRnrymlJNCaGWommPy0eINf+4EJr7rf8t +# SzlgE8Il4Zj48T5fTTOAh6nITRf2lK7+upcnZ/xg0AKoDYpBQOWrL9ObFShylIHf +# r/DQ4PsRX8GRtInuJsMkwSg63bfB4Q2UikMEP/CtZHi8xW5XtAKp95cs3mvUCMvI +# AA83Jr/UyADACJXVU4maYisczUz7J111eD1KrG9mQ+ITgnRR/X2xTDMCz+io8ZZF +# HGwEZg+c3vmPp87m4OqOKWyhcqMUupPveO/gQC9Rv4szLNGDaoePeK6IU0JqcGjX +# qxbcEoS/s1hCgPd7Ux6YWeWrUXaxbb+JosgOazUgUGs1aqpnLjz0YKfUqn8i5Tbm +# R1dqElR4QA+OZfeVhpTonrM4sE/MlJ1JLpR2FwAIHUeMfotXNQiytYfRBUOJHFeJ +# YEflZgVk0Xx/4kZBdzgFQPOWfVd2NozXlC2epGtUjaluA2osOvQHZzGOoKTvWUPX +# 99MssGObO0xJHd0DygP/JAVp+bRGJqa2u7AqLm2+tAT26yI5veccDmNZsg3vDh1H +# cpCJa9QpRW/MD3a+AF2ygV1sRnGVUVG3VODX3BhGT8TMU/GiUy3h7ClXOxmZ+weC +# uIOzCkTDbK5OlAS8qSPpgp+XGlOLEPaM31Mgf6YTppAaeP0ophx345ohtwIDAQAB +# o4IBSTCCAUUwHQYDVR0OBBYEFNCCsqdXRy/MmjZGVTAvx7YFWpslMB8GA1UdIwQY +# MBaAFJ+nFV0AXmJdg/Tl0mWnG1M1GelyMF8GA1UdHwRYMFYwVKBSoFCGTmh0dHA6 +# Ly93d3cubWljcm9zb2Z0LmNvbS9wa2lvcHMvY3JsL01pY3Jvc29mdCUyMFRpbWUt +# U3RhbXAlMjBQQ0ElMjAyMDEwKDEpLmNybDBsBggrBgEFBQcBAQRgMF4wXAYIKwYB +# BQUHMAKGUGh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2lvcHMvY2VydHMvTWlj +# cm9zb2Z0JTIwVGltZS1TdGFtcCUyMFBDQSUyMDIwMTAoMSkuY3J0MAwGA1UdEwEB +# /wQCMAAwFgYDVR0lAQH/BAwwCgYIKwYBBQUHAwgwDgYDVR0PAQH/BAQDAgeAMA0G +# CSqGSIb3DQEBCwUAA4ICAQA4IvSbnr4jEPgo5W4xj3/+0dCGwsz863QGZ2mB9Z4S +# wtGGLMvwfsRUs3NIlPD/LsWAxdVYHklAzwLTwQ5M+PRdy92DGftyEOGMHfut7Gq8 +# L3RUcvrvr0AL/NNtfEpbAEkCFzseextY5s3hzj3rX2wvoBZm2ythwcLeZmMgHQCm +# jZp/20fHWJgrjPYjse6RDJtUTlvUsjr+878/t+vrQEIqlmebCeEi+VQVxc7wF0Lu +# MTw/gCWdcqHoqL52JotxKzY8jZSQ7ccNHhC4eHGFRpaKeiSQ0GXtlbGIbP4kW1O3 +# JzlKjfwG62NCSvfmM1iPD90XYiFm7/8mgR16AmqefDsfjBCWwf3qheIMfgZzWqeE +# z8laFmM8DdkXjuOCQE/2L0TxhrjUtdMkATfXdZjYRlscBDyr8zGMlprFC7LcxqCX +# lhxhtd2CM+mpcTc8RB2D3Eor0UdoP36Q9r4XWCVV/2Kn0AXtvWxvIfyOFm5aLl0e +# Ezkhfv/XmUlBeOCElS7jdddWpBlQjJuHHUHjOVGXlrJT7X4hicF1o23x5U+j7qPK +# BceryP2/1oxfmHc6uBXlXBKukV/QCZBVAiBMYJhnktakWHpo9uIeSnYT6Qx7wf2R +# auYHIER8SLRmblMzPOs+JHQzrvh7xStx310LOp+0DaOXs8xjZvhpn+WuZij5RmZi +# jDCCB3EwggVZoAMCAQICEzMAAAAVxedrngKbSZkAAAAAABUwDQYJKoZIhvcNAQEL +# BQAwgYgxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH +# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xMjAwBgNV +# BAMTKU1pY3Jvc29mdCBSb290IENlcnRpZmljYXRlIEF1dGhvcml0eSAyMDEwMB4X +# DTIxMDkzMDE4MjIyNVoXDTMwMDkzMDE4MzIyNVowfDELMAkGA1UEBhMCVVMxEzAR +# BgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1p +# Y3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3Rh +# bXAgUENBIDIwMTAwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDk4aZM +# 57RyIQt5osvXJHm9DtWC0/3unAcH0qlsTnXIyjVX9gF/bErg4r25PhdgM/9cT8dm +# 95VTcVrifkpa/rg2Z4VGIwy1jRPPdzLAEBjoYH1qUoNEt6aORmsHFPPFdvWGUNzB +# RMhxXFExN6AKOG6N7dcP2CZTfDlhAnrEqv1yaa8dq6z2Nr41JmTamDu6GnszrYBb +# fowQHJ1S/rboYiXcag/PXfT+jlPP1uyFVk3v3byNpOORj7I5LFGc6XBpDco2LXCO +# Mcg1KL3jtIckw+DJj361VI/c+gVVmG1oO5pGve2krnopN6zL64NF50ZuyjLVwIYw +# XE8s4mKyzbnijYjklqwBSru+cakXW2dg3viSkR4dPf0gz3N9QZpGdc3EXzTdEonW +# /aUgfX782Z5F37ZyL9t9X4C626p+Nuw2TPYrbqgSUei/BQOj0XOmTTd0lBw0gg/w +# EPK3Rxjtp+iZfD9M269ewvPV2HM9Q07BMzlMjgK8QmguEOqEUUbi0b1qGFphAXPK +# Z6Je1yh2AuIzGHLXpyDwwvoSCtdjbwzJNmSLW6CmgyFdXzB0kZSU2LlQ+QuJYfM2 +# BjUYhEfb3BvR/bLUHMVr9lxSUV0S2yW6r1AFemzFER1y7435UsSFF5PAPBXbGjfH +# CBUYP3irRbb1Hode2o+eFnJpxq57t7c+auIurQIDAQABo4IB3TCCAdkwEgYJKwYB +# BAGCNxUBBAUCAwEAATAjBgkrBgEEAYI3FQIEFgQUKqdS/mTEmr6CkTxGNSnPEP8v +# BO4wHQYDVR0OBBYEFJ+nFV0AXmJdg/Tl0mWnG1M1GelyMFwGA1UdIARVMFMwUQYM +# KwYBBAGCN0yDfQEBMEEwPwYIKwYBBQUHAgEWM2h0dHA6Ly93d3cubWljcm9zb2Z0 +# LmNvbS9wa2lvcHMvRG9jcy9SZXBvc2l0b3J5Lmh0bTATBgNVHSUEDDAKBggrBgEF +# BQcDCDAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTALBgNVHQ8EBAMCAYYwDwYD +# VR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBTV9lbLj+iiXGJo0T2UkFvXzpoYxDBW +# BgNVHR8ETzBNMEugSaBHhkVodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2Ny +# bC9wcm9kdWN0cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcmwwWgYIKwYBBQUH +# AQEETjBMMEoGCCsGAQUFBzAChj5odHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtp +# L2NlcnRzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIzLmNydDANBgkqhkiG9w0BAQsF +# AAOCAgEAnVV9/Cqt4SwfZwExJFvhnnJL/Klv6lwUtj5OR2R4sQaTlz0xM7U518Jx +# Nj/aZGx80HU5bbsPMeTCj/ts0aGUGCLu6WZnOlNN3Zi6th542DYunKmCVgADsAW+ +# iehp4LoJ7nvfam++Kctu2D9IdQHZGN5tggz1bSNU5HhTdSRXud2f8449xvNo32X2 +# pFaq95W2KFUn0CS9QKC/GbYSEhFdPSfgQJY4rPf5KYnDvBewVIVCs/wMnosZiefw +# C2qBwoEZQhlSdYo2wh3DYXMuLGt7bj8sCXgU6ZGyqVvfSaN0DLzskYDSPeZKPmY7 +# T7uG+jIa2Zb0j/aRAfbOxnT99kxybxCrdTDFNLB62FD+CljdQDzHVG2dY3RILLFO +# Ry3BFARxv2T5JL5zbcqOCb2zAVdJVGTZc9d/HltEAY5aGZFrDZ+kKNxnGSgkujhL +# mm77IVRrakURR6nxt67I6IleT53S0Ex2tVdUCbFpAUR+fKFhbHP+CrvsQWY9af3L +# wUFJfn6Tvsv4O+S3Fb+0zj6lMVGEvL8CwYKiexcdFYmNcP7ntdAoGokLjzbaukz5 +# m/8K6TT4JDVnK+ANuOaMmdbhIurwJ0I9JZTmdHRbatGePu1+oDEzfbzL6Xu/OHBE +# 0ZDxyKs6ijoIYn/ZcGNTTY3ugm2lBRDBcQZqELQdVTNYs6FwZvKhggNNMIICNQIB +# ATCB+aGB0aSBzjCByzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24x +# EDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlv +# bjElMCMGA1UECxMcTWljcm9zb2Z0IEFtZXJpY2EgT3BlcmF0aW9uczEnMCUGA1UE +# CxMeblNoaWVsZCBUU1MgRVNOOjdGMDAtMDVFMC1EOTQ3MSUwIwYDVQQDExxNaWNy +# b3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNloiMKAQEwBwYFKw4DAhoDFQDCKAZKKv5l +# sdC2yoMGKYiQy79p/6CBgzCBgKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpX +# YXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQg +# Q29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAy +# MDEwMA0GCSqGSIb3DQEBCwUAAgUA6YnEuTAiGA8yMDI0MDIyODE0NDIwMVoYDzIw +# MjQwMjI5MTQ0MjAxWjB0MDoGCisGAQQBhFkKBAExLDAqMAoCBQDpicS5AgEAMAcC +# AQACAhY3MAcCAQACAhMOMAoCBQDpixY5AgEAMDYGCisGAQQBhFkKBAIxKDAmMAwG +# CisGAQQBhFkKAwKgCjAIAgEAAgMHoSChCjAIAgEAAgMBhqAwDQYJKoZIhvcNAQEL +# BQADggEBAJz1r9YxukPOsZNUMHCtFFwK45+POCzIWOoxOdc4jpD38662X7mljhQm +# orJ9U4pzW6rcOgUGlAwklFJq2x5t7i5YcnGzwSxqR3wwAjprfHL6XOYFs8hMtTGl +# R5SXinXRG2Q/ow2wWjbrKk//2HS18DyU8Z+vcXrkrlTfGYsFqxcZDJt8XwUPtvbE +# Rhixw+IjTKGVzKhyEmTTpRLaP2O1Ay3J2U9rT9B5wXi3gjrne/ZpW8T0AuXWxkvt +# HX2oTDzkK4+muwrRdytJrgqwExuVwXn4Sk0re5qNx5FpA32oftoUMfZhCYGRQ2nc +# OzVAEQb9876X0t/sqiBuBedFv2fLhCExggQNMIIECQIBATCBkzB8MQswCQYDVQQG +# EwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwG +# A1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQg +# VGltZS1TdGFtcCBQQ0EgMjAxMAITMwAAAfAqfB1ZO+YfrQABAAAB8DANBglghkgB +# ZQMEAgEFAKCCAUowGgYJKoZIhvcNAQkDMQ0GCyqGSIb3DQEJEAEEMC8GCSqGSIb3 +# DQEJBDEiBCDHw6UJQ+Kle4CD47O+9Vkgh45TTqTK20/vN6ePPs1tTDCB+gYLKoZI +# hvcNAQkQAi8xgeowgecwgeQwgb0EIFwBmqOlcv3kU7mAB5sWR74QFAiS6mb+CM6a +# snFAZUuLMIGYMIGApH4wfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0 +# b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3Jh +# dGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTACEzMA +# AAHwKnwdWTvmH60AAQAAAfAwIgQgmEXXNhNnZ2gf++/qMjQfR8wwH18lPavBPXjl +# YQKydL0wDQYJKoZIhvcNAQELBQAEggIAhVUUKGeWrfhbHVJkhI1E2xsc9Jc4GCzc +# nsrJNGi3sP46a8kpV761NfUuDPrv0GejkZf82QkUSBKkdinhC1XuWFwLvE+Y7bv7 +# xNms7c0v763hOxxG1uXnMjAYdkux25eNJMms94v2sYyjre3Z9RllvsRgOM1FWEME +# zmhgCQMdLQI7ZtErRzGB2hu9gyeUBVJI+N0Nc7+5rvGQLijWjAX8BDtp1TyVS9SS +# zZKma7431XotfZFaoLs9o4LklfmLpIynQBJqOZPrxjWH+5McYhFuVB7jVxRrvQSw +# q274X9DPxSQRtzSvxpJQwZe+NlbZgfAZdMf4vuK6ojPNUibhiTP82bGTyjRuCr1M +# rb/eTtHzpAmIpEY6hwK5kUrau6NmKr+Y8xGOaYS9CpDWvB15CoqC7ErASPY/QKtk +# Qds3F/nNPmqa+Q0YThrxX6fmZMRHGIDD/nkFc69cgNkDxYpeMahZ1aqt9nJqpIEH +# qTBq2AVU/kzj2lez52DqRX0AF/ZexrfFYUDzaXZ8V5RkJNs2NngciJhO3dGhMhgf +# uiy/lNljqqmZjwxdl6l4Yu4aFHl1Sl02hEtpHABq+2WjQLG0JmMLnTlTbYkFsJJE +# WEQlwx/sfhrHwJ/+irJQyeaVP08GTIXrafR7UNZHkR/ctXVRBMLrryxeVgwkGAi9 +# Ff1iL8XtelA= +# SIG # End Windows Authenticode signature block diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/py.typed b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/py.typed new file mode 100644 index 00000000000..e5aff4f83af --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/swagger/swagger_latest/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/arm-template.tmpl b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/arm-template.tmpl new file mode 100644 index 00000000000..93a69da214a --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/arm-template.tmpl @@ -0,0 +1,420 @@ +{ + "properties": { + "mode": "incremental", + "debugSetting": { + "detailLevel": "none" + }, + "parameters": { + "apiVersion": { + "value": "2021-09-01" + }, + "apiVersion_1": { + "value": "2022-04-01" + }, + "apiVersion_2": { + "value": "2022-04-01" + }, + "apiVersion_3": { + "value": "2021-08-15" + }, + "apiVersion_4": { + "value": "{{arcdata_api_version}}" + }, + "imagePullPolicy": { + "value": "{{control.spec.docker.imagePullPolicy}}" + }, + "parentResource": { + "value": "Microsoft.Kubernetes/connectedClusters/{{cluster}}" + }, + "resourceName": { + "value": "{{resource_name}}" + }, + "namespace": { + "value": "{{namespace}}" + }, + "releaseTrain": { + "value": "{{extension_train}}" + }, + "version": { + "value": "{{extension_version}}" + }, + "imageRegistry": { + "value": "{{control.spec.docker.registry}}" + }, + "imageVersion": { + "value": "{{control.spec.docker.registry}}/{{control.spec.docker.repository}}/arc-bootstrapper:{{control.spec.docker.imageTag}}" + }, + "imageUsername": { + "value": "{{docker_username}}" + }, + "imagePassword": { + "value": "{{docker_password}}" + }, + "roleNameGuid_1": { + "value": "{{resource_name_1}}" + }, + "roleDefinitionId_1": { + "value": "/subscriptions/{{control.spec.settings.azure.subscription}}/resourceGroups/{{control.spec.settings.azure.resourceGroup}}/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c" + }, + "resourceName_1": { + "value": "{{resource_name_1}}" + }, + "roleNameGuid_2": { + "value": "{{resource_name_2}}" + }, + "roleDefinitionId_2": { + "value": "/subscriptions/{{control.spec.settings.azure.subscription}}/resourceGroups/{{control.spec.settings.azure.resourceGroup}}/providers/Microsoft.Authorization/roleDefinitions/3913510d-42f4-4e42-8a64-420c390055eb" + }, + "resourceName_2": { + "value": "{{resource_name_2}}" + }, + + "resourceName_3": { + "value": "{{custom_location}}" + }, + "customLocationId_3": { + "value": "/subscriptions/{{control.spec.settings.azure.subscription}}/resourceGroups/{{control.spec.settings.azure.resourceGroup}}/providers/Microsoft.ExtendedLocation/customLocations/{{custom_location}}" + }, + "location_3": { + "value": "{{control.spec.settings.azure.location}}" + }, + "hostResourceId_3": { + "value": "/subscriptions/{{control.spec.settings.azure.subscription}}/resourceGroups/{{control.spec.settings.azure.resourceGroup}}/providers/Microsoft.Kubernetes/connectedClusters/{{cluster}}" + }, + "namespace_3": { + "value": "{{namespace}}" + }, + "clusterExtensionIds_3": { + "value": [ + "/subscriptions/{{control.spec.settings.azure.subscription}}/resourceGroups/{{control.spec.settings.azure.resourceGroup}}/providers/Microsoft.Kubernetes/connectedClusters/{{cluster}}/providers/Microsoft.KubernetesConfiguration/extensions/{{resource_name}}" + ] + }, + "namespace_4": { + "value": "{{namespace}}" + }, + "connectionMode_4": { + "value": "{{control.spec.settings.azure.connectionMode}}" + }, + "controllerName_4": { + "value": "{{control.spec.settings.controller.displayName}}" + }, + "metricsAndLogsDashboardUsername_4": { + "value": "{{credentials.metrics_username}}" + }, + "metricsAndLogsDashboardPassword_4": { + "value": "{{credentials.metrics_password}}" + }, + "customLocationId_4": { + "value": "/subscriptions/{{control.spec.settings.azure.subscription}}/resourceGroups/{{control.spec.settings.azure.resourceGroup}}/providers/Microsoft.ExtendedLocation/customLocations/{{custom_location}}" + }, + "metricsAutoUploadSelected_4": { + "value": "{{control.spec.settings.azure.autoUploadMetrics}}" + }, + "logsAutoUploadSelected_4": { + "value": "{{control.spec.settings.azure.autoUploadLogs}}" + }, + "logAnalyticsWorkspaceId_4": { + "value": "{{log_analytics.workspace_id}}" + }, + "logAnalyticsPrimaryKey_4": { + "value": "{{log_analytics.primary_key}}" + }, + "resourceTags_4": { + "value": {} + }, + "infrastructure_4": { + "value": "{{control.spec.infrastructure}}" + }, + "dockerRegistryCredential_4": { + "value": "{{control.spec.credentials.dockerRegistry}}" + }, + "dockerImagePullPolicy_4": { + "value": "{{control.spec.docker.imagePullPolicy}}" + }, + "dockerImageTag_4": { + "value": "{{control.spec.docker.imageTag}}" + }, + "dockerRegistry_4": { + "value": "{{control.spec.docker.registry}}" + }, + "dockerRepository_4": { + "value": "{{control.spec.docker.repository}}" + }, + "backupsStorageClass_4": { + {%- if control.spec.storage.backups %} + "value": "{{control.spec.storage.backups.className}}" + {% else %} + "value": "" + {% endif %} + }, + "backupsStorageSize_4": { + {%- if control.spec.storage.backups %} + "value": "{{control.spec.storage.backups.size}}" + {% else %} + "value": "" + {% endif %} + }, + "backupsAccessMode_4": { + {%- if control.spec.storage.backups %} + "value": "{{control.spec.storage.backups.accessMode}}" + {% else %} + "value": "" + {% endif %} + }, + "dataStorageClass_4": { + "value": "{{control.spec.storage.data.className}}" + }, + "dataStorageSize_4": { + "value": "{{control.spec.storage.data.size}}" + }, + "logsStorageClass_4": { + "value": "{{control.spec.storage.logs.className}}" + }, + "logsStorageSize_4": { + "value": "{{control.spec.storage.logs.size}}" + }, + "serviceType_4": { + "value": "{{control.spec.services[0].serviceType}}" + }, + "controllerPort_4": { + "value": {{control.spec.services[0].port}} + }, + "subscription_4": { + "value": "{{control.spec.settings.azure.subscription}}" + }, + "resourceGroup_4": { + "value": "{{control.spec.settings.azure.resourceGroup}}" + }, + "location_4": { + "value": "{{control.spec.settings.azure.location}}" + }, + "resourceName_4": { + "value": "{{control.spec.settings.controller.displayName}}" + }, + "resourceSyncApiVersion": { + "value": "2021-08-31-preview" + }, + "resourceSyncRuleName": { + "value": "defaultResourceSyncRule" + }, + "resourceSyncTargetResourceGroup": { + "value": "/subscriptions/{{control.spec.settings.azure.subscription}}/resourceGroups/{{control.spec.settings.azure.resourceGroup}}" + }, + "resourceSyncRulePriority": { + "value": 100 + }, + "resourceSyncMatchLabels": { + "value": { + "management.azure.com/provider-name": "Microsoft.AzureArcData" + } + } + }, + "template": { + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "imagePullPolicy": { + "type": "string" + }, + "parentResource": { + "type": "string" + }, + "resourceName": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "releaseTrain": { + "type": "string" + }, + "version": { + "type": "string" + }, + "imageRegistry": { + "type": "string" + }, + "imageVersion": { + "type": "string" + }, + "imageUsername": { + "type": "string" + }, + "imagePassword": { + "type": "secureString" + }, + "apiVersion": { + "type": "string" + }, + "roleNameGuid_1": { + "type": "string" + }, + "roleDefinitionId_1": { + "type": "string" + }, + "resourceName_1": { + "type": "string" + }, + "apiVersion_1": { + "type": "string" + }, + "roleNameGuid_2": { + "type": "string" + }, + "roleDefinitionId_2": { + "type": "string" + }, + "resourceName_2": { + "type": "string" + }, + "apiVersion_2": { + "type": "string" + }, + "resourceName_3": { + "type": "string" + }, + "customLocationId_3": { + "type": "string" + }, + "location_3": { + "type": "string" + }, + "hostResourceId_3": { + "type": "string" + }, + "namespace_3": { + "type": "string" + }, + "clusterExtensionIds_3": { + "type": "array" + }, + "apiVersion_3": { + "type": "string" + }, + "namespace_4": { + "type": "string" + }, + "connectionMode_4": { + "type": "string" + }, + "controllerName_4": { + "type": "string" + }, + "metricsAndLogsDashboardUsername_4": { + "type": "string" + }, + "metricsAndLogsDashboardPassword_4": { + "type": "secureString" + }, + "customLocationId_4": { + "type": "string" + }, + "metricsAutoUploadSelected_4": { + "type": "string" + }, + "logsAutoUploadSelected_4": { + "type": "string" + }, + "logAnalyticsWorkspaceId_4": { + "type": "String" + }, + "logAnalyticsPrimaryKey_4": { + "type": "secureString" + }, + "resourceTags_4": { + "type": "object" + }, + "infrastructure_4": { + "type": "string" + }, + "dockerRegistryCredential_4": { + "type": "secureString" + }, + "dockerImagePullPolicy_4": { + "type": "string" + }, + "dockerImageTag_4": { + "type": "string" + }, + "dockerRegistry_4": { + "type": "string" + }, + "dockerRepository_4": { + "type": "string" + }, + "backupsStorageClass_4": { + "type": "string" + }, + "backupsStorageSize_4": { + "type": "string" + }, + "backupsAccessMode_4": { + "type": "string" + }, + "dataStorageClass_4": { + "type": "string" + }, + "dataStorageSize_4": { + "type": "string" + }, + "logsStorageClass_4": { + "type": "string" + }, + "logsStorageSize_4": { + "type": "string" + }, + "serviceType_4": { + "type": "string" + }, + "controllerPort_4": { + "type": "int" + }, + "subscription_4": { + "type": "string" + }, + "resourceGroup_4": { + "type": "string" + }, + "location_4": { + "type": "string" + }, + "resourceName_4": { + "type": "string" + }, + "apiVersion_4": { + "type": "string" + }, + "resourceSyncApiVersion": { + "type": "string" + }, + "resourceSyncRuleName": { + "type": "string" + }, + "resourceSyncTargetResourceGroup": { + "type": "string" + }, + "resourceSyncRulePriority": { + "type": "int" + }, + "resourceSyncMatchLabels": { + "type": "object" + } + }, + "functions": [], + "variables": {}, + "resources": [ + {% for resource in resources %} + {% set template = resource.tmpl %} {% include template %} + {%- if not loop.last %} + , + {% endif %} + {% endfor %} + ], + "outputs": {} + }, + "validationLevel": "Template" + }, + "tags": { + "marketplaceItemId": "Microsoft.DataController" + } +} \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/custom-locations.tmpl b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/custom-locations.tmpl new file mode 100644 index 00000000000..f884d51e341 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/custom-locations.tmpl @@ -0,0 +1,20 @@ +{ + "name": "[parameters('resourceName_3')]", + "location": "[parameters('location_3')]", + "type": "Microsoft.ExtendedLocation/customLocations", + "properties": { + "hostType": "Kubernetes", + "hostResourceId": "[parameters('hostResourceId_3')]", + "namespace": "[parameters('namespace_3')]", + "displayName": "", + "clusterExtensionIds": "[parameters('clusterExtensionIds_3')]", + "authentication": {} + }, + "apiVersion": "[parameters('apiVersion_3')]" + {%- if resource.dependsOn %} + , + "dependsOn": [ + "[parameters('{{resource.dependsOn}}')]" + ] + {% endif %} +} \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/datacontroller.tmpl b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/datacontroller.tmpl new file mode 100644 index 00000000000..d38d747bb11 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/datacontroller.tmpl @@ -0,0 +1,117 @@ +{ + "extendedLocation": { + "name": "[parameters('customLocationId_4')]", + "type": "CustomLocation" + }, + "location": "[parameters('location_4')]", + "tags": "[parameters('resourceTags_4')]", + "properties": { + {%- if credentials.metrics_username and credentials.metrics_password %} + "metricsDashboardCredential": { + "username": "[parameters('metricsAndLogsDashboardUsername_4')]", + "password": "[parameters('metricsAndLogsDashboardPassword_4')]" + }, + {% else %} + "metricsDashboardCredential": {}, + {% endif %} + {%- if credentials.metrics_username and credentials.metrics_password %} + "logsDashboardCredential": { + "username": "[parameters('metricsAndLogsDashboardUsername_4')]", + "password": "[parameters('metricsAndLogsDashboardPassword_4')]" + }, + {% else %} + "logsDashboardCredential": {}, + {% endif %} + {%- if log_analytics.primary_key and log_analytics.workspace_id %} + "logAnalyticsWorkspaceConfig": { + "workspaceId": "[parameters('logAnalyticsWorkspaceId_4')]", + "primaryKey": "[parameters('logAnalyticsPrimaryKey_4')]" + }, + {% else %} + "logAnalyticsWorkspaceConfig": {}, + {% endif %} + "infrastructure": "[parameters('infrastructure_4')]", + "k8sRaw": { + "kind": "DataController", + "spec": { + "credentials": { + "dockerRegistry": "[parameters('dockerRegistryCredential_4')]", + "serviceAccount": "sa-arc-controller" + }, + "security": { + "allowDumps": {{control.spec.security.allowDumps|jsonify}}, + "allowNodeMetricsCollection": {{control.spec.security.allowNodeMetricsCollection|jsonify}}, + "allowPodMetricsCollection": {{control.spec.security.allowPodMetricsCollection|jsonify}} + }, + "services": [ + { + "name": "controller", + "port": "[parameters('controllerPort_4')]", + "serviceType": "[parameters('serviceType_4')]" + } + ], + "settings": { + "ElasticSearch": { + "vm.max_map_count": "-1" + }, + "azure": { + "autoUploadMetrics": "[parameters('metricsAutoUploadSelected_4')]", + "autoUploadLogs": "[parameters('logsAutoUploadSelected_4')]", + "subscription": "[parameters('subscription_4')]", + "resourceGroup": "[parameters('resourceGroup_4')]", + "location": "[parameters('location_4')]", + "connectionMode": "[parameters('connectionMode_4')]" + }, + "controller": { + "logs.rotation.days": "7", + "logs.rotation.size": "5000", + "displayName": "[parameters('controllerName_4')]" + } + }, + "storage": { + {%- if control.spec.storage.backups %} + "backups": { + "accessMode": "[parameters('backupsAccessMode_4')]", + "className": "[parameters('backupsStorageClass_4')]", + "size": "[parameters('backupsStorageSize_4')]" + }, + {% endif %} + "data": { + "accessMode": "ReadWriteOnce", + "className": "[parameters('dataStorageClass_4')]", + "size": "[parameters('dataStorageSize_4')]" + }, + "logs": { + "accessMode": "ReadWriteOnce", + "className": "[parameters('logsStorageClass_4')]", + "size": "[parameters('logsStorageSize_4')]" + } + }, + "infrastructure": "[parameters('infrastructure_4')]", + {%- if control.spec.resources %} + "resources": {{control.spec.resources|jsonify}}, + {% endif %} + "docker": { + "registry": "[parameters('dockerRegistry_4')]", + "repository": "[parameters('dockerRepository_4')]", + "imageTag": "[parameters('dockerImageTag_4')]", + "imagePullPolicy": "[parameters('dockerImagePullPolicy_4')]" + } + }, + "metadata": { + "namespace": "[parameters('namespace_4')]", + "name": "datacontroller" + }, + "apiVersion": "{{control.apiVersion}}" + } + }, + "apiVersion": "[parameters('apiVersion_4')]", + "type": "Microsoft.AzureArcData/dataControllers", + "name": "[parameters('resourceName_4')]" + {%- if resource.dependsOn %} + , + "dependsOn": [ + "[parameters('{{resource.dependsOn}}')]" + ] + {% endif %} +} diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/extensions.tmpl b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/extensions.tmpl new file mode 100644 index 00000000000..4a32065bdb8 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/extensions.tmpl @@ -0,0 +1,39 @@ +{ + "identity": { + "type": "SystemAssigned" + }, + "scope": "[parameters('parentResource')]", + "properties": { + "extensionType": "microsoft.arcdataservices", + "autoUpgradeMinorVersion": false, + "releaseTrain": "[parameters('releaseTrain')]", + "version": "[parameters('version')]", + "scope": { + "cluster": { + "releaseNamespace": "[parameters('namespace')]" + } + }, + "configurationSettings": { + {%- if is_least_privilege %} + "service-account-extension-install": "[concat('system:serviceaccount:', parameters('namespace'), ':sa-arc-webhook-job')]", + "service-account-extension-runtime": "[concat('system:serviceaccount:', parameters('namespace'), ':sa-arc-bootstrapper')]", + {% endif %} + "imageCredentials.username": "[parameters('imageUsername')]", + "imageCredentials.registry": "[parameters('imageRegistry')]", + "systemDefaultValues.image": "[parameters('imageVersion')]", + "systemDefaultValues.imagePullPolicy": "[parameters('imagePullPolicy')]" + }, + "configurationProtectedSettings": { + "imageCredentials.password": "[parameters('imagePassword')]" + } + }, + "apiVersion": "[parameters('apiVersion')]", + "type": "Microsoft.KubernetesConfiguration/extensions", + "name": "[parameters('resourceName')]" + {%- if resource.dependsOn %} + , + "dependsOn": [ + "[parameters('{{resource.dependsOn}}')]" + ] + {% endif %} +} \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/resource-hydration.tmpl b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/resource-hydration.tmpl new file mode 100644 index 00000000000..25832d48abb --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/resource-hydration.tmpl @@ -0,0 +1,19 @@ +{ + "type": "Microsoft.ExtendedLocation/customLocations/resourceSyncRules", + "apiVersion": "[parameters('resourceSyncApiVersion')]", + "name": "[concat(parameters('resourceName_3'), '/', parameters('resourceSyncRuleName'))]", + "location": "[parameters('location_3')]", + "properties": { + "targetResourceGroup": "[parameters('resourceSyncTargetResourceGroup')]", + "priority": "[parameters('resourceSyncRulePriority')]", + "selector": { + "matchLabels": "[parameters('resourceSyncMatchLabels')]" + } + } + {%- if resource.dependsOn %} + , + "dependsOn": [ + "[parameters('{{resource.dependsOn}}')]" + ] + {% endif %} +} diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/roles-assignments-1.tmpl b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/roles-assignments-1.tmpl new file mode 100644 index 00000000000..7b3864a9f33 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/roles-assignments-1.tmpl @@ -0,0 +1,16 @@ +{ + "type": "Microsoft.Authorization/roleAssignments", + "apiVersion": "[parameters('apiVersion_1')]", + "name": "[parameters('resourceName_1')]", + "properties": { + "roleDefinitionId": "[parameters('roleDefinitionId_1')]", + "principalId": "[reference(parameters('resourceName'), parameters('apiVersion'), 'Full').identity.principalId]", + "principalType": "ServicePrincipal" + } + {%- if resource.dependsOn %} + , + "dependsOn": [ + "[parameters('{{resource.dependsOn}}')]" + ] + {% endif %} +} \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/roles-assignments-2.tmpl b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/roles-assignments-2.tmpl new file mode 100644 index 00000000000..5a0c90239a4 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/roles-assignments-2.tmpl @@ -0,0 +1,16 @@ +{ + "type": "Microsoft.Authorization/roleAssignments", + "apiVersion": "[parameters('apiVersion_2')]", + "name": "[parameters('resourceName_2')]", + "properties": { + "roleDefinitionId": "[parameters('roleDefinitionId_2')]", + "principalId": "[reference(parameters('resourceName'), parameters('apiVersion'), 'Full').identity.principalId]", + "principalType": "ServicePrincipal" + } + {%- if resource.dependsOn %} + , + "dependsOn": [ + "[parameters('{{resource.dependsOn}}')]" + ] + {% endif %} +} \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/sqlmi-create-properties.json b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/sqlmi-create-properties.json new file mode 100644 index 00000000000..179b0d4b771 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/arm_sdk/templates/sqlmi-create-properties.json @@ -0,0 +1,125 @@ +{ + "properties": { + "licenseType": "LicenseIncluded", + "k8sRaw": { + "spec": { + "scheduling": { + "default": { + "resources": { + "requests": { + "cpu": "2", + "memory": "4Gi" + }, + "limits": { + "cpu": "4", + "memory": "8Gi" + } + } + } + }, + "replicas": 1, + "dev": false, + "services": { + "primary": { + "type": "", + "labels": {}, + "annotations": {} + }, + "readableSecondaries": { + "type": "", + "labels": {}, + "annotations": {} + } + }, + "storage": { + "data": { + "volumes": [ + { + "className": "", + "size": "5Gi", + "labels": {}, + "annotations": {} + } + ] + }, + "logs": { + "volumes": [ + { + "className": "", + "size": "5Gi", + "labels": {}, + "annotations": {} + } + ] + }, + "datalogs": { + "volumes": [ + { + "className": "", + "size": "5Gi", + "labels": {}, + "annotations": {} + } + ] + }, + "backups": { + "volumes": [ + { + "className": "", + "size": "5Gi", + "labels": {}, + "annotations": {} + } + ] + }, + "haOrchestratorLogs": { + "volumes": [ + { + "className": "", + "size": "5Gi", + "labels": {}, + "annotations": {} + } + ] + } + }, + "backup": { + "retentionPeriodInDays": "7" + }, + "security": { + "adminLoginSecret": "", + "serviceCertificateSecret": "" + }, + "metadata": { + "namespace": "", + "labels": "", + "annotations": "" + }, + "others": { + "noexternalEndpoint": true, + "certificatePublicKeyFile": "", + "certificatePrivateKeyFile": "" + }, + "settings": { + "collation": "SQL_Latin1_General_CP1_CI_AS", + "language": { + "lcid": "1033" + }, + "sqlagent": { + "enabled": "false" + }, + "timezone": "UTC", + "traceflags": [] + }, + "preferredPrimaryReplica":"", + "primary_replica_failover_interval":"", + "dryRun": false + } + } + }, + "sku": { + "name": "vCore", + "tier": "GeneralPurpose" + }, + "tags": {} + } \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/HttpCodes.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/HttpCodes.py new file mode 100644 index 00000000000..4daded9bdb6 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/HttpCodes.py @@ -0,0 +1,69 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------- + + +class HTTPCodes(object): + """ + Defines the HTTP status codes. + """ + + # -- Success -- + @property + def ok(self): + return 200 + + @property + def created(self): + return 201 + + @property + def no_content(self): + return 204 + + # -- Client Errors -- + @property + def bad_request(self): + return 400 + + @property + def unauthorized(self): + return 401 + + @property + def forbidden(self): + return 403 + + @property + def not_found(self): + return 404 + + @property + def method_not_allowed(self): + return 405 + + @property + def request_timeout(self): + return 408 + + @property + def conflict(self): + return 409 + + # -- Server Errors -- + @property + def bad_gateway(self): + return 502 + + @property + def service_unavailable(self): + return 503 + + @property + def gateway_timeout(self): + return 504 + + +http_status_codes = HTTPCodes() diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/__init__.py new file mode 100644 index 00000000000..618745d3a20 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/__init__.py @@ -0,0 +1,18 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@6.2.12) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + + +try: + from ._patch import __all__ as _patch_all + from ._patch import * # pylint: disable=unused-wildcard-import +except ImportError: + _patch_all = [] +from ._patch import patch_sdk as _patch_sdk + +__all__ = [] +__all__.extend([p for p in _patch_all if p not in __all__]) + +_patch_sdk() diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/_patch.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/_patch.py new file mode 100644 index 00000000000..abf561200a3 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/_patch.py @@ -0,0 +1,22 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +"""Customize generated code here. + +Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize +""" +from typing import List + +__all__: List[str] = ( + [] +) # Add all objects you want publicly available to users at this package level + + +def patch_sdk(): + """Do not remove from this file. + + `patch_sdk` is a last resort escape hatch that allows you to do customizations + you can't accomplish using the techniques described in + https://aka.ms/azsdk/python/dpcodegen/python/customize + """ diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/_serialization.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/_serialization.py new file mode 100644 index 00000000000..835589c6078 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/_serialization.py @@ -0,0 +1,2186 @@ +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + +# pylint: skip-file +# pyright: reportUnnecessaryTypeIgnoreComment=false + +from base64 import b64decode, b64encode +import calendar +import datetime +import decimal +import email +from enum import Enum +import json +import logging +import re +import sys +import codecs +from typing import Optional, Union, AnyStr, IO, Mapping + +try: + from urllib import quote # type: ignore +except ImportError: + from urllib.parse import quote +import xml.etree.ElementTree as ET + +import isodate # type: ignore + +from typing import Dict, Any, cast + +from azure.core.exceptions import ( + DeserializationError, + SerializationError, + raise_with_traceback, +) + +_BOM = codecs.BOM_UTF8.decode(encoding="utf-8") + + +class RawDeserializer: + + # Accept "text" because we're open minded people... + JSON_REGEXP = re.compile(r"^(application|text)/([a-z+.]+\+)?json$") + + # Name used in context + CONTEXT_NAME = "deserialized_data" + + @classmethod + def deserialize_from_text( + cls, + data: Optional[Union[AnyStr, IO]], + content_type: Optional[str] = None, + ) -> Any: + """Decode data according to content-type. + + Accept a stream of data as well, but will be load at once in memory for now. + + If no content-type, will return the string version (not bytes, not stream) + + :param data: Input, could be bytes or stream (will be decoded with UTF8) or text + :type data: str or bytes or IO + :param str content_type: The content type. + """ + if hasattr(data, "read"): + # Assume a stream + data = cast(IO, data).read() + + if isinstance(data, bytes): + data_as_str = data.decode(encoding="utf-8-sig") + else: + # Explain to mypy the correct type. + data_as_str = cast(str, data) + + # Remove Byte Order Mark if present in string + data_as_str = data_as_str.lstrip(_BOM) + + if content_type is None: + return data + + if cls.JSON_REGEXP.match(content_type): + try: + return json.loads(data_as_str) + except ValueError as err: + raise DeserializationError( + "JSON is invalid: {}".format(err), err + ) + elif "xml" in (content_type or []): + try: + + try: + if isinstance(data, unicode): # type: ignore + # If I'm Python 2.7 and unicode XML will scream if I try a "fromstring" on unicode string + data_as_str = data_as_str.encode(encoding="utf-8") # type: ignore + except NameError: + pass + + return ET.fromstring(data_as_str) # nosec + except ET.ParseError: + # It might be because the server has an issue, and returned JSON with + # content-type XML.... + # So let's try a JSON load, and if it's still broken + # let's flow the initial exception + def _json_attemp(data): + try: + return True, json.loads(data) + except ValueError: + return False, None # Don't care about this one + + success, json_result = _json_attemp(data) + if success: + return json_result + # If i'm here, it's not JSON, it's not XML, let's scream + # and raise the last context in this block (the XML exception) + # The function hack is because Py2.7 messes up with exception + # context otherwise. + _LOGGER.critical("Wasn't XML not JSON, failing") + raise_with_traceback(DeserializationError, "XML is invalid") + raise DeserializationError( + "Cannot deserialize content-type: {}".format(content_type) + ) + + @classmethod + def deserialize_from_http_generics( + cls, body_bytes: Optional[Union[AnyStr, IO]], headers: Mapping + ) -> Any: + """Deserialize from HTTP response. + + Use bytes and headers to NOT use any requests/aiohttp or whatever + specific implementation. + Headers will tested for "content-type" + """ + # Try to use content-type from headers if available + content_type = None + if "content-type" in headers: + content_type = headers["content-type"].split(";")[0].strip().lower() + # Ouch, this server did not declare what it sent... + # Let's guess it's JSON... + # Also, since Autorest was considering that an empty body was a valid JSON, + # need that test as well.... + else: + content_type = "application/json" + + if body_bytes: + return cls.deserialize_from_text(body_bytes, content_type) + return None + + +try: + basestring # type: ignore + unicode_str = unicode # type: ignore +except NameError: + basestring = str + unicode_str = str + +_LOGGER = logging.getLogger(__name__) + +try: + _long_type = long # type: ignore +except NameError: + _long_type = int + + +class UTC(datetime.tzinfo): + """Time Zone info for handling UTC""" + + def utcoffset(self, dt): + """UTF offset for UTC is 0.""" + return datetime.timedelta(0) + + def tzname(self, dt): + """Timestamp representation.""" + return "Z" + + def dst(self, dt): + """No daylight saving for UTC.""" + return datetime.timedelta(hours=1) + + +try: + from datetime import timezone as _FixedOffset # type: ignore +except ImportError: # Python 2.7 + + class _FixedOffset(datetime.tzinfo): # type: ignore + """Fixed offset in minutes east from UTC. + Copy/pasted from Python doc + :param datetime.timedelta offset: offset in timedelta format + """ + + def __init__(self, offset): + self.__offset = offset + + def utcoffset(self, dt): + return self.__offset + + def tzname(self, dt): + return str(self.__offset.total_seconds() / 3600) + + def __repr__(self): + return "".format(self.tzname(None)) + + def dst(self, dt): + return datetime.timedelta(0) + + def __getinitargs__(self): + return (self.__offset,) + + +try: + from datetime import timezone + + TZ_UTC = timezone.utc +except ImportError: + TZ_UTC = UTC() # type: ignore + +_FLATTEN = re.compile(r"(? y, + "minimum": lambda x, y: x < y, + "maximum": lambda x, y: x > y, + "minimum_ex": lambda x, y: x <= y, + "maximum_ex": lambda x, y: x >= y, + "min_items": lambda x, y: len(x) < y, + "max_items": lambda x, y: len(x) > y, + "pattern": lambda x, y: not re.match(y, x, re.UNICODE), + "unique": lambda x, y: len(x) != len(set(x)), + "multiple": lambda x, y: x % y != 0, + } + + def __init__(self, classes=None): + self.serialize_type = { + "iso-8601": Serializer.serialize_iso, + "rfc-1123": Serializer.serialize_rfc, + "unix-time": Serializer.serialize_unix, + "duration": Serializer.serialize_duration, + "date": Serializer.serialize_date, + "time": Serializer.serialize_time, + "decimal": Serializer.serialize_decimal, + "long": Serializer.serialize_long, + "bytearray": Serializer.serialize_bytearray, + "base64": Serializer.serialize_base64, + "object": self.serialize_object, + "[]": self.serialize_iter, + "{}": self.serialize_dict, + } + self.dependencies = dict(classes) if classes else {} + self.key_transformer = full_restapi_key_transformer + self.client_side_validation = True + + def _serialize(self, target_obj, data_type=None, **kwargs): + """Serialize data into a string according to type. + + :param target_obj: The data to be serialized. + :param str data_type: The type to be serialized from. + :rtype: str, dict + :raises: SerializationError if serialization fails. + """ + key_transformer = kwargs.get("key_transformer", self.key_transformer) + keep_readonly = kwargs.get("keep_readonly", False) + if target_obj is None: + return None + + attr_name = None + class_name = target_obj.__class__.__name__ + + if data_type: + return self.serialize_data(target_obj, data_type, **kwargs) + + if not hasattr(target_obj, "_attribute_map"): + data_type = type(target_obj).__name__ + if data_type in self.basic_types.values(): + return self.serialize_data(target_obj, data_type, **kwargs) + + # Force "is_xml" kwargs if we detect a XML model + try: + is_xml_model_serialization = kwargs["is_xml"] + except KeyError: + is_xml_model_serialization = kwargs.setdefault( + "is_xml", target_obj.is_xml_model() + ) + + serialized = {} + if is_xml_model_serialization: + serialized = target_obj._create_xml_node() + try: + attributes = target_obj._attribute_map + for attr, attr_desc in attributes.items(): + attr_name = attr + if not keep_readonly and target_obj._validation.get( + attr_name, {} + ).get("readonly", False): + continue + + if ( + attr_name == "additional_properties" + and attr_desc["key"] == "" + ): + if target_obj.additional_properties is not None: + serialized.update(target_obj.additional_properties) + continue + try: + + orig_attr = getattr(target_obj, attr) + if is_xml_model_serialization: + pass # Don't provide "transformer" for XML for now. Keep "orig_attr" + else: # JSON + keys, orig_attr = key_transformer( + attr, attr_desc.copy(), orig_attr + ) + keys = keys if isinstance(keys, list) else [keys] + + kwargs["serialization_ctxt"] = attr_desc + new_attr = self.serialize_data( + orig_attr, attr_desc["type"], **kwargs + ) + + if is_xml_model_serialization: + xml_desc = attr_desc.get("xml", {}) + xml_name = xml_desc.get("name", attr_desc["key"]) + xml_prefix = xml_desc.get("prefix", None) + xml_ns = xml_desc.get("ns", None) + if xml_desc.get("attr", False): + if xml_ns: + ET.register_namespace(xml_prefix, xml_ns) + xml_name = "{}{}".format(xml_ns, xml_name) + serialized.set(xml_name, new_attr) # type: ignore + continue + if xml_desc.get("text", False): + serialized.text = new_attr # type: ignore + continue + if isinstance(new_attr, list): + serialized.extend(new_attr) # type: ignore + elif isinstance(new_attr, ET.Element): + # If the down XML has no XML/Name, we MUST replace the tag with the local tag. But keeping the namespaces. + if "name" not in getattr(orig_attr, "_xml_map", {}): + splitted_tag = new_attr.tag.split("}") + if len(splitted_tag) == 2: # Namespace + new_attr.tag = "}".join( + [splitted_tag[0], xml_name] + ) + else: + new_attr.tag = xml_name + serialized.append(new_attr) # type: ignore + else: # That's a basic type + # Integrate namespace if necessary + local_node = _create_xml_node( + xml_name, xml_prefix, xml_ns + ) + local_node.text = unicode_str(new_attr) + serialized.append(local_node) # type: ignore + else: # JSON + for k in reversed(keys): # type: ignore + unflattened = {k: new_attr} + new_attr = unflattened + + _new_attr = new_attr + _serialized = serialized + for k in keys: # type: ignore + if k not in _serialized: + _serialized.update(_new_attr) # type: ignore + _new_attr = _new_attr[k] # type: ignore + _serialized = _serialized[k] + except ValueError: + continue + + except (AttributeError, KeyError, TypeError) as err: + msg = "Attribute {} in object {} cannot be serialized.\n{}".format( + attr_name, class_name, str(target_obj) + ) + raise_with_traceback(SerializationError, msg, err) + else: + return serialized + + def body(self, data, data_type, **kwargs): + """Serialize data intended for a request body. + + :param data: The data to be serialized. + :param str data_type: The type to be serialized from. + :rtype: dict + :raises: SerializationError if serialization fails. + :raises: ValueError if data is None + """ + + # Just in case this is a dict + internal_data_type = data_type.strip("[]{}") + internal_data_type = self.dependencies.get(internal_data_type, None) + try: + is_xml_model_serialization = kwargs["is_xml"] + except KeyError: + if internal_data_type and issubclass(internal_data_type, Model): + is_xml_model_serialization = kwargs.setdefault( + "is_xml", internal_data_type.is_xml_model() + ) + else: + is_xml_model_serialization = False + if internal_data_type and not isinstance(internal_data_type, Enum): + try: + deserializer = Deserializer(self.dependencies) + # Since it's on serialization, it's almost sure that format is not JSON REST + # We're not able to deal with additional properties for now. + deserializer.additional_properties_detection = False + if is_xml_model_serialization: + deserializer.key_extractors = [ # type: ignore + attribute_key_case_insensitive_extractor, + ] + else: + deserializer.key_extractors = [ + rest_key_case_insensitive_extractor, + attribute_key_case_insensitive_extractor, + last_rest_key_case_insensitive_extractor, + ] + data = deserializer._deserialize(data_type, data) + except DeserializationError as err: + raise_with_traceback( + SerializationError, + "Unable to build a model: " + str(err), + err, + ) + + return self._serialize(data, data_type, **kwargs) + + def url(self, name, data, data_type, **kwargs): + """Serialize data intended for a URL path. + + :param data: The data to be serialized. + :param str data_type: The type to be serialized from. + :rtype: str + :raises: TypeError if serialization fails. + :raises: ValueError if data is None + """ + try: + output = self.serialize_data(data, data_type, **kwargs) + if data_type == "bool": + output = json.dumps(output) + + if kwargs.get("skip_quote") is True: + output = str(output) + else: + output = quote(str(output), safe="") + except SerializationError: + raise TypeError("{} must be type {}.".format(name, data_type)) + else: + return output + + def query(self, name, data, data_type, **kwargs): + """Serialize data intended for a URL query. + + :param data: The data to be serialized. + :param str data_type: The type to be serialized from. + :rtype: str + :raises: TypeError if serialization fails. + :raises: ValueError if data is None + """ + try: + # Treat the list aside, since we don't want to encode the div separator + if data_type.startswith("["): + internal_data_type = data_type[1:-1] + data = [ + ( + self.serialize_data(d, internal_data_type, **kwargs) + if d is not None + else "" + ) + for d in data + ] + if not kwargs.get("skip_quote", False): + data = [quote(str(d), safe="") for d in data] + return str( + self.serialize_iter(data, internal_data_type, **kwargs) + ) + + # Not a list, regular serialization + output = self.serialize_data(data, data_type, **kwargs) + if data_type == "bool": + output = json.dumps(output) + if kwargs.get("skip_quote") is True: + output = str(output) + else: + output = quote(str(output), safe="") + except SerializationError: + raise TypeError("{} must be type {}.".format(name, data_type)) + else: + return str(output) + + def header(self, name, data, data_type, **kwargs): + """Serialize data intended for a request header. + + :param data: The data to be serialized. + :param str data_type: The type to be serialized from. + :rtype: str + :raises: TypeError if serialization fails. + :raises: ValueError if data is None + """ + try: + if data_type in ["[str]"]: + data = ["" if d is None else d for d in data] + + output = self.serialize_data(data, data_type, **kwargs) + if data_type == "bool": + output = json.dumps(output) + except SerializationError: + raise TypeError("{} must be type {}.".format(name, data_type)) + else: + return str(output) + + def serialize_data(self, data, data_type, **kwargs): + """Serialize generic data according to supplied data type. + + :param data: The data to be serialized. + :param str data_type: The type to be serialized from. + :param bool required: Whether it's essential that the data not be + empty or None + :raises: AttributeError if required data is None. + :raises: ValueError if data is None + :raises: SerializationError if serialization fails. + """ + if data is None: + raise ValueError("No value for given attribute") + + try: + if data_type in self.basic_types.values(): + return self.serialize_basic(data, data_type, **kwargs) + + elif data_type in self.serialize_type: + return self.serialize_type[data_type](data, **kwargs) + + # If dependencies is empty, try with current data class + # It has to be a subclass of Enum anyway + enum_type = self.dependencies.get(data_type, data.__class__) + if issubclass(enum_type, Enum): + return Serializer.serialize_enum(data, enum_obj=enum_type) + + iter_type = data_type[0] + data_type[-1] + if iter_type in self.serialize_type: + return self.serialize_type[iter_type]( + data, data_type[1:-1], **kwargs + ) + + except (ValueError, TypeError) as err: + msg = "Unable to serialize value: {!r} as type: {!r}." + raise_with_traceback( + SerializationError, msg.format(data, data_type), err + ) + else: + return self._serialize(data, **kwargs) + + @classmethod + def _get_custom_serializers(cls, data_type, **kwargs): + custom_serializer = kwargs.get("basic_types_serializers", {}).get( + data_type + ) + if custom_serializer: + return custom_serializer + if kwargs.get("is_xml", False): + return cls._xml_basic_types_serializers.get(data_type) + + @classmethod + def serialize_basic(cls, data, data_type, **kwargs): + """Serialize basic builting data type. + Serializes objects to str, int, float or bool. + + Possible kwargs: + - basic_types_serializers dict[str, callable] : If set, use the callable as serializer + - is_xml bool : If set, use xml_basic_types_serializers + + :param data: Object to be serialized. + :param str data_type: Type of object in the iterable. + """ + custom_serializer = cls._get_custom_serializers(data_type, **kwargs) + if custom_serializer: + return custom_serializer(data) + if data_type == "str": + return cls.serialize_unicode(data) + return eval(data_type)(data) # nosec + + @classmethod + def serialize_unicode(cls, data): + """Special handling for serializing unicode strings in Py2. + Encode to UTF-8 if unicode, otherwise handle as a str. + + :param data: Object to be serialized. + :rtype: str + """ + try: # If I received an enum, return its value + return data.value + except AttributeError: + pass + + try: + if isinstance(data, unicode): # type: ignore + # Don't change it, JSON and XML ElementTree are totally able + # to serialize correctly u'' strings + return data + except NameError: + return str(data) + else: + return str(data) + + def serialize_iter(self, data, iter_type, div=None, **kwargs): + """Serialize iterable. + + Supported kwargs: + - serialization_ctxt dict : The current entry of _attribute_map, or same format. + serialization_ctxt['type'] should be same as data_type. + - is_xml bool : If set, serialize as XML + + :param list attr: Object to be serialized. + :param str iter_type: Type of object in the iterable. + :param bool required: Whether the objects in the iterable must + not be None or empty. + :param str div: If set, this str will be used to combine the elements + in the iterable into a combined string. Default is 'None'. + :rtype: list, str + """ + if isinstance(data, str): + raise SerializationError("Refuse str type as a valid iter type.") + + serialization_ctxt = kwargs.get("serialization_ctxt", {}) + is_xml = kwargs.get("is_xml", False) + + serialized = [] + for d in data: + try: + serialized.append(self.serialize_data(d, iter_type, **kwargs)) + except ValueError: + serialized.append(None) + + if div: + serialized = ["" if s is None else str(s) for s in serialized] + serialized = div.join(serialized) + + if "xml" in serialization_ctxt or is_xml: + # XML serialization is more complicated + xml_desc = serialization_ctxt.get("xml", {}) + xml_name = xml_desc.get("name") + if not xml_name: + xml_name = serialization_ctxt["key"] + + # Create a wrap node if necessary (use the fact that Element and list have "append") + is_wrapped = xml_desc.get("wrapped", False) + node_name = xml_desc.get("itemsName", xml_name) + if is_wrapped: + final_result = _create_xml_node( + xml_name, + xml_desc.get("prefix", None), + xml_desc.get("ns", None), + ) + else: + final_result = [] + # All list elements to "local_node" + for el in serialized: + if isinstance(el, ET.Element): + el_node = el + else: + el_node = _create_xml_node( + node_name, + xml_desc.get("prefix", None), + xml_desc.get("ns", None), + ) + if el is not None: # Otherwise it writes "None" :-p + el_node.text = str(el) + final_result.append(el_node) + return final_result + return serialized + + def serialize_dict(self, attr, dict_type, **kwargs): + """Serialize a dictionary of objects. + + :param dict attr: Object to be serialized. + :param str dict_type: Type of object in the dictionary. + :param bool required: Whether the objects in the dictionary must + not be None or empty. + :rtype: dict + """ + serialization_ctxt = kwargs.get("serialization_ctxt", {}) + serialized = {} + for key, value in attr.items(): + try: + serialized[self.serialize_unicode(key)] = self.serialize_data( + value, dict_type, **kwargs + ) + except ValueError: + serialized[self.serialize_unicode(key)] = None + + if "xml" in serialization_ctxt: + # XML serialization is more complicated + xml_desc = serialization_ctxt["xml"] + xml_name = xml_desc["name"] + + final_result = _create_xml_node( + xml_name, xml_desc.get("prefix", None), xml_desc.get("ns", None) + ) + for key, value in serialized.items(): + ET.SubElement(final_result, key).text = value + return final_result + + return serialized + + def serialize_object(self, attr, **kwargs): + """Serialize a generic object. + This will be handled as a dictionary. If object passed in is not + a basic type (str, int, float, dict, list) it will simply be + cast to str. + + :param dict attr: Object to be serialized. + :rtype: dict or str + """ + if attr is None: + return None + if isinstance(attr, ET.Element): + return attr + obj_type = type(attr) + if obj_type in self.basic_types: + return self.serialize_basic( + attr, self.basic_types[obj_type], **kwargs + ) + if obj_type is _long_type: + return self.serialize_long(attr) + if obj_type is unicode_str: + return self.serialize_unicode(attr) + if obj_type is datetime.datetime: + return self.serialize_iso(attr) + if obj_type is datetime.date: + return self.serialize_date(attr) + if obj_type is datetime.time: + return self.serialize_time(attr) + if obj_type is datetime.timedelta: + return self.serialize_duration(attr) + if obj_type is decimal.Decimal: + return self.serialize_decimal(attr) + + # If it's a model or I know this dependency, serialize as a Model + elif obj_type in self.dependencies.values() or isinstance(attr, Model): + return self._serialize(attr) + + if obj_type == dict: + serialized = {} + for key, value in attr.items(): + try: + serialized[self.serialize_unicode(key)] = ( + self.serialize_object(value, **kwargs) + ) + except ValueError: + serialized[self.serialize_unicode(key)] = None + return serialized + + if obj_type == list: + serialized = [] + for obj in attr: + try: + serialized.append(self.serialize_object(obj, **kwargs)) + except ValueError: + pass + return serialized + return str(attr) + + @staticmethod + def serialize_enum(attr, enum_obj=None): + try: + result = attr.value + except AttributeError: + result = attr + try: + enum_obj(result) # type: ignore + return result + except ValueError: + for enum_value in enum_obj: # type: ignore + if enum_value.value.lower() == str(attr).lower(): + return enum_value.value + error = "{!r} is not valid value for enum {!r}" + raise SerializationError(error.format(attr, enum_obj)) + + @staticmethod + def serialize_bytearray(attr, **kwargs): + """Serialize bytearray into base-64 string. + + :param attr: Object to be serialized. + :rtype: str + """ + return b64encode(attr).decode() + + @staticmethod + def serialize_base64(attr, **kwargs): + """Serialize str into base-64 string. + + :param attr: Object to be serialized. + :rtype: str + """ + encoded = b64encode(attr).decode("ascii") + return encoded.strip("=").replace("+", "-").replace("/", "_") + + @staticmethod + def serialize_decimal(attr, **kwargs): + """Serialize Decimal object to float. + + :param attr: Object to be serialized. + :rtype: float + """ + return float(attr) + + @staticmethod + def serialize_long(attr, **kwargs): + """Serialize long (Py2) or int (Py3). + + :param attr: Object to be serialized. + :rtype: int/long + """ + return _long_type(attr) + + @staticmethod + def serialize_date(attr, **kwargs): + """Serialize Date object into ISO-8601 formatted string. + + :param Date attr: Object to be serialized. + :rtype: str + """ + if isinstance(attr, str): + attr = isodate.parse_date(attr) + t = "{:04}-{:02}-{:02}".format(attr.year, attr.month, attr.day) + return t + + @staticmethod + def serialize_time(attr, **kwargs): + """Serialize Time object into ISO-8601 formatted string. + + :param datetime.time attr: Object to be serialized. + :rtype: str + """ + if isinstance(attr, str): + attr = isodate.parse_time(attr) + t = "{:02}:{:02}:{:02}".format(attr.hour, attr.minute, attr.second) + if attr.microsecond: + t += ".{:02}".format(attr.microsecond) + return t + + @staticmethod + def serialize_duration(attr, **kwargs): + """Serialize TimeDelta object into ISO-8601 formatted string. + + :param TimeDelta attr: Object to be serialized. + :rtype: str + """ + if isinstance(attr, str): + attr = isodate.parse_duration(attr) + return isodate.duration_isoformat(attr) + + @staticmethod + def serialize_rfc(attr, **kwargs): + """Serialize Datetime object into RFC-1123 formatted string. + + :param Datetime attr: Object to be serialized. + :rtype: str + :raises: TypeError if format invalid. + """ + try: + if not attr.tzinfo: + _LOGGER.warning( + "Datetime with no tzinfo will be considered UTC." + ) + utc = attr.utctimetuple() + except AttributeError: + raise TypeError("RFC1123 object must be valid Datetime object.") + + return "{}, {:02} {} {:04} {:02}:{:02}:{:02} GMT".format( + Serializer.days[utc.tm_wday], + utc.tm_mday, + Serializer.months[utc.tm_mon], + utc.tm_year, + utc.tm_hour, + utc.tm_min, + utc.tm_sec, + ) + + @staticmethod + def serialize_iso(attr, **kwargs): + """Serialize Datetime object into ISO-8601 formatted string. + + :param Datetime attr: Object to be serialized. + :rtype: str + :raises: SerializationError if format invalid. + """ + if isinstance(attr, str): + attr = isodate.parse_datetime(attr) + try: + if not attr.tzinfo: + _LOGGER.warning( + "Datetime with no tzinfo will be considered UTC." + ) + utc = attr.utctimetuple() + if utc.tm_year > 9999 or utc.tm_year < 1: + raise OverflowError("Hit max or min date") + + microseconds = ( + str(attr.microsecond).rjust(6, "0").rstrip("0").ljust(3, "0") + ) + if microseconds: + microseconds = "." + microseconds + date = "{:04}-{:02}-{:02}T{:02}:{:02}:{:02}".format( + utc.tm_year, + utc.tm_mon, + utc.tm_mday, + utc.tm_hour, + utc.tm_min, + utc.tm_sec, + ) + return date + microseconds + "Z" + except (ValueError, OverflowError) as err: + msg = "Unable to serialize datetime object." + raise_with_traceback(SerializationError, msg, err) + except AttributeError as err: + msg = "ISO-8601 object must be valid Datetime object." + raise_with_traceback(TypeError, msg, err) + + @staticmethod + def serialize_unix(attr, **kwargs): + """Serialize Datetime object into IntTime format. + This is represented as seconds. + + :param Datetime attr: Object to be serialized. + :rtype: int + :raises: SerializationError if format invalid + """ + if isinstance(attr, int): + return attr + try: + if not attr.tzinfo: + _LOGGER.warning( + "Datetime with no tzinfo will be considered UTC." + ) + return int(calendar.timegm(attr.utctimetuple())) + except AttributeError: + raise TypeError("Unix time object must be valid Datetime object.") + + +def rest_key_extractor(attr, attr_desc, data): + key = attr_desc["key"] + working_data = data + + while "." in key: + dict_keys = _FLATTEN.split(key) + if len(dict_keys) == 1: + key = _decode_attribute_map_key(dict_keys[0]) + break + working_key = _decode_attribute_map_key(dict_keys[0]) + working_data = working_data.get(working_key, data) + if working_data is None: + # If at any point while following flatten JSON path see None, it means + # that all properties under are None as well + # https://github.com/Azure/msrest-for-python/issues/197 + return None + key = ".".join(dict_keys[1:]) + + return working_data.get(key) + + +def rest_key_case_insensitive_extractor(attr, attr_desc, data): + key = attr_desc["key"] + working_data = data + + while "." in key: + dict_keys = _FLATTEN.split(key) + if len(dict_keys) == 1: + key = _decode_attribute_map_key(dict_keys[0]) + break + working_key = _decode_attribute_map_key(dict_keys[0]) + working_data = attribute_key_case_insensitive_extractor( + working_key, None, working_data + ) + if working_data is None: + # If at any point while following flatten JSON path see None, it means + # that all properties under are None as well + # https://github.com/Azure/msrest-for-python/issues/197 + return None + key = ".".join(dict_keys[1:]) + + if working_data: + return attribute_key_case_insensitive_extractor(key, None, working_data) + + +def last_rest_key_extractor(attr, attr_desc, data): + """Extract the attribute in "data" based on the last part of the JSON path key.""" + key = attr_desc["key"] + dict_keys = _FLATTEN.split(key) + return attribute_key_extractor(dict_keys[-1], None, data) + + +def last_rest_key_case_insensitive_extractor(attr, attr_desc, data): + """Extract the attribute in "data" based on the last part of the JSON path key. + + This is the case insensitive version of "last_rest_key_extractor" + """ + key = attr_desc["key"] + dict_keys = _FLATTEN.split(key) + return attribute_key_case_insensitive_extractor(dict_keys[-1], None, data) + + +def attribute_key_extractor(attr, _, data): + return data.get(attr) + + +def attribute_key_case_insensitive_extractor(attr, _, data): + found_key = None + lower_attr = attr.lower() + for key in data: + if lower_attr == key.lower(): + found_key = key + break + + return data.get(found_key) + + +def _extract_name_from_internal_type(internal_type): + """Given an internal type XML description, extract correct XML name with namespace. + + :param dict internal_type: An model type + :rtype: tuple + :returns: A tuple XML name + namespace dict + """ + internal_type_xml_map = getattr(internal_type, "_xml_map", {}) + xml_name = internal_type_xml_map.get("name", internal_type.__name__) + xml_ns = internal_type_xml_map.get("ns", None) + if xml_ns: + xml_name = "{}{}".format(xml_ns, xml_name) + return xml_name + + +def xml_key_extractor(attr, attr_desc, data): + if isinstance(data, dict): + return None + + # Test if this model is XML ready first + if not isinstance(data, ET.Element): + return None + + xml_desc = attr_desc.get("xml", {}) + xml_name = xml_desc.get("name", attr_desc["key"]) + + # Look for a children + is_iter_type = attr_desc["type"].startswith("[") + is_wrapped = xml_desc.get("wrapped", False) + internal_type = attr_desc.get("internalType", None) + internal_type_xml_map = getattr(internal_type, "_xml_map", {}) + + # Integrate namespace if necessary + xml_ns = xml_desc.get("ns", internal_type_xml_map.get("ns", None)) + if xml_ns: + xml_name = "{}{}".format(xml_ns, xml_name) + + # If it's an attribute, that's simple + if xml_desc.get("attr", False): + return data.get(xml_name) + + # If it's x-ms-text, that's simple too + if xml_desc.get("text", False): + return data.text + + # Scenario where I take the local name: + # - Wrapped node + # - Internal type is an enum (considered basic types) + # - Internal type has no XML/Name node + if is_wrapped or ( + internal_type + and ( + issubclass(internal_type, Enum) + or "name" not in internal_type_xml_map + ) + ): + children = data.findall(xml_name) + # If internal type has a local name and it's not a list, I use that name + elif not is_iter_type and internal_type and "name" in internal_type_xml_map: + xml_name = _extract_name_from_internal_type(internal_type) + children = data.findall(xml_name) + # That's an array + else: + if ( + internal_type + ): # Complex type, ignore itemsName and use the complex type name + items_name = _extract_name_from_internal_type(internal_type) + else: + items_name = xml_desc.get("itemsName", xml_name) + children = data.findall(items_name) + + if len(children) == 0: + if is_iter_type: + if is_wrapped: + return None # is_wrapped no node, we want None + else: + return [] # not wrapped, assume empty list + return None # Assume it's not there, maybe an optional node. + + # If is_iter_type and not wrapped, return all found children + if is_iter_type: + if not is_wrapped: + return children + else: # Iter and wrapped, should have found one node only (the wrap one) + if len(children) != 1: + raise DeserializationError( + "Tried to deserialize an array not wrapped, and found several nodes '{}'. Maybe you should declare this array as wrapped?".format( + xml_name + ) + ) + return list(children[0]) # Might be empty list and that's ok. + + # Here it's not a itertype, we should have found one element only or empty + if len(children) > 1: + raise DeserializationError( + "Find several XML '{}' where it was not expected".format(xml_name) + ) + return children[0] + + +class Deserializer(object): + """Response object model deserializer. + + :param dict classes: Class type dictionary for deserializing complex types. + :ivar list key_extractors: Ordered list of extractors to be used by this deserializer. + """ + + basic_types = {str: "str", int: "int", bool: "bool", float: "float"} + + valid_date = re.compile( + r"\d{4}[-]\d{2}[-]\d{2}T\d{2}:\d{2}:\d{2}" + r"\.?\d*Z?[-+]?[\d{2}]?:?[\d{2}]?" + ) + + def __init__(self, classes=None): + self.deserialize_type = { + "iso-8601": Deserializer.deserialize_iso, + "rfc-1123": Deserializer.deserialize_rfc, + "unix-time": Deserializer.deserialize_unix, + "duration": Deserializer.deserialize_duration, + "date": Deserializer.deserialize_date, + "time": Deserializer.deserialize_time, + "decimal": Deserializer.deserialize_decimal, + "long": Deserializer.deserialize_long, + "bytearray": Deserializer.deserialize_bytearray, + "base64": Deserializer.deserialize_base64, + "object": self.deserialize_object, + "[]": self.deserialize_iter, + "{}": self.deserialize_dict, + } + self.deserialize_expected_types = { + "duration": (isodate.Duration, datetime.timedelta), + "iso-8601": (datetime.datetime), + } + self.dependencies = dict(classes) if classes else {} + self.key_extractors = [rest_key_extractor, xml_key_extractor] + # Additional properties only works if the "rest_key_extractor" is used to + # extract the keys. Making it to work whatever the key extractor is too much + # complicated, with no real scenario for now. + # So adding a flag to disable additional properties detection. This flag should be + # used if your expect the deserialization to NOT come from a JSON REST syntax. + # Otherwise, result are unexpected + self.additional_properties_detection = True + + def __call__(self, target_obj, response_data, content_type=None): + """Call the deserializer to process a REST response. + + :param str target_obj: Target data type to deserialize to. + :param requests.Response response_data: REST response object. + :param str content_type: Swagger "produces" if available. + :raises: DeserializationError if deserialization fails. + :return: Deserialized object. + """ + data = self._unpack_content(response_data, content_type) + return self._deserialize(target_obj, data) + + def _deserialize(self, target_obj, data): + """Call the deserializer on a model. + + Data needs to be already deserialized as JSON or XML ElementTree + + :param str target_obj: Target data type to deserialize to. + :param object data: Object to deserialize. + :raises: DeserializationError if deserialization fails. + :return: Deserialized object. + """ + # This is already a model, go recursive just in case + if hasattr(data, "_attribute_map"): + constants = [ + name + for name, config in getattr(data, "_validation", {}).items() + if config.get("constant") + ] + try: + for attr, mapconfig in data._attribute_map.items(): + if attr in constants: + continue + value = getattr(data, attr) + if value is None: + continue + local_type = mapconfig["type"] + internal_data_type = local_type.strip("[]{}") + if ( + internal_data_type not in self.dependencies + or isinstance(internal_data_type, Enum) + ): + continue + setattr(data, attr, self._deserialize(local_type, value)) + return data + except AttributeError: + return + + response, class_name = self._classify_target(target_obj, data) + + if isinstance(response, basestring): + return self.deserialize_data(data, response) + elif isinstance(response, type) and issubclass(response, Enum): + return self.deserialize_enum(data, response) + + if data is None: + return data + try: + attributes = response._attribute_map # type: ignore + d_attrs = {} + for attr, attr_desc in attributes.items(): + # Check empty string. If it's not empty, someone has a real "additionalProperties"... + if attr == "additional_properties" and attr_desc["key"] == "": + continue + raw_value = None + # Enhance attr_desc with some dynamic data + attr_desc = ( + attr_desc.copy() + ) # Do a copy, do not change the real one + internal_data_type = attr_desc["type"].strip("[]{}") + if internal_data_type in self.dependencies: + attr_desc["internalType"] = self.dependencies[ + internal_data_type + ] + + for key_extractor in self.key_extractors: + found_value = key_extractor(attr, attr_desc, data) + if found_value is not None: + if raw_value is not None and raw_value != found_value: + msg = ( + "Ignoring extracted value '%s' from %s for key '%s'" + " (duplicate extraction, follow extractors order)" + ) + _LOGGER.warning( + msg, found_value, key_extractor, attr + ) + continue + raw_value = found_value + + value = self.deserialize_data(raw_value, attr_desc["type"]) + d_attrs[attr] = value + except (AttributeError, TypeError, KeyError) as err: + msg = "Unable to deserialize to object: " + class_name # type: ignore + raise_with_traceback(DeserializationError, msg, err) + else: + additional_properties = self._build_additional_properties( + attributes, data + ) + return self._instantiate_model( + response, d_attrs, additional_properties + ) + + def _build_additional_properties(self, attribute_map, data): + if not self.additional_properties_detection: + return None + if ( + "additional_properties" in attribute_map + and attribute_map.get("additional_properties", {}).get("key") != "" + ): + # Check empty string. If it's not empty, someone has a real "additionalProperties" + return None + if isinstance(data, ET.Element): + data = {el.tag: el.text for el in data} + + known_keys = { + _decode_attribute_map_key(_FLATTEN.split(desc["key"])[0]) + for desc in attribute_map.values() + if desc["key"] != "" + } + present_keys = set(data.keys()) + missing_keys = present_keys - known_keys + return {key: data[key] for key in missing_keys} + + def _classify_target(self, target, data): + """Check to see whether the deserialization target object can + be classified into a subclass. + Once classification has been determined, initialize object. + + :param str target: The target object type to deserialize to. + :param str/dict data: The response data to deseralize. + """ + if target is None: + return None, None + + if isinstance(target, basestring): + try: + target = self.dependencies[target] + except KeyError: + return target, target + + try: + target = target._classify(data, self.dependencies) + except AttributeError: + pass # Target is not a Model, no classify + return target, target.__class__.__name__ + + def failsafe_deserialize(self, target_obj, data, content_type=None): + """Ignores any errors encountered in deserialization, + and falls back to not deserializing the object. Recommended + for use in error deserialization, as we want to return the + HttpResponseError to users, and not have them deal with + a deserialization error. + + :param str target_obj: The target object type to deserialize to. + :param str/dict data: The response data to deseralize. + :param str content_type: Swagger "produces" if available. + """ + try: + return self(target_obj, data, content_type=content_type) + except: + _LOGGER.debug( + "Ran into a deserialization error. Ignoring since this is failsafe deserialization", + exc_info=True, + ) + return None + + @staticmethod + def _unpack_content(raw_data, content_type=None): + """Extract the correct structure for deserialization. + + If raw_data is a PipelineResponse, try to extract the result of RawDeserializer. + if we can't, raise. Your Pipeline should have a RawDeserializer. + + If not a pipeline response and raw_data is bytes or string, use content-type + to decode it. If no content-type, try JSON. + + If raw_data is something else, bypass all logic and return it directly. + + :param raw_data: Data to be processed. + :param content_type: How to parse if raw_data is a string/bytes. + :raises JSONDecodeError: If JSON is requested and parsing is impossible. + :raises UnicodeDecodeError: If bytes is not UTF8 + """ + # Assume this is enough to detect a Pipeline Response without importing it + context = getattr(raw_data, "context", {}) + if context: + if RawDeserializer.CONTEXT_NAME in context: + return context[RawDeserializer.CONTEXT_NAME] + raise ValueError( + "This pipeline didn't have the RawDeserializer policy; can't deserialize" + ) + + # Assume this is enough to recognize universal_http.ClientResponse without importing it + if hasattr(raw_data, "body"): + return RawDeserializer.deserialize_from_http_generics( + raw_data.text(), raw_data.headers + ) + + # Assume this enough to recognize requests.Response without importing it. + if hasattr(raw_data, "_content_consumed"): + return RawDeserializer.deserialize_from_http_generics( + raw_data.text, raw_data.headers + ) + + if isinstance(raw_data, (basestring, bytes)) or hasattr( + raw_data, "read" + ): + return RawDeserializer.deserialize_from_text(raw_data, content_type) # type: ignore + return raw_data + + def _instantiate_model(self, response, attrs, additional_properties=None): + """Instantiate a response model passing in deserialized args. + + :param response: The response model class. + :param d_attrs: The deserialized response attributes. + """ + if callable(response): + subtype = getattr(response, "_subtype_map", {}) + try: + readonly = [ + k + for k, v in response._validation.items() + if v.get("readonly") + ] + const = [ + k + for k, v in response._validation.items() + if v.get("constant") + ] + kwargs = { + k: v + for k, v in attrs.items() + if k not in subtype and k not in readonly + const + } + response_obj = response(**kwargs) + for attr in readonly: + setattr(response_obj, attr, attrs.get(attr)) + if additional_properties: + response_obj.additional_properties = additional_properties + return response_obj + except TypeError as err: + msg = "Unable to deserialize {} into model {}. ".format(kwargs, response) # type: ignore + raise DeserializationError(msg + str(err)) + else: + try: + for attr, value in attrs.items(): + setattr(response, attr, value) + return response + except Exception as exp: + msg = "Unable to populate response model. " + msg += "Type: {}, Error: {}".format(type(response), exp) + raise DeserializationError(msg) + + def deserialize_data(self, data, data_type): + """Process data for deserialization according to data type. + + :param str data: The response string to be deserialized. + :param str data_type: The type to deserialize to. + :raises: DeserializationError if deserialization fails. + :return: Deserialized object. + """ + if data is None: + return data + + try: + if not data_type: + return data + if data_type in self.basic_types.values(): + return self.deserialize_basic(data, data_type) + if data_type in self.deserialize_type: + if isinstance( + data, + self.deserialize_expected_types.get(data_type, tuple()), + ): + return data + + is_a_text_parsing_type = lambda x: x not in [ + "object", + "[]", + r"{}", + ] + if ( + isinstance(data, ET.Element) + and is_a_text_parsing_type(data_type) + and not data.text + ): + return None + data_val = self.deserialize_type[data_type](data) + return data_val + + iter_type = data_type[0] + data_type[-1] + if iter_type in self.deserialize_type: + return self.deserialize_type[iter_type](data, data_type[1:-1]) + + obj_type = self.dependencies[data_type] + if issubclass(obj_type, Enum): + if isinstance(data, ET.Element): + data = data.text + return self.deserialize_enum(data, obj_type) + + except (ValueError, TypeError, AttributeError) as err: + msg = "Unable to deserialize response data." + msg += " Data: {}, {}".format(data, data_type) + raise_with_traceback(DeserializationError, msg, err) + else: + return self._deserialize(obj_type, data) + + def deserialize_iter(self, attr, iter_type): + """Deserialize an iterable. + + :param list attr: Iterable to be deserialized. + :param str iter_type: The type of object in the iterable. + :rtype: list + """ + if attr is None: + return None + if isinstance( + attr, ET.Element + ): # If I receive an element here, get the children + attr = list(attr) + if not isinstance(attr, (list, set)): + raise DeserializationError( + "Cannot deserialize as [{}] an object of type {}".format( + iter_type, type(attr) + ) + ) + return [self.deserialize_data(a, iter_type) for a in attr] + + def deserialize_dict(self, attr, dict_type): + """Deserialize a dictionary. + + :param dict/list attr: Dictionary to be deserialized. Also accepts + a list of key, value pairs. + :param str dict_type: The object type of the items in the dictionary. + :rtype: dict + """ + if isinstance(attr, list): + return { + x["key"]: self.deserialize_data(x["value"], dict_type) + for x in attr + } + + if isinstance(attr, ET.Element): + # Transform value into {"Key": "value"} + attr = {el.tag: el.text for el in attr} + return {k: self.deserialize_data(v, dict_type) for k, v in attr.items()} + + def deserialize_object(self, attr, **kwargs): + """Deserialize a generic object. + This will be handled as a dictionary. + + :param dict attr: Dictionary to be deserialized. + :rtype: dict + :raises: TypeError if non-builtin datatype encountered. + """ + if attr is None: + return None + if isinstance(attr, ET.Element): + # Do no recurse on XML, just return the tree as-is + return attr + if isinstance(attr, basestring): + return self.deserialize_basic(attr, "str") + obj_type = type(attr) + if obj_type in self.basic_types: + return self.deserialize_basic(attr, self.basic_types[obj_type]) + if obj_type is _long_type: + return self.deserialize_long(attr) + + if obj_type == dict: + deserialized = {} + for key, value in attr.items(): + try: + deserialized[key] = self.deserialize_object(value, **kwargs) + except ValueError: + deserialized[key] = None + return deserialized + + if obj_type == list: + deserialized = [] + for obj in attr: + try: + deserialized.append(self.deserialize_object(obj, **kwargs)) + except ValueError: + pass + return deserialized + + else: + error = "Cannot deserialize generic object with type: " + raise TypeError(error + str(obj_type)) + + def deserialize_basic(self, attr, data_type): + """Deserialize basic builtin data type from string. + Will attempt to convert to str, int, float and bool. + This function will also accept '1', '0', 'true' and 'false' as + valid bool values. + + :param str attr: response string to be deserialized. + :param str data_type: deserialization data type. + :rtype: str, int, float or bool + :raises: TypeError if string format is not valid. + """ + # If we're here, data is supposed to be a basic type. + # If it's still an XML node, take the text + if isinstance(attr, ET.Element): + attr = attr.text + if not attr: + if data_type == "str": + # None or '', node is empty string. + return "" + else: + # None or '', node with a strong type is None. + # Don't try to model "empty bool" or "empty int" + return None + + if data_type == "bool": + if attr in [True, False, 1, 0]: + return bool(attr) + elif isinstance(attr, basestring): + if attr.lower() in ["true", "1"]: + return True + elif attr.lower() in ["false", "0"]: + return False + raise TypeError("Invalid boolean value: {}".format(attr)) + + if data_type == "str": + return self.deserialize_unicode(attr) + return eval(data_type)(attr) # nosec + + @staticmethod + def deserialize_unicode(data): + """Preserve unicode objects in Python 2, otherwise return data + as a string. + + :param str data: response string to be deserialized. + :rtype: str or unicode + """ + # We might be here because we have an enum modeled as string, + # and we try to deserialize a partial dict with enum inside + if isinstance(data, Enum): + return data + + # Consider this is real string + try: + if isinstance(data, unicode): # type: ignore + return data + except NameError: + return str(data) + else: + return str(data) + + @staticmethod + def deserialize_enum(data, enum_obj): + """Deserialize string into enum object. + + If the string is not a valid enum value it will be returned as-is + and a warning will be logged. + + :param str data: Response string to be deserialized. If this value is + None or invalid it will be returned as-is. + :param Enum enum_obj: Enum object to deserialize to. + :rtype: Enum + """ + if isinstance(data, enum_obj) or data is None: + return data + if isinstance(data, Enum): + data = data.value + if isinstance(data, int): + # Workaround. We might consider remove it in the future. + # https://github.com/Azure/azure-rest-api-specs/issues/141 + try: + return list(enum_obj.__members__.values())[data] + except IndexError: + error = "{!r} is not a valid index for enum {!r}" + raise DeserializationError(error.format(data, enum_obj)) + try: + return enum_obj(str(data)) + except ValueError: + for enum_value in enum_obj: + if enum_value.value.lower() == str(data).lower(): + return enum_value + # We don't fail anymore for unknown value, we deserialize as a string + _LOGGER.warning( + "Deserializer is not able to find %s as valid enum in %s", + data, + enum_obj, + ) + return Deserializer.deserialize_unicode(data) + + @staticmethod + def deserialize_bytearray(attr): + """Deserialize string into bytearray. + + :param str attr: response string to be deserialized. + :rtype: bytearray + :raises: TypeError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + return bytearray(b64decode(attr)) # type: ignore + + @staticmethod + def deserialize_base64(attr): + """Deserialize base64 encoded string into string. + + :param str attr: response string to be deserialized. + :rtype: bytearray + :raises: TypeError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + padding = "=" * (3 - (len(attr) + 3) % 4) # type: ignore + attr = attr + padding # type: ignore + encoded = attr.replace("-", "+").replace("_", "/") + return b64decode(encoded) + + @staticmethod + def deserialize_decimal(attr): + """Deserialize string into Decimal object. + + :param str attr: response string to be deserialized. + :rtype: Decimal + :raises: DeserializationError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + try: + return decimal.Decimal(attr) # type: ignore + except decimal.DecimalException as err: + msg = "Invalid decimal {}".format(attr) + raise_with_traceback(DeserializationError, msg, err) + + @staticmethod + def deserialize_long(attr): + """Deserialize string into long (Py2) or int (Py3). + + :param str attr: response string to be deserialized. + :rtype: long or int + :raises: ValueError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + return _long_type(attr) # type: ignore + + @staticmethod + def deserialize_duration(attr): + """Deserialize ISO-8601 formatted string into TimeDelta object. + + :param str attr: response string to be deserialized. + :rtype: TimeDelta + :raises: DeserializationError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + try: + duration = isodate.parse_duration(attr) + except (ValueError, OverflowError, AttributeError) as err: + msg = "Cannot deserialize duration object." + raise_with_traceback(DeserializationError, msg, err) + else: + return duration + + @staticmethod + def deserialize_date(attr): + """Deserialize ISO-8601 formatted string into Date object. + + :param str attr: response string to be deserialized. + :rtype: Date + :raises: DeserializationError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + if re.search(r"[^\W\d_]", attr, re.I + re.U): # type: ignore + raise DeserializationError( + "Date must have only digits and -. Received: %s" % attr + ) + # This must NOT use defaultmonth/defaultday. Using None ensure this raises an exception. + return isodate.parse_date(attr, defaultmonth=None, defaultday=None) + + @staticmethod + def deserialize_time(attr): + """Deserialize ISO-8601 formatted string into time object. + + :param str attr: response string to be deserialized. + :rtype: datetime.time + :raises: DeserializationError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + if re.search(r"[^\W\d_]", attr, re.I + re.U): # type: ignore + raise DeserializationError( + "Date must have only digits and -. Received: %s" % attr + ) + return isodate.parse_time(attr) + + @staticmethod + def deserialize_rfc(attr): + """Deserialize RFC-1123 formatted string into Datetime object. + + :param str attr: response string to be deserialized. + :rtype: Datetime + :raises: DeserializationError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + try: + parsed_date = email.utils.parsedate_tz(attr) # type: ignore + date_obj = datetime.datetime( + *parsed_date[:6], + tzinfo=_FixedOffset( + datetime.timedelta(minutes=(parsed_date[9] or 0) / 60) + ), + ) + if not date_obj.tzinfo: + date_obj = date_obj.astimezone(tz=TZ_UTC) + except ValueError as err: + msg = "Cannot deserialize to rfc datetime object." + raise_with_traceback(DeserializationError, msg, err) + else: + return date_obj + + @staticmethod + def deserialize_iso(attr): + """Deserialize ISO-8601 formatted string into Datetime object. + + :param str attr: response string to be deserialized. + :rtype: Datetime + :raises: DeserializationError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + try: + attr = attr.upper() # type: ignore + match = Deserializer.valid_date.match(attr) + if not match: + raise ValueError("Invalid datetime string: " + attr) + + check_decimal = attr.split(".") + if len(check_decimal) > 1: + decimal_str = "" + for digit in check_decimal[1]: + if digit.isdigit(): + decimal_str += digit + else: + break + if len(decimal_str) > 6: + attr = attr.replace(decimal_str, decimal_str[0:6]) + + date_obj = isodate.parse_datetime(attr) + test_utc = date_obj.utctimetuple() + if test_utc.tm_year > 9999 or test_utc.tm_year < 1: + raise OverflowError("Hit max or min date") + except (ValueError, OverflowError, AttributeError) as err: + msg = "Cannot deserialize datetime object." + raise_with_traceback(DeserializationError, msg, err) + else: + return date_obj + + @staticmethod + def deserialize_unix(attr): + """Serialize Datetime object into IntTime format. + This is represented as seconds. + + :param int attr: Object to be serialized. + :rtype: Datetime + :raises: DeserializationError if format invalid + """ + if isinstance(attr, ET.Element): + attr = int(attr.text) # type: ignore + try: + date_obj = datetime.datetime.fromtimestamp(attr, TZ_UTC) + except ValueError as err: + msg = "Cannot deserialize to unix datetime object." + raise_with_traceback(DeserializationError, msg, err) + else: + return date_obj diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/ad_connector/__init__.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/ad_connector/__init__.py new file mode 100644 index 00000000000..413299d6c46 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/ad_connector/__init__.py @@ -0,0 +1,7 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +# This is a namespace package - no explicit declaration needed in Python 3.3+ diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/ad_connector/client.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/ad_connector/client.py new file mode 100644 index 00000000000..6dd629dbc14 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/ad_connector/client.py @@ -0,0 +1,405 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +"""Command definitions for `data control`.""" +import time +from azext_arcdata.ad_connector.util import ( + _get_ad_connector_custom_resource, + _get_or_create_domain_service_account_secret, + _parse_num_replicas, + _parse_prefer_k8s_dns, + _parse_nameserver_addresses, + _parse_primary_domain_controller, + _parse_secondary_domain_controllers, + _get_ad_connector_status, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.constants import ( + ACTIVE_DIRECTORY_CONNECTOR_CRD_NAME, +) +from azext_arcdata.core.util import ( + check_and_set_kubectl_context, + retry, + is_windows, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import ( + KubernetesClient, + KubernetesError, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.models.custom_resource import CustomResource +from src.arcdata.arcdata.azext_arcdata.vendored_sdks.kubernetes_sdk.models.ad_connector_cr_model import ( + ActiveDirectoryConnectorCustomResource, +) +from azext_arcdata.ad_connector.constants import ( + AD_CONNECTOR_RESOURCE_KIND, + AD_CONNECTOR_RESOURCE_KIND_PLURAL, + AD_CONNECTOR_API_GROUP, + AD_CONNECTOR_API_VERSION, +) +from knack.log import get_logger +from urllib3.exceptions import MaxRetryError, NewConnectionError + +__all__ = ["ActiveDirectoryConnectorClient"] + +logger = get_logger(__name__) +WAIT_TIMEOUT = 300 # 5 minutes + + +class ActiveDirectoryConnectorClient(object): + def __init__(self, stdout, stderr): + check_and_set_kubectl_context() + self._client = KubernetesClient + # for now all methods in the KubernetesClient are marked static. We + # may need to change them to instance methods going forward. + self.stdout = stdout + self.stderr = stderr + + # ------------------------------------------------------------------------ # + # AD Connector Create + # ------------------------------------------------------------------------ # + + def create( + self, + name, + namespace, + realm, + nameserver_addresses, + account_provisioning, + primary_domain_controller=None, + secondary_domain_controllers=None, + netbios_domain_name=None, + dns_domain_name=None, + num_dns_replicas=1, + prefer_k8s_dns="true", + ou_distinguished_name=None, + domain_service_account_secret=None, + no_wait=False, + ): + client = self._client + stdout = self.stdout + + nameserver_addresses = _parse_nameserver_addresses(nameserver_addresses) + + primary_domain_controller = _parse_primary_domain_controller( + primary_domain_controller + ) + secondary_domain_controllers = _parse_secondary_domain_controllers( + secondary_domain_controllers + ) + prefer_k8s_dns = _parse_prefer_k8s_dns(prefer_k8s_dns) + num_dns_replicas = _parse_num_replicas(num_dns_replicas) + + custom_object_exists = retry( + lambda: client.namespaced_custom_object_exists( + name, + namespace, + group=AD_CONNECTOR_API_GROUP, + version=KubernetesClient.get_crd_version( + ACTIVE_DIRECTORY_CONNECTOR_CRD_NAME + ), + plural=AD_CONNECTOR_RESOURCE_KIND_PLURAL, + ), + retry_method="get namespaced custom object", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + KubernetesError, + ), + ) + if custom_object_exists: + raise ValueError( + "Active Directory connector `{}` already exists in namespace " + "`{}`.".format(name, namespace) + ) + + domain_service_account_secret = ( + _get_or_create_domain_service_account_secret( + client, + stdout, + name, + namespace, + account_provisioning, + domain_service_account_secret, + ) + ) + + spec_object = { + "apiVersion": AD_CONNECTOR_API_GROUP + + "/" + + AD_CONNECTOR_API_VERSION, + "kind": AD_CONNECTOR_RESOURCE_KIND, + "metadata": {"name": name}, + "spec": { + "activeDirectory": { + "domainControllers": { + "primaryDomainController": primary_domain_controller, + "secondaryDomainControllers": secondary_domain_controllers, + }, + "netbiosDomainName": netbios_domain_name, + "realm": realm, + "serviceAccountProvisioning": account_provisioning, + "ouDistinguishedName": ou_distinguished_name, + "domainServiceAccountSecret": domain_service_account_secret, + }, + "dns": { + "domainName": dns_domain_name, + "nameserverIPAddresses": nameserver_addresses, + "preferK8sDnsForPtrLookups": prefer_k8s_dns, + "replicas": num_dns_replicas, + }, + }, + } + + cr = CustomResource.decode( + ActiveDirectoryConnectorCustomResource, spec_object + ) + cr.metadata.namespace = namespace + cr.validate(client) + + # Create custom resource + # + retry( + lambda: client.create_namespaced_custom_object( + cr=cr, + plural=AD_CONNECTOR_RESOURCE_KIND_PLURAL, + ignore_conflict=True, + ), + retry_method="create namespaced custom object", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + KubernetesError, + ), + ) + + if no_wait: + stdout( + "Active Directory connector {0} is being created. " + "Please use `az arcdata ad-connector show -n {0} --k8s-namespace {1} " + "--use-k8s` to check its status.".format(name, namespace) + ) + else: + stdout("Deploying Active Directory connector...") + status = _get_ad_connector_status(client, name, namespace) + cnt = 0 + while status and status != "ready": + if status == "error": + cr = _get_ad_connector_custom_resource( + client, name, namespace + ) + raise Exception( + "Active Directory connector is in error state: {}".format( + cr.status.message + ) + ) + if cnt < WAIT_TIMEOUT: + time.sleep(5) + cnt += 5 + else: + raise Exception( + "Active Directory connector {0} creation has timed out. " + "Please use `az arcdata ad-connector show -n {0} --k8s-namespace {1} " + "--use-k8s` to check its status.".format( + name, namespace + ) + ) + + status = _get_ad_connector_status(client, name, namespace) + + stdout( + "Deployed Active Directory connector '{0}' in namespace `{1}`.".format( + name, namespace + ) + ) + return self.show(name, namespace) + + # ------------------------------------------------------------------------ # + # AD Connector Update/Edit + # ------------------------------------------------------------------------ # + + def update( + self, + name, + namespace, + nameserver_addresses=None, + primary_domain_controller=None, + secondary_domain_controllers=None, + num_dns_replicas=None, + prefer_k8s_dns=None, + domain_service_account_secret=None, + no_wait=False, + ): + client = self._client + stdout = self.stdout + + primary_domain_controller = _parse_primary_domain_controller( + primary_domain_controller + ) + + secondary_domain_controllers = _parse_secondary_domain_controllers( + secondary_domain_controllers + ) + + prefer_k8s_dns = _parse_prefer_k8s_dns(prefer_k8s_dns) + num_dns_replicas = _parse_num_replicas(num_dns_replicas) + nameserver_addresses = _parse_nameserver_addresses(nameserver_addresses) + + cr = _get_ad_connector_custom_resource(client, name, namespace) + + if domain_service_account_secret: + # Get or create a new secret if the user specifies a secret name in update + # + account_provisioning = ( + cr.spec.active_directory.service_account_provisioning + ) + domain_service_account_secret = ( + _get_or_create_domain_service_account_secret( + client, + stdout, + name, + namespace, + account_provisioning, + domain_service_account_secret, + ) + ) + + patch_spec_object = { + "apiVersion": AD_CONNECTOR_API_GROUP + + "/" + + AD_CONNECTOR_API_VERSION, + "kind": AD_CONNECTOR_RESOURCE_KIND, + "metadata": {"name": name}, + "spec": { + "activeDirectory": { + "domainControllers": { + "primaryDomainController": primary_domain_controller, + "secondaryDomainControllers": secondary_domain_controllers, + }, + "domainServiceAccountSecret": domain_service_account_secret, + }, + "dns": { + "nameserverIPAddresses": nameserver_addresses, + "preferK8sDnsForPtrLookups": prefer_k8s_dns, + "replicas": num_dns_replicas, + }, + }, + } + + cr = CustomResource.decode( + ActiveDirectoryConnectorCustomResource, patch_spec_object + ) + cr.metadata.namespace = namespace + cr.validate(client) + + # Patch CR + client.patch_namespaced_custom_object( + cr, AD_CONNECTOR_RESOURCE_KIND_PLURAL + ) + + if no_wait: + stdout( + "Active Directory connector {0} is being updated. " + "Please use `az arcdata ad-connector show -n {0} --k8s-namespace {1} " + "--use-k8s` to check its status.".format(name, namespace) + ) + else: + stdout("Updating Active Directory connector...") + + # Wait for the CR to reflect new state + time.sleep(5) + + status = _get_ad_connector_status(client, name, namespace) + cnt = 0 + while status and status != "ready": + if status == "error": + cr = _get_ad_connector_custom_resource( + client, name, namespace + ) + raise Exception( + "Active Directory connector is in error state: {}".format( + cr.status.message + ) + ) + if cnt < WAIT_TIMEOUT: + time.sleep(5) + cnt += 5 + else: + raise Exception( + "Updating Active Directory connector {0} has timed out. " + "Please use `az arcdata ad-connector show -n {0} --k8s-namespace {1} " + "--use-k8s` to check its status.".format( + name, namespace + ) + ) + + status = _get_ad_connector_status(client, name, namespace) + + stdout("Updated Active Directory connector '{}'".format(name)) + return self.show(name, namespace) + + # ------------------------------------------------------------------------ # + # AD Connector Show + # ------------------------------------------------------------------------ # + + def show(self, name, namespace): + cr = _get_ad_connector_custom_resource(self._client, name, namespace) + return cr.encode() + + # ------------------------------------------------------------------------ # + # AD Connector Delete + # ------------------------------------------------------------------------ # + + def delete(self, name, namespace, no_wait=False): + client = self._client + stdout = self.stdout + + client.delete_namespaced_custom_object( + name, + namespace, + group=AD_CONNECTOR_API_GROUP, + version=KubernetesClient.get_crd_version( + ACTIVE_DIRECTORY_CONNECTOR_CRD_NAME + ), + plural=AD_CONNECTOR_RESOURCE_KIND_PLURAL, + ) + + stdout( + "Deleted Active Directory connector '{}' from namespace {}".format( + name, namespace + ) + ) + + # ------------------------------------------------------------------------ # + # AD Connectors List + # ------------------------------------------------------------------------ # + + def list(self, namespace): + client = self._client + stdout = self.stdout + + response = client.list_namespaced_custom_object( + namespace, + group=AD_CONNECTOR_API_GROUP, + version=KubernetesClient.get_crd_version( + ACTIVE_DIRECTORY_CONNECTOR_CRD_NAME + ), + plural=AD_CONNECTOR_RESOURCE_KIND_PLURAL, + ) + + result = [] + items = response.get("items") + for item in items: + cr = CustomResource.decode( + ActiveDirectoryConnectorCustomResource, item + ) + result.append(cr.encode()) + + stdout( + "Found {} Active Directory connector(s) in namespace {}".format( + len(result), namespace + ) + ) + + return result if result else None diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/arc_docker_image_service.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/arc_docker_image_service.py new file mode 100644 index 00000000000..7f029e7a005 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/arc_docker_image_service.py @@ -0,0 +1,304 @@ +import base64 +import json +import os +import re +import sys +from typing import Tuple +from azext_arcdata.core.constants import ( + DEFAULT_IMAGE_TAG, + PUBLIC_DOCKER_REGISTRY, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.constants import CONFIG_DIR + +import pydash as _ +import requests +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import KubernetesClient +from knack.log import get_logger +from requests.structures import CaseInsensitiveDict + +VERSION_REGEX = ( + "^v?(?P0|[1-9]\d*)\.(?P0|[1-9]\d*)(\.(" + "?P0|[1-9]\d*))?(_(?P is empty string. + return "" + else: + # None or '', node with a strong type is None. + # Don't try to model "empty bool" or "empty int" + return None + + if data_type == "bool": + if attr in [True, False, 1, 0]: + return bool(attr) + elif isinstance(attr, basestring): + if attr.lower() in ["true", "1"]: + return True + elif attr.lower() in ["false", "0"]: + return False + raise TypeError("Invalid boolean value: {}".format(attr)) + + if data_type == "str": + return self.deserialize_unicode(attr) + return eval(data_type)(attr) # nosec + + @staticmethod + def deserialize_unicode(data): + """Preserve unicode objects in Python 2, otherwise return data + as a string. + + :param str data: response string to be deserialized. + :rtype: str or unicode + """ + # We might be here because we have an enum modeled as string, + # and we try to deserialize a partial dict with enum inside + if isinstance(data, Enum): + return data + + # Consider this is real string + try: + if isinstance(data, unicode): + return data + except NameError: + return str(data) + else: + return str(data) + + @staticmethod + def deserialize_enum(data, enum_obj): + """Deserialize string into enum object. + + If the string is not a valid enum value it will be returned as-is + and a warning will be logged. + + :param str data: Response string to be deserialized. If this value is + None or invalid it will be returned as-is. + :param Enum enum_obj: Enum object to deserialize to. + :rtype: Enum + """ + if isinstance(data, enum_obj) or data is None: + return data + if isinstance(data, Enum): + data = data.value + if isinstance(data, int): + # Workaround. We might consider remove it in the future. + # https://github.com/Azure/azure-rest-api-specs/issues/141 + try: + return list(enum_obj.__members__.values())[data] + except IndexError: + error = "{!r} is not a valid index for enum {!r}" + raise DeserializationError(error.format(data, enum_obj)) + try: + return enum_obj(str(data)) + except ValueError: + for enum_value in enum_obj: + if enum_value.value.lower() == str(data).lower(): + return enum_value + # We don't fail anymore for unknown value, we deserialize as a string + _LOGGER.warning( + "Deserializer is not able to find %s as valid enum in %s", + data, + enum_obj, + ) + return Deserializer.deserialize_unicode(data) + + @staticmethod + def deserialize_bytearray(attr): + """Deserialize string into bytearray. + + :param str attr: response string to be deserialized. + :rtype: bytearray + :raises: TypeError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + return bytearray(b64decode(attr)) + + @staticmethod + def deserialize_base64(attr): + """Deserialize base64 encoded string into string. + + :param str attr: response string to be deserialized. + :rtype: bytearray + :raises: TypeError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + padding = "=" * (3 - (len(attr) + 3) % 4) + attr = attr + padding + encoded = attr.replace("-", "+").replace("_", "/") + return b64decode(encoded) + + @staticmethod + def deserialize_decimal(attr): + """Deserialize string into Decimal object. + + :param str attr: response string to be deserialized. + :rtype: Decimal + :raises: DeserializationError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + try: + return decimal.Decimal(attr) + except decimal.DecimalException as err: + msg = "Invalid decimal {}".format(attr) + raise_with_traceback(DeserializationError, msg, err) + + @staticmethod + def deserialize_long(attr): + """Deserialize string into long (Py2) or int (Py3). + + :param str attr: response string to be deserialized. + :rtype: long or int + :raises: ValueError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + return _long_type(attr) + + @staticmethod + def deserialize_duration(attr): + """Deserialize ISO-8601 formatted string into TimeDelta object. + + :param str attr: response string to be deserialized. + :rtype: TimeDelta + :raises: DeserializationError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + try: + duration = isodate.parse_duration(attr) + except (ValueError, OverflowError, AttributeError) as err: + msg = "Cannot deserialize duration object." + raise_with_traceback(DeserializationError, msg, err) + else: + return duration + + @staticmethod + def deserialize_date(attr): + """Deserialize ISO-8601 formatted string into Date object. + + :param str attr: response string to be deserialized. + :rtype: Date + :raises: DeserializationError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + if re.search(r"[^\W\d_]", attr, re.I + re.U): + raise DeserializationError( + "Date must have only digits and -. Received: %s" % attr + ) + # This must NOT use defaultmonth/defaultday. Using None ensure this raises an exception. + return isodate.parse_date(attr, defaultmonth=None, defaultday=None) + + @staticmethod + def deserialize_time(attr): + """Deserialize ISO-8601 formatted string into time object. + + :param str attr: response string to be deserialized. + :rtype: datetime.time + :raises: DeserializationError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + if re.search(r"[^\W\d_]", attr, re.I + re.U): + raise DeserializationError( + "Date must have only digits and -. Received: %s" % attr + ) + return isodate.parse_time(attr) + + @staticmethod + def deserialize_rfc(attr): + """Deserialize RFC-1123 formatted string into Datetime object. + + :param str attr: response string to be deserialized. + :rtype: Datetime + :raises: DeserializationError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + try: + parsed_date = email.utils.parsedate_tz(attr) + date_obj = datetime.datetime( + *parsed_date[:6], + tzinfo=_FixedOffset( + datetime.timedelta(minutes=(parsed_date[9] or 0) / 60) + ), + ) + if not date_obj.tzinfo: + date_obj = date_obj.astimezone(tz=TZ_UTC) + except ValueError as err: + msg = "Cannot deserialize to rfc datetime object." + raise_with_traceback(DeserializationError, msg, err) + else: + return date_obj + + @staticmethod + def deserialize_iso(attr): + """Deserialize ISO-8601 formatted string into Datetime object. + + :param str attr: response string to be deserialized. + :rtype: Datetime + :raises: DeserializationError if string format invalid. + """ + if isinstance(attr, ET.Element): + attr = attr.text + try: + attr = attr.upper() + match = Deserializer.valid_date.match(attr) + if not match: + raise ValueError("Invalid datetime string: " + attr) + + check_decimal = attr.split(".") + if len(check_decimal) > 1: + decimal_str = "" + for digit in check_decimal[1]: + if digit.isdigit(): + decimal_str += digit + else: + break + if len(decimal_str) > 6: + attr = attr.replace(decimal_str, decimal_str[0:6]) + + date_obj = isodate.parse_datetime(attr) + test_utc = date_obj.utctimetuple() + if test_utc.tm_year > 9999 or test_utc.tm_year < 1: + raise OverflowError("Hit max or min date") + except (ValueError, OverflowError, AttributeError) as err: + msg = "Cannot deserialize datetime object." + raise_with_traceback(DeserializationError, msg, err) + else: + return date_obj + + @staticmethod + def deserialize_unix(attr): + """Serialize Datetime object into IntTime format. + This is represented as seconds. + + :param int attr: Object to be serialized. + :rtype: Datetime + :raises: DeserializationError if format invalid + """ + if isinstance(attr, ET.Element): + attr = int(attr.text) + try: + date_obj = datetime.datetime.fromtimestamp(attr, TZ_UTC) + except ValueError as err: + msg = "Cannot deserialize to unix datetime object." + raise_with_traceback(DeserializationError, msg, err) + else: + return date_obj diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/postgres/client.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/postgres/client.py new file mode 100644 index 00000000000..519a71ee550 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/postgres/client.py @@ -0,0 +1,1899 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ----------------------------------------------------------------------------- + +import base64 +import copy +from datetime import datetime +import json +import os +import sys +import time +import yaml + +from azext_arcdata.vendored_sdks.kubernetes_sdk.models.kube_quantity import KubeQuantity +from azext_arcdata.vendored_sdks.kubernetes_sdk.models.custom_resource import CustomResource +from azext_arcdata.vendored_sdks.kubernetes_sdk.models.data_controller_custom_resource import ( + DataControllerCustomResource, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.postgres._serialization import ( + last_restapi_key_transformer, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.models._models import ( + IoK8SApimachineryPkgApisMetaV1ObjectMeta as PostgresCustomResourceMetadata, + ComMicrosoftArcdataV1Beta6PostgreSql as PostgresCustomResource, + ComMicrosoftArcdataV1Beta6PostgreSqlSpec as PostgresCustomResourceSpec, + ComMicrosoftArcdataV1Beta6PostgreSqlSpecConfig as PostgresCustomResourceSpecConfig, + ComMicrosoftArcdataV1Beta6PostgreSqlSpecConfigStartup as PostgresCustomResourceSpecConfigStartup, + ComMicrosoftArcdataV1Beta6PostgreSqlSpecBackup as PostgresCustomResourceSpecBackup, + ComMicrosoftArcdataV1Beta6PostgreSqlSpecSecurity as PostgresCustomResourceSpecSecurity, + ComMicrosoftArcdataV1Beta6PostgreSqlSpecSecurityActiveDirectory as PostgresCustomResourceSpecActiveDirectory, + ComMicrosoftArcdataV1Beta6PostgreSqlSpecSecurityActiveDirectoryConnector as PostgresCustomResourceSpecActiveDirectoryConnector, + ComMicrosoftArcdataV1Beta6PostgreSqlSpecScheduling as PostgresCustomResourceSpecScheduling, + ComMicrosoftArcdataV1Beta6PostgreSqlSpecSchedulingDefault as PostgresCustomResourceSpecSchedulingDefault, + ComMicrosoftArcdataV1Beta6PostgreSqlSpecSchedulingDefaultResources as PostgresCustomResourceSpecSchedulingDefaultResources, + ComMicrosoftArcdataV1Beta6PostgreSqlSpecServices as PostgresCustomResourceSpecServices, + ComMicrosoftArcdataV1Beta6PostgreSqlSpecServicesPrimary as PostgresCustomResourceSpecServicesPrimary, + ComMicrosoftArcdataV1Beta6PostgreSqlSpecStorage as PostgresCustomResourceSpecStorage, + ComMicrosoftArcdataV1Beta6PostgreSqlSpecStorageData as PostgresCustomResourceSpecStorageData, + ComMicrosoftArcdataV1Beta6PostgreSqlSpecStorageBackups as PostgresCustomResourceSpecStorageBackups, + ComMicrosoftArcdataV1Beta6PostgreSqlSpecStorageDataVolumesItem as PostgresCustomResourceSpecStorageDataVolumesItem, + ComMicrosoftArcdataV1Beta6PostgreSqlSpecStorageLogs as PostgresCustomResourceSpecStorageLogs, + ComMicrosoftArcdataV1Beta6PostgreSqlSpecStorageLogsVolumesItem as PostgresCustomResourceSpecStorageLogsVolumesItem, + ComMicrosoftArcdataV1Beta6PostgreSqlSpecStorageBackupsVolumesItem as PostgresCustomResourceSpecStorageBackupsVolumesItem, + ComMicrosoftArcdataPostgresqlTasksV1Beta1PostgreSqlRestoreTask as PostgreSqlRestoreTask, + ComMicrosoftArcdataPostgresqlTasksV1Beta1PostgreSqlRestoreTaskSpec as PostgreSqlRestoreTaskSpec, + ComMicrosoftArcdataPostgresqlTasksV1Beta1PostgreSqlRestoreTaskSpecDestinationStorage as RestoreTaskSpecStorage, + ComMicrosoftArcdataPostgresqlTasksV1Beta1PostgreSqlRestoreTaskSpecDestinationStorageBackups as RestoreTaskSpecStorageBackups, + ComMicrosoftArcdataPostgresqlTasksV1Beta1PostgreSqlRestoreTaskSpecDestinationStorageData as RestoreTaskSpecStorageData, + ComMicrosoftArcdataPostgresqlTasksV1Beta1PostgreSqlRestoreTaskSpecDestinationStorageLogs as RestoreTaskSpecStorageLogs, + ComMicrosoftArcdataPostgresqlTasksV1Beta1PostgreSqlRestoreTaskSpecDestinationStorageBackupsVolumesItem as RestoreTaskSpecStorageBackupsVolumesItem, + ComMicrosoftArcdataPostgresqlTasksV1Beta1PostgreSqlRestoreTaskSpecDestinationStorageDataVolumesItem as RestoreTaskSpecStorageDataVolumesItem, + ComMicrosoftArcdataPostgresqlTasksV1Beta1PostgreSqlRestoreTaskSpecDestinationStorageLogsVolumesItem as RestoreTaskSpecStorageLogsVolumesItem, +) + +from azext_arcdata.ad_connector.validators import _validate_domain_name + +from azext_arcdata.ad_connector.util import _get_ad_connector_custom_resource + +from azext_arcdata.core.prompt import ( + prompt, + prompt_pass, + prompt_y_n, +) + +from azext_arcdata.core.util import ( + FileUtil, + is_windows, + retry, + check_and_set_kubectl_context, + get_config_from_template, + name_meets_dns_requirements, + parse_cert_files, +) + +from azext_arcdata.vendored_sdks.kubernetes_sdk.util import ( + validate_certificate_secret, + create_certificate_secret, +) + +from azext_arcdata.core.constants import ( + AZDATA_PASSWORD, + ARC_GROUP, + AZDATA_USERNAME, + CERT_ARGUMENT_ERROR_TEMPLATE, + DATA_CONTROLLER_PLURAL, + DNS_NAME_REQUIREMENTS, +) +from azext_arcdata.core.kubernetes import ( + validate_rwx_storage_class, +) + +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import ( + KubernetesClient, + K8sApiException, + KubernetesError, + http_status_codes, +) + +from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.constants import ( + DATA_CONTROLLER_CRD_NAME, + POSTGRES_CRD_NAME, +) + +from azext_arcdata.postgres.constants import ( + RESOURCE_KIND, + API_GROUP, + POSTGRES_MIN_CORES_SIZE, + POSTGRES_MIN_MEMORY_SIZE, + RESTORE_TASK_KIND, + RESTORE_TASK_API_GROUP, + RESTORE_TASK_API_VERSION, +) + +from humanfriendly.terminal.spinners import AutomaticSpinner +from knack.cli import CLIError +from knack.log import get_logger +from knack.prompting import NoTTYException +from kubernetes import client as k8sClient +from urllib3.exceptions import NewConnectionError, MaxRetryError + +__all__ = ["PostgreSqlClient"] + +CONNECTION_RETRY_ATTEMPTS = 12 +MAX_NAME_LENGTH = 13 +RETRY_INTERVAL = 5 +STORAGE_CLASS_ERROR = "Storage class '{}' does not exist" +SERVICE_TYPES = ["ClusterIP", "NodePort", "LoadBalancer", "ExternalName"] + +logger = get_logger(__name__) + + +class PostgreSqlClient(object): + def __init__(self, stdout, stderr): + check_and_set_kubectl_context() + self._client = KubernetesClient + self.stdout = stdout + self.stderr = stderr + + def create( + self, + name, + namespace, + path, + admin_login_secret, + certificate_private_key_file, + certificate_public_key_file, + cores_limit, + cores_request, + log_level, + memory_limit, + memory_request, + service_annotations, + service_certificate_secret, + service_labels, + service_type, + storage_class_data, + storage_class_logs, + storage_class_backups, + volume_size_data, + volume_size_logs, + volume_size_backups, + no_external_endpoint, + dev, + port, + nowait, + ad_connector_name, + ad_account_name, + keytab_secret, + dns_name, + extensions=None, + retention_days=None, + ): + """ + Create an Azure Arc enabled PostgreSQL server. + :param name: The name of the Azure Arc enabled PostgreSQL server. + :param namespace: Namespace where the Azure Arc enabled PostgreSQL server is deployed. + :param path: The src filepath of the postgres resource. + :param admin_login_secret: Name of the Kubernetes secret to generate that hosts or will + host user admin login account credential. + :param certificate_private_key_file: Path to the file containing a PEM formatted + certificate private key to be used for client SSL connections. + :param certificate_public_key_file: Path to the file containing a PEM formatted certificate + public key to be used for client SSL connections. + :param cores_limit: The limit of cores of the managed instance in integer number of vCores. + :param cores_request: The request for cores of the managed instance in integer number of + vCores. + :param log_level: Sets the log_min_messages setting for the PostgreSQL engine. + :param memory_limit: The limit of the capacity of the managed instance in integer amount + of memory. + :param memory_request: The request for the capacity of the managed instance in integer + amount of memory. + :param service_annotations: Comma-separated list of annotations to apply to all external + services. + :param service_certificate_secret: Name of the Kubernetes secret to generate that hosts + the SSL certificate. + :param service_labels: Comma-separated list of labels to apply to all external services. + :param service_type: The type for the primary service. + :param storage_class_data: The storage classes to be used for data persistent volumes. + :param storage_class_logs: The storage classes to be used for logs persistent volumes. + :param storage_class_backup: The storage classes to be used for logs persistent volumes. + :param volume_size_data: The volume size for the storage classes to be used for data. + :param volume_size_logs: The volume size for the storage classes to be used for logs. + :param volume_size_backup: The volume size for the storage classes to be used for logs. + :param no_external_endpoint: If not specified, an external service is created using the + same service type as the data controller. + :param dev: If this is specified, then it is considered a dev instance and will not be + billed for. + :param port: Optional parameter for the service port. + :param ad_connector_name: the name of the Active Directory Connector resource. This parameter + indicates an intent to deploy with AD support. + :param ad_account_name: Active Directory account name for this Azure Arc enabled PostgreSQL + server. + :param keytab_secret: The name of the Kubernetes secret that contains the keytab + file for this Azure Arc enabled PostgreSQL server. + :param dns_name: The primary service DNS name exposed to the end-users to + connect to this Azure Arc enabled PostgreSQL server. + :param extensions: Command seperated list of postgresql extensions. + :param retention_days: Retention period in days, ranging from 0 to 35. + """ + stdout = self.stdout + check_and_set_kubectl_context() + + crd = _get_postgres_crd() + crd_version = crd.spec.versions[-1].name + + _is_valid_connectivity_mode(namespace) + + api_version = f"{API_GROUP}/{crd_version}" + + if not path: + custom_resource = PostgresCustomResource() + custom_resource.kind = RESOURCE_KIND + data_size = volume_size_data or "5Gi" + logs_size = volume_size_logs or "5Gi" + backups_size = volume_size_backups or "5Gi" + memory_size = memory_request or "256Mi" + + self.apply_args( + custom_resource, + name, + namespace, + cores_limit, + cores_request, + log_level, + memory_limit, + memory_size, + storage_class_data, + storage_class_logs, + storage_class_backups, + data_size, + logs_size, + backups_size, + api_version, + dev, + port, + retention_days, + extensions, + ad_connector_name, + ad_account_name, + keytab_secret, + dns_name, + ) + else: + spec_object = FileUtil.read_json(path) + custom_resource = PostgresCustomResource.from_dict(spec_object) + + if not custom_resource.metadata.name: + custom_resource.metadata.name = name + elif not custom_resource.metadata.name == name: + raise CLIError( + f"The name parameter '{name}' does not match the name " + f"'{custom_resource.metadata.name}' found in {path}" + ) + + if not custom_resource.metadata.namespace: + custom_resource.metadata.namespace = namespace + elif not custom_resource.metadata.namespace == namespace: + raise CLIError( + f"The namespace parameter '{namespace}' does not match the" + f" namespace '{custom_resource.metadata.namespace}' found " + f"in {path}" + ) + + _validate_custom_resource(custom_resource) + + custom_object_exists = self.check_custom_object_exists( + custom_resource.metadata.name, + custom_resource.metadata.namespace, + crd, + ) + + if custom_object_exists: + raise ValueError( + f"Postgres Server `{custom_resource.metadata.name}` already " + f"exists in namespace `{custom_resource.metadata.namespace}`." + ) + + if not no_external_endpoint: + self.set_external_service_type(custom_resource, service_type) + self.set_external_service_annotations( + custom_resource, service_annotations + ) + self.set_external_service_labels(custom_resource, service_labels) + + if admin_login_secret: + secret_name = admin_login_secret + else: + secret_name = custom_resource.metadata.name + "-login-secret" + + if not custom_resource.spec.security: + custom_resource.spec.security = PostgresCustomResourceSpecSecurity( + admin_login_secret=secret_name + ) + else: + custom_resource.spec.security.admin_login_secret = secret_name + + secret_exists = self.check_secret_exists( + custom_resource.metadata.namespace, + secret_name, + ) + + if not secret_exists: + self.create_login_secret(custom_resource, stdout, secret_name) + + if ( + certificate_private_key_file + or certificate_public_key_file + or service_certificate_secret + ): + self.create_service_cert_secret( + custom_resource, + certificate_public_key_file, + certificate_private_key_file, + service_certificate_secret, + ) + + self.create_custom_object(custom_resource, crd) + + if nowait: + stdout( + f"Deployed {custom_resource.metadata.name} in namespace " + f"`{custom_resource.metadata.name}`. Please use " + "`az postgres server-arc show -n " + f"{custom_resource.metadata.name} --namespace " + f"{custom_resource.metadata.namespace}` to check its status." + ) + else: + self.wait_for_resource_ready(custom_resource, crd, stdout) + + def update( + self, + name, + namespace, + path, + certificate_private_key_file, + certificate_public_key_file, + cores_limit, + cores_request, + log_level, + memory_limit, + memory_request, + no_external_endpoint, + service_annotations, + service_certificate_secret, + service_labels, + service_type, + dev, + port, + nowait, + retention_days, + keytab_secret, + extensions, + ): + """ + Update the configuration of an Azure Arc enabled PostgreSQL server. + :param name: The name of the Azure Arc enabled PostgreSQL server you would like to update. + :param namespace: Namespace where the Azure Arc enabled PostgreSQL server is deployed. + :param path: The path to the source json file for the Azure Arc enabled PostgreSQL server. + This is optional. + :param certificate_private_key_file: Path to the file containing a PEM formatted + certificate private key to be used for client SSL connections. + :param certificate_public_key_file: Path to the file containing a PEM formatted certificate + public key to be used for client SSL connections. + :param cores_limit: The limit of cores of the managed instance in integer number of vCores. + :param cores_request: The request for cores of the managed instance in integer number of + vCores. + :param log_level: Sets the log_min_messages setting for the PostgreSQL engine. + :param memory_limit: The limit of the capacity of the managed instance in integer amount of + memory in GBs. + :param memory_request: The request for the capacity of the managed instance in integer + amount of memory in GBs. + :param no_external_endpoint: If not specified, an external service is created using the + same service type as the data controller. + :param service_annotations: Comma-separated list of annotations to apply to all external + services. + :param service_certificate_secret: Name of the Kubernetes secret to generate that hosts + the SSL certificate. + :param service_labels: Comma-separated list of labels to apply to all external services. + :param service_type: The type for the primary service. + :param dev: If this is specified, then it is considered a dev instance and will not be + billed for. + :param port: Optional parameter for the service port. + :param nowait: Do not wait for deployment to be ready before returning. + :param keytab_secret: The name of the Kubernetes secret that contains the keytab + file for this Azure Arc enabled PostgreSQL server. + """ + stdout = self.stdout + check_and_set_kubectl_context() + + # Get the Postgres resource + crd = _get_postgres_crd() + crd_version = crd.spec.versions[-1].name + api_version = f"{API_GROUP}/{crd_version}" + + existing_cr = self.get_custom_object(name, namespace, crd) + + if existing_cr is None: + raise CLIError( + f"Azure Arc enabled PostgreSQL server {name} not found." + ) + + body = copy.deepcopy(existing_cr) + updated_cr: PostgresCustomResource = PostgresCustomResource.from_dict( + body + ) + + if path: + # Load the spec from a file if provided + update_data = FileUtil.read_json(path) + update_spec: PostgresCustomResource = ( + PostgresCustomResource.from_dict(update_data) + ) + + if not update_spec.metadata.name: + update_spec.metadata.name = name + elif not update_spec.metadata.name == name: + raise CLIError( + f"The name parameter '{name}' does not match the name " + f"'{update_spec.metadata.name}' found in {path}" + ) + + if not update_spec.metadata.namespace: + update_spec.metadata.namespace = namespace + elif not update_spec.metadata.namespace == namespace: + raise CLIError( + f"The namespace parameter '{namespace}' does not match the" + f" namespace '{update_spec.metadata.namespace}' found in " + f"{path}" + ) + + if update_spec.spec.scheduling and ( + update_spec.spec.scheduling.default + ): + sched_default = update_spec.spec.scheduling.default + if sched_default.resources and sched_default.resources.limits: + cores_limit = sched_default.resources.limits.get( + "cpu", None + ) + memory_limit = sched_default.resources.limits.get( + "memory", None + ) + + if sched_default.resources and ( + sched_default.resources.requests + ): + cores_request = sched_default.resources.requests.get( + "cpu", None + ) + memory_request = sched_default.resources.requests.get( + "memory", None + ) + + if update_spec.spec.services and update_spec.spec.services.primary: + primary_svc = update_spec.spec.services.primary + if primary_svc.port: + port = primary_svc.port + + if primary_svc.annotations: + existing_annotations = ",".join( + f"{item}={primary_svc.annotations[item]}" + for item in primary_svc.annotations + ) + + if service_annotations is None: + service_annotations = existing_annotations + else: + service_annotations += f",{existing_annotations}" + + if primary_svc.labels: + existing_labels = ",".join( + f"{item}={primary_svc.labels[item]}" + for item in primary_svc.labels + ) + + if service_labels is None: + service_labels = existing_labels + else: + service_labels += f",{existing_labels}" + + self.apply_args( + updated_cr, + name, + namespace, + cores_limit, + cores_request, + log_level, + memory_limit, + memory_request, + storage_class_data=None, + storage_class_logs=None, + storage_class_backups=None, + volume_size_data=None, + volume_size_logs=None, + volume_size_backups=None, + api_version=api_version, + dev=dev, + port=port, + retention_days=retention_days, + extensions=extensions, + ad_connector_name=None, + ad_account_name=None, + keytab_secret=keytab_secret, + dns_name=None, + ) + + # Run validations that examine multiple custom resource properties + # + _validate_custom_resource(updated_cr) + + if keytab_secret: + if ( + updated_cr.spec.security + and not updated_cr.spec.security.active_directory + ): + raise CLIError( + "Cannot update Active Directory (AD) keytab if this " + "instance does not have AD enabled." + ) + _validate_keytab_secret(namespace, keytab_secret) + + if not no_external_endpoint: + self.set_external_service_type(updated_cr, service_type) + self.set_external_service_annotations( + updated_cr, service_annotations + ) + self.set_external_service_labels(updated_cr, service_labels) + + # Replace SSL certs if provided + # + if ( + certificate_private_key_file + or certificate_public_key_file + or service_certificate_secret + ): + self.create_service_cert_secret( + updated_cr, + certificate_public_key_file, + certificate_private_key_file, + service_certificate_secret, + ) + + # Replace CR + self.replace_custom_object(updated_cr, crd) + + if nowait: + stdout( + f"Updated {updated_cr.metadata.name} in namespace " + f"`{updated_cr.metadata.namespace}`. Please use " + "`az postgres server-arc show -n " + f"{updated_cr.metadata.name} --namespace " + f"{updated_cr.metadata.namespace}` to check its status." + ) + else: + # Wait for the CR to reflect new state + time.sleep(5) + + self.wait_for_resource_ready(updated_cr, crd, stdout) + + def restore( + self, + name, + namespace, + source_name, + destination_name, + restore_point, + storage_class_data, + storage_class_logs, + storage_class_backups, + volume_size_data, + volume_size_logs, + volume_size_backups, + dry_run, + nowait, + ): + """ + Restores the source PostgreSql resource to a new PostgreSql resource + with the given destination name. + :param name: The name of the Azure Arc enabled PostgreSQL server you + would like to update. + :param namespace: Namespace where the Azure Arc enabled PostgreSQL + server is deployed. + :param source_name: The name of the PostgreSql resource to restore. + :param destination_name: The name of the destination PostgreSql + resource to create. + :param restore_point: The point in time to restore to. + :param dry_run: If set, validates the source and destination resources, + and the restore time. + :param nowait: Do not wait for deployment to be ready before returning. + """ + check_and_set_kubectl_context() + + data_storage = None + if storage_class_data or volume_size_data: + data_volume = RestoreTaskSpecStorageDataVolumesItem( + class_name=storage_class_data, size=volume_size_data + ) + data_storage = RestoreTaskSpecStorageData(volumes=[data_volume]) + + logs_storage = None + if storage_class_logs or volume_size_logs: + logs_volume = RestoreTaskSpecStorageLogsVolumesItem( + class_name=storage_class_logs, size=volume_size_logs + ) + logs_storage = RestoreTaskSpecStorageLogs(volumes=[logs_volume]) + + backups_storage = None + if storage_class_backups or volume_size_backups: + backups_volume = RestoreTaskSpecStorageBackupsVolumesItem( + class_name=storage_class_backups, size=volume_size_backups + ) + backups_storage = RestoreTaskSpecStorageBackups( + volumes=[backups_volume] + ) + + restore_task_storage_spec = None + if data_storage or logs_storage or backups_storage: + restore_task_storage_spec = RestoreTaskSpecStorage( + data=data_storage, logs=logs_storage, backups=backups_storage + ) + + restore_task_spec = PostgreSqlRestoreTaskSpec( + destination_name=destination_name, + restore_point=restore_point, + source_name=source_name, + destination_storage=restore_task_storage_spec, + dry_run=dry_run, + ) + + metadata = PostgresCustomResourceMetadata( + name=name, + namespace=namespace, + ) + + restore_task = PostgreSqlRestoreTask( + api_version=f"{RESTORE_TASK_API_GROUP}/{RESTORE_TASK_API_VERSION}", + kind=RESTORE_TASK_KIND, + metadata=metadata, + spec=restore_task_spec, + ) + + api = k8sClient.CustomObjectsApi() + body = restore_task.as_dict( + key_transformer=last_restapi_key_transformer + ) + + crd = _get_postgres_restore_task_crd() + + _execute_with_retry( + api.create_namespaced_custom_object, + RESTORE_TASK_API_GROUP, + crd.spec.versions[-1].name, + restore_task.metadata.namespace, + crd.spec.names.plural, + body, + ) + + if nowait: + self.stdout( + f"PostgreSqlRestoreTask {name} created to restore PostgreSql " + f"resource {source_name} to {destination_name}" + ) + else: + self.stdout(f"Deploying {name} in namespace `{namespace}`") + + custom_object = self.get_custom_object(name, namespace, crd) + deployed_task = PostgreSqlRestoreTask.from_dict(custom_object) + + while not _is_instance_ready(deployed_task): + if _is_instance_in_error(deployed_task): + self.stdout( + f"{deployed_task.metadata.name} is in an" + f"error state: {_get_error_message(deployed_task)}" + ) + break + + time.sleep(5) + custom_object = self.get_custom_object(name, namespace, crd) + deployed_task = PostgreSqlRestoreTask.from_dict(custom_object) + + if _is_instance_ready(deployed_task): + result = { + "earliest_restore_time": deployed_task.status.earliest_restore_time.strftime( + "%Y-%m-%dT%H:%M:%S.%fZ" + ), + "latest_restore_time": deployed_task.status.latest_restore_time.strftime( + "%Y-%m-%dT%H:%M:%S.%fZ" + ), + "last_update_time": deployed_task.status.last_update_time.strftime( + "%Y-%m-%dT%H:%M:%S.%fZ" + ), + "message": deployed_task.status.message, + "state": deployed_task.status.state, + } + self.stdout(f"{json.dumps(result, indent=4)}") + + def delete(self, name, namespace, force): + """ + Delete an Azure Arc enabled PostgreSQL server. + :param name: The name of the Azure Arc enabled PostgreSQL server you would like to update. + :param namespace: Namespace where the Azure Arc enabled PostgreSQL server is deployed. + :param force: A boolean indicating whether to delete the Azure Arc enabled PostgreSQL + server without confirmation. + """ + stdout = self.stdout + + check_and_set_kubectl_context() + + crd = _get_postgres_crd() + existing_cr = self.get_custom_object(name, namespace, crd) + + _is_valid_connectivity_mode(namespace) + + if existing_cr is None: + raise CLIError( + f"Azure Arc enabled PostgreSQL server {name} not found." + ) + + try: + yes = force or prompt_y_n( + "Do you want to delete Azure Arc enabled PostgreSQL " + f"server {name}?" + ) + except NoTTYException as err: + raise CLIError( + "Please specify --force in non-interactive mode." + ) from err + + if not yes: + stdout(f"Azure Arc enabled PostgreSQL server {name} not deleted.") + return + + try: + api = k8sClient.CustomObjectsApi() + api.delete_namespaced_custom_object( + group=crd.spec.group, + version=crd.spec.versions[-1].name, + plural=crd.spec.names.plural, + namespace=namespace, + name=name, + body=k8sClient.V1DeleteOptions(), + ) + + except Exception as err: + raise KubernetesError(err) from err + + stdout( + f"Deleted Azure Arc enabled PostgreSQL server {name} " + f"from namespace {namespace}" + ) + + stdout( + "Note: Deleting a server does not remove its associated " + "storage. Reach out to your Kubernetes administrator or " + "read documentation article 'Delete an Azure Arc enabled" + " PostgreSQL server' for possible next steps." + ) + + def show(self, name, namespace, path): + """ + Show the details of an Azure Arc enabled PostgreSQL server. + :param name: Name of the Azure Arc enabled PostgreSQL server. + :param namespace: Namespace where the Azure Arc enabled PostgreSQL server is deployed. + :param path: A path to a json file where the full specification for the Azure Arc enabled + PostgreSQL server should be written. + :param use_k8s: Use the current kubeconfig to perform this action. + """ + stdout = self.stdout + check_and_set_kubectl_context() + + crd = _get_postgres_crd() + custom_resource = self.get_custom_object(name, namespace, crd) + if custom_resource is None: + raise CLIError( + f"Azure Arc enabled PostgreSQL server {name} not found." + ) + + if path: + if not os.path.isdir(path): + os.makedirs(path) + path = os.path.join(path, f"{name}.json") + with open(path, "w") as outfile: + json.dump(custom_resource, outfile, indent=4) + stdout(f"{name} specification written to {path}") + else: + return custom_resource + + def list(self, namespace): + """ + List Azure Arc enabled PostgreSQL servers. + :param namespace: Namespace where the Azure Arc enabled PostgreSQL servers are deployed. + :param use_k8s: Use the current kubeconfig to perform this action. + """ + check_and_set_kubectl_context() + + crd = _get_postgres_crd() + crd_version = crd.spec.versions[-1].name + + response = KubernetesClient.list_namespaced_custom_object( + namespace, + group=API_GROUP, + version=crd_version, + plural=crd.spec.names.plural, + ) + + items = response.get("items") + + result = [] + items.sort(key=lambda i: i["kind"] + "\n" + i["metadata"]["name"]) + for item in items: + custom_resource = PostgresCustomResource.from_dict(item) + result.append( + { + "desiredVersion": ( + custom_resource.spec.update.desiredVersion + if custom_resource.spec.update + else None + ), + "name": custom_resource.metadata.name, + "primaryEndpoint": custom_resource.status.primary_endpoint, + "replicas": "{}/1".format( + 1 if custom_resource.status.state == "Ready" else 0 + ), + "runningVersion": custom_resource.status.running_version, + "state": custom_resource.status.state, + } + ) + + return result + + def endpoint_list(self, name, namespace): + check_and_set_kubectl_context() + crd = _get_postgres_crd() + + custom_resources = [] + + if name: + custom_object = self.get_custom_object(name, namespace, crd) + if custom_object is None: + raise CLIError( + f"Azure Arc enabled PostgreSQL server {name} not found." + ) + + custom_resource = PostgresCustomResource.from_dict(custom_object) + custom_resources.append(custom_resource) + else: + response = KubernetesClient.list_namespaced_custom_object( + namespace, + group=API_GROUP, + version=KubernetesClient.get_crd_version(POSTGRES_CRD_NAME), + plural=crd.spec.names.plural, + ) + items = response.get("items") + + for item in items: + custom_resource = PostgresCustomResource.from_dict(item) + if custom_resource: + custom_resources.append(custom_resource) + + arc_postgres_endpoints = {"namespace": namespace} + instances = [] + + # Loop through the specified custom resources and retrieve their + # endpoints from their status + for custom_resource in custom_resources: + endpoints = [] + + if custom_resource.status: + descrip_str = "description" + endpoint_str = "endpoint" + + # Connection string + ext_endpoint = custom_resource.status.primary_endpoint + username = self.get_username(custom_resource) + + if ext_endpoint: + connection_str = ( + f"postgresql://{username}:@" + f"{ext_endpoint}" + ) + else: + connection_str = "Not yet available" + + endpoints.append( + { + descrip_str: "PostgreSQL Instance", + endpoint_str: connection_str, + } + ) + + # Logs + logs_endpoint = custom_resource.status.log_search_dashboard + endpoints.append( + { + descrip_str: "Log Search Dashboard", + endpoint_str: logs_endpoint, + } + ) + + # Metrics + metrics_endpoint = custom_resource.status.metrics_dashboard + endpoints.append( + { + descrip_str: "Metrics Dashboard", + endpoint_str: metrics_endpoint, + } + ) + + instances.append( + { + "name": custom_resource.metadata.name, + "engine": custom_resource.kind, + "endpoints": endpoints, + } + ) + + arc_postgres_endpoints["instances"] = instances + + return arc_postgres_endpoints + + def apply_args( + self, + custom_resource: PostgresCustomResource, + name, + namespace, + cores_limit, + cores_request, + log_level, + memory_limit, + memory_request, + storage_class_data, + storage_class_logs, + storage_class_backups, + volume_size_data, + volume_size_logs, + volume_size_backups, + api_version, + dev, + port, + retention_days, + extensions, + ad_connector_name, + ad_account_name, + keytab_secret, + dns_name, + ): + if not custom_resource.metadata: + custom_resource.metadata = PostgresCustomResourceMetadata() + + custom_resource.metadata.name = name + custom_resource.metadata.namespace = namespace + + if not custom_resource.spec: + custom_resource.spec = PostgresCustomResourceSpec() + + if not custom_resource.spec.scheduling: + scheduling = PostgresCustomResourceSpecScheduling() + custom_resource.spec.scheduling = scheduling + + if not custom_resource.spec.scheduling.default: + default = PostgresCustomResourceSpecSchedulingDefault() + custom_resource.spec.scheduling.default = default + + if not custom_resource.spec.scheduling.default.resources: + resources = PostgresCustomResourceSpecSchedulingDefaultResources( + limits={}, requests={} + ) + custom_resource.spec.scheduling.default.resources = resources + + if not custom_resource.spec.scheduling.default.resources.limits: + custom_resource.spec.scheduling.default.resources.limits = {} + + if not custom_resource.spec.scheduling.default.resources.requests: + custom_resource.spec.scheduling.default.resources.requests = {} + + if cores_limit or cores_limit == "": + custom_resource.spec.scheduling.default.resources.limits["cpu"] = ( + cores_limit + ) + + if memory_limit or memory_limit == "": + custom_resource.spec.scheduling.default.resources.limits[ + "memory" + ] = memory_limit + + if cores_request or cores_request == "": + custom_resource.spec.scheduling.default.resources.requests[ + "cpu" + ] = cores_request + + if memory_request or memory_request == "": + custom_resource.spec.scheduling.default.resources.requests[ + "memory" + ] = memory_request + + if not custom_resource.spec.services: + services = PostgresCustomResourceSpecServices() + custom_resource.spec.services = services + + if not custom_resource.spec.services.primary: + primary = PostgresCustomResourceSpecServicesPrimary() + custom_resource.spec.services.primary = primary + + if port: + custom_resource.spec.services.primary.port = port + + if dns_name: + custom_resource.spec.services.primary.dns_name = dns_name + + # AD configurations + # + if ad_connector_name: + active_directory_connector = PostgresCustomResourceSpecActiveDirectoryConnector( + name=ad_connector_name, + namespace=namespace, # Note: In line with SQL MI cli, but might not be equal in cross-namespace scenario + ) + + active_directory = PostgresCustomResourceSpecActiveDirectory( + connector=active_directory_connector, + keytab_secret=keytab_secret, + account_name=ad_account_name, + ) + + custom_resource.spec.security = PostgresCustomResourceSpecSecurity( + active_directory=active_directory, + ) + + if not custom_resource.spec.storage: + data_volume = PostgresCustomResourceSpecStorageDataVolumesItem( + class_name=storage_class_data, size=volume_size_data + ) + data_storage = PostgresCustomResourceSpecStorageData( + volumes=[data_volume] + ) + + logs_volume = PostgresCustomResourceSpecStorageLogsVolumesItem( + class_name=storage_class_logs, size=volume_size_logs + ) + logs_storage = PostgresCustomResourceSpecStorageLogs( + volumes=[logs_volume] + ) + + backups_volume = ( + PostgresCustomResourceSpecStorageBackupsVolumesItem( + class_name=storage_class_backups, size=volume_size_backups + ) + ) + backups_storage = PostgresCustomResourceSpecStorageBackups( + volumes=[backups_volume] + ) + + storage = PostgresCustomResourceSpecStorage( + data=data_storage, + logs=logs_storage, + backups=backups_storage, + ) + custom_resource.spec.storage = storage + + custom_resource.api_version = api_version + custom_resource.spec.dev = dev + + if retention_days is not None: + custom_resource.spec.backup = PostgresCustomResourceSpecBackup( + retention_period_in_days=retention_days + ) + + if log_level: + if custom_resource.spec.settings is None: + custom_resource.spec.settings = {} + + custom_resource.spec.settings["log_min_messages"] = log_level + + if log_level.startswith("DEBUG"): + if custom_resource.spec.config is None: + custom_resource.spec.config = ( + PostgresCustomResourceSpecConfig() + ) + + custom_resource.spec.config.startup = ( + PostgresCustomResourceSpecConfigStartup( + initdb_debug_flag=True + ) + ) + + if extensions: + if custom_resource.spec.config is None: + custom_resource.spec.config = PostgresCustomResourceSpecConfig() + + custom_resource.spec.config.postgre_sql_extensions = extensions + + if len(extensions) > 0: + shared_preload_libs = { + "pg_cron", + "pglogical", + "pg_partman_bgw", + "timescaledb", + "pgaudit", + "pg_repack", + } + extension_list = list( + set( + [s.strip().lower() for s in extensions.split(",")] + ).intersection(shared_preload_libs) + ) + shared_libs = ( + "'" + ",".join([str(s) for s in extension_list]) + "'" + ) + if shared_libs and custom_resource.spec.settings: + custom_resource.spec.settings[ + "shared_preload_libraries" + ] = shared_libs + + def set_external_service_type( + self, custom_resource: PostgresCustomResource, service_type + ): + if not service_type: + api = k8sClient.CustomObjectsApi() + obj_list = _execute_with_retry( + api.list_namespaced_custom_object, + ARC_GROUP, + KubernetesClient.get_crd_version(DATA_CONTROLLER_CRD_NAME), + custom_resource.metadata.namespace, + DATA_CONTROLLER_PLURAL, + ) + + dcs = obj_list.get("items") + if not dcs: + raise CLIError( + "No data controller exists in namespace " + f"`{custom_resource.metadata.namespace}`. " + "Cannot set external endpoint argument." + ) + else: + dc_cr = CustomResource.decode( + DataControllerCustomResource, dcs[0] + ) + + service_type = dc_cr.get_controller_service().serviceType + + self.init_service_model(custom_resource) + else: + if service_type not in SERVICE_TYPES: + raise ValueError( + f"Invalid service type: {service_type}. " + f"Must be one of {SERVICE_TYPES}" + ) + + custom_resource.spec.services.primary.type = service_type + + def set_external_service_annotations( + self, custom_resource: PostgresCustomResource, annotations + ): + if annotations: + items = annotations.split(",") + + self.init_service_model(custom_resource) + + custom_resource.spec.services.primary.annotations = {} + + for item in items: + annotation = item.split("=") + if len(annotation) == 2: + custom_resource.spec.services.primary.annotations[ + annotation[0] + ] = annotation[1] + else: + raise ValueError( + "Annotations must be formatted: 'name=value,...'" + ) + elif annotations == "": + if custom_resource.spec.services and ( + custom_resource.spec.services.primary + ): + self.clear_all( + custom_resource.spec.services.primary.annotations + ) + + def set_external_service_labels( + self, custom_resource: PostgresCustomResource, labels + ): + if labels: + items = labels.split(",") + + self.init_service_model(custom_resource) + + custom_resource.spec.services.primary.labels = {} + + for item in items: + label = item.split("=") + if len(label) == 2: + custom_resource.spec.services.primary.labels[label[0]] = ( + label[1] + ) + else: + raise ValueError( + "Labels must be formatted: 'name=value,...'" + ) + elif labels == "": + if custom_resource.spec.services and ( + custom_resource.spec.services.primary + ): + self.clear_all(custom_resource.spec.services.primary.labels) + + def clear_all(self, dict): + if dict: + for key in dict.keys(): + dict[key] = "" + + def init_service_model(self, custom_resource: PostgresCustomResource): + if not custom_resource.spec.services: + services = PostgresCustomResourceSpecServices() + custom_resource.spec.services = services + if not custom_resource.spec.services.primary: + primary = PostgresCustomResourceSpecServicesPrimary() + custom_resource.spec.services.primary = primary + + def get_custom_object(self, name, namespace, crd): + api = k8sClient.CustomObjectsApi() + + try: + custom_object = retry( + api.get_namespaced_custom_object, + crd.spec.group, + crd.spec.versions[-1].name, + namespace, + crd.spec.names.plural, + name, + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="get_namespaced_custom_object", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + ), + ) + + return custom_object + except K8sApiException as e: + if e.status == http_status_codes.not_found: + return None + else: + raise + + def check_custom_object_exists(self, name, namespace, crd): + return self.get_custom_object(name, namespace, crd) is not None + + def create_custom_object( + self, custom_resource: PostgresCustomResource, crd + ): + api = k8sClient.CustomObjectsApi() + body = custom_resource.as_dict( + key_transformer=last_restapi_key_transformer + ) + + return _execute_with_retry( + api.create_namespaced_custom_object, + API_GROUP, + crd.spec.versions[-1].name, + custom_resource.metadata.namespace, + crd.spec.names.plural, + body, + ) + + def replace_custom_object( + self, custom_resource: PostgresCustomResource, crd + ): + try: + api = k8sClient.CustomObjectsApi() + return api.replace_namespaced_custom_object( + body=custom_resource.as_dict( + key_transformer=last_restapi_key_transformer + ), + namespace=custom_resource.metadata.namespace, + plural=crd.spec.names.plural, + group=API_GROUP, + version=crd.spec.versions[-1].name, + name=custom_resource.metadata.name, + ) + + except Exception as e: + raise KubernetesError(e) from e + + def check_secret_exists(self, namespace, secret_name): + return _execute_with_retry( + KubernetesClient.secret_exists, + namespace, + secret_name, + ) + + def create_login_secret( + self, custom_resource: PostgresCustomResource, stdout, secret_name + ): + username = os.environ.get(AZDATA_USERNAME) + pw = os.environ.get(AZDATA_PASSWORD) + + if not username: + if sys.stdin.isatty(): + username = prompt("Postgres Server username:") + else: + raise NoTTYException( + "Please provide a Postgres Server username through the env " + "variable AZDATA_USERNAME." + ) + + while username == "": + username = prompt( + "Postgres Server username required. Enter a username:" + ) + else: + stdout( + "Using AZDATA_USERNAME environment variable for " + f"`{custom_resource.metadata.name}` username." + ) + + if not pw: + if sys.stdin.isatty(): + pw = prompt_pass( + "Postgres Server password:", + confirm=True, + allow_empty=False, + ) + else: + raise NoTTYException( + "Please provide a Postgres Server password through the env " + "variable AZDATA_PASSWORD." + ) + else: + stdout( + "Using AZDATA_PASSWORD environment variable for " + f"`{custom_resource.metadata.name}` password." + ) + + model = {"secretName": secret_name} + encoding = "utf-8" + model["base64Username"] = base64.b64encode( + bytes(username, encoding) + ).decode(encoding) + model["base64Password"] = base64.b64encode(bytes(pw, encoding)).decode( + encoding + ) + temp = get_config_from_template( + os.path.join( + os.path.dirname(os.path.realpath(__file__)), + "templates", + "postgres-login.yaml.tmpl", + ), + model, + ) + postgres_secret = yaml.safe_load(temp) + + _execute_with_retry( + KubernetesClient.create_secret, + custom_resource.metadata.namespace, + postgres_secret, + True, + ) + + def get_username(self, custom_resource: PostgresCustomResource): + if custom_resource.spec.security.admin_login_secret: + secret_name = custom_resource.spec.security.admin_login_secret + else: + secret_name = custom_resource.metadata.name + "-login-secret" + + try: + secret = KubernetesClient.get_secret( + custom_resource.metadata.namespace, secret_name + ) + + username = base64.b64decode(secret.data["username"]).decode("utf-8") + except Exception: + username = "" + + return username + + def create_service_cert_secret( + self, + custom_resource: PostgresCustomResource, + certificate_public_key_file, + certificate_private_key_file, + service_certificate_secret, + ): + """ + Creates a secret for the service SSL certificate and private key + """ + + if not certificate_public_key_file and certificate_private_key_file: + raise ValueError( + "Certificate public key file path must be provided " + "when private key path is provided." + ) + + if certificate_public_key_file and not certificate_private_key_file: + raise ValueError( + "Certificate private key file path must be provided " + "when public key path is provided." + ) + + if ( + not certificate_public_key_file + and not certificate_private_key_file + and service_certificate_secret + ): + # The secret must exist + secret_exists = self.check_secret_exists( + custom_resource.metadata.namespace, + service_certificate_secret, + ) + + if not secret_exists: + raise ValueError( + f"Kubernetes secret '{service_certificate_secret}' does not exist. If you " + "intend to use a pre-existing secret, please provide the correct name. If you " + "intend to use a certificate from public key and private key files, please " + "provide their paths in the parameters --cert-public-key-file and " + "--cert-private-key-file." + ) + + validate_certificate_secret( + KubernetesClient, + custom_resource.metadata.namespace, + service_certificate_secret, + ) + + custom_resource.spec.security.service_certificate_secret = ( + service_certificate_secret + ) + else: + secret_name = custom_resource.metadata.name + "-pg-cert-secret" + if service_certificate_secret: + secret_name = service_certificate_secret + + # The secret must NOT exist + secret_exists = self.check_secret_exists( + custom_resource.metadata.namespace, + secret_name, + ) + + if secret_exists and service_certificate_secret: + # Ask the user for a different name + raise ValueError( + CERT_ARGUMENT_ERROR_TEMPLATE.format( + service_certificate_secret + ) + ) + + if secret_exists: + # Update the default name until we get an unused one + while secret_exists: + timestamp = datetime.now().strftime("%m-%d-%Y-%H-%M-%S-%f") + new_name = secret_name + "-" + timestamp + + secret_exists = self.check_secret_exists( + custom_resource.metadata.namespace, + new_name, + ) + + if not secret_exists: + secret_name = new_name + + # Validate and parse data from files. + # + public_key, private_key = parse_cert_files( + certificate_public_key_file, certificate_private_key_file + ) + + # Create secret. + # + create_certificate_secret( + KubernetesClient, + custom_resource.metadata.namespace, + secret_name, + public_key, + private_key, + ) + + custom_resource.spec.security.service_certificate_secret = ( + secret_name + ) + + def wait_for_resource_ready( + self, custom_resource: PostgresCustomResource, crd, stdout + ): + created_obj = self.get_custom_object( + custom_resource.metadata.name, + custom_resource.metadata.namespace, + crd, + ) + deployed_cr = PostgresCustomResource.from_dict(created_obj) + + if not is_windows(): + with AutomaticSpinner( + f"Deploying {custom_resource.metadata.name} in namespace " + f"`{custom_resource.metadata.namespace}`", + show_time=True, + ): + while not _is_instance_ready(deployed_cr): + if _is_instance_in_error(deployed_cr): + stdout( + f"{custom_resource.metadata.name} is in an " + f"error state:{_get_error_message(deployed_cr)}" + ) + break + + time.sleep(5) + updated_obj = self.get_custom_object( + custom_resource.metadata.name, + custom_resource.metadata.namespace, + crd, + ) + + deployed_cr = PostgresCustomResource.from_dict(updated_obj) + else: + stdout( + f"Deploying {custom_resource.metadata.name} in namespace " + f"`{custom_resource.metadata.namespace}`" + ) + while not _is_instance_ready(deployed_cr): + if _is_instance_in_error(deployed_cr): + stdout( + f"{custom_resource.metadata.name} is in " + f"error state:{_get_error_message(deployed_cr)}" + ) + break + + time.sleep(5) + updated_obj = self.get_custom_object( + custom_resource.metadata.name, + custom_resource.metadata.namespace, + crd, + ) + + deployed_cr = PostgresCustomResource.from_dict(updated_obj) + + if _is_instance_ready(deployed_cr): + stdout(f"{custom_resource.metadata.name} is Ready") + + +def _validate_custom_resource(custom_resource: PostgresCustomResource): + if not custom_resource.metadata.name: + raise ValueError( + "Azure Arc enabled PostgreSQL server name cannot be empty" + ) + + if len(custom_resource.metadata.name) > MAX_NAME_LENGTH: + raise ValueError( + "Azure Arc enabled PostgreSQL server name " + f"'{custom_resource.metadata.name}' exceeds " + f"{MAX_NAME_LENGTH} character length limit" + ) + + if not name_meets_dns_requirements(custom_resource.metadata.name): + raise ValueError( + "Azure Arc enabled PostgreSQL server name " + f"'{custom_resource.metadata.name}' does not follow DNS " + f"requirements: {DNS_NAME_REQUIREMENTS}" + ) + + # -- validate active directory args if provided -- + # + if ( + custom_resource.spec.security + and custom_resource.spec.security.active_directory + ): + if not custom_resource.spec.security.active_directory.connector.name: + raise ValueError( + "To enable Active Directory (AD) authentication, the resource name of the AD connector is required." + ) + + if not custom_resource.spec.security.active_directory.account_name: + raise ValueError( + "The Active Directory account name for this Azure Arc enabled PostgreSQL server is missing or invalid." + ) + + if not custom_resource.spec.services.primary.dns_name: + raise ValueError( + "The DNS name for this Azure Arc enabled PostgreSQL server is missing or invalid." + ) + + if not custom_resource.spec.security.active_directory.keytab_secret: + raise ValueError( + "A keytab secret is required when Active Directory is enabled for Azure Arc enabled PostgreSQL server." + ) + + _validate_keytab_secret( + custom_resource.metadata.namespace, + custom_resource.spec.security.active_directory.keytab_secret, + ) + _validate_ad_connector( + KubernetesClient, + custom_resource.spec.security.active_directory.connector.name, + custom_resource.spec.security.active_directory.connector.namespace, + ) + _validate_dns_service( + name=custom_resource.spec.services.primary.dns_name, + port=custom_resource.spec.services.primary.port, + type="primary", + ) + + limits = custom_resource.spec.scheduling.default.resources.limits + requests = custom_resource.spec.scheduling.default.resources.requests + + if "memory" in requests and requests["memory"] != "": + val = KubeQuantity(requests["memory"]) + if val < POSTGRES_MIN_MEMORY_SIZE: + raise ValueError( + "Postgres memory request must be at least " + f"'{POSTGRES_MIN_MEMORY_SIZE.quantity}'" + ) + + if "cpu" in requests and requests["cpu"] != "": + val = KubeQuantity(str(requests["cpu"])) + if val < POSTGRES_MIN_CORES_SIZE: + raise ValueError( + "Postgres cores request must be at least " + f"'{POSTGRES_MIN_CORES_SIZE.quantity}'" + ) + + if "memory" in limits and limits["memory"] != "": + val = KubeQuantity(limits["memory"]) + if val < POSTGRES_MIN_MEMORY_SIZE: + raise ValueError( + "Postgres memory limit must be at least " + f"'{POSTGRES_MIN_MEMORY_SIZE.quantity}'" + ) + + if "cpu" in limits and limits["cpu"] != "": + val = KubeQuantity(str(limits["cpu"])) + if val < POSTGRES_MIN_CORES_SIZE: + raise ValueError( + "Postgres cores limit must be at least " + f"'{POSTGRES_MIN_CORES_SIZE.quantity}'" + ) + + if "memory" in limits and "memory" in requests: + mem_lim = limits["memory"] + mem_req = requests["memory"] + if mem_lim and mem_req: + mem_lim_qty = KubeQuantity(mem_lim) + mem_req_qty = KubeQuantity(mem_req) + if mem_req_qty > mem_lim_qty: + raise ValueError( + f"Memory request of {mem_req} cannot exceed memory " + f"limit of {mem_lim}" + ) + + if "cpu" in limits and "cpu" in requests: + cpu_lim = str(limits["cpu"]) + cpu_req = str(requests["cpu"]) + if cpu_lim and cpu_req: + cpu_lim_qty = KubeQuantity(cpu_lim) + cpu_req_qty = KubeQuantity(cpu_req) + if cpu_req_qty > cpu_lim_qty: + raise ValueError( + f"Cores request of {cpu_req} cannot exceed cores " + f"limit of {cpu_lim}" + ) + _validate_backup_storage( + custom_resource.spec.storage.backups, custom_resource.spec.dev + ) + _validate_storage(custom_resource.spec.storage.logs) + _validate_storage(custom_resource.spec.storage.data) + + +def _validate_dns_service(name="", port=0, type="primary"): + if not _validate_domain_name(name): + raise ValueError( + "The {0} DNS service name '{1}' is invalid.".format(type, name) + ) + + try: + port = int(port) + assert 0 < port <= 65535 + return True + except: + raise ValueError( + "The {0} DNS service port '{1}' is invalid.".format(type, port) + ) + + +def _validate_ad_connector(client, name, namespace): + if not name or not namespace: + raise ValueError( + "To enable Active Directory (AD) authentication, both the resource name and namespace of the AD connector are required." + ) + + check_and_set_kubectl_context() + + _get_ad_connector_custom_resource(client, name, namespace) + + +def _validate_keytab_secret(namespace, keytab_secret_name): + """ + Validates that the given keytab secret exists + """ + keytab_entry_in_secret = "keytab" + + if not keytab_secret_name: + raise ValueError( + "The name of the Kubernetes secret containing the Active Directory keytab is required." + ) + + check_and_set_kubectl_context() + + # Check if secret exists + # + # + if not _execute_with_retry( + KubernetesClient.secret_exists, + namespace, + keytab_secret_name, + ): + raise ValueError( + "Kubernetes secret `{}` not found in namespace `{}`.".format( + keytab_secret_name, namespace + ) + ) + + k8s_secret = retry( + lambda: KubernetesClient.get_secret(namespace, keytab_secret_name), + retry_method="get secret", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + K8sApiException, + ), + ) + + secret_data = k8s_secret.data + + # Check if keytab exists in the secret + # + if keytab_entry_in_secret not in secret_data: + raise ValueError( + "Kubernetes secret '{0}' does not have key '{1}'".format( + keytab_secret_name, keytab_entry_in_secret + ) + ) + + +def _validate_storage(storage: PostgresCustomResourceSpecStorageData): + if storage and storage.volumes: + for v in storage.volumes: + if v.class_name and not KubernetesClient.storage_class_exists( + v.class_name + ): + raise ValueError(STORAGE_CLASS_ERROR.format(v.class_name)) + if v.size: + KubeQuantity(v.size) + + +def _validate_backup_storage( + storage: PostgresCustomResourceSpecStorageBackups, + is_dev: PostgresCustomResourceSpec, +): + if storage and storage.volumes: + for v in storage.volumes: + if v.class_name is None: + continue + elif not KubernetesClient.storage_class_exists(v.class_name): + raise ValueError(STORAGE_CLASS_ERROR.format(v.class_name)) + if v.size: + KubeQuantity(v.size) + if is_dev is None: + try: + validate_rwx_storage_class( + name=v.class_name, + storage_type="backup", + instance_type="Postgres", + ) + except Exception as e: + raise CLIError( + "Specify --dev option if not using a ReadWriteMany storage type for backups." + ) from e + + +def _get_postgres_crd(): + """ + Returns the PostgreSQL CRD. + :return: + """ + api = k8sClient.ApiextensionsV1Api() + crds = api.list_custom_resource_definition() + + for crd in crds.items: + if crd.spec.names.kind == RESOURCE_KIND: + return crd + + raise CLIError("Unable to locate PostgreSQL custom resource definition.") + + +def _get_postgres_restore_task_crd(): + """ + Returns the PostgreSQLRestoreTask CRD. + :return: + """ + api = k8sClient.ApiextensionsV1Api() + crds = api.list_custom_resource_definition() + + for crd in crds.items: + if crd.spec.names.kind == RESTORE_TASK_KIND: + return crd + + raise CLIError( + "Unable to locate PostgreSQLRestoreTask custom resource definition." + ) + + +def _is_instance_ready(cr): + """ + Check that the PostgreSQL or PostgreSQLRestoreTask instance is ready or + completed. + :param cr: Instance to check the readiness of + :return: True if the instance is in error, False otherwise + """ + return ( + cr.status + and cr.metadata.generation == cr.status.observed_generation + and cr.status.state is not None + and ( + cr.status.state.lower() == "ready" + or cr.status.state.lower() == "completed" + ) + ) + + +def _is_instance_in_error(cr): + """ + Check that the PostgreSQL or PostgreSQLRestoreTask instance is in an error + state. + :param cr: Instance to check the readiness of + :return: True if the instance is in error, False otherwise + """ + return ( + cr.status + and cr.status.state is not None + and ( + cr.status.state.lower() == "error" + or cr.status.state.lower() == "failed" + ) + ) + + +def _get_error_message(cr): + """ + Get error message from the status of custom resource + :param cr: Instance to get error message. + """ + return cr.status.message + + +def _execute_with_retry(func, *args): + return retry( + func, + *args, + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method=func.__name__, + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + K8sApiException, + ), + ) + + +def _is_valid_connectivity_mode(namespace): + response = _execute_with_retry( + KubernetesClient.list_namespaced_custom_object, + namespace, + None, + ARC_GROUP, + KubernetesClient.get_crd_version(DATA_CONTROLLER_CRD_NAME), + DATA_CONTROLLER_PLURAL, + ) + + dcs = response.get("items") + if not dcs: + raise CLIError(f"No data controller exists in namespace `{namespace}`.") diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/postgres/templates/postgres-login.yaml.tmpl b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/postgres/templates/postgres-login.yaml.tmpl new file mode 100644 index 00000000000..c29a40f1ced --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/postgres/templates/postgres-login.yaml.tmpl @@ -0,0 +1,8 @@ +apiVersion: v1 +kind: Secret +metadata: + name: {{ model.secretName }} +type: Opaque +data: + username: {{ model.base64Username }} + password: {{ model.base64Password }} \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/templates/service-certificate.yaml.tmpl b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/templates/service-certificate.yaml.tmpl new file mode 100644 index 00000000000..95a9c97d107 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/templates/service-certificate.yaml.tmpl @@ -0,0 +1,8 @@ +apiVersion: v1 +kind: Secret +metadata: + name: {{ model.secretName }} +type: Opaque +data: + certificate.pem: {{ model.base64Certificate }} + privatekey.pem: {{ model.base64PrivateKey }} \ No newline at end of file diff --git a/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/util.py b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/util.py new file mode 100644 index 00000000000..3646122dba8 --- /dev/null +++ b/src/arcdata/arcdata/azext_arcdata/vendored_sdks/kubernetes_sdk/util.py @@ -0,0 +1,230 @@ +from azext_arcdata.core.constants import ( + ARC_GROUP, + DATA_CONTROLLER_PLURAL, + DIRECT, +) +from azext_arcdata.core.util import get_config_from_template, retry +from azext_arcdata.vendored_sdks.kubernetes_sdk.client import ( + K8sApiException, + http_status_codes, +) +from azext_arcdata.vendored_sdks.kubernetes_sdk.dc.constants import DATA_CONTROLLER_CRD_NAME + +from urllib3.exceptions import MaxRetryError, NewConnectionError + +import base64 +import yaml +import os +import pem + +CONNECTION_RETRY_ATTEMPTS = 12 +RETRY_INTERVAL = 5 + + +def create_certificate_secret( + client, + namespace: str, + service_certificate_secret: str, + cert_public_key: str, + cert_private_key: str, +): + """ + creates a secret in Kubernetes to store service certificate. + """ + + secret_model = dict() + encoding = "utf-8" + secret_model["secretName"] = service_certificate_secret + secret_model["base64Certificate"] = base64.b64encode( + bytes(cert_public_key, encoding) + ).decode(encoding) + secret_model["base64PrivateKey"] = base64.b64encode( + bytes(cert_private_key, encoding) + ).decode(encoding) + temp = get_config_from_template( + os.path.join( + os.path.dirname(os.path.realpath(__file__)), + "templates", + "service-certificate.yaml.tmpl", + ), + secret_model, + ) + certificate_secret = yaml.safe_load(temp) + + try: + retry( + lambda: client.create_secret( + namespace, + certificate_secret, + ignore_conflict=True, + ), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="create secret", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + K8sApiException, + ), + ) + + except K8sApiException as e: + if e.status != http_status_codes.conflict: + raise + + +def validate_certificate_secret(client, namespace, service_certificate_secret): + """ + validates the given service certificate secret. + """ + certificate_entry_in_secret = "certificate.pem" + privatekey_entry_in_secret = "privatekey.pem" + + # Load secret and validate contents. + # + k8s_secret = retry( + lambda: client.get_secret(namespace, service_certificate_secret), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="get secret", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + K8sApiException, + ), + ) + + secret_data = k8s_secret.data + + # Check if certificate and privatekey entries exist + # in the secret. + # + if ( + certificate_entry_in_secret not in secret_data + or privatekey_entry_in_secret not in secret_data + ): + raise ValueError( + "Kubernetes secret '" + + service_certificate_secret + + "' must have keys '" + + certificate_entry_in_secret + + "' and '" + + privatekey_entry_in_secret + + "' in it." + ) + + # Read data and ensure correct PEM format. + # + certificate_data = base64.b64decode( + secret_data[certificate_entry_in_secret] + ) + privatekey_data = base64.b64decode(secret_data[privatekey_entry_in_secret]) + + try: + parsed_certificates = pem.parse(certificate_data) + except: + raise ValueError( + "Certificate data in secret '" + + service_certificate_secret + + "' does not have a valid PEM format." + ) + + try: + parsed_privatekeys = pem.parse(privatekey_data) + except: + raise ValueError( + "Private key data in secret '" + + service_certificate_secret + + "' does not have a valid PEM format." + ) + + # Ensure single certificate and private key exist. + # + if len(parsed_certificates) != 1: + raise ValueError( + "Certificate data in secret '" + + service_certificate_secret + + "' must have one and only one valid PEM formatted certificate." + ) + if len(parsed_privatekeys) != 1: + raise ValueError( + "Private key data in secret '" + + service_certificate_secret + + "' must have one and only one valid PEM formatted private key." + ) + + # Ensure that certificate is of type pem._core.Certificate and private key + # is of type pem._core.RSAPrivateKey. + # + if not isinstance(parsed_certificates[0], pem._core.Certificate): + raise ValueError( + "Certificate data in secret '" + + service_certificate_secret + + "' must have a valid PEM formatted certificate." + ) + + if not isinstance( + parsed_privatekeys[0], pem._core.RSAPrivateKey + ) and not isinstance(parsed_privatekeys[0], pem._core.PrivateKey): + raise ValueError( + "Private key data in secret '" + + service_certificate_secret + + "' must have a valid PEM formatted private key." + ) + + +def check_secret_exists_with_retries(client, namespace, secret): + """ + Check if a k8s secret exists with retries. + """ + + return retry( + lambda: client.secret_exists(namespace, secret), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="secret exists", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + K8sApiException, + ), + ) + + +def is_valid_connectivity_mode(client, namespace): + """ + Checks if connectivity mode is valid (only indirect mode is allowed). + """ + CONNECTION_RETRY_ATTEMPTS = 12 + RETRY_INTERVAL = 5 + response = retry( + lambda: client.list_namespaced_custom_object( + namespace, + group=ARC_GROUP, + version=client.get_crd_version(DATA_CONTROLLER_CRD_NAME), + plural=DATA_CONTROLLER_PLURAL, + ), + retry_count=CONNECTION_RETRY_ATTEMPTS, + retry_delay=RETRY_INTERVAL, + retry_method="list namespaced custom object", + retry_on_exceptions=( + NewConnectionError, + MaxRetryError, + K8sApiException, + ), + ) + dcs = response.get("items") + if not dcs: + raise ValueError( + "No data controller exists in Kubernetes namespace `{}`.".format( + namespace + ) + ) + else: + # Checks if connectivity mode is valid (only indirect mode is allowed) + # + if dcs[0]["spec"]["settings"]["azure"]["connectionMode"] == DIRECT: + raise ValueError( + "Performing this action from az using the --use-k8s parameter " + "is only allowed when the data controller is in indirect connectivity mode." + ) diff --git a/src/arcdata/arcdata/requirements.txt b/src/arcdata/arcdata/requirements.txt new file mode 100644 index 00000000000..04874b79e63 --- /dev/null +++ b/src/arcdata/arcdata/requirements.txt @@ -0,0 +1,11 @@ +colorama==0.4.4 +kubernetes==31.0.0 +pydash==7.0.6 +jinja2==3.1.6 +jsonpath_ng==1.4.3 +jsonpatch==1.24 +jsonschema==3.2.0 +ndjson==0.3.1 +pem==21.2.0 +regex==2023.10.3 +msrestazure==0.6.4.post1 \ No newline at end of file diff --git a/src/arcdata/arcdata/setup.cfg b/src/arcdata/arcdata/setup.cfg new file mode 100644 index 00000000000..3480374bc2f --- /dev/null +++ b/src/arcdata/arcdata/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal=1 \ No newline at end of file diff --git a/src/arcdata/arcdata/setup.py b/src/arcdata/arcdata/setup.py new file mode 100644 index 00000000000..2e4087fcc36 --- /dev/null +++ b/src/arcdata/arcdata/setup.py @@ -0,0 +1,54 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +import os +from codecs import open +from setuptools import setup, find_packages + + +# To install the library, run the following +# +# python setup.py install +# +# prerequisite: setuptools +# http://pypi.python.org/pypi/setuptools + + +def read(file): + cwd = os.path.abspath(os.path.dirname(__file__)) + with open(os.path.join(cwd, file), "r", "utf-8") as f: + return f.read() + + +CLASSIFIERS = [ + "Development Status :: 1 - Beta", + "Intended Audience :: Developers", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "License :: OSI Approved :: MIT License", +] + +REQUIREMENTS = os.path.expandvars(read(os.path.join("requirements.txt"))) +README = read("README.rst") +HISTORY = read("HISTORY.rst") +ABOUT = {} +exec(read(os.path.join("azext_arcdata", "__version__.py")), ABOUT) + +setup( + name=ABOUT["__title__"], + version=ABOUT["__version__"], + license=ABOUT["__license__"], + description=ABOUT["__description__"], + long_description=README + "\n\n" + HISTORY, + author=ABOUT["__author__"], + author_email=ABOUT["__author_email__"], + url=ABOUT["__url__"], + classifiers=CLASSIFIERS, + package_data={"azext_arcdata": ["azext_metadata.json"]}, + packages=find_packages(exclude=["*.test", "*.test.*", "test.*", "test"]), + install_requires=REQUIREMENTS, + include_package_data=True, +) diff --git a/src/arcdata/azure-pipelines.yml b/src/arcdata/azure-pipelines.yml new file mode 100644 index 00000000000..685fbf4ed33 --- /dev/null +++ b/src/arcdata/azure-pipelines.yml @@ -0,0 +1,53 @@ +# This Yaml Document has been converted by ESAI Yaml Pipeline Conversion Tool. +# Please make sure to check all the converted content, it is your team's responsibility to make sure that the pipeline is still valid and functions as expected. +# This pipeline will be extended to the OneBranch template +trigger: + batch: true + branches: + include: + - master + paths: + include: + - projects/azure-cli-extension/* +variables: +- name: Build.SourcesCliDirectory + value: '$(Build.SourcesDirectory)/projects/azure-cli-extension' +- name: PIPELINE_BUILD_NUMBER + value: $(Build.BuildNumber) +- name: SOURCE_BRANCH + value: $(Build.SourceBranch) +- name: LinuxContainerImage + value: onebranch.azurecr.io/linux/ubuntu-2204:latest +- name: WindowsContainerImage + value: onebranch.azurecr.io/windows/ltsc2019/vse2022:latest +resources: + repositories: + - repository: onebranchTemplates + type: git + name: OneBranch.Pipelines/GovernedTemplates + ref: refs/heads/main +extends: + template: v2/OneBranch.Official.CrossPlat.yml@onebranchTemplates + parameters: + customTags: 'ES365AIMigrationTooling-BulkMigrated' + globalSdl: # https://aka.ms/obpipelines/sdl + asyncSdl: # https://aka.ms/obpipelines/asyncsdl + enabled: false # + tsa: + enabled: false # onebranch publish all sdl results to TSA. If TSA is disabled all SDL tools will forced into 'break' build mode. + credscan: + suppressionsFile: $(Build.SourcesDirectory)\.config\CredScanSuppressions.json + binskim: + break: true # always break the build on binskim issues in addition to TSA upload + policheck: + break: true # always break the build on policheck issues. You can disable it by setting to 'false' + codeql: + compiled: + enabled: false + # suppression: + # suppressionFile: $(Build.SourcesDirectory)\.gdn\global.gdnsuppress + stages: + - template: /projects/azure-cli-extension/scripts/ci/pipeline-templates/build.yaml@self + - template: /projects/azure-cli-extension/scripts/ci/pipeline-templates/coverage.yaml@self + - template: /projects/azure-cli-extension/scripts/ci/pipeline-templates/lint-and-style.yaml@self + - template: /projects/azure-cli-extension/scripts/ci/pipeline-templates/test.yaml@self \ No newline at end of file diff --git a/src/arcdata/cli-actions.sh b/src/arcdata/cli-actions.sh new file mode 100644 index 00000000000..089cdb2f07d --- /dev/null +++ b/src/arcdata/cli-actions.sh @@ -0,0 +1,136 @@ +#!/bin/bash -e + +# +# The purpose of this file is to: +# 1. Offload some of the scripting in platform/Makefile for the CLI so the +# Makefile does not get bloated/verbose. +# 2. Insert some logic into the workflow as to only create a virtual environment +# once that holds all the CLI build dependancies. +# +# The reason for (2) above is that we create only once (until cleaned) a virtual +# environment of the CLI, this saves some build cycles given how subprojects +# behave such that we are not constantly creating/installing/removing. +# + +# -- manage virtual environment -- +# + +SCRIPT_PATH="$( cd "$(dirname "$0")" ; pwd -P )" +export AZURE_EXTENSION_DIR=$SCRIPT_PATH + +if [ $USE_VENV ]; then + $AZURE_EXTENSION_DIR/scripts/generate-role-template.sh + VENV_DIRECTORY=${VENV_DIRECTORY:-"./env"} + + if [ ! -d "$VENV_DIRECTORY" ]; then + echo "No CLI virtual environment created yet. creating..." + python3 -m venv $VENV_DIRECTORY + . $VENV_DIRECTORY/bin/activate + python3 -m pip install wheel setuptools azure-cli + python3 -m pip install -e $AZURE_EXTENSION_DIR/arcdata + else + . $VENV_DIRECTORY/bin/activate + fi +fi + +run() { + echo $* + $* +} + +# -- run cli command action -- +# +case "$1" in + create-arc-dc) + CONFIG_PROFILE="$2" + CLUSTER_NAME="$3" + MONITORING_CERT_DIR="$4" + + if [ $# -ne 4 ] + then + echo "Usage: $0 $1 CONFIG_PROFILE CLUSTER_NAME MONITORING_CERT_DIR" + exit 1 + fi + + COMMIT_HASH=$(git rev-parse --short HEAD) + AUTHOR_TAG=${AUTHOR_TAG:-$(git config user.email | cut -d@ -f1)} + + ARGS="--path $CONFIG_PROFILE --k8s-namespace ${CLUSTER_NAME} \ + --name ${DATA_CONTROLLER_NAME}-${AUTHOR_TAG}-${COMMIT_HASH} \ + --subscription ${SUBSCRIPTION} \ + --resource-group ${RESOURCE_GROUP} \ + --location ${LOCATION} \ + --connectivity-mode ${CONNECTIVITY_MODE} \ + --logs-ui-private-key-file ${MONITORING_CERT_DIR}/logsui-key.pem \ + --logs-ui-public-key-file ${MONITORING_CERT_DIR}/logsui-cert.pem \ + --metrics-ui-private-key-file ${MONITORING_CERT_DIR}/metricsui-key.pem \ + --metrics-ui-public-key-file ${MONITORING_CERT_DIR}/metricsui-cert.pem \ + --use-k8s" + + run az arcdata dc create $ARGS + ;; + create-arc-config) + CONFIG_PROFILE="$2" + PROFILE_TYPE="$3" + + if [ $# -ne 3 ] + then + echo "Usage: $0 $1 CONFIG_PROFILE PROFILE_TYPE" + exit 1 + fi + + if [ -f $CONFIG_PROFILE ] ; then + rm $CONFIG_PROFILE + fi + + run az arcdata dc config init --source $PROFILE_TYPE --path $CONFIG_PROFILE --force + ;; + set-arc-config) + CONFIG_PROFILE="$2" + PATCH_FILE="$3" + + if [ $# -ne 3 ] + then + echo "Usage: $0 $1 CONFIG_PROFILE PATCH_FILE" + exit 1 + fi + + run az arcdata dc config patch --path $CONFIG_PROFILE --patch-file $PATCH_FILE + ;; + delete-arc-dc) + CLUSTER_NAME="$2" + + if [ $# -ne 2 ] + then + echo "Usage: $0 $1 CLUSTER_NAME" + exit 1 + fi + + COMMIT_HASH=$(git rev-parse --short HEAD) + AUTHOR_TAG=${AUTHOR_TAG:-$(git config user.email | cut -d@ -f1)} + + ARGS="--name $DATA_CONTROLLER_NAME-$AUTHOR_TAG-$COMMIT_HASH --k8s-namespace $CLUSTER_NAME --force --yes --use-k8s" + run az arcdata dc delete $ARGS + ;; + copy) + CLUSTER_NAME="$2" + DEBUG_OUTPUT_DIRECTORY="$3" + COPY_LOGS_TIMEOUT="$4" + + if [ $# -ne 4 ] + then + echo "Usage: $0 $1 CLUSTER_NAME DEBUG_OUTPUT_DIRECTORY COPY_LOGS_TIMEOUT" + exit 1 + fi + + run az arcdata dc debug copy-logs --k8s-namespace $CLUSTER_NAME --target-folder $DEBUG_OUTPUT_DIRECTORY --verbose --timeout $COPY_LOGS_TIMEOUT --use-k8s + ;; + *) echo "Invalid option: $1" + ;; +esac + +# -- deactivate venv -- +# +if [ $USE_VENV ]; then + deactivate +fi diff --git a/src/arcdata/dev-requirements.txt b/src/arcdata/dev-requirements.txt new file mode 100644 index 00000000000..17089755a9e --- /dev/null +++ b/src/arcdata/dev-requirements.txt @@ -0,0 +1,15 @@ +#wheel==0.45.1 +urllib3==2.2.2 # indirect dependency, pinning for dev env +azure-cli==2.48.1; python_version == '3.8' +azure-cli==2.72.0; python_version > '3.8' +azdev==0.1.63 +black==22.3.0 +pytest==8.2.0 +pytest-cov==2.12.1 +pytest-html==3.1.1 +pytest-metadata==3.1.1 +pytest-mock==3.6.1 +pytest-runner==5.3.1 +tox==3.23.1 +pre-commit==2.14.0 +flake8==3.9.2 diff --git a/src/arcdata/doc/dev-setup.md b/src/arcdata/doc/dev-setup.md new file mode 100644 index 00000000000..2af7965dd55 --- /dev/null +++ b/src/arcdata/doc/dev-setup.md @@ -0,0 +1,91 @@ +# Development setup + +>**Note:** It is highly recommended to install the `azure-cli-extension` into a virtual environment as to not pollute the global python +packages or conflict with system packages. + +### Quickstart + +Install Python 3.6 or later from python.org, apt-get, or some other installer. + +##### LINUX and macOS +```bash +export AZURE_EXTENSION_DIR=path/to/azure-cli-extension +python3 ./scripts/dev_setup.py +source ./env/bin/activate +az arcdata --help +az extension list +``` + +##### Windows +```cmd +set AZURE_EXTENSION_DIR=path\to\azure-cli-extension +python .\scripts\dev_setup.py +.\env\Scripts\activate.bat +az arcdata --help +az extension list +``` + +## Get the source + +1. Clone the Azure Devops CLI extension repository. + + ```bash + $ git clone https://msdata.visualstudio.com/DefaultCollection/Tina/_git/arcdata + $ cd ./arcdata/projects/azure-cli-extension + ``` + +## Create a virtual environment + +1. From the `azure-cli-extension` directory, create and activate a new virtual environment: + + ```bash + virtualenv env + ``` + +1. Install and activate the new virtual environment: + + On Linux macOS: + + ```bash + $ python -m venv ./env + $ source ./env/bin/activate + + + On Windows: + + ```bash + $ python -m venv .\env + $ .\env\Scripts\activate.bat + ``` + +1. Run the `dev_setup.py` script to install the Azure ArcData CLI packages and other dependencies into your virtual environment: + + ```bash + python scripts/dev_setup.py + ``` + +## Developing + +Run `az extension list` and `az arc -h` to verify your environment is setup properly. + +1. `dev_setup.py` script has already set your `AZURE_EXTENSION_DIR` environment variable to `.azure\devcliextensions` directory that will hold the extensions being developed + + On Windows + + Run below command any time you make changes to your extension and want to see them reflected in the CLI. + + ```bash + pip install --upgrade --target %AZURE_EXTENSION_DIR%\arcdata Dev\arcdata-cli-extension\arcdata + ``` + + * `%AZURE_EXTENSION_DIR%\arcdata` is the directory `pip` will install the extension to. + + * `Dev\arcdata-cli-extension\arcdata` is the directory with the source code of your extension. + + On Linux + + ```bash + pip install --upgrade --target $AZURE_EXTENSION_DIR/arcdata Dev\arcdata-cli-extension\arcdata/ + ``` + +1. Run `az arc -h` again to verify if extension is installed properly. diff --git a/src/arcdata/doc/direct-mode-overview.md b/src/arcdata/doc/direct-mode-overview.md new file mode 100644 index 00000000000..880ab221274 --- /dev/null +++ b/src/arcdata/doc/direct-mode-overview.md @@ -0,0 +1,79 @@ + + +## Supported Direct / ARM commands + + +### Known / Pending issues + +1. No `az sql mi-arc upgrade` or `az arcdata dc upgrade` for **direct-mode** current, only indirect. This feature will come is this week. +2. You **must** first create a `--custom-location`. We will also be fixing this as well post bug-bash +3. `az arcdata dc upload` STILL uses SPN to authenticate. We also will be fixing this to use our new auth-workflow that does not require the tuple. +4. Mutually exclusive argument validation is not in place meaning some commands are only applicable to `direct` or `indirect` but not both. In this case they are just ignored. We will fix this to raise mutually exclusive argument errors. +5. We have not deprecated/routed `az sql mi-arc edit` to `az sql mi-arc update` yet. +6. Add better [--help] examples for direct mode. + +### Command Overview + + +- [--use-k8s] implies indirect local kubernetes +- If you leave off [--use-k8s] it will execute against direct / ARM + +> NOTE: To use az direct mode commands, run `az login` first. + +> NOTE: You must have the [--custom-location] previously created. We will be fixing this to handel the 3 in 1 usecase. + +> NOTE: Mutually exclusive arguments are identified via [--help] in their own group, for example: +``` +> az arcdata dc create --help + +Direct mode Arguments + --custom-location : Custom location. + --enable-auto-upload-logs : Enable auto upload logs. + --enable-auto-upload-metrics : Enable auto upload metrics. + +Indirect mode Arguments + --k8s-namespace -k : The Kubernetes namespace to deploy the data controller into. If + it exists already it will be used. If it does not exist, an + attempt will be made to create it first. + --use-k8s : Create data controller using local Kubernetes APIs. + +... +... +... + +``` + + +**DC:** +``` +az login +az arcdata dc create -n --connectivity-mode direct --resource-group -l --custom-location +az arcdata dc delete -n --resource-group +az arcdata dc status show -n --resource-group +``` + +**SQLMI** +``` +az login +az sql mi-arc create -n --resource-group --location --custom-location +az sql mi-arc delete -n --resource-group +az sql mi-arc show -n --resource-group +az sql mi-arc list --resource-group +az sql mi-arc edit --resource-group -n --custom-location --tag-name --tag-value +``` + +#### Full argument permutation for sql mi-arc create/edit + + +Command example with full args for `az sql mi-arc create`: + +``` +az sql mi-arc create -n --resource-group --location --custom-location --cores-limit 4 --cores-request 2 --memory-limit 8Gi --memory-request 4Gi --storage-class-data slow --storage-class-logs slow --storage-class-datalogs slow --storage-class-backups slow --volume-size-data 5Gi --volume-size-logs 5Gi --volume-size-datalogs 5Gi --no-wait --no-external-endpoint --cert-public-key-file xxx --cert-private-key-file xxx --service-cert-secret xxx --admin-login-secret xxx --license-type LicenseIncluded --tier GeneralPurpose --dev --labels testlable --annotations testAnno --service-labels serviceLabel --service-annotations serviceAnno --storage-labels storeLable --storage-annotations storeAnno --collation coll --language English --agent-enabled True --trace-flags True --time-zone --retention-days rd +``` + +Full function of az `sql mi-arc edit`: + + +``` +az sql mi-arc edit --resource-group <> -n --location --custom-location --tag-name <> --tag-value <> --cores-limit <> --cores-request 2 --memory-limit 8Gi --memory-request 4Gi --labels testlable --annotations testAnno --service-labels serviceLabel --service-annotations serviceAnno --trace-flags True --time-zone eastus --retention-days rd --preferred-primary-replica --primary-replica-failover-interval <600> +``` diff --git a/src/arcdata/doc/release-new-version.md b/src/arcdata/doc/release-new-version.md new file mode 100644 index 00000000000..0ab774c90c0 --- /dev/null +++ b/src/arcdata/doc/release-new-version.md @@ -0,0 +1,46 @@ +> In Progress + +# Instructions to release a new version of ArcData CLI extension + +The creation of a new release involves: + +1. Creating a new wheel from existing code and hosting it. +1. Updating index file in Azure CLI extensions repository. +1. Updating ArcData CLI extension version in repository and releases + +## Creating a new wheel from existing code and hosting it + +To do this trigger a [ArcData CLI - Create Releases - YAML](https://dev.azure.com/ms/arcdata-cli-extension/_build?definitionId=38) build + +This build will: + +* create and upload wheel with the latest code (which can be downloaded from artifacts) +* this will also create a draft release in GitHub Repository +* calculate sha256 for the wheel (which can be found in logs) + +### Manual Steps + +* Publish the draft release in GitHub after making required changes in release notes + +## Updating index file in Azure CLI extensions repository + +Index file is present [here](https://github.com/Azure/azure-cli-extensions/blob/master/src/index.json) which needs to be updated so that new wheel is available for consumption in azure CLI +Find 'ArcData' to see where is the entry for 'ArcData extension +Create a PR for updating, fields in index json are self explanatory + +## Create a new release branch and push to the repo + +Create a new branch (release-0.x.0) from master with the changes which have been released and push this new branch to the repo. + +## Updating ArcData CLI extension version in repository and releases + +Once release is done make sure to update the version for ArcData CLI +Also update build pipelines YAMLS +[Release Pipeline](./../scripts//ci/.azure-pipelines/azure-pipelines-create-release.yml) +[Merge Pipeline](./../scripts/ci/.azure-pipelines/azure-pipelines-merge.yml) + +### Update ArcData CLI-Released Version pipeline definition + +Update the [definition](https://dev.azure.com/ms/arcdata-cli-extension/_build?definitionId=36&_a=summary) to run from the latest release branch as pushed above. + +This release runs periodically and makes sure the released build works. Main validation here is dependency validation. diff --git a/src/arcdata/pylintrc b/src/arcdata/pylintrc new file mode 100644 index 00000000000..099671ac1fa --- /dev/null +++ b/src/arcdata/pylintrc @@ -0,0 +1,45 @@ +[MASTER] +ignore-patterns=test_* +reports=no +ignore=kubernetes_sdk + +[MESSAGES CONTROL] +# For all codes, run 'pylint --list-msgs' or go to 'https://pylint.readthedocs.io/en/latest/reference_guide/features.html' +# locally-disabled: Warning locally suppressed using disable-msg +# cyclic-import: because of https://github.com/PyCQA/pylint/issues/850 +# too-many-arguments: Due to the nature of the CLI many commands have large arguments set which reflect in large arguments set in corresponding methods. +disable=missing-docstring,locally-disabled,fixme,cyclic-import,too-many-arguments,invalid-name,duplicate-code,import-outside-toplevel + +[FORMAT] +max-line-length=80 + +[VARIABLES] +# Tells whether we should check for unused import in __init__ files. +init-import=yes + +[DESIGN] +# Maximum number of locals for function / method body +max-locals=25 +# Maximum number of branch for function / method body +max-branches=20 + +[SIMILARITIES] +min-similarity-lines=10 + +[BASIC] +# Naming hints based on PEP 8 (https://www.python.org/dev/peps/pep-0008/#naming-conventions). +# Consider these guidelines and not hard rules. Read PEP 8 for more details. + +# The invalid-name checker must be **enabled** for these hints to be used. +include-naming-hint=yes + +module-name-hint=lowercase (keep short; underscores are discouraged) +const-name-hint=UPPER_CASE_WITH_UNDERSCORES +class-name-hint=CapitalizedWords +class-attribute-name-hint=lower_case_with_underscores +attr-name-hint=lower_case_with_underscores +method-name-hint=lower_case_with_underscores +function-name-hint=lower_case_with_underscores +argument-name-hint=lower_case_with_underscores +variable-name-hint=lower_case_with_underscores +inlinevar-name-hint=lower_case_with_underscores (short is OK) diff --git a/src/arcdata/pyproject.toml b/src/arcdata/pyproject.toml new file mode 100644 index 00000000000..bd4b31b7697 --- /dev/null +++ b/src/arcdata/pyproject.toml @@ -0,0 +1,29 @@ +[tool.black] +line-length = 80 +target-version = ['py36', 'py37', 'py38'] +include = '\.pyi?$' +exclude = ''' + +( + /( + \.eggs # exclude a few common directories in the + | \.git # root of the project + | \.hg + | \.mypy_cache + | \.tox + | \.venv + | \.env + | _build + | buck-out + | build + | dist + | output + )/ +) +''' + +[tool.pytest.ini_options] +markers = [ + "slow: marks tests as slow (deselect with '-m \"not slow\"')", + "serial", +] \ No newline at end of file diff --git a/src/arcdata/scripts/ci/code-coverage/README.md b/src/arcdata/scripts/ci/code-coverage/README.md new file mode 100644 index 00000000000..e2aedcfc937 --- /dev/null +++ b/src/arcdata/scripts/ci/code-coverage/README.md @@ -0,0 +1,11 @@ +# Code-Coverage + +## Run code-coverage verifications + +Execute the following command from the root directory of this repository: + +#### Linux/macOS + +```bash +./scripts/ci/code-coverage/pipeline.sh +``` diff --git a/src/arcdata/scripts/ci/code-coverage/pipeline.sh b/src/arcdata/scripts/ci/code-coverage/pipeline.sh new file mode 100644 index 00000000000..634305cc0f4 --- /dev/null +++ b/src/arcdata/scripts/ci/code-coverage/pipeline.sh @@ -0,0 +1,34 @@ +#!/usr/bin/env bash + +#------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +#------------------------------------------------------------------------------ + +# Description: +# +# Instructions to be invoked under the build CI pipeline in AzureDevOps. +# +# Run verify (Code Coverage + Lint/Style + Argument Signatures)' +# +# Usage: +# +# $ pipeline.sh + +set -exv + +: "${REPO_ROOT_DIR:=`cd $(dirname $0); cd ../../../; pwd`}" + +# -- script being invoked outside of a make target, thus template has been generated yet. +if [ ! -f ${REPO_ROOT_DIR}/arcdata/azext_arcdata/kubernetes_sdk/dc/templates/bootstrap/role-bootstrapper.yaml.tmpl ]; then + ${REPO_ROOT_DIR}/scripts/generate-role-template.sh +fi + +INDEX_URL=https://build:${PAT_TOKEN}@msdata.pkgs.visualstudio.com/Tina/_packaging/Tina_PublicPackages/pypi/simple + +# Install test deps +pip install -r ${REPO_ROOT_DIR}/dev-requirements.txt --index-url ${INDEX_URL} +pip install -e ${REPO_ROOT_DIR}/tools/pytest-az --index-url ${INDEX_URL} +pip install -e ${REPO_ROOT_DIR}/arcdata --index-url ${INDEX_URL} + +# Run code coverage and unit-tests +pytest --junitxml "./output/coverage/TEST-UT-results.xml" --cov=azext_arcdata --cov-report=xml:output/coverage/coverage.xml --cov-report=html:output/coverage/htmlcov diff --git a/src/arcdata/scripts/ci/ev2/Parameters.json.tmpl b/src/arcdata/scripts/ci/ev2/Parameters.json.tmpl new file mode 100644 index 00000000000..b940e93c1b4 --- /dev/null +++ b/src/arcdata/scripts/ci/ev2/Parameters.json.tmpl @@ -0,0 +1,30 @@ +{ + "${DOLLAR}schema": "http://schema.express.azure.com/schemas/2015-01-01-alpha/RolloutParameters.json", + "contentVersion": "1.0.0.0", + "shellExtensions": [ + { + "name": "AzPush", + "type": "shellExtension", + "properties": { + }, + "package": { + "reference": { + "path": "arcdata-cli.tar" + } + }, + "launch": { + "command": [ + "/bin/bash", + "-c", + "az login --identity && ./push-to-blob.sh" + ], + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": [ + "/subscriptions/${AZURE_SUBSCRIPTION_ID}/resourceGroups/arcdata-ev2-helper/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ev2-shell-runner-arc-helm-extension" + ] + } + } + } + ] +} \ No newline at end of file diff --git a/src/arcdata/scripts/ci/ev2/RolloutSpecs.json.tmpl b/src/arcdata/scripts/ci/ev2/RolloutSpecs.json.tmpl new file mode 100644 index 00000000000..235da37293b --- /dev/null +++ b/src/arcdata/scripts/ci/ev2/RolloutSpecs.json.tmpl @@ -0,0 +1,31 @@ +{ + "${DOLLAR}schema":"http://schema.express.azure.com/schemas/2015-01-01-alpha/RolloutSpec.json", + "contentVersion":"1.0.0.0", + "rolloutMetadata":{ + "serviceModelPath":"ServiceModels.json", + "name":"azure-cli-extension", + "scopeBindingsPath":"ScopeBindings.json", + "rolloutType":"Major", + "rolloutPolicyReferences":[ + { + "name": "ShellAndAppServiceAutoRestart", + "version": "*" + } + ], + "buildSource":{ + "parameters":{ + "versionFile":"buildver.txt" + } + } + }, + "orchestratedSteps":[ + { + "name":"AzPush", + "targetType":"ServiceResource", + "targetName":"AzPush", + "actions":[ + "Shell/AzPush" + ] + } + ] +} \ No newline at end of file diff --git a/src/arcdata/scripts/ci/ev2/ScopeBindings.json b/src/arcdata/scripts/ci/ev2/ScopeBindings.json new file mode 100644 index 00000000000..0bc3893ce5e --- /dev/null +++ b/src/arcdata/scripts/ci/ev2/ScopeBindings.json @@ -0,0 +1,15 @@ +{ + "$schema": "http://schema.express.azure.com/schemas/2015-01-01-alpha/ScopeBindings.json", + "contentVersion": "1.0.0.0", + "scopeBindings": [ + { + "scopeTagName": "BuildInfo", + "bindings": [ + { + "find": "__BuildNumber__", + "replaceWith": "$buildVersion()" + } + ] + } + ] + } \ No newline at end of file diff --git a/src/arcdata/scripts/ci/ev2/ServiceModels.json.tmpl b/src/arcdata/scripts/ci/ev2/ServiceModels.json.tmpl new file mode 100644 index 00000000000..4d65d3ed92c --- /dev/null +++ b/src/arcdata/scripts/ci/ev2/ServiceModels.json.tmpl @@ -0,0 +1,52 @@ +{ + "${DOLLAR}schema": "http://schema.express.azure.com/schemas/2015-01-01-alpha/ServiceModel.json", + "contentVersion": "0.0.0.1", + "serviceMetadata": { + "serviceGroup": "azure-cli-extension", + "ServiceIdentifier": "ca486455-1a37-40b8-9d7c-9fb79233c8f0", + "environment": "prod" + }, + "serviceResourceGroupDefinitions": [ + { + "name": "arcdata-ev2-helper", + "serviceResourceDefinitions": [ + { + "name": "AzPush", + "composedOf": { + "extension": { + "shell": [ + { + "type": "shellExtension", + "properties": { + "imageName": "adm-ubuntu-1804-l", + "imageVersion": "v30" + } + } + ] + } + }, + "scopeTags": [ + { + "name": "BuildInfo" + } + ] + } + ] + } + ], + "serviceResourceGroups": [ + { + "azureResourceGroupName": "arcdata-ev2-helper", + "location": "East US", + "instanceOf": "arcdata-ev2-helper", + "azureSubscriptionId": "${AZURE_SUBSCRIPTION_ID}", + "serviceResources": [ + { + "name": "AzPush", + "instanceOf": "AzPush", + "rolloutParametersPath": "Parameters.json" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/arcdata/scripts/ci/ev2/build-ev2.sh b/src/arcdata/scripts/ci/ev2/build-ev2.sh new file mode 100644 index 00000000000..c5101733964 --- /dev/null +++ b/src/arcdata/scripts/ci/ev2/build-ev2.sh @@ -0,0 +1,35 @@ +#!/bin/bash + +#------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +#------------------------------------------------------------------------------ + +# Description: +# +# Build and install azure-cli extension arcdata. +# +# This cript rotates sourcing environment variables to generate EV2 manifests, +# used by the Azure DevOps Release Pipelines. +# + +set -exv + +TARGET_DIRECTORY=$1 + +ROOT=`git rev-parse --show-toplevel` +pushd ${ROOT} + +export EV2_SOURCE_PATH="${ROOT}/projects/azure-cli-extension/scripts/ci/ev2" +export EV2_ENV_PATH="${EV2_SOURCE_PATH}/sourceenv" + +source ${EV2_SOURCE_PATH}/sourceenv/blob-storage.env +export DOLLAR='$' +envsubst < "$EV2_SOURCE_PATH/ServiceModels.json.tmpl" > "${TARGET_DIRECTORY}/ServiceModels.json" +envsubst < "$EV2_SOURCE_PATH/RolloutSpecs.json.tmpl" > "${TARGET_DIRECTORY}/RolloutSpecs.json" +envsubst < "$EV2_SOURCE_PATH/Parameters.json.tmpl" > "${TARGET_DIRECTORY}/Parameters.json" + +# Non tpl file +# +cp "${EV2_SOURCE_PATH}/ScopeBindings.json" "${TARGET_DIRECTORY}" + +popd \ No newline at end of file diff --git a/src/arcdata/scripts/ci/ev2/push-to-blob.sh b/src/arcdata/scripts/ci/ev2/push-to-blob.sh new file mode 100644 index 00000000000..1a338ae10d6 --- /dev/null +++ b/src/arcdata/scripts/ci/ev2/push-to-blob.sh @@ -0,0 +1,56 @@ +#!/bin/bash + +#------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +#------------------------------------------------------------------------------ + +# Description: +# +# This script publishes the arcdata azure-cli-extension whl to production blob +# storage. It assumes that the wheel hase been copied into a folder structure +# as such: +# +# . +# ├── arcdata-{CLI_VERSION}-py2.py3-none-any.whl # The whl to upload +# └── push-to-blob.sh # This script +# +# +set -e + +export scriptPath=$(dirname "$0") +pushd ${scriptPath} +arcdata_ext=(`ls arcdata*.whl`) + +echo +echo "------------------------------------------------------------" +echo "Files: ${scriptPath}" +echo "------------------------------------------------------------" +ls -R +echo "Release wheel to upload: '${arcdata_ext[*]}'" +echo "------------------------------------------------------------" +echo + +# Check to see if whl is already published and error out +curl https://raw.githubusercontent.com/Azure/azure-cli-extensions/main/src/index.json -o public-index.json +if grep -R "${arcdata_ext[*]}" "public-index.json" +then + echo "ERROR: ${arcdata_ext[*]} already published!" + exit 1 +fi + +az --version +az login --identity +az storage blob upload \ + --auth-mode login \ + --overwrite true \ + --account-name azurearcdatacli \ + --container-name '$web' \ + --file ${arcdata_ext[*]} + +echo +echo "Wheel published: https://azurearcdatacli.z13.web.core.windows.net/${arcdata_ext[*]}" +echo +echo "Done." +echo + +popd \ No newline at end of file diff --git a/src/arcdata/scripts/ci/ev2/sourceenv/blob-storage.env b/src/arcdata/scripts/ci/ev2/sourceenv/blob-storage.env new file mode 100644 index 00000000000..07791350182 --- /dev/null +++ b/src/arcdata/scripts/ci/ev2/sourceenv/blob-storage.env @@ -0,0 +1 @@ +export AZURE_SUBSCRIPTION_ID=c7d4687b-1cc8-4a3f-b5e2-5153668fc23e diff --git a/src/arcdata/scripts/ci/index-update/index.py b/src/arcdata/scripts/ci/index-update/index.py new file mode 100644 index 00000000000..b8c79681b6a --- /dev/null +++ b/src/arcdata/scripts/ci/index-update/index.py @@ -0,0 +1,59 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# ------------------------------------------------------------------------------ + +import hashlib +import json +import os +import sys +import tempfile + +from util import get_ext_metadata, get_index_json_from_repo + +EXTENSION_NAME = "arcdata" +DOWNLOAD_URL = "https://azurearcdatacli.z13.web.core.windows.net/{filename}" + + +def get_sha256sum(a_file): + sha256 = hashlib.sha256() + with open(a_file, "rb") as f: + sha256.update(f.read()) + return sha256.hexdigest() + + +def main(): + try: + ext_file = sys.argv[1] + dist_dir = sys.argv[2] + + if not ext_file or not ext_file.endswith(".whl") or not dist_dir: + raise ValueError( + "incorrect usage: " + ) + + index_json = os.path.join(dist_dir, "index.json") + filename = os.path.basename(ext_file) + extensions_dir = tempfile.mkdtemp() + ext_dir = tempfile.mkdtemp(dir=extensions_dir) + + # -- update index and write back to file -- + curr_index = get_index_json_from_repo(index_json) + entry = curr_index["extensions"][EXTENSION_NAME] + entry[0]["downloadUrl"] = DOWNLOAD_URL.format(filename=filename) + entry[0]["sha256Digest"] = get_sha256sum(ext_file) + entry[0]["filename"] = filename + entry[0]["metadata"] = get_ext_metadata( + ext_dir, ext_file, EXTENSION_NAME + ) + + curr_index["extensions"][EXTENSION_NAME] = entry + with open(index_json, "w") as outfile: + outfile.write(json.dumps(curr_index, indent=4, sort_keys=True)) + except IndexError: + raise ValueError("{} not found in index.json".format(EXTENSION_NAME)) + + +if __name__ == "__main__": + main() diff --git a/src/arcdata/scripts/ci/index-update/update.sh b/src/arcdata/scripts/ci/index-update/update.sh new file mode 100644 index 00000000000..019d1c5abda --- /dev/null +++ b/src/arcdata/scripts/ci/index-update/update.sh @@ -0,0 +1,27 @@ +#!/usr/bin/env bash + +#------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +#------------------------------------------------------------------------------ + +# Description: +# +# Instructions to be invoked under the build CI pipeline in AzureDevOps. +# +# Usage: +# +# $ pipeline.sh + +set -exv + +: "${REPO_ROOT_DIR:=`cd $(dirname $0); cd ../../../; pwd`}" +DIST_DIR=${REPO_ROOT_DIR}/output +CLI_VERSION=$(${REPO_ROOT_DIR}/scripts/version.sh) +#EXT_WHL=${BUILD_ARTIFACTSTAGINGDIRECTORY}/arcdata-${CLI_VERSION}-py2.py3-none-any.whl +ls -la ${BUILD_ARTIFACTSTAGINGDIRECTORY} +ls -la ${BUILD_ARTIFACTSTAGINGDIRECTORY}/ONEBRANCH_ARTIFACT/ +ls -la ${BUILD_ARTIFACTSTAGINGDIRECTORY}/ONEBRANCH_ARTIFACT/wheels +EXT_WHL=${BUILD_ARTIFACTSTAGINGDIRECTORY}/ONEBRANCH_ARTIFACT/wheels/arcdata-${CLI_VERSION}-py2.py3-none-any.whl + +mkdir -p ${DIST_DIR} +python ${REPO_ROOT_DIR}/scripts/ci/index-update/index.py ${EXT_WHL} ${DIST_DIR} diff --git a/src/arcdata/scripts/ci/index-update/util.py b/src/arcdata/scripts/ci/index-update/util.py new file mode 100644 index 00000000000..53a1cf8fe5e --- /dev/null +++ b/src/arcdata/scripts/ci/index-update/util.py @@ -0,0 +1,161 @@ +# ------------------------------------------------------------------------------ +# 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 re +import json +import zipfile +import requests + +# copy from wheel==0.30.0 +WHEEL_INFO_RE = re.compile( + r"""^(?P(?P.+?)(-(?P\d.+?))?) + ((-(?P\d.*?))?-(?P.+?)-(?P.+?)-(?P.+?) + \.whl|\.dist-info)$""", + re.VERBOSE, +).match + + +def get_index_json_from_repo(index_json): + url = ( + "https://raw.githubusercontent.com/Azure/azure-cli-extensions/main/" + "src/index.json" + ) + TRIES = 3 + download_successful = False + + if os.path.exists(index_json): + os.remove(index_json) + + for try_number in range(TRIES): + try: + r = requests.get(url, stream=True) + assert r.status_code == 200, "Request to {} failed with {}".format( + url, r.status_code + ) + download_successful = True + break + except ( + requests.exceptions.ConnectionError, + requests.exceptions.HTTPError, + ) as err: + import time + + time.sleep(15) + continue + if not download_successful: + raise Exception(f"Failed to download {url}") + + with open(index_json, "wb") as f: + for chunk in r.iter_content(chunk_size=1024): + if chunk: # ignore keep-alive new chunks + f.write(chunk) + + with open(index_json, "r") as infile: + curr_index = json.loads(infile.read()) + + return curr_index + + +def _get_extension_modname(ext_dir): + EXTENSIONS_MOD_PREFIX = "azext_" + pos_mods = [ + n + for n in os.listdir(ext_dir) + if n.startswith(EXTENSIONS_MOD_PREFIX) + and os.path.isdir(os.path.join(ext_dir, n)) + ] + if len(pos_mods) != 1: + raise AssertionError( + "Expected 1 module to load starting with " + "'{}': got {}".format(EXTENSIONS_MOD_PREFIX, pos_mods) + ) + return pos_mods[0] + + +def _get_azext_metadata(ext_dir): + AZEXT_METADATA_FILENAME = "azext_metadata.json" + azext_metadata = None + ext_modname = _get_extension_modname(ext_dir=ext_dir) + azext_metadata_filepath = os.path.join( + ext_dir, ext_modname, AZEXT_METADATA_FILENAME + ) + if os.path.isfile(azext_metadata_filepath): + with open(azext_metadata_filepath) as f: + azext_metadata = json.load(f) + return azext_metadata + + +def get_ext_metadata(ext_dir, ext_file, ext_name): + WHL_METADATA_FILENAME = "metadata.json" + zip_ref = zipfile.ZipFile(ext_file, "r") + zip_ref.extractall(ext_dir) + zip_ref.close() + metadata = {} + dist_info_dirs = [ + f for f in os.listdir(ext_dir) if f.endswith(".dist-info") + ] + + azext_metadata = _get_azext_metadata(ext_dir) + + if not azext_metadata: + raise ValueError( + 'azext_metadata.json for Extension "{}" Metadata is missing'.format( + ext_name + ) + ) + + metadata.update(azext_metadata) + + for dist_info_dirname in dist_info_dirs: + parsed_dist_info_dir = WHEEL_INFO_RE(dist_info_dirname) + if parsed_dist_info_dir and parsed_dist_info_dir.groupdict().get( + "name" + ) == ext_name.replace("-", "_"): + whl_metadata_filepath = os.path.join( + ext_dir, dist_info_dirname, WHL_METADATA_FILENAME + ) + if os.path.isfile(whl_metadata_filepath): + with open(whl_metadata_filepath) as f: + metadata.update(json.load(f)) + return metadata + + +def get_whl_from_url(url, filename, tmp_dir, whl_cache=None): + if not whl_cache: + whl_cache = {} + if url in whl_cache: + return whl_cache[url] + + TRIES = 3 + download_successful = False + for try_number in range(TRIES): + try: + r = requests.get(url, stream=True) + assert r.status_code == 200, "Request to {} failed with {}".format( + url, r.status_code + ) + download_successful = True + break + except ( + requests.exceptions.ConnectionError, + requests.exceptions.HTTPError, + ) as err: + import time + + time.sleep(15) + continue + + if not download_successful: + raise Exception(f"Failed to download {url}") + + ext_file = os.path.join(tmp_dir, filename) + with open(ext_file, "wb") as f: + for chunk in r.iter_content(chunk_size=1024): + if chunk: # ignore keep-alive new chunks + f.write(chunk) + whl_cache[url] = ext_file + return ext_file diff --git a/src/arcdata/scripts/ci/lint/README.md b/src/arcdata/scripts/ci/lint/README.md new file mode 100644 index 00000000000..82ceff334b5 --- /dev/null +++ b/src/arcdata/scripts/ci/lint/README.md @@ -0,0 +1,14 @@ +# Lint and Style + +## Run different command verifications + +- Lint/Style +- Argument Signatures + +Execute the following command from the root directory of this repository: + +#### Linux/macOS + +```bash +./scripts/ci/lint/pipeline.sh +``` diff --git a/src/arcdata/scripts/ci/lint/pipeline.sh b/src/arcdata/scripts/ci/lint/pipeline.sh new file mode 100644 index 00000000000..93e91720ca4 --- /dev/null +++ b/src/arcdata/scripts/ci/lint/pipeline.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash + +#------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +#------------------------------------------------------------------------------ + +# Description: +# +# Instructions to be invoked under the build CI pipeline in AzureDevOps. +# +# Run Lint/Style + Argument Signatures +# +# Usage: +# +# $ pipeline.sh + +set -exv + +: "${REPO_ROOT_DIR:=`cd $(dirname $0); cd ../../../; pwd`}" + +# Assert linting +${REPO_ROOT_DIR}/scripts/lint.sh || exit 1 diff --git a/src/arcdata/scripts/ci/pipeline-templates/build.yaml b/src/arcdata/scripts/ci/pipeline-templates/build.yaml new file mode 100644 index 00000000000..bfbb8823e67 --- /dev/null +++ b/src/arcdata/scripts/ci/pipeline-templates/build.yaml @@ -0,0 +1,105 @@ +# This Yaml Document has been converted by ESAI Yaml Pipeline Conversion Tool. +# Please make sure to check all the converted content, it is your team's responsibility to make sure that the pipeline is still valid and functions as expected. +# The SBOM tasks have been removed because they are not required for the unofficial template. +# You can manually enable SBOM in the unofficial template if needed, othewise its automatically enabled when using official template. https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-pipeline-templates/features/sbom +stages: +- stage: Build + jobs: + - job: BuildWheels + displayName: 'Build extension wheel' + pool: + type: linux + variables: + - name: ob_outputDirectory + value: '$(Build.ArtifactStagingDirectory)/ONEBRANCH_ARTIFACT' + - name: ob_sdl_codeql_compiled_enabled + value: false + steps: + - task: PipAuthenticate@1 + displayName: Authenticate to Artifacts (pip) + inputs: + artifactFeeds: 'Tina/Tina_PublicPackages' + - task: Bash@3 + displayName: 'Build Python Wheel' + inputs: + targetType: 'inline' + script: scripts/package.sh + workingDirectory: $(Build.SourcesCliDirectory) + failOnStderr: false + env: + PAT_TOKEN: $(System.AccessToken) + - task: CopyFiles@2 + displayName: 'Copy wheels to: $(Build.ArtifactStagingDirectory)/azure-cli-arcdata' + inputs: + sourceFolder: '$(Build.SourcesCliDirectory)/output/packages' + contents: '?(*.whl|*.txt)' + TargetFolder: '$(Build.ArtifactStagingDirectory)/azure-cli-arcdata' + - task: CopyFiles@2 + displayName: "Copy Files for 'Publish Artifact: extension wheel' publish task" + inputs: + SourceFolder: $(Build.ArtifactStagingDirectory)/azure-cli-arcdata + Contents: '**' + TargetFolder: $(Build.ArtifactStagingDirectory)/ONEBRANCH_ARTIFACT/wheels + - task: CmdLine@2 + displayName: 'Update extension index.json' + inputs: + script: scripts/ci/index-update/update.sh + workingDirectory: $(Build.SourcesCliDirectory) + - task: CmdLine@2 + displayName: 'Generate azure-cli-extensions-pr.sh' + inputs: + script: scripts/ci/release/pipeline.sh + workingDirectory: $(Build.SourcesCliDirectory) + - task: CopyFiles@2 + displayName: 'Copy index.json|azure-cli-extensions-pr.sh to: $(Build.ArtifactStagingDirectory)/azure/azure-cli-extensions/src' + inputs: + sourceFolder: '$(Build.SourcesCliDirectory)/output' + contents: '?(*.json|*.sh)' + TargetFolder: '$(Build.ArtifactStagingDirectory)/azure/azure-cli-extensions/src' + - task: CopyFiles@2 + displayName: "Copy Files for 'Publish Artifact: index.json' publish task" + inputs: + SourceFolder: $(Build.ArtifactStagingDirectory)/azure/azure-cli-extensions/src + Contents: '**' + TargetFolder: $(Build.ArtifactStagingDirectory)/ONEBRANCH_ARTIFACT/extension-index + - script: | + export TARGET_DIRECTORY="${BUILD_SOURCESDIRECTORY}/release-ev2/ev2" + TAR_DIRECTORY=${TARGET_DIRECTORY}/scripts/azPush + SRC_DIRECTORY=./projects/azure-cli-extension/scripts + mkdir -p ${TAR_DIRECTORY} + # Manifest JSON files + ${SRC_DIRECTORY}/ci/ev2/build-ev2.sh ${TARGET_DIRECTORY} + # For EV2 release pipeline, CLI_VERSION == version + CLI_VERSION=$(${SRC_DIRECTORY}/version.sh) + echo ${CLI_VERSION} > "${TARGET_DIRECTORY}/buildver.txt" + # EV2 Entrypoint scripts and tarball .whl + cp ${TARGET_DIRECTORY}/buildver.txt ${TAR_DIRECTORY} + cp ${BUILD_ARTIFACTSTAGINGDIRECTORY}/ONEBRANCH_ARTIFACT/wheels/*.whl ${TAR_DIRECTORY} + cp "${SRC_DIRECTORY}/ci/ev2/push-to-blob.sh" "${TAR_DIRECTORY}" + condition: always() + displayName: "↪️ Generate 'release-ev2'" + env: + BUILD_SOURCESDIRECTORY: $(BUILD_SOURCESDIRECTORY) + - task: ArchiveFiles@2 + displayName: "\U0001F4E6 'arcdata-cli.tar' EV2 Payload" + inputs: + rootFolderOrFile: "$(Build.SourcesDirectory)/release-ev2/ev2/scripts/azPush" + includeRootFolder: false + archiveType: "tar" + tarCompression: "none" + archiveFile: "$(Build.SourcesDirectory)/release-ev2/ev2/arcdata-cli.tar" + - script: | + echo "------------------- 📦 -----------------" + tree "${BUILD_SOURCESDIRECTORY}/release-ev2" + echo "-----------------------------------------" + condition: always() + displayName: "\U0001F453 View 'release-ev2'" + env: + BUILD_SOURCESDIRECTORY: $(BUILD_SOURCESDIRECTORY) + - task: CopyFiles@2 + displayName: "Copy Files for '\U0001F4E6 Publish 'release-ev2'' publish task" + condition: always() + inputs: + SourceFolder: '$(System.DefaultWorkingDirectory)/release-ev2' + Contents: '**' + TargetFolder: $(Build.ArtifactStagingDirectory)/ONEBRANCH_ARTIFACT/release-ev2 \ No newline at end of file diff --git a/src/arcdata/scripts/ci/pipeline-templates/lint-and-style.yaml b/src/arcdata/scripts/ci/pipeline-templates/lint-and-style.yaml new file mode 100644 index 00000000000..678f6f094fc --- /dev/null +++ b/src/arcdata/scripts/ci/pipeline-templates/lint-and-style.yaml @@ -0,0 +1,26 @@ +# This Yaml Document has been converted by ESAI Yaml Pipeline Conversion Tool. +# Please make sure to check all the converted content, it is your team's responsibility to make sure that the pipeline is still valid and functions as expected. +stages: +- stage: LintAndStyle + jobs: + - job: LintAndStyle + displayName: 'Verify linting and style formatting' + pool: + type: linux + variables: + - name: ob_outputDirectory + value: '$(Build.ArtifactStagingDirectory)/ONEBRANCH_ARTIFACT' + - name: ob_sdl_codeql_compiled_enabled + value: false + steps: + - task: PipAuthenticate@1 + displayName: Authenticate to Artifacts (pip) + inputs: + artifactFeeds: 'Tina/Tina_PublicPackages' + - task: CmdLine@2 + displayName: 'Run linting and style formatting' + inputs: + script: scripts/ci/lint/pipeline.sh + workingDirectory: $(Build.SourcesCliDirectory) + env: + PAT_TOKEN: $(System.AccessToken) \ No newline at end of file diff --git a/src/arcdata/scripts/ci/pipeline-templates/push-to-production-blob.yaml b/src/arcdata/scripts/ci/pipeline-templates/push-to-production-blob.yaml new file mode 100644 index 00000000000..72e888e5856 --- /dev/null +++ b/src/arcdata/scripts/ci/pipeline-templates/push-to-production-blob.yaml @@ -0,0 +1,29 @@ +stages: +- stage: Prod___Push_to_Blob + displayName: 'PPE: Push to Blob' + variables: + - name: ob_release_environment + value: Production + dependsOn: [] + jobs: + - job: prod___push_to_blob_agent_job + displayName: 'Agent job' + variables: + ob_sdl_codeql_compiled_enabled: false + pool: + type: release + steps: + - download: release-artifacts + displayName: 'Task download' + - task: vsrm-ev2.vss-services-ev2.adm-release-task.ExpressV2Internal@1 + displayName: 'Task vsrm-ev2.vss-services-ev2.adm-release-task.ExpressV2Internal@1' + inputs: + UseServerMonitorTask: true + EnableStrictValidation: true + ValidateOnly: false + EndpointProviderType: ApprovalService + ApprovalServiceEnvironment: Production + ServiceRootLocation: LinkedArtifact + RolloutSpecType: RSPath + ServiceRootPath: $(Pipeline.Workspace)/release-artifacts/drop_Build_BuildWheels/release-ev2/ev2 + RolloutSpecPath: $(Pipeline.Workspace)/release-artifacts/drop_Build_BuildWheels/release-ev2/ev2/RolloutSpecs.json \ No newline at end of file diff --git a/src/arcdata/scripts/ci/pipeline-templates/release.yaml b/src/arcdata/scripts/ci/pipeline-templates/release.yaml new file mode 100644 index 00000000000..8d828658ad3 --- /dev/null +++ b/src/arcdata/scripts/ci/pipeline-templates/release.yaml @@ -0,0 +1,18 @@ +stages: + +- stage: Release + dependsOn: build + jobs: + - deployment: DeployAzureExtensionIntoProduction + displayName: 'Release azure-cli extension' + environment: Production + pool: + vmImage: 'ubuntu-latest' + steps: + - task: Bash@3 + displayName: 'Release azure-cli extension' + inputs: + targetType: 'inline' + script: scripts/version.sh + workingDirectory: $(Build.SourcesCliDirectory) + failOnStderr: false \ No newline at end of file diff --git a/src/arcdata/scripts/ci/pipeline-templates/test.yaml b/src/arcdata/scripts/ci/pipeline-templates/test.yaml new file mode 100644 index 00000000000..4451b245b8d --- /dev/null +++ b/src/arcdata/scripts/ci/pipeline-templates/test.yaml @@ -0,0 +1,53 @@ +# This Yaml Document has been converted by ESAI Yaml Pipeline Conversion Tool. +# Please make sure to check all the converted content, it is your team's responsibility to make sure that the pipeline is still valid and functions as expected. +stages: + + +- stage: UnitTests + jobs: + - job: UnitTestsOnWindows + displayName: 'Windows' + pool: + type: windows + variables: + - name: ob_outputDirectory + value: '$(Build.ArtifactStagingDirectory)/ONEBRANCH_ARTIFACT' + steps: + - task: PipAuthenticate@1 + displayName: Authenticate to Artifacts (pip) + inputs: + artifactFeeds: 'Tina/Tina_PublicPackages' + - task: CmdLine@2 + displayName: 'Run unit-tests' + inputs: + script: scripts\ci\unit-tests\pipeline-windows.cmd + workingDirectory: $(Build.SourcesCliDirectory) + env: + BUILD_STAGINGDIRECTORY: $(Build.ArtifactStagingDirectory) + TOX_ENV: py312 + PAT_TOKEN: $(System.AccessToken) + - job: UnitTestsOnLinux + displayName: 'Linux' + dependsOn: UnitTestsOnWindows + condition: succeeded() + pool: + type: linux + variables: + - name: ob_outputDirectory + value: '$(Build.ArtifactStagingDirectory)/ONEBRANCH_ARTIFACT' + - name: ob_sdl_codeql_compiled_enabled + value: false + steps: + - task: PipAuthenticate@1 + displayName: Authenticate to Artifacts (pip) + inputs: + artifactFeeds: 'Tina/Tina_PublicPackages' + - task: CmdLine@2 + displayName: 'Run unit-tests' + inputs: + script: scripts/ci/unit-tests/pipeline-linux.sh + workingDirectory: $(Build.SourcesCliDirectory) + env: + BUILD_STAGINGDIRECTORY: $(Build.ArtifactStagingDirectory) + TOX_ENV: py312 + PAT_TOKEN: $(System.AccessToken) diff --git a/src/arcdata/scripts/ci/release/README.md b/src/arcdata/scripts/ci/release/README.md new file mode 100644 index 00000000000..89ca5b74eb1 --- /dev/null +++ b/src/arcdata/scripts/ci/release/README.md @@ -0,0 +1,33 @@ +# Release Overview + +Releases are under the ADO Releases pipeline [azure-cli-extension (release)](https://msdata.visualstudio.com/Tina/_release?definitionId=111&view=mine&_a=releases) + +## About `arcdatabot` github machine-user + +The [arcdatabot](https://github.com/arcdatabot) is a service account github +machine-user with the aim of helping to bring the Azure ArcData release process +to full-automation. For the `arcdata` azure-cli-extension release, this user is +in charge of automating (CI/CD) the creation and merging of Pull Requests over +to the [Azure/azure-cli-extensions](https://github.com/Azure/azure-cli-extensions) +repository. + +## About `ARCDATABOTGHSECRET` key-value secret + +> *NOTE:* To update `ARCDATABOTGHSECRET` you will need read/write role under `arcdata-lab` key-vault. + +- `ARCDATABOTGHSECRET` is a key in key-vault that holds the machine-user [arcdatabot](https://github.com/arcdatabot)'s +Personal access token (classic) [arcdatabot token for CI/CD ](https://github.com/settings/tokens) +- `ARCDATABOTGHSECRET` is stored under the key-vault [arcdata-lab](https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/d2f40113-58af-4e0d-8c88-5d0109e2f446/resourceGroups/arcdata-lab/providers/Microsoft.KeyVault/vaults/arcdata-lab/overview) +- `ARCDATABOTGHSECRET` coincides with [arcdatabot token for CI/CD ](https://github.com/settings/tokens) and should be rotated every 365 days. An email notification will remind DRI in advance when it needs to be rotated. +- +## Maintenance and PAT rotation + +Every 365 days the [arcdatabot](https://github.com/arcdatabot)'s Personal +access token (classic) [arcdatabot token for CI/CD ](https://github.com/settings/tokens) +will expire. + +**Action:** +1. The `arcdatabot` github owner/subsidiary should generate a new PAT for a new 365 days. +2. Update `ARCDATABOTGHSECRET` value with the new PAT in the key-vault [arcdata-lab](https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/d2f40113-58af-4e0d-8c88-5d0109e2f446/resourceGroups/arcdata-lab/providers/Microsoft.KeyVault/vaults/arcdata-lab/overview) + + diff --git a/src/arcdata/scripts/ci/release/azure-cli-extensions-pr.tpl b/src/arcdata/scripts/ci/release/azure-cli-extensions-pr.tpl new file mode 100644 index 00000000000..f824fd7824e --- /dev/null +++ b/src/arcdata/scripts/ci/release/azure-cli-extensions-pr.tpl @@ -0,0 +1,91 @@ +#!/usr/bin/env bash + +#------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +#------------------------------------------------------------------------------ + +# Description: +# +# Instructions to be invoked under the AzureDevOps Releases pipeline. Not +# intended to be ran manually: +# https://msdata.visualstudio.com/Tina/_release?_a=releases&view=mine&definitionId=111 +# +# Script Pull Request to `Azure/azure-cli-extensions` github repo for releasing +# the arcdata azure-cli-extension on the behalf of `arcdatabot` gh machine-user. +# +# Envs: +# +# ${ARCDATABOTGHSECRET} populated from key-vault and token is valid for 1 year +# https://github.com/settings/tokens?type=beta +# +# Usage: +# +# $ azure-cli-extensions-pr.sh +# +# Result: +# +# A new PR in upstream `Azure/azure-cli-extensions` with the latest arcdata +# `index.json` whl entry on branch `arcdatabot/ci/arcdata-${CLI_VERSION}` +# + +# !!! Important !!! +# Do not $echo or `set -vx` to avoid sending sensitive information to stdout +set -e + +if [[ -z "${ARCDATABOTGHSECRET}" ]]; then + echo "ARCDATABOTGHSECRET is undefined, this ENV is required to execute!" + exit 1 +fi + +CLI_VERSION={{CLI_VERSION}} # pipeline will substitute version value +COMMIT_MSG="chore(arcdata): version bump to ${CLI_VERSION}" +LABEL=arcdata +BRANCH=arcdatabot/ci/arcdata-${CLI_VERSION} +HEAD=arcdatabot:${BRANCH} +REMOTE_REPOSITORY=Azure/azure-cli-extensions +UPSTREAM_REPOSITORY=github.com/Azure/azure-cli-extensions.git +FORKED_REPOSITORY=github.com/arcdatabot/azure-cli-extensions.git + +# -- Always sync latest upstream:main with forked arcdatabot:main -- +git clone https://${FORKED_REPOSITORY} && cd "$(basename "$_" .git)" +git remote add upstream https://${UPSTREAM_REPOSITORY} +git fetch upstream +git checkout main +git rebase upstream/main # local arcdatabot:main is now sync with upstream + +echo "!!! Creating branch ${BRANCH} !!!" +git branch ${BRANCH} +git checkout ${BRANCH} +git merge main --no-ff + +# -- update index.json from main with new arcdata latest entry from CI -- +# CWD --> `./azure-cli-extensions` from git clone, copy ADO index.json closer +cp ../_azure-cli-extension*/extension-index/index.json ../ +ARCDATA_INDEX_FILE=../index.json +python -c "import json;i = json.load(open('./src/index.json', 'r'));i['extensions']['arcdata'].insert(0, json.load(open('${ARCDATA_INDEX_FILE}', 'r'))['extensions']['arcdata'][0]);open('./src/index.json', 'w').write(json.dumps(i, indent=4, sort_keys=True));" +git status + +# -- add/commit/push-remote `index.json` change onto ${BRANCH} -- +git add -A +git commit -m "${COMMIT_MSG}" +git push -f https://${ARCDATABOTGHSECRET}@${FORKED_REPOSITORY} # push to remote + +# -- Download and install gh-cli for easy automated PR's -- +GH_VERSION=`curl "https://api.github.com/epos/cli/cli/releases/latest" | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/' | cut -c2-` +curl -sSL https://github.com/cli/cli/releases/download/v${GH_VERSION}/gh_${GH_VERSION}_linux_amd64.tar.gz -o gh_${GH_VERSION}_linux_amd64.tar.gz +tar xvf gh_${GH_VERSION}_linux_amd64.tar.gz +gh=../gh_${GH_VERSION}_linux_amd64/bin/gh +${gh} version + +# -- Authenticate for PR's via gh-cli -- +echo "${ARCDATABOTGHSECRET}" > ../.githubtoken +${gh} auth login --with-token < ../.githubtoken +rm ../.githubtoken + +# -- PR check, if no PR create one -- +NO_PR_OPEN=`${gh} pr status` +if [[ "$NO_PR_OPEN" == *"You have no open pull requests"* ]]; then + echo "No open pull requests, creating a new PR to ${REMOTE_REPOSITORY}" + ${gh} repo set-default ${REMOTE_REPOSITORY} + ${gh} pr create --label ${LABEL} --base main --head ${HEAD} --title "${COMMIT_MSG}" --body "${COMMIT_MSG}" +fi diff --git a/src/arcdata/scripts/ci/release/pipeline.sh b/src/arcdata/scripts/ci/release/pipeline.sh new file mode 100644 index 00000000000..e73f3974e5e --- /dev/null +++ b/src/arcdata/scripts/ci/release/pipeline.sh @@ -0,0 +1,32 @@ +#!/usr/bin/env bash + +#------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +#------------------------------------------------------------------------------ + +# Description: +# +# Instructions to be invoked under the build CI pipeline in AzureDevOps. +# Updates `azure-cli-extensions-pr.tpl` with current `CLI_VERSION` to be saved +# as an executable shell script in ADO artifacts used during the ADO releases +# stage. +# +# Usage: +# +# $ pipeline.sh +# + +set -exv + +: "${REPO_ROOT_DIR:=`cd $(dirname $0); cd ../../../; pwd`}" +DIST_DIR=${REPO_ROOT_DIR}/output +PR_SCRIPT_TPL=${REPO_ROOT_DIR}/scripts/ci/release/azure-cli-extensions-pr.tpl +PR_SCRIPT=${DIST_DIR}/azure-cli-extensions-pr.sh +CLI_VERSION=$(${REPO_ROOT_DIR}/scripts/version.sh) + +mkdir -p ${DIST_DIR} + +# sub in CLI_VERSION +echo "CLI_VERSION = ${CLI_VERSION}" +sed -e "s|{{CLI_VERSION}}|${CLI_VERSION}|g" ${PR_SCRIPT_TPL} > ${PR_SCRIPT} +chmod 755 ${PR_SCRIPT} diff --git a/src/arcdata/scripts/ci/unit-tests/README.md b/src/arcdata/scripts/ci/unit-tests/README.md new file mode 100644 index 00000000000..d628f1bfd89 --- /dev/null +++ b/src/arcdata/scripts/ci/unit-tests/README.md @@ -0,0 +1,25 @@ +# Unit Tests + +## Run all unit-tests on different versions of Python + +Execute the following command from the root directory of this repository: + +#### Linux/macOS + +```bash +export TOX_ENV=py36 +export TOX_ENV=py37 +export TOX_ENV=py38 + +./scripts/ci/unit-tests/pipeline-linux.sh +``` + +#### Windows + +```bash +setx TOX_ENV="py36" +setx TOX_ENV="py37" +setx TOX_ENV="py38" + +.\scripts\ci\unit-tests\pipeline-windows.cmd +``` diff --git a/src/arcdata/scripts/ci/unit-tests/pipeline-linux.sh b/src/arcdata/scripts/ci/unit-tests/pipeline-linux.sh new file mode 100644 index 00000000000..4b79b969b2c --- /dev/null +++ b/src/arcdata/scripts/ci/unit-tests/pipeline-linux.sh @@ -0,0 +1,42 @@ +#!/usr/bin/env bash + +#------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +#------------------------------------------------------------------------------ + +# Description: +# +# Instructions to be invoked under the build CI pipeline in AzureDevOps. +# +# Kickoff wheel install tests against different python versions in `$TOX_ENV`. +# +# Prerequisites: +# +# ENV VARS: +# +# - export TOX_ENV=py36|py37|py38 +# +# Usage: +# +# $ pipeline-linux.sh + +set -exv + +: "${TOX_ENV:?TOX_ENV environment variable not set to (py311}" +: "${REPO_ROOT_DIR:=`cd $(dirname $0); cd ../../../; pwd`}" +DIST_DIR=${BUILD_ARTIFACTSTAGINGDIRECTORY:=${REPO_ROOT_DIR}/output/unit-tests} +export REPO_ROOT_DIR=${REPO_ROOT_DIR} +mkdir -p ${DIST_DIR} + +#INDEX_URL=https://msdata:${PAT_TOKEN}@msdata.pkgs.visualstudio.com/_packaging/Arcdata/pypi/simple/ +#INDEX_URL=https://build::${PAT_TOKEN}@msdata.pkgs.visualstudio.com/Tina/_packaging/adshybrid-Consumption/pypi/simple/ +INDEX_URL=https://build:${PAT_TOKEN}@msdata.pkgs.visualstudio.com/Tina/_packaging/Tina_PublicPackages/pypi/simple + +python --version + +pip install --index-url ${INDEX_URL} -r ${REPO_ROOT_DIR}/dev-requirements.txt +pip install -e ${REPO_ROOT_DIR}/arcdata --index-url ${INDEX_URL} +pip install -e ${REPO_ROOT_DIR}/tools/pytest-az --index-url ${INDEX_URL} + +cp ${REPO_ROOT_DIR}/scripts/ci/unit-tests/tox.ini ${DIST_DIR} +tox -e ${TOX_ENV} -c ${DIST_DIR}/tox.ini diff --git a/src/arcdata/scripts/ci/unit-tests/pipeline-windows.cmd b/src/arcdata/scripts/ci/unit-tests/pipeline-windows.cmd new file mode 100644 index 00000000000..cb61256cceb --- /dev/null +++ b/src/arcdata/scripts/ci/unit-tests/pipeline-windows.cmd @@ -0,0 +1,52 @@ +::------------------------------------------------------------------------------ +:: Copyright (c) Microsoft Corporation. All rights reserved. +::------------------------------------------------------------------------------ + +:: Description: +:: +:: Instructions to be invoked under the build CI pipeline in AzureDevOps. +:: +:: Kickoff wheel install tests against different python versions in `$TOX_ENV`. +:: +:: Prerequisites: +:: +:: ENV VARS: +:: +:: - export TOX_ENV=py36|py37|py38 +:: +:: Usage: +:: +:: $ pipeline-windows.cmd + +@echo off +SetLocal EnableDelayedExpansion + +set REPO_ROOT_DIR=%~dp0..\..\..\ +set DIST_DIR=%~dp0..\..\..\output\unit-tests +set AZURE_EXTENSION_DIR=%REPO_ROOT_DIR% + +if "%TOX_ENV%"=="" ( + echo TOX_ENV environment variable not set to (py311) +) + +if "%PAT_TOKEN%"=="" ( + echo No PAT_TOKEN set +) + +if exist %DIST_DIR% rmdir /s /q %DIST_DIR% +mkdir %DIST_DIR% + +:: Install arcdata azure-cli extension to navigate the build/task processes +:: CALL python %REPO_ROOT_DIR%\scripts\dev_setup.py + +set INDEX_URL=https://build:%PAT_TOKEN%@msdata.pkgs.visualstudio.com/Tina/_packaging/Tina_PublicPackages/pypi/simple + +CALL pip install -r %REPO_ROOT_DIR%\dev-requirements.txt --index-url %INDEX_URL% +CALL pip install -e %REPO_ROOT_DIR%\arcdata --index-url %INDEX_URL% +CALL pip install -e %REPO_ROOT_DIR%\tools/pytest-az --index-url %INDEX_URL% + +python --version +python3 --version +copy %REPO_ROOT_DIR%\scripts\ci\unit-tests\tox.ini %DIST_DIR% +CALL tox -e %TOX_ENV% -c %DIST_DIR%\tox.ini +if %ERRORLEVEL% NEQ 0 EXIT 1 \ No newline at end of file diff --git a/src/arcdata/scripts/ci/unit-tests/tox.ini b/src/arcdata/scripts/ci/unit-tests/tox.ini new file mode 100644 index 00000000000..c4cf05a6200 --- /dev/null +++ b/src/arcdata/scripts/ci/unit-tests/tox.ini @@ -0,0 +1,13 @@ +[tox] +envlist = py311 +isolated_build = True +skipsdist = True + +[testenv] +passenv = + REPO_ROOT_DIR + AZURE_EXTENSION_DIR +allowlist_externals = + pytest +commands= + pytest --capture=sys {env:REPO_ROOT_DIR:}/arcdata/azext_arcdata/test/sqlmi \ No newline at end of file diff --git a/src/arcdata/scripts/dev_setup.py b/src/arcdata/scripts/dev_setup.py new file mode 100644 index 00000000000..6856633b632 --- /dev/null +++ b/src/arcdata/scripts/dev_setup.py @@ -0,0 +1,89 @@ +# ------------------------------------------------------------------------------ +# 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 sys +from shutil import rmtree +from subprocess import CalledProcessError, check_call + +IS_WINDOWS = os.name == "nt" + + +def run(command, shell=False): + try: + print("Executing: " + command) + print(command.split()) + check_call(command.split(), cwd=root_dir, shell=shell) + print() + except CalledProcessError as err: + print(err, file=sys.stderr) + sys.exit(1) + + +def pip_install(instruction): + bin_path = "Scripts" if IS_WINDOWS else "bin" + pip_path = os.path.join(root_dir, "env", bin_path, "pip") + run(pip_path + " install " + instruction) + + +root_dir = os.path.abspath(os.path.join(os.path.abspath(__file__), "..", "..")) +extension_dir = os.path.join(root_dir, "arcdata") +azure_dir = os.getenv("AZURE_CONFIG_DIR", None) or os.path.expanduser( + os.path.join("~", ".azure") +) + +print("Running dev setup...") +print("Root directory '{}'\n".format(root_dir)) +print("Extension directory '{}'\n".format(extension_dir)) +print("Azure root directory '{}'\n".format(azure_dir)) + +# enforce AZURE_EXTENSION_DIR=arcdata/projects/azure-cli-extension +run( + "{prefix} AZURE_EXTENSION_DIR={root_dir}".format( + prefix="set" if IS_WINDOWS else "export", root_dir=root_dir + ), + shell=True, +) + +# set up clean virtual env and activate +rmtree(os.path.join(root_dir, "env"), ignore_errors=True) +run( + "{cmd} -m venv {venv}".format( + cmd="python" if IS_WINDOWS else "python3", + venv=os.path.join(root_dir, "env"), + ) +) + +try: + pip_install("--upgrade pip") +except: + # skipping "ERROR: Could not install packages due to an OSError: + # [WinError 5] Access is denied", pip was upgraded despite the error. + pass + +# Install all dev packages and ext source +pip_install("-r {}".format(os.path.join(root_dir, "dev-requirements.txt"))) +pip_install("-e {}".format(os.path.join(root_dir, "tools", "pytest-az"))) +pip_install("-e {}".format(extension_dir)) + +run( + "{cmd} install".format( + cmd=os.path.join( + root_dir, "env", "Scripts" if IS_WINDOWS else "bin", "pre-commit" + ) + ) +) + +print( + "Finished dev setup. Remember to activate your venv and set in " + "your shell:" +) +if IS_WINDOWS: + print(".\env\Scripts\\activate.bat") + print("set AZURE_EXTENSION_DIR=%cd%") +else: + print("source ./env/bin/activate") + print("export AZURE_EXTENSION_DIR=$(pwd)") diff --git a/src/arcdata/scripts/gci/az-platform-make-actions.sh b/src/arcdata/scripts/gci/az-platform-make-actions.sh new file mode 100644 index 00000000000..4c849d5b1fb --- /dev/null +++ b/src/arcdata/scripts/gci/az-platform-make-actions.sh @@ -0,0 +1,197 @@ +#!/bin/bash -e + +# +# Description: +# +# The purpose of this file is to: +# - Run supported CLI actions in a docker container. +# - Offload some of the scripting logic for the CLI targets +# - This script is only ever invoked from platform/Makefile and should never +# be called directly. +# +# Prerequisites: +# +# - Run target: /projects/azure-cli-extension install +# +# Supported ACTIONS: +# +# - create-arc-dc +# - create-arc-config +# - set-arc-config +# - delete-arc-dc +# - copy +# - dump +# +# Usage: +# +# $ az-make-actions.sh ... + +ACTION=$1 # CLI action to perform +DOCKER_ARGS="--rm --name $ACTION" +: "${CWD:=`cd $(dirname $0); pwd`}" + +AZEXT_IMAGE = arcdatadev.azurecr.io/arcdata-dev/base/arcdata-base-test:ubuntu2004-08bc6a0fe8cc12cd350a3c9552f4273030f75a9cc3defd4683a391bced07f0d7 + + +source .dev.env +echo "--=============" +pwd +ls -la +echo "--=============" +echo ${CWD} +echo ${AZEXT_IMAGE} +echo "-e AZDATA_USERNAME=${AZDATA_USERNAME}" +echo "-e DATA_CONTROLLER_NAME=${DATA_CONTROLLER_NAME}" +echo "-e SUBSCRIPTION=${SUBSCRIPTION}" +echo "-e RESOURCE_GROUP=${RESOURCE_GROUP}" +echo "-e LOCATION=${LOCATION}" +echo "-e SPN_AUTHORITY=${SPN_AUTHORITY}" +echo "-e SPN_TENANT_ID=${SPN_TENANT_ID}" +echo "-e SPN_CLIENT_ID=${SPN_CLIENT_ID}" +echo "-e WORKSPACE_ID=${WORKSPACE_ID}" +echo "=============" + + +function run () { + command=$* + + echo ${command} + echo ${DOCKER_ARGS} + echo ${AZEXT_IMAGE} + + docker run ${DOCKER_ARGS} \ + -v "${HOME}/.kube:/root/.kube" \ + -v "${CWD}/output/custom:/mnt/output" \ + -v "${CWD}/patch-config:/mnt/patch-config" \ + -e AZDATA_USERNAME=${AZDATA_USERNAME} \ + -e AZDATA_PASSWORD=${AZDATA_PASSWORD} \ + -e DATA_CONTROLLER_NAME=${DATA_CONTROLLER_NAME} \ + -e SUBSCRIPTION=${SUBSCRIPTION} \ + -e RESOURCE_GROUP=${RESOURCE_GROUP} \ + -e LOCATION=${LOCATION} \ + -e SPN_AUTHORITY=${SPN_AUTHORITY} \ + -e SPN_TENANT_ID=${SPN_TENANT_ID} \ + -e SPN_CLIENT_ID=${SPN_CLIENT_ID} \ + -e WORKSPACE_ID=${WORKSPACE_ID} \ + ${AZEXT_IMAGE} /bin/bash -c "mkdir -p ./tmp/logs && ${command}" +} + +# -- run cli command action -- +# +case ${ACTION} in + + create-arc-dc) + CONFIG_PROFILE="$2" + CLUSTER_NAME="$3" + + if [[ $# -ne 3 ]] + then + echo "Usage: $0 $1 CONFIG_PROFILE CLUSTER_NAME" + exit 1 + fi + + COMMIT_HASH=$(git rev-parse --short HEAD) + + ARGS="--path mnt/${CONFIG_PROFILE} \ + --namespace ${CLUSTER_NAME} \ + --name ${DATA_CONTROLLER_NAME}-${BUILD_DOCKER_IMAGE_TAG}-${COMMIT_HASH} \ + --azure-subscription ${SUBSCRIPTION} \ + --resource-group ${RESOURCE_GROUP} \ + --location ${LOCATION} \ + --connectivity-mode ${CONNECTIVITY_MODE}" + + run az arc dc create ${ARGS} + ;; + delete-arc-dc) + CLUSTER_NAME="$2" + + if [[ $# -ne 2 ]] + then + echo "Usage: $0 $1 CLUSTER_NAME" + exit 1 + fi + + COMMIT_HASH=$(git rev-parse --short HEAD) + ARGS="--name ${DATA_CONTROLLER_NAME}-${BUILD_DOCKER_IMAGE_TAG}-${COMMIT_HASH} --namespace ${CLUSTER_NAME} --force --yes" + run az arc dc delete ${ARGS} + ;; + + create-arc-config) + CONFIG_PROFILE="$2" + PROFILE_TYPE="$3" + + if [[ $# -ne 3 ]] + then + echo "Usage: $0 $1 CONFIG_PROFILE PROFILE_TYPE" + exit 1 + fi + + if [[ -f ${CONFIG_PROFILE} ]] ; then + rm ${CONFIG_PROFILE} + fi + + run az arc dc config init --source ${PROFILE_TYPE} --path mnt/${CONFIG_PROFILE} --force + ;; + set-arc-config) + CONFIG_PROFILE="$2" + PATCH_FILE="$3" + + if [[ $# -ne 3 ]] + then + echo "Usage: $0 $1 CONFIG_PROFILE PATCH_FILE" + exit 1 + fi + + run az arc dc config patch --path mnt/${CONFIG_PROFILE} --patch-file mnt/${PATCH_FILE} + ;; + + + + + copy) + CLUSTER_NAME="$2" + DEBUG_OUTPUT_DIRECTORY="$3" + COPY_LOGS_TIMEOUT="$4" + DOCKER_ARGS="--name $ACTION" + + if [[ $# -ne 4 ]] + then + echo "Usage: $0 $1 CLUSTER_NAME DEBUG_OUTPUT_DIRECTORY COPY_LOGS_TIMEOUT" + exit 1 + fi + + { # 'try' + run az arc debug copy-logs --namespace ${CLUSTER_NAME} --target-folder tmp/logs --verbose --timeout ${COPY_LOGS_TIMEOUT} + CONTAINER_ID=$(docker ps --filter="name=$ACTION" -q -a | xargs) + docker cp ${CONTAINER_ID}:/tmp/logs ${DEBUG_OUTPUT_DIRECTORY} + } || { # 'catch' + echo "Failure copying log files from container to host." + } + + docker rm ${CONTAINER_ID} # finally + ;; + dump) + CLUSTER_NAME="$2" + OUTPUT_DIRECTORY="$3" + CONTAINER_NAME="$4" + DOCKER_ARGS="--name $ACTION" + + if [[ $# -ne 4 ]] + then + echo "Usage: $0 $1 CLUSTER_NAME OUTPUT_DIRECTORY CONTAINER_NAME" + exit 1 + fi + + { # 'try' + run az arc debug dump --namespace ${CLUSTER_NAME} --verbose --target-folder tmp/logs --container ${CONTAINER_NAME} + CONTAINER_ID=$(docker ps --filter="name=$ACTION" -q -a | xargs) + docker cp ${CONTAINER_ID}:/tmp/logs ${OUTPUT_DIRECTORY}/dumps + } || { # 'catch' + echo "Failure coping dump files from container to host." + } + + docker rm ${CONTAINER_ID} # finally + ;; + *) echo "Invalid option: $1" + ;; +esac diff --git a/src/arcdata/scripts/gci/verify-all.sh b/src/arcdata/scripts/gci/verify-all.sh new file mode 100644 index 00000000000..cf617231eeb --- /dev/null +++ b/src/arcdata/scripts/gci/verify-all.sh @@ -0,0 +1,39 @@ +#!/usr/bin/env bash + +#------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +#------------------------------------------------------------------------------ + +# Description: +# +# Instructions to be invoked under the build GCI pipeline in container. +# +# Usage: +# +# $ verify-all.sh + +set -exv + +: "${REPO_ROOT_DIR:=`cd $(dirname $0); cd ../../; pwd`}" +DIST_DIR=${REPO_ROOT_DIR}/output/coverage + +mkdir -p ${DIST_DIR} + +# -- script being invoked outside of a make target, thus template has been generated yet. +if [ ! -f ${REPO_ROOT_DIR}/arcdata/azext_arcdata/kubernetes_sdk/dc/templates/bootstrap/role-bootstrapper.yaml.tmpl ]; then + ${REPO_ROOT_DIR}/scripts/generate-role-template.sh +fi + +python3 -m venv ${REPO_ROOT_DIR}/env +. ${REPO_ROOT_DIR}/env/bin/activate +pip install -r ${REPO_ROOT_DIR}/dev-requirements.txt +pip install -e ${REPO_ROOT_DIR}/arcdata +pip install -e ${REPO_ROOT_DIR}/tools/pytest-az + +#TODO - turn on +# Run command argument signatures checks +# flake8 ${REPO_ROOT_DIR}/arcdata/azext_arcdata || exit 1 +black ${REPO_ROOT_DIR}/arcdata/azext_arcdata || exit 1 + +# Run code coverage and unit-tests +pytest --capture=sys ${REPO_ROOT_DIR}/arcdata/azext_arcdata/test --junitxml "./output/coverage/TEST-UT-results.xml" --cov=azext_arcdata --cov-report=xml:output/coverage/coverage.xml --cov-report=html:output/coverage/htmlcov \ No newline at end of file diff --git a/src/arcdata/scripts/generate-role-template.sh b/src/arcdata/scripts/generate-role-template.sh new file mode 100644 index 00000000000..68ece3e5257 --- /dev/null +++ b/src/arcdata/scripts/generate-role-template.sh @@ -0,0 +1,29 @@ +#!/usr/bin/env bash + +#------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +#------------------------------------------------------------------------------ + +# Description: +# +# Generates role template from what's defined in the helm chart. +# +# Usage: +# +# $ generate-role-template.sh + +set -e + +# -- position to repository base root location -- +: "${EXTSION_ROOT_DIR:=`cd $(dirname $0); cd ../; pwd`}" + +DEST_FILE=${EXTSION_ROOT_DIR}/arcdata/azext_arcdata/kubernetes_sdk/dc/templates/bootstrap/role-bootstrapper.yaml.tmpl +cp ${EXTSION_ROOT_DIR}/../helm/arcdataservices/templates/role-bootstrapper.yaml ${DEST_FILE} + +# Removing Helm templating to make it a regular yaml +# +sed -i "s/\.Release\.Namespace/model\.namespace/g" ${DEST_FILE} +sed -i "/^{{ if and (not \.Values\.Azure\.LeastPrivilegeSettings\.RuntimeServiceAccount).*/d" ${DEST_FILE} +sed -i "/^{{ end }}/d" ${DEST_FILE} +sed -i "/^ labels\:$/d" ${DEST_FILE} +sed -i "/^ helm\.sh\/chart\:/d" ${DEST_FILE} \ No newline at end of file diff --git a/src/arcdata/scripts/install.sh b/src/arcdata/scripts/install.sh new file mode 100644 index 00000000000..4ac0e743c31 --- /dev/null +++ b/src/arcdata/scripts/install.sh @@ -0,0 +1,32 @@ +#!/usr/bin/env bash + +#------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +#------------------------------------------------------------------------------ + +# Description: +# +# Build and install azure-cli extension arcdata. +# +# Invoked under the build CI pipeline in AzureDevOps or gci Make. This script +# is typically executed from a parent instruction. +# +# Usage: +# +# $ install.sh + +set -exv + +# -- position to repository base root location -- +: "${REPO_ROOT_DIR:=`cd $(dirname $0); cd ../; pwd`}" +DIST_DIR=${REPO_ROOT_DIR}/output/packages +CLI_VERSION=$(${REPO_ROOT_DIR}/scripts/version.sh) + +# package and install arcdata az ext +${REPO_ROOT_DIR}/scripts/package.sh + +ls -ls ${DIST_DIR} + +az --version +az extension add --source ${DIST_DIR}/arcdata-${CLI_VERSION}-py2.py3-none-any.whl -y --debug +az arcdata --help diff --git a/src/arcdata/scripts/lint.sh b/src/arcdata/scripts/lint.sh new file mode 100644 index 00000000000..a8671f29b76 --- /dev/null +++ b/src/arcdata/scripts/lint.sh @@ -0,0 +1,66 @@ +#------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +#------------------------------------------------------------------------------ + +#!/usr/bin/env bash + +# Description: +# +# Lints the azure-cli extension arcdata using `azdev` +# +# Invoked under the build CI pipeline in AzureDevOps or gci Make. This script +# is typically executed from a parent instruction. +# +# Usage: +# +# $ lint.sh + +set -exv + +# -- position to repository base root location -- +: "${REPO_ROOT_DIR:=`cd $(dirname $0); cd ../; pwd`}" +DIST_DIR=${REPO_ROOT_DIR}/output/packages +mkdir -p ${DIST_DIR} + +INDEX_URL=https://build:${PAT_TOKEN}@msdata.pkgs.visualstudio.com/Tina/_packaging/Tina_PublicPackages/pypi/simple + +# -- prepare and activate virtualenv -- +python -m venv ${DIST_DIR}/env +. ${DIST_DIR}/env/bin/activate +pip install azdev black --index-url ${INDEX_URL} +which pip +which python +pip install azdev --index-url ${INDEX_URL} +python -m pip install regex --index-url ${INDEX_URL} + +# -- assert code formatting/styling -- +black ${REPO_ROOT_DIR}/arcdata/azext_arcdata || exit 1 + +# -- install arcdata whl -- +${REPO_ROOT_DIR}/scripts/package.sh +export AZURE_EXTENSION_DIR=${DIST_DIR}/.azure/cliextensions +arcdata_ext=(`ls ${DIST_DIR}/arcdata*.whl`) +az extension add --source ${arcdata_ext[*]} -y --debug +az arcdata --help + +# -- assert ext linting -- +git clone --single-branch -b dev https://github.com/Azure/azure-cli.git ${DIST_DIR}/azure-cli +git clone --single-branch -b main https://github.com/Azure/azure-cli-extensions.git ${DIST_DIR}/azure-cli-extensions +azdev setup -c ${DIST_DIR}/azure-cli -r ${DIST_DIR}/azure-cli-extensions + +# -- lint like in azure-cli-extension github repo -- +# We are purposely omitting the following since we opt-out in the `azure-cli-extensions/linter_exclusions.yml` +# to be caught there during PR: +# - option_length_too_long +# - parameter_should_not_end_in_resource_group +# - require_wait_command_if_no_wait +azdev linter --include-whl-extensions arcdata --rules disallowed_html_tag_from_paramete faulty_help_example_parameters_rule faulty_help_example_rule faulty_help_type_rule unrecognized_help_entry_rule unrecognized_help_parameter_rule expired_command_group missing_group_help expired_command missing_command_help no_ids_for_list_commands bad_short_option expired_option expired_parameter missing_parameter_help no_parameter_defaults_for_update_commands no_positional_parameters --debug || exit 1 + +# -- cleanup -- +az extension remove --name arcdata +unset AZURE_EXTENSION_DIR +deactivate + +#TODO - turn on +# Run command argument signatures checks +# flake8 ${REPO_ROOT_DIR}/arcdata/azext_arcdata || exit 1 \ No newline at end of file diff --git a/src/arcdata/scripts/package.sh b/src/arcdata/scripts/package.sh new file mode 100644 index 00000000000..c8c92022892 --- /dev/null +++ b/src/arcdata/scripts/package.sh @@ -0,0 +1,75 @@ +#!/usr/bin/env bash + +#------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +#------------------------------------------------------------------------------ + +# Description: +# +# Build azure-cli extension arcdata. +# +# Invoked under the build CI pipeline in AzureDevOps or gci Make. This script +# is typically executed from a parent instruction. +# +# Usage: +# +# $ package.sh + +#set -exv + +# -- position to repository base root location -- +: "${REPO_ROOT_DIR:=`cd $(dirname $0); cd ../; pwd`}" +DIST_DIR=${REPO_ROOT_DIR}/output/packages +CLI_VERSION=$(${REPO_ROOT_DIR}/scripts/version.sh) +cd ${REPO_ROOT_DIR} || exit 1 + +echo "azext_arcdata VERSION: ${CLI_VERSION}" +echo "DIST DIRECTORY: ${DIST_DIR}" +echo "GIT commit hash: ${BUILD_SOURCEVERSION}" +echo "DOCKER_IMAGE: ${DOCKER_IMAGE}" + +# -- mix in build info into package meta for `az extension show -n arcdata` -- +if [[ "${DOCKER_IMAGE}" ]]; then + DOCKER_IMAGE_TOKENS=($(echo ${DOCKER_IMAGE} | tr "_" "\n")) + IMAGE_TAG=${DOCKER_IMAGE_TOKENS[0]}_${DOCKER_IMAGE_TOKENS[1]} + COMMIT_HASH=${DOCKER_IMAGE_TOKENS[-1]} + BRANCH=${DOCKER_IMAGE/${IMAGE_TAG}_/} + PROPS="{\n \"imageTag\": \"${IMAGE_TAG}\",\n\ + \"branch\": \"${BRANCH/_${COMMIT_HASH}/}\",\n\ + \"commit\": \"${COMMIT_HASH}\"," + sed -i "s/{/${PROPS}/g" ${REPO_ROOT_DIR}/arcdata/azext_arcdata/azext_metadata.json +fi + +# -- script being invoked outside of a make target, thus template has been generated yet. +if [ ! -f ${REPO_ROOT_DIR}/arcdata/azext_arcdata/kubernetes_sdk/dc/templates/bootstrap/role-bootstrapper.yaml.tmpl ]; then + ${REPO_ROOT_DIR}/scripts/generate-role-template.sh +fi + +# pip install --index-url https://:@ +INDEX_URL=https://build:${PAT_TOKEN}@msdata.pkgs.visualstudio.com/Tina/_packaging/Tina_PublicPackages/pypi/simple + +if ! command -v python &> /dev/null +then + echo "Python is not defined, setting py=python3" + py=python3 +else + echo "Python is defined, setting py=python" + py=python +fi + +echo ${py} +${py} --version + +pip install --index-url ${INDEX_URL} -U pip setuptools==70.0.0 wheel==0.30.0 +pip list + +# -- package -- +mkdir -p ${DIST_DIR} + +# -- Build wheel and pack assets -- +setup_file=$(find arcdata -name 'setup.py') +pushd `dirname $setup_file` +cp ${REPO_ROOT_DIR}/THIRDPARTYNOTICES.txt ./azext_arcdata +cp ${REPO_ROOT_DIR}/LICENSE ./azext_arcdata +${py} setup.py bdist_wheel -d ${DIST_DIR} +popd diff --git a/src/arcdata/scripts/ref_docs.py b/src/arcdata/scripts/ref_docs.py new file mode 100644 index 00000000000..827ec76b36f --- /dev/null +++ b/src/arcdata/scripts/ref_docs.py @@ -0,0 +1,494 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + + +from importlib import import_module +from knack.help_files import helps +from knack.deprecation import Deprecated + +import sys +import os + +try: + from ruamel.yaml import YAML + + yaml = YAML() + yaml.width = 1000 # prevents wrapping + yaml.allow_duplicate_keys = True +except ImportError as e: + msg = "{}\npip install ruamel.Yaml to use this script.".format(e) + exit(msg) + +loaded_helps = {} + +FRONT_MATTER_PARTIAL = "" +HEADER_PARTIAL = "" +FOOTER_PARTIAL = "" +# landing page +LANDING = [ + "# Arc Data", + "Commands for using Azure Arc-enabled data services." "## arcdata", + "| | |", + "| --- | --- |", + "[az arcdata dc](reference-az-arcdata-dc.md) | Create, delete, and manage data controllers.", + "[az arcdata resource-kind](reference-az-arcdata-resource-kind.md) | Resource-kind commands to define and template custom resources on your cluster.", + "[az arcdata ad-connector](reference-az-arcdata-ad-connector.md) | Manage Active Directory authentication for Azure Arc data services.", + "## sql mi-arc", + "| | |", + "| --- | --- |", + "[az sql mi-arc](reference-az-sql-mi-arc.md) | Manage Azure Arc-enabled SQL managed instances.", + "## sql midb-arc", + "| | |", + "| --- | --- |", + "[az sql midb-arc](reference-az-sql-midb-arc.md) | Manage databases for Azure Arc-enabled SQL managed instances.", + "## sql instance-failover-group-arc", + "| | |", + "| --- | --- |", + "[az sql instance-failover-group-arc](reference-az-sql-instance-failover-group-arc.md) | Create or Delete a Failover Group.", + "## postgres server-arc", + "| | |", + "| --- | --- |", + "[az postgres server-arc](reference-postgres-arc-server.md) | Manage Azure Arc enabled PostgreSQL servers.", +] + + +class ReferenceDict(object): + def __init__(self, target_mod): + self._target_mod = target_mod + + def build(self): + def merge_arguments(mod_name, content): + for item in content: + if "command" in item: + command = item["command"] + arg = self._build_argument(mod_name, command["name"]) + if arg: + item["command"]["arguments"] = arg + else: + group = item["group"] + if "content" in group: + merge_arguments(mod_name, group["content"]) + + result = self._build_help() + merge_arguments(self._target_mod.split(".")[-1], result["content"]) + + return result + + def _build_help(self): + try: + help_mod = import_module("{}.help".format(self._target_mod)) + except ModuleNotFoundError as e: + return None + + # the modules keys are keys added to helps object from fresh import.... + help_dict = help_mod.helps + result = ReferenceDict._get_new_yaml_dict(help_dict) + + # clear modules help from knack.helps, store help.py info + for key, value in help_dict.items(): + loaded_helps[key] = value + helps.clear() + + return result + + def _build_argument(self, group, command): + try: + arg_mod = import_module(self._target_mod) + cli_mod = import_module("azdata.cli.core") + except ModuleNotFoundError as e: + return None + + # -- arguments -- + cli = cli_mod.cli() + cli.invocation = cli.invocation_cls( + cli_ctx=cli, + parser_cls=cli.parser_cls, + commands_loader_cls=cli.commands_loader_cls, + help_cls=cli.help_cls, + initial_data=None, + ) + cli.invocation.data = {"command_string": command} + + args = () + loader = arg_mod.COMMAND_LOADER_CLS(*args, **{"cli_ctx": cli}) + group = loader.load_command_table([group]) + + if command not in group: + return None + + command_type = group[command] + + # -- arguments -- + command_table = loader.command_table + loader.command_name = command + command_table[command].load_arguments() + loader.load_arguments(command) + + # -- For every argument include argument help text -- + args = [] + for arg in command_type.arguments: + reg = loader.argument_registry + a = reg.arguments[command][arg].settings + value = command_type.arguments[arg] + + value.type.settings["options_list"] = a["options_list"] + value.type.settings["help"] = a["help"] + a = value.type.settings + args.append(a) + + return args + + @staticmethod + def _get_new_yaml_dict(help_dict): + def _convert_summaries(old_dict, new_dict): + if "short-summary" in old_dict: + new_dict["summary"] = old_dict["short-summary"] + if "long-summary" in old_dict: + new_dict["description"] = old_dict["long-summary"] + + result = dict(version=1, content=[]) + content = result["content"] + + for command_or_group, yaml_text in help_dict.items(): + help_dict = yaml.load(yaml_text) + + type = help_dict["type"] + + elem = {type: dict(name=command_or_group)} + elem_content = elem[type] + + _convert_summaries(old_dict=help_dict, new_dict=elem_content) + + if "parameters" in help_dict: + parameters = [] + for param in help_dict["parameters"]: + new_param = dict() + if "name" in param: + options = param["name"].split() + new_param["name"] = max(options, key=lambda x: len(x)) + _convert_summaries(old_dict=param, new_dict=new_param) + + if "populator-commands" in param: + new_param["value-sources"] = [] + for item in param["populator-commands"]: + new_param["value-sources"].append( + {"link": {"command": item}} + ) + parameters.append(new_param) + elem_content["arguments"] = parameters + + if "examples" in help_dict: + elem_examples = [] + for ex in help_dict["examples"]: + new_ex = dict() + if "name" in ex: + new_ex["summary"] = ex["name"] + if "text" in ex: + new_ex["command"] = ex["text"] + if "min_profile" in ex: + new_ex["min_profile"] = ex["min_profile"] + if "max_profile" in ex: + new_ex["max_profile"] = ex["max_profile"] + elem_examples.append(new_ex) + elem_content["examples"] = elem_examples + + content.append(elem) + + return result + + +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # + + +class RecursionDocument(object): + def __init__(self, references, group): + self._references = references + self._group = group + + def to_markdown(self, dest): + """ + + :param dest: The file output destination location. + """ + + def sanitize_options_list(arg): + sanitized = [] + deprecated = "" + for a in list(arg["options_list"]): + # -- Add more skip filtering here -- + if not isinstance(a, Deprecated): + sanitized.append(a) + return "{}{}".format(" ".join(list(sanitized)), deprecated) + + group = self._group + group_title = ("{} {}".format(BRAND, group if group else "")).rstrip() + print(group_title) + index = len(group.split(" ")) if group else 0 + header = [ + FRONT_MATTER_PARTIAL.format(group=group_title), + "# {title}".format(title=group_title), + "Reference", + # HEADER_PARTIAL.format(brand=BRAND), + "## Commands", + ] + line = [] + toc = ["| | |", "| --- | --- |"] + group_summary = None + for items in self._references: + for item in items: + if "group" in item: + command = item["group"] + if index != 0 and not command["name"].startswith(group): + continue + + if len(group.split(" ")) == 2 and group_summary is None: + group_summary = item["group"]["summary"] + + header[3] = item["group"]["summary"] + + # -- command table -- + r = 1 if index == 0 else index + 1 + value = command["name"].split(" ")[0:r] + if index == 0: + if len(command["name"].split(" ")[:-1]) == index: + if value and value[0]: + row = "|[{} {}](reference-{}-{}.md) | {} |".format( + BRAND, + " ".join(value), + BRAND, + "-".join(value), + command["summary"], + ) + toc.append(row) + else: + sub_group = index + 1 == len(command["name"].split(" ")) + if " ".join(value) != group and sub_group: + row = "[{} {}](reference-{}-{}.md) | {}".format( + BRAND, + " ".join(value), + BRAND, + "-".join(value), + command["summary"], + ) + toc.append(row) + + else: # command details + command = item["command"] + if index != 0 and not command["name"].startswith(group): + continue + + if len(command["name"].split(" ")) == index + 1: + r = 1 if index == 0 else index + 1 + value = command["name"].split(" ")[0:r] + command_section = "{} {}".format(BRAND, " ".join(value)) + + row = "[{command}](#{link}) | {summary}".format( + command=command_section, + link=BRAND + "-" + "-".join(value), + summary=command["summary"], + ) + + toc.append(row) + + # ------------------------------------------------------ + + command_h2 = "## {}".format(command_section) + line.append(command_h2) + + # ------------------------------------------------------ + + if "description" in command: + desc = command["description"] + else: + desc = command["summary"] + + line.append(desc) + + # ------------------------------------------------------ + + def to_markdown_args(args): + out = [] + args = args if args else [] + for arg in args: + opts = sanitize_options_list(arg) + if not arg.get("required"): + opts = "[{}]".format(opts) + out.append(opts) + + if not out: + return "" + + first = out[0] + out = out[1:] + space = "" + padding = ( + "".join( + [ + space + " " + for i in range(len(command_section)) + ] + ) + + " " + ) + return ( + first + + " \n" + + padding + + " \n{}\n".format(padding).join(out) + ) + + if "arguments" not in command: + command["arguments"] = [] + + usage = "```bash\n{} {}".format( + command_section, + to_markdown_args(command["arguments"]), + ) + + line.append(usage) + line.append("```") + + # ------------------------------------------------------ + + if "examples" in command: + example_h3 = "### Examples" + line.append(example_h3) + + for ex in command["examples"]: + line.append(ex["summary"]) + line.append( + "```bash\n{}```".format( + ex["command"].replace("'", '"') + ) + ) + + has_required = False + + for arg in command["arguments"]: + if arg.get("required"): + has_required = True + break + + if has_required: + required_parameters_h3 = "### Required Parameters" + line.append(required_parameters_h3) + + for arg in command["arguments"]: + opts = sanitize_options_list(arg) + if arg.get("required"): + line.append("#### `{}`".format(opts)) + line.append(arg.get("help", "")) + if arg.get("default"): + line.append( + "`{}`".format(arg["default"]) + ) + + has_optional = False + for arg in command["arguments"]: + if not arg.get("required"): + has_optional = True + break + + if has_optional: + optional_parameters_h3 = "### Optional Parameters" + line.append(optional_parameters_h3) + + for arg in command["arguments"]: + opts = sanitize_options_list(arg) + if not arg.get("required"): + line.append("#### `{}`".format(opts)) + line.append(arg.get("help", "")) + if arg.get("default"): + line.append( + "`{}`".format(arg["default"]) + ) + + global_arguments_h3 = "### Global Arguments" + line.append(global_arguments_h3) + line.append("#### `--debug`") + line.append( + "Increase logging verbosity to show all " + "debug logs." + ) + line.append("#### `--help -h`") + line.append("Show this help message and exit.") + line.append("#### `--output -o`") + line.append( + "Output format. Allowed values: json, " + "jsonc, table, tsv. Default: json." + ) + line.append("#### `--query -q`") + line.append( + "JMESPath query string. See " + "[http://jmespath.org/](http://jmespath." + "org/]) for more information and examples." + ) + line.append("#### `--verbose`") + line.append( + "Increase logging verbosity. Use --debug " + "for full debug logs." + ) + + depth = len(group.split(" ")) + if depth == 2 and group_summary: + header[3] = group_summary + + content = toc + line + content = header + content + filename = BRAND + "-" + "-".join(group.split(" ")) if group else BRAND + + file_path = os.path.join(dest, "reference-{}.md".format(filename)) + + if depth == 1: + content = LANDING + file_path = os.path.join(dest, "arcdata-landing.md") + + with open(file_path, "w") as f: + content_clean = [] + for c in content: + if c is not None: + content_clean.append(c) + else: + pass + + f.write("\n".join(content_clean)) + f.write("\n") + # f.write(FOOTER_PARTIAL.format(brand=BRAND)) + + print("---------------------------------------------------------------") + + +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # +# ---------------------------------------------------------------------------- # + + +if __name__ == "__main__": + if sys.version_info[0] < 3: + raise Exception("This script requires Python 3") + + BRAND = "az" + mods = [ + "azext_arcdata.ad_connector", + "azext_arcdata.dc", + "azext_arcdata.sqlmi", + "azext_arcdata.postgres", + "azext_arcdata.sqlmidb", + ] + dest = "output" + reference_dicts = [] + + # -- build reference mapping for each command module -- + for mod in mods: + result = ReferenceDict(mod).build() + reference_dicts.append(result["content"]) + + # -- generate the markdown document for each reference mapping -- + for items in reference_dicts: + for item in items: + if "group" in item: + group = item["group"]["name"] + RecursionDocument(reference_dicts, group).to_markdown(dest) diff --git a/src/arcdata/scripts/version.sh b/src/arcdata/scripts/version.sh new file mode 100644 index 00000000000..9112ebcffb1 --- /dev/null +++ b/src/arcdata/scripts/version.sh @@ -0,0 +1,40 @@ +#!/usr/bin/env bash + +#------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +#------------------------------------------------------------------------------ + +# Description: +# +# Invoked under the build CI pipeline in AzureDevOps. This script is typically +# executed from a parent instruction. +# +# The single entry point to obtain the ArcData extension version. +# +# Usage: +# +# $ version.sh + +: "${REPO_ROOT_DIR:=`cd $(dirname $0); cd ../; pwd`}" + +CLI_VERSION=`cat ${REPO_ROOT_DIR}/arcdata/azext_arcdata/__version__.py | \ + grep __version__ | \ + sed s/' '//g | \ + sed s/'__version__='// | \ + sed s/\"//g | \ + sed "s/^'\(.*\)'$/\1/"` + +# -- Dynamically include ADO build pipeline run number, skip release_candidate & release/* branches -- +if [ -n "${PIPELINE_BUILD_NUMBER}" ] && [ "${SOURCE_BRANCH}" != "refs/heads/release_candidate" || "${SOURCE_BRANCH}" != "refs/heads/release/"* ]; then + PIPELINE_BUILD_NUMBER=${CLI_VERSION}.${PIPELINE_BUILD_NUMBER} + sed -i "s/${CLI_VERSION}/${PIPELINE_BUILD_NUMBER}/g" ${REPO_ROOT_DIR}/arcdata/azext_arcdata/__version__.py + + CLI_VERSION=`cat ${REPO_ROOT_DIR}/arcdata/azext_arcdata/__version__.py | \ + grep __version__ | \ + sed s/' '//g | \ + sed s/'__version__='// | \ + sed s/\"//g | \ + sed "s/^'\(.*\)'$/\1/"` +fi + +echo ${CLI_VERSION} \ No newline at end of file diff --git a/src/arcdata/tools/pytest-az/.coveragerc b/src/arcdata/tools/pytest-az/.coveragerc new file mode 100644 index 00000000000..9404830620e --- /dev/null +++ b/src/arcdata/tools/pytest-az/.coveragerc @@ -0,0 +1,6 @@ +[paths] +source = pytest_az + +[run] +branch = true +source = pytest_az diff --git a/src/arcdata/tools/pytest-az/.gitignore b/src/arcdata/tools/pytest-az/.gitignore new file mode 100644 index 00000000000..37b6d757705 --- /dev/null +++ b/src/arcdata/tools/pytest-az/.gitignore @@ -0,0 +1,43 @@ +# Python cache +__pycache__/ +*.pyc + +# Virtual environment +env/ +env27/ +venv/ +.python-version + +# PTVS analysis +.ptvs/ + +# Misc +.idea/ +dist/ +logs/ +build/ + +# Result of running python setup.py install/pip install -e +RECORD.txt +*.egg-info/ + +# Mac desktop service store files +.DS_Store + +# Code coverage and reports +*.coverage +htmlcov +*coverage.* + +# Pytest +.cache/ +.pytest_cache/ + +# Logs +pip.log + +# Setuptools +.eggs/ + +# Tox +.tox/ diff --git a/src/arcdata/tools/pytest-az/HISTORY.rst b/src/arcdata/tools/pytest-az/HISTORY.rst new file mode 100644 index 00000000000..d2c206ed77c --- /dev/null +++ b/src/arcdata/tools/pytest-az/HISTORY.rst @@ -0,0 +1,9 @@ +.. :changelog: + +Microsoft `pytest-az` +=============================== + +0.0.1 +------------------ + +* Initial release. \ No newline at end of file diff --git a/src/arcdata/tools/pytest-az/LICENSE b/src/arcdata/tools/pytest-az/LICENSE new file mode 100644 index 00000000000..4b3ba9df30d --- /dev/null +++ b/src/arcdata/tools/pytest-az/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) Microsoft Corporation. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE \ No newline at end of file diff --git a/src/arcdata/tools/pytest-az/MANIFEST.in b/src/arcdata/tools/pytest-az/MANIFEST.in new file mode 100644 index 00000000000..097753ab31f --- /dev/null +++ b/src/arcdata/tools/pytest-az/MANIFEST.in @@ -0,0 +1,7 @@ +include LICENSE +include README.rst +include kube_config +recursive-include tests/ *.py + +recursive-exclude * __pycache__ +recursive-exclude * *.py[co] diff --git a/src/arcdata/tools/pytest-az/README.rst b/src/arcdata/tools/pytest-az/README.rst new file mode 100644 index 00000000000..6ded91fc43e --- /dev/null +++ b/src/arcdata/tools/pytest-az/README.rst @@ -0,0 +1,33 @@ +# `pytest-az` + + +Py.test plugin for simplifying and speeding-up tests: +- `VCR.py `_ cassettes +- In-process `azure-cli` ArcData pytest fixture + + +Quick Start +=========== + +Install the plugin: + +.. code-block:: sh + + pip install -e ./tools/pytest-az + + +Annotate your tests: + +.. code-block:: python + + @pytest.mark.az_vcr() + def test_some_command(az): + res = az('arc ', arg1='hello', arg2='v1') + + assert res.exit_code == 0 + assert res.output == {...} + + +A new file `cassettes/test_command_action.yaml` will be created next to your test +file on the first run. This file should be committed to a version control +for offline tests. diff --git a/src/arcdata/tools/pytest-az/__version__.py b/src/arcdata/tools/pytest-az/__version__.py new file mode 100644 index 00000000000..992e038bf84 --- /dev/null +++ b/src/arcdata/tools/pytest-az/__version__.py @@ -0,0 +1,13 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +__title__ = "pytest-az" +__version__ = "0.0.1" +__description__ = "Tools for managing ArcData." +__license__ = "MIT" +__url__ = "http://www.microsoft.com/arcdata" +__author__ = "Microsoft Corporation" +__author_email__ = "dpgswdist@microsoft.com" +__copyright__ = "Copyright (C) Microsoft Corporation. All rights reserved" +__keywords__ = ["az", "sql", "arcdata", "cli", "azure", "sqlmi", "dc"] diff --git a/src/arcdata/tools/pytest-az/kube_config b/src/arcdata/tools/pytest-az/kube_config new file mode 100644 index 00000000000..91a884d5a85 --- /dev/null +++ b/src/arcdata/tools/pytest-az/kube_config @@ -0,0 +1,19 @@ +apiVersion: v1 +clusters: +- cluster: + certificate-authority-data: mock-data + server: https://mock-host + name: kubernetes +contexts: +- context: + cluster: kubernetes + user: kubernetes-admin + name: kubernetes-admin@kubernetes +current-context: kubernetes-admin@kubernetes +kind: Config +preferences: {} +users: +- name: kubernetes-admin + user: + client-certificate-data: mock-data + client-key-data: mock-data diff --git a/src/arcdata/tools/pytest-az/pyproject.toml b/src/arcdata/tools/pytest-az/pyproject.toml new file mode 100644 index 00000000000..1035e0cd091 --- /dev/null +++ b/src/arcdata/tools/pytest-az/pyproject.toml @@ -0,0 +1,23 @@ +[tool.black] +line-length = 80 +target-version = ['py36', 'py37', 'py38'] +include = '\.pyi?$' +exclude = ''' + +( + /( + \.eggs # exclude a few common directories in the + | \.git # root of the project + | \.hg + | \.mypy_cache + | \.tox + | \.venv + | \.env + | _build + | buck-out + | build + | dist + | output + )/ +) +''' \ No newline at end of file diff --git a/src/arcdata/tools/pytest-az/pytest_az.py b/src/arcdata/tools/pytest-az/pytest_az.py new file mode 100644 index 00000000000..f182e42675f --- /dev/null +++ b/src/arcdata/tools/pytest-az/pytest_az.py @@ -0,0 +1,594 @@ +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ +# -*- coding: utf-8 -*- + +from vcr import VCR + +import json +import os +import ast +import pytest +from urllib.parse import urlparse +from types import SimpleNamespace + +RECORD_MODES = { + "rerecord": "rerecord", + "replay": "once", + "once": "once", + "all": "all", + "new_episodes": "new_episodes", + "none": None, +} +""" +The different VCR modes. +""" + +MOCK_CATALOG = { + "host": "https://mock-host", + "subscription": "a5082b19-8a6e-4bc5-8fdd-8ef39dfebc39", + "body": { + "username": "username", + "password": "Placeholder001", + # -- Add more key/value POST body mocks when needed -- + }, +} +""" +Catalog holding all mock name/values used in unit-testing. +""" + + +def pytest_addoption(parser): + """ + Register argparse-style options and ini-style config values. This is called + once at the beginning of a test run intended for helpful azure-cli testing + features: + - VCR.py simplifies and speeds up tests that make HTTP requests. + - In-process az API + """ + + group = parser.getgroup("az_vcr") + group.addoption( + "--az-vcr-record", + action="store", + dest="az_record", + default=None, + choices=list(RECORD_MODES.keys()), + help="Set the recording mode for VCR.py.", + ) + + group.addoption( + "--disable-az-vcr", + action="store_true", + dest="disable_az", + help="Run tests without playing back from VCR.py cassettes.", + ) + + +def pytest_load_initial_conftests(early_config, parser, args): + early_config.addinivalue_line( + "markers", "az_vcr: Mark the test as using `VCR.py`." + ) + + +def normalize_path(path, *paths): + """ + Windows needs this sometimes when running the e2e tests from the + `build unit-tests` task-runner. This can be slightly different than running + from PyCharm/editor. + """ + path = os.path.join(path, *paths) + return path.replace("\\", "/") + + +@pytest.fixture(scope="module") +def az_vcr_config(): + """ + Custom configuration for `VCR.py`. Tests can use this fixture to override + any VCR configurations. Default is to filter Authorisation headers and other + sensitive information. Please see full configuration list: + `https://vcrpy.readthedocs.io/en/latest/advanced.html` + """ + + def _mock_body(body): + """ + Replace any sensitive info in the post body with mock value. + """ + + def _replace(obj, mock_key, mock_value): + if mock_key in obj: + obj[mock_key] = mock_value + + for k, v in obj.items(): + if isinstance(v, dict): + _replace(v, mock_key, mock_value) + + if body: + # returned in bytes, here we convert to dict + from vcr.filters import decode_response + import gzip + + try: + data = gzip.decompress(body) + body = str(data, "utf-8") + body = json.loads(body) + except gzip.BadGzipFile: + body = str(body, "utf-8") + try: + body = json.loads(body) + except Exception as e: + # application/x-www-form-urlencoded + return body + + for key in MOCK_CATALOG["body"]: + # replace with mock value + _replace(body, key, MOCK_CATALOG["body"][key]) + body = bytes(json.dumps(body), "utf8") + return body + + def scrub_request(request): + def _mock_uri(uri): + """ + Replace real host with a "mock-host" + """ + parsed_uri = urlparse(uri) + if "subscriptions" in parsed_uri.path: + split_uri = parsed_uri.path.split("/") + index = split_uri.index("subscriptions") + 1 + + u = MOCK_CATALOG["host"] + parsed_uri.path.replace( + "//", "/" + ).replace(split_uri[index], MOCK_CATALOG["subscription"]) + + if parsed_uri.query: + u = u + "?" + parsed_uri.query + + return u + + return MOCK_CATALOG["host"] + parsed_uri.path + + try: + request.uri = _mock_uri(request.uri) + request.body = _mock_body(request.body) + except Exception as e: + pass + + return request + + def scrub_response(response): + try: + if response["body"] and response["body"]["string"]: + response["body"]["string"] = _mock_body( + response["body"]["string"] + ) + except Exception as e: + pass + return response + + return { + "filter_headers": ["authorization"], + "before_record_request": scrub_request, + "before_record_response": scrub_response, + } + + +@pytest.fixture(autouse=True) +def _az_marker(request): + """ + Defines the necessary pytest custom metadata marker. + """ + + marker = request.node.get_closest_marker("az_vcr") + if marker: + request.getfixturevalue("az_vcr_cassette") + + +@pytest.fixture(scope="module") +def az_vcr(request, az_vcr_config, az_vcr_cassette_dir): + """ + The `VCR` instance used for all `az-cli` HTTP interactions. + """ + + kwargs = dict( + cassette_library_dir=az_vcr_cassette_dir, + path_transformer=VCR.ensure_suffix(".yaml"), + ) + kwargs.update(az_vcr_config) + _merge_vcr_kwargs(request, kwargs) + + return VCR(**kwargs) + + +@pytest.fixture +def az_vcr_cassette(request, az_vcr, az_vcr_cassette_file): + """ + Wrap a az test function in a `VCR` cassette. + """ + + kwargs = {} + _merge_vcr_kwargs(request, kwargs) + cassette_name = az_vcr_cassette_file["name"] + + # -- drop old cassettes and rerecord -- + mode = kwargs.get("record_mode", kwargs.get(RECORD_MODES["rerecord"], None)) + mode = RECORD_MODES["once"] if mode == RECORD_MODES["replay"] else mode + + if mode == RECORD_MODES["rerecord"]: + VCRState().record_mode = mode + cassette = az_vcr_cassette_file["cassette"] + if os.path.exists(cassette): + os.remove(cassette) + + if os.path.exists(az_vcr_cassette_file["cassette"]): + VCRState().cassette_exists = True + + with az_vcr.use_cassette(cassette_name, **kwargs) as cassette: + yield cassette + + +@pytest.fixture(scope="module") +def az_vcr_cassette_dir(request): + """ + Fixture for pointing to the recorded cassette assets directory. + """ + + return os.path.join(request.node.fspath.dirname, "cassettes") + + +@pytest.fixture +def az_vcr_cassette_file(request, az_vcr_cassette_dir): + """ + Fixture defining the name of the `VCR` and full-path location of the + cassette. + """ + + test_class = request.cls + if test_class: + name = "{}.{}".format(test_class.__name__, request.node.name) + else: + name = request.node.name + + return { + "name": name, + "cassette": os.path.join(az_vcr_cassette_dir, name) + ".yaml", + } + + +# ------------------------------------------------------------------------------ +# ------------------------------------------------------------------------------ +# ------------------------------------------------------------------------------ + + +def singleton(cls, *args, **kw): + instances = {} + + def _singleton(): + if cls not in instances: + instances[cls] = cls(*args, **kw) + return instances[cls] + + return _singleton + + +@singleton +class VCRState(object): + """ + Holds VCR state information across fixtures. + """ + + def __init__(self): + self._record_mode = RECORD_MODES["once"] + self._cassette_exists = False + + @property + def record_mode(self): + return self._record_mode + + @record_mode.setter + def record_mode(self, record_mode): + self._record_mode = record_mode + + @property + def cassette_exists(self): + return self._cassette_exists + + @cassette_exists.setter + def cassette_exists(self, cassette_exists): + self._cassette_exists = cassette_exists + + +# ------------------------------------------------------------------------------ +# ------------------------------------------------------------------------------ +# ------------------------------------------------------------------------------ +def _to_dot_notation(d): + class _Namespace(SimpleNamespace): + @property + def to_dict(self): + class _Encoder(json.JSONEncoder): + def default(self, o): + return o.__dict__ + + return json.loads(json.dumps(self, indent=4, cls=_Encoder)) + + return json.loads( + json.dumps(d), object_hook=lambda item: _Namespace(**item) + ) + + +@pytest.fixture +def mock_constants(): + # Add more here when needed + return _to_dot_notation(MOCK_CATALOG) + + +@pytest.fixture +def mock_kube_config(): + """ + Fixture for helping to create repeated mock `.kube` configurations. + + usage: + + ``` + def test_fn(mock_kube_config): + mock_kube_config() # apply default mock + mock_kube_config(config="/path/to/.kube") # apply custom override mock + ``` + """ + + def beget(config=normalize_path(os.path.dirname(__file__), "kube_config")): + os.environ["KUBECONFIG"] = config + + return beget + + +@pytest.fixture +def mock_az_profile(monkeypatch): + """ + Fixture for helping to create repeated mock `az profile` configurations for + authentication purposes post VRC record. + + usage: + + ``` + def test_fn(mock_az_profile): + mock_az_profile() # apply default mock + ``` + """ + + class _AzureCliCredentialMock(object): + def get_token(self, *scopes: str, **kwargs: any): + class _AccessTokenMock(object): + token = "JWT_TOKEN_MOCK" + expires_on = 4500 + expires_in = 4500 + + return _AccessTokenMock() + + def _get_azure_credentials_mock(): + return { + "credentials": _AzureCliCredentialMock(), + "subscription": MOCK_CATALOG["subscription"], + "expires_on": 4500, + } + + def beget(): + monkeypatch.setattr( + "azext_arcdata.core.services.ArmMixin.get_azure_credentials", + lambda az_cli: _get_azure_credentials_mock(), + ) + + return beget + + +@pytest.fixture +def az(mock_kube_config, mock_az_profile, capsys): + """ + Fixture for making az-cli invocations from the same process easy. + """ + + class AzCliResponse(object): + SUCCESS = 0 + """ + Exit code that means a successful process exit. + """ + + FAILURE = 1 + """ + Exit code that means a catchall for general process errors. + """ + + ARGUMENT_REQUIRED_ERROR = 2 + """ + Exit code that means a CLI argument is required but not provided. + """ + + def __init__(self): + self._out_err = {"stdout": "", "stderr": ""} + self.exit_code = AzCliResponse.SUCCESS + + @property + def exit_code(self): + return self._exit_code + + @exit_code.setter + def exit_code(self, exit_code): + self._exit_code = exit_code + + @property + def out(self): + return self._out_err["stdout"] + + @out.setter + def out(self, out): + self._out_err["stdout"] = out + + @property + def err(self): + return self._out_err["stderr"] + + @err.setter + def err(self, err): + self._out_err["stderr"] = err + + def to_dict(self): + import json + + try: + return { + "out": json.loads(self.out) if self.out else None, + "err": ( + json.loads(self.err.strip("ERROR:")) + if self.err + else None + ), + } + except json.JSONDecodeError: + return None + + def run(command, expect_failure=False, disable_vcr=False, **kwargs): + """ + The az-cli command with optional arguments to run. + + Test success: + ``` + def test_app_list(az) + res = az('app list --name my-app') + assert res.exit_code == 0 + assert res.output == '[]' + + def test_app_list(az) + res = az('app list', name='my-app') + assert res.exit_code == 0 + assert res.output == '[]' + ``` + ``` + + Test failures: + ``` + def test_app_list(az) + res = az('app list --name my-app', expect_failure=True) + assert res.exit_code == 1 + assert res.output = 'some failure in stderr' + ``` + + Commands that do not need VRC: + ``` + def test_cmd_with_no_http_calls(az) + res = az('cmd --arg 1', disable_vcr=True) + assert res.exit_code == 0 + ``` + + :param command: The command with optional arguments. + :param disable_vcr: To disable cassette recording in VCR. Default is + set to `True`. + :param expect_failure: Catch expected errors for test and supply a + return value. + :return: The `AzCliResponse` otherwise error. + """ + from azure.cli.core import get_default_cli as az_cli + import io + import shlex + + # let az know about this extension from repo location + ext = normalize_path(os.path.dirname(__file__), "..", "..") + os.environ["AZURE_EXTENSION_DIR"] = ext + + # if a cassette already exists and recorded, make sure to apply mock + st = VCRState() + if disable_vcr or ( + st.record_mode != RECORD_MODES["rerecord"] and st.cassette_exists + ): + mock_kube_config() # default + mock_az_profile() # default + + stdout_buf = io.StringIO() + response = AzCliResponse() + command = command[3:] if command.startswith("az ") else command + + # -- combine arbitrary arguments (hello=world ===> --hello world) -- + args = [] + for arg, value in kwargs.items(): + if value is None: + continue + args.append("--{0} {1}".format(arg.replace("_", "-"), value)) + + if args: + command = "{0} {1}".format(command, " ".join(args)) + + try: + az = az_cli() + response.exit_code = ( + az.invoke(shlex.split(command), out_file=stdout_buf) + or AzCliResponse.SUCCESS + ) + + if response.exit_code == AzCliResponse.SUCCESS: + if stdout_buf.getvalue() and stdout_buf.getvalue() != "": + response.out = stdout_buf.getvalue() + else: + response.out = capsys.readouterr().out + else: + response.err = az.result.error + + return response + except SystemExit as e: + if ( + e.code == AzCliResponse.ARGUMENT_REQUIRED_ERROR + and expect_failure + ): + response.exit_code = e.code + response.out = stdout_buf.getvalue() or capsys.readouterr().err + return response + else: + raise e + + # pylint: disable=broad-except + except (KeyboardInterrupt, Exception) as e: + if expect_failure: + response.exit_code = AzCliResponse.FAILURE + response.out = stdout_buf.getvalue() or capsys.readouterr().err + return response + else: + raise e + finally: + stdout_buf.close() + + return run + + +# ------------------------------------------------------------------------------ +# -- Private helpers -- +# ------------------------------------------------------------------------------ + + +def _merge_vcr_kwargs(request, kwargs): + marker = request.node.get_closest_marker("az_vcr") + record_mode = request.config.getoption("--az-vcr-record") + + if marker: + if record_mode == RECORD_MODES["rerecord"]: + marker.kwargs["record_mode"] = record_mode + kwargs.update(marker.kwargs) + else: + record_mode = request.config.getoption("--az-vcr-record") + if record_mode: + kwargs["record_mode"] = record_mode + + if request.config.getoption("--disable-az-vcr"): + kwargs["record_mode"] = "new_episodes" + kwargs["before_record_response"] = lambda *args, **kwargs: None + + +def _to_dot_notation(d): + class _Namespace(SimpleNamespace): + @property + def to_dict(self): + class _Encoder(json.JSONEncoder): + def default(self, o): + return o.__dict__ + + return json.loads(json.dumps(self, indent=4, cls=_Encoder)) + + return json.loads( + json.dumps(d), object_hook=lambda item: _Namespace(**item) + ) diff --git a/src/arcdata/tools/pytest-az/requirements.txt b/src/arcdata/tools/pytest-az/requirements.txt new file mode 100644 index 00000000000..4183e156a88 --- /dev/null +++ b/src/arcdata/tools/pytest-az/requirements.txt @@ -0,0 +1,3 @@ +pytest>=5.1.2 +vcrpy==6.0.2 +pytest-rerunfailures==9.1.1 \ No newline at end of file diff --git a/src/arcdata/tools/pytest-az/setup.cfg b/src/arcdata/tools/pytest-az/setup.cfg new file mode 100644 index 00000000000..3c6e79cf31d --- /dev/null +++ b/src/arcdata/tools/pytest-az/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal=1 diff --git a/src/arcdata/tools/pytest-az/setup.py b/src/arcdata/tools/pytest-az/setup.py new file mode 100644 index 00000000000..226acb8d488 --- /dev/null +++ b/src/arcdata/tools/pytest-az/setup.py @@ -0,0 +1,50 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# ------------------------------------------------------------------------------ +# Copyright (c) Microsoft Corporation. All rights reserved. +# ------------------------------------------------------------------------------ + +from codecs import open +from setuptools import setup + +import os + + +def read(file): + cwd = os.path.abspath(os.path.dirname(__file__)) + with open(os.path.join(cwd, file), "r", "utf-8") as f: + return f.read() + + +CLASSIFIERS = [ + "Development Status :: 1 - Beta", + "Intended Audience :: Developers", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "License :: OSI Approved :: MIT License", +] +REQUIREMENTS = os.path.expandvars(read("requirements.txt")) +README = read("README.rst") +HISTORY = read("HISTORY.rst") +ABOUT = {} +exec(read(os.path.join("__version__.py")), ABOUT) + + +setup( + name=ABOUT["__title__"], + version=ABOUT["__version__"], + license=ABOUT["__license__"], + description=ABOUT["__description__"], + long_description=README + "\n\n" + HISTORY, + author=ABOUT["__author__"], + author_email=ABOUT["__author_email__"], + url=ABOUT["__url__"], + keywords=ABOUT["__keywords__"], + py_modules=["pytest_az"], + install_requires=REQUIREMENTS, + classifiers=CLASSIFIERS, + entry_points={"pytest11": ["az = pytest_az"]}, +)